diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/os/my_cpuid_common.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/os/my_cpuid_common.c b/src/os/my_cpuid_common.c index 74111e1d..3df5aa03 100644 --- a/src/os/my_cpuid_common.c +++ b/src/os/my_cpuid_common.c @@ -323,7 +323,13 @@ void my_cpuid(x64emu_t* emu, uint32_t tmp32u) R_EDX = 0; } break; - + case 0x40000000 ... 0x400000FF: + // the Hypervisor interface, yeah we don't do this, see also the 31bit of ECX in leaf 0x1. + R_EAX = 0; + R_EBX = 0; + R_ECX = 0; + R_EDX = 0; + break; case 0x80000000: // max extended if(BOX64ENV(cputype)) { R_EAX = 0x8000001a; |