aboutsummaryrefslogtreecommitdiff
path: root/sys/x86
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2012-07-14 15:48:30 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2012-07-14 15:48:30 +0000
commit333d0c6060c1a219e63c58b8571c42f96bb30632 (patch)
treeaa9f4225bbf17a3b53982e7f3c810f1d7ab0ea28 /sys/x86
parent7e3fc039f63a20981552c001cc04cfd9852283c0 (diff)
Notes
Diffstat (limited to 'sys/x86')
-rw-r--r--sys/x86/include/specialreg.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/x86/include/specialreg.h b/sys/x86/include/specialreg.h
index ff6a7771c5fa..7084e3054897 100644
--- a/sys/x86/include/specialreg.h
+++ b/sys/x86/include/specialreg.h
@@ -247,6 +247,11 @@
#define CPUID_TYPE_CORE 2
/*
+ * CPUID instruction 0xd Processor Extended State Enumeration Sub-leaf 1
+ */
+#define CPUID_EXTSTATE_XSAVEOPT 0x00000001
+
+/*
* AMD extended function 8000_0007h edx info
*/
#define AMDPM_TS 0x00000001