summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/specialreg.h
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2010-05-05 21:07:47 +0000
committerkib <kib@FreeBSD.org>2010-05-05 21:07:47 +0000
commit9e7ca00a7d2a09aaf3de24d5ccf18e1a4d305e75 (patch)
treece2bce52f5ebbf8a00878f8e3af7cd29d81c6e06 /sys/amd64/include/specialreg.h
parentc8dfd5c0cb853b1ac3f30e4c150522cd84121361 (diff)
downloadFreeBSD-src-9e7ca00a7d2a09aaf3de24d5ccf18e1a4d305e75.zip
FreeBSD-src-9e7ca00a7d2a09aaf3de24d5ccf18e1a4d305e75.tar.gz
Add definitions for Intel AESNI CPUID bits and print the capabilities
on boot. Hardware provided by: Sentex Communications MFC after: 1 week
Diffstat (limited to 'sys/amd64/include/specialreg.h')
-rw-r--r--sys/amd64/include/specialreg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/amd64/include/specialreg.h b/sys/amd64/include/specialreg.h
index 86a08ce..895619c 100644
--- a/sys/amd64/include/specialreg.h
+++ b/sys/amd64/include/specialreg.h
@@ -113,6 +113,7 @@
#define CPUID_PBE 0x80000000
#define CPUID2_SSE3 0x00000001
+#define CPUID2_PCLMULQDQ 0x00000002
#define CPUID2_DTES64 0x00000004
#define CPUID2_MON 0x00000008
#define CPUID2_DS_CPL 0x00000010
@@ -131,6 +132,7 @@
#define CPUID2_X2APIC 0x00200000
#define CPUID2_MOVBE 0x00400000
#define CPUID2_POPCNT 0x00800000
+#define CPUID2_AESNI 0x02000000
/*
* Important bits in the AMD extended cpuid flags
OpenPOWER on IntegriCloud