summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/include/specialreg.h51
-rw-r--r--sys/i386/include/specialreg.h51
2 files changed, 66 insertions, 36 deletions
diff --git a/sys/amd64/include/specialreg.h b/sys/amd64/include/specialreg.h
index 02440c9..99f9f3c 100644
--- a/sys/amd64/include/specialreg.h
+++ b/sys/amd64/include/specialreg.h
@@ -77,24 +77,39 @@
/*
* CPUID instruction features register
*/
-#define CPUID_FPU 0x0001
-#define CPUID_VME 0x0002
-#define CPUID_DE 0x0004
-#define CPUID_PSE 0x0008
-#define CPUID_TSC 0x0010
-#define CPUID_MSR 0x0020
-#define CPUID_PAE 0x0040
-#define CPUID_MCE 0x0080
-#define CPUID_CX8 0x0100
-#define CPUID_APIC 0x0200
-#define CPUID_B10 0x0400
-#define CPUID_B11 0x0800
-#define CPUID_MTRR 0x1000
-#define CPUID_PGE 0x2000
-#define CPUID_MCA 0x4000
-#define CPUID_CMOV 0x8000
-#define CPUID_FXSR 0x01000000
-#define CPUID_XMM 0x02000000
+#define CPUID_FPU 0x00000001
+#define CPUID_VME 0x00000002
+#define CPUID_DE 0x00000004
+#define CPUID_PSE 0x00000008
+#define CPUID_TSC 0x00000010
+#define CPUID_MSR 0x00000020
+#define CPUID_PAE 0x00000040
+#define CPUID_MCE 0x00000080
+#define CPUID_CX8 0x00000100
+#define CPUID_APIC 0x00000200
+#define CPUID_B10 0x00000400
+#define CPUID_SEP 0x00000800
+#define CPUID_MTRR 0x00001000
+#define CPUID_PGE 0x00002000
+#define CPUID_MCA 0x00004000
+#define CPUID_CMOV 0x00008000
+#define CPUID_PAT 0x00010000
+#define CPUID_PSE36 0x00020000
+#define CPUID_PSN 0x00040000
+#define CPUID_CLFSH 0x00080000
+#define CPUID_B20 0x00100000
+#define CPUID_DS 0x00200000
+#define CPUID_ACPI 0x00400000
+#define CPUID_MMX 0x00800000
+#define CPUID_FXSR 0x01000000
+#define CPUID_SSE 0x02000000
+#define CPUID_XMM 0x02000000
+#define CPUID_SSE2 0x04000000
+#define CPUID_SS 0x08000000
+#define CPUID_HHT 0x10000000
+#define CPUID_TM 0x20000000
+#define CPUID_B30 0x40000000
+#define CPUID_PBE 0x80000000
/*
* Model-specific registers for the i386 family
diff --git a/sys/i386/include/specialreg.h b/sys/i386/include/specialreg.h
index 02440c9..99f9f3c 100644
--- a/sys/i386/include/specialreg.h
+++ b/sys/i386/include/specialreg.h
@@ -77,24 +77,39 @@
/*
* CPUID instruction features register
*/
-#define CPUID_FPU 0x0001
-#define CPUID_VME 0x0002
-#define CPUID_DE 0x0004
-#define CPUID_PSE 0x0008
-#define CPUID_TSC 0x0010
-#define CPUID_MSR 0x0020
-#define CPUID_PAE 0x0040
-#define CPUID_MCE 0x0080
-#define CPUID_CX8 0x0100
-#define CPUID_APIC 0x0200
-#define CPUID_B10 0x0400
-#define CPUID_B11 0x0800
-#define CPUID_MTRR 0x1000
-#define CPUID_PGE 0x2000
-#define CPUID_MCA 0x4000
-#define CPUID_CMOV 0x8000
-#define CPUID_FXSR 0x01000000
-#define CPUID_XMM 0x02000000
+#define CPUID_FPU 0x00000001
+#define CPUID_VME 0x00000002
+#define CPUID_DE 0x00000004
+#define CPUID_PSE 0x00000008
+#define CPUID_TSC 0x00000010
+#define CPUID_MSR 0x00000020
+#define CPUID_PAE 0x00000040
+#define CPUID_MCE 0x00000080
+#define CPUID_CX8 0x00000100
+#define CPUID_APIC 0x00000200
+#define CPUID_B10 0x00000400
+#define CPUID_SEP 0x00000800
+#define CPUID_MTRR 0x00001000
+#define CPUID_PGE 0x00002000
+#define CPUID_MCA 0x00004000
+#define CPUID_CMOV 0x00008000
+#define CPUID_PAT 0x00010000
+#define CPUID_PSE36 0x00020000
+#define CPUID_PSN 0x00040000
+#define CPUID_CLFSH 0x00080000
+#define CPUID_B20 0x00100000
+#define CPUID_DS 0x00200000
+#define CPUID_ACPI 0x00400000
+#define CPUID_MMX 0x00800000
+#define CPUID_FXSR 0x01000000
+#define CPUID_SSE 0x02000000
+#define CPUID_XMM 0x02000000
+#define CPUID_SSE2 0x04000000
+#define CPUID_SS 0x08000000
+#define CPUID_HHT 0x10000000
+#define CPUID_TM 0x20000000
+#define CPUID_B30 0x40000000
+#define CPUID_PBE 0x80000000
/*
* Model-specific registers for the i386 family
OpenPOWER on IntegriCloud