diff options
author | jkim <jkim@FreeBSD.org> | 2011-04-28 22:23:39 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2011-04-28 22:23:39 +0000 |
commit | 369bfa0af2f6f250a77f4e357035d6b5aba3c343 (patch) | |
tree | 2426ae1d7f93bafff20e4a027711119c6e1978b8 /sys/amd64/include | |
parent | 500a42a4fa992c4d1840a8f8a9aed9b783988ac0 (diff) | |
download | FreeBSD-src-369bfa0af2f6f250a77f4e357035d6b5aba3c343.zip FreeBSD-src-369bfa0af2f6f250a77f4e357035d6b5aba3c343.tar.gz |
Define "Hypervisor Present" bit. This bit is used by several hypervisors to
identify CPUs running under emulation. Currently QEMU-KVM, Xen-HVM, VMware,
and MS Hyper-V are known to set this bit.
MFC after: 3 days
Diffstat (limited to 'sys/amd64/include')
-rw-r--r-- | sys/amd64/include/specialreg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/amd64/include/specialreg.h b/sys/amd64/include/specialreg.h index 22ae08c..9428dd9 100644 --- a/sys/amd64/include/specialreg.h +++ b/sys/amd64/include/specialreg.h @@ -134,6 +134,7 @@ #define CPUID2_MOVBE 0x00400000 #define CPUID2_POPCNT 0x00800000 #define CPUID2_AESNI 0x02000000 +#define CPUID2_HV 0x80000000 /* * Important bits in the Thermal and Power Management flags |