ref: 11fcf41472411fc0b683cc4431c42301e06124fe
parent: 2c8c2bc7272815f4535d4922a73ec5b484f42c3a
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);