aux/cpuid: flush instruction cache of after patching trampoline
This commit is contained in:
parent
2c8c2bc727
commit
11fcf41472
1 changed files with 1 additions and 0 deletions
|
@ -244,6 +244,7 @@ main(int argc, char **argv)
|
|||
case 0xeb010000: /* 386 */
|
||||
break;
|
||||
}
|
||||
segflush(_cpuid, sizeof(_cpuid));
|
||||
Binit(&buf, 1, OWRITE);
|
||||
out = &buf;
|
||||
r = cpuid(0, 0);
|
||||
|
|
Loading…
Reference in a new issue