diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-07-12 19:37:38 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-07-12 19:37:38 +0200 |
commit | 11fcf41472411fc0b683cc4431c42301e06124fe (patch) | |
tree | acd86996cb42ce32ac171af85ff87a3e2c06515e | |
parent | 2c8c2bc7272815f4535d4922a73ec5b484f42c3a (diff) | |
download | plan9front-11fcf41472411fc0b683cc4431c42301e06124fe.tar.xz |
aux/cpuid: flush instruction cache of after patching trampoline
-rw-r--r-- | sys/src/cmd/aux/cpuid.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/cmd/aux/cpuid.c b/sys/src/cmd/aux/cpuid.c index 122870242..8d74d2ddc 100644 --- a/sys/src/cmd/aux/cpuid.c +++ b/sys/src/cmd/aux/cpuid.c @@ -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); |