Module Name: src
Committed By: msaitoh
Date: Tue Sep 9 15:09:16 UTC 2014
Modified Files:
src/sys/arch/x86/include: specialreg.h
Log Message:
Update CPUID(EAX=0x0d, ECXD=1) from Intel SDM:
- XSAVEC(bit1)
- XGETBV(bit2)
- XSAVES(bit3)
To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 src/sys/arch/x86/include/specialreg.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/x86/include/specialreg.h
diff -u src/sys/arch/x86/include/specialreg.h:1.78 src/sys/arch/x86/include/specialreg.h:1.79
--- src/sys/arch/x86/include/specialreg.h:1.78 Tue Feb 25 22:11:11 2014
+++ src/sys/arch/x86/include/specialreg.h Tue Sep 9 15:09:16 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: specialreg.h,v 1.78 2014/02/25 22:11:11 dsl Exp $ */
+/* $NetBSD: specialreg.h,v 1.79 2014/09/09 15:09:16 msaitoh Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
@@ -355,9 +355,12 @@
*/
#define CPUID_PES1_XSAVEOPT 0x00000001 /* xsaveopt instruction */
+#define CPUID_PES1_XSAVEC 0x00000002 /* xsavec & compacted XRSTOR */
+#define CPUID_PES1_XGETBV 0x00000004 /* xgetbv with ECX = 1 */
+#define CPUID_PES1_XSAVES 0x00000008 /* xsaves/xrstors, IA32_XSS */
#define CPUID_PES1_FLAGS "\20" \
- "\1" "XSAVEOPT"
+ "\1" "XSAVEOPT" "\2" "XSAVEC" "\3" "XINUSE" "\4" "XSAVES"
/* Intel Fn80000001 extended features - %edx */
#define CPUID_SYSCALL 0x00000800 /* SYSCALL/SYSRET */