Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/include Update CPUID(EAX=0x0d, ECX=1) from Inte...
details: https://anonhg.NetBSD.org/src/rev/a73f8806194b
branches: trunk
changeset: 332166:a73f8806194b
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Tue Sep 09 15:09:16 2014 +0000
description:
Update CPUID(EAX=0x0d, ECX=1) from Intel SDM:
- XSAVEC(bit1)
- XGETBV(bit2)
- XSAVES(bit3)
diffstat:
sys/arch/x86/include/specialreg.h | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (23 lines):
diff -r e2d32b2ca90f -r a73f8806194b sys/arch/x86/include/specialreg.h
--- a/sys/arch/x86/include/specialreg.h Tue Sep 09 13:57:03 2014 +0000
+++ b/sys/arch/x86/include/specialreg.h Tue Sep 09 15:09:16 2014 +0000
@@ -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 */
Home |
Main Index |
Thread Index |
Old Index