summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/specialreg.h
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2011-04-28 22:23:39 +0000
committerjkim <jkim@FreeBSD.org>2011-04-28 22:23:39 +0000
commit369bfa0af2f6f250a77f4e357035d6b5aba3c343 (patch)
tree2426ae1d7f93bafff20e4a027711119c6e1978b8 /sys/amd64/include/specialreg.h
parent500a42a4fa992c4d1840a8f8a9aed9b783988ac0 (diff)
downloadFreeBSD-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/specialreg.h')
-rw-r--r--sys/amd64/include/specialreg.h1
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
OpenPOWER on IntegriCloud