Module Name: src
Committed By: jdolecek
Date: Sun Jul 19 16:17:00 UTC 2020
Modified Files:
src/sys/arch/x86/include: specialreg.h
Log Message:
add definition for MSR_IA32_FEATURE_CONTROL, just for information
To generate a diff of this commit:
cvs rdiff -u -r1.168 -r1.169 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.168 src/sys/arch/x86/include/specialreg.h:1.169
--- src/sys/arch/x86/include/specialreg.h:1.168 Thu Jun 18 16:27:24 2020
+++ src/sys/arch/x86/include/specialreg.h Sun Jul 19 16:17:00 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: specialreg.h,v 1.168 2020/06/18 16:27:24 maxv Exp $ */
+/* $NetBSD: specialreg.h,v 1.169 2020/07/19 16:17:00 jdolecek Exp $ */
/*
* Copyright (c) 2014-2020 The NetBSD Foundation, Inc.
@@ -865,6 +865,9 @@
#define APICBASE_PHYSADDR 0xfffff000 /* physical address */
#define MSR_EBL_CR_POWERON 0x02a
#define MSR_EBC_FREQUENCY_ID 0x02c /* PIV only */
+#define MSR_IA32_FEATURE_CONTROL 0x03a
+#define IA32_FEATURE_CONTROL_ENABLE_VMXON_INSIDE_SMX 0x0002
+#define IA32_FEATURE_CONTROL_ENABLE_VMXON_OUTSIDE_SMX 0x0004
#define MSR_IA32_SPEC_CTRL 0x048
#define IA32_SPEC_CTRL_IBRS 0x01
#define IA32_SPEC_CTRL_STIBP 0x02