aux/cpuid: flush instruction cache of after patching trampoline

This commit is contained in:
cinap_lenrek 2020-07-12 19:37:38 +02:00
parent 2c8c2bc727
commit 11fcf41472

View file

@ -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);