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 add definition for MSR_IA32_FEATURE_CON...



details:   https://anonhg.NetBSD.org/src/rev/d42e8a0971c3
branches:  trunk
changeset: 936126:d42e8a0971c3
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sun Jul 19 16:17:00 2020 +0000

description:
add definition for MSR_IA32_FEATURE_CONTROL, just for information

diffstat:

 sys/arch/x86/include/specialreg.h |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 0260f616c96a -r d42e8a0971c3 sys/arch/x86/include/specialreg.h
--- a/sys/arch/x86/include/specialreg.h Sun Jul 19 16:08:24 2020 +0000
+++ b/sys/arch/x86/include/specialreg.h Sun Jul 19 16:17:00 2020 +0000
@@ -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



Home | Main Index | Thread Index | Old Index