aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/include
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2010-05-05 21:07:47 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2010-05-05 21:07:47 +0000
commitdb8fd40e9fabb7207d19d8828480ca62c328d685 (patch)
treece2bce52f5ebbf8a00878f8e3af7cd29d81c6e06 /sys/amd64/include
parent8e0ad55abb607c30abd20e5a1c0c797e0e8772ca (diff)
downloadsrc-db8fd40e9fabb7207d19d8828480ca62c328d685.tar.gz
src-db8fd40e9fabb7207d19d8828480ca62c328d685.zip
Add definitions for Intel AESNI CPUID bits and print the capabilities
on boot. Hardware provided by: Sentex Communications MFC after: 1 week
Notes
Notes: svn path=/head/; revision=207676
Diffstat (limited to 'sys/amd64/include')
-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 86a08cec931d..895619cf6f7e 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