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 */
|
case 0xeb010000: /* 386 */
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
segflush(_cpuid, sizeof(_cpuid));
|
||||||
Binit(&buf, 1, OWRITE);
|
Binit(&buf, 1, OWRITE);
|
||||||
out = &buf;
|
out = &buf;
|
||||||
r = cpuid(0, 0);
|
r = cpuid(0, 0);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue