ref: dbee0efe67420cc925e1a46de6c6fd3f3ab5e70d
parent: 41fcb1d022bcf038eb172eaf7e7949dd2a24c42f
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Jul 12 15:37:38 EDT 2020
aux/cpuid: flush instruction cache of after patching trampoline
--- a/sys/src/cmd/aux/cpuid.c
+++ b/sys/src/cmd/aux/cpuid.c
@@ -244,6 +244,7 @@
case 0xeb010000: /* 386 */
break;
}
+ segflush(_cpuid, sizeof(_cpuid));
Binit(&buf, 1, OWRITE);
out = &buf;
r = cpuid(0, 0);
--
⑨