Module Name:    src
Committed By:   maxv
Date:           Wed Mar 14 14:44:25 UTC 2018

Modified Files:
        src/sys/arch/x86/include: specialreg.h

Log Message:
Add the IBRS and STIBP MSRs.


To generate a diff of this commit:
cvs rdiff -u -r1.115 -r1.116 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.115 src/sys/arch/x86/include/specialreg.h:1.116
--- src/sys/arch/x86/include/specialreg.h:1.115	Wed Mar 14 14:15:02 2018
+++ src/sys/arch/x86/include/specialreg.h	Wed Mar 14 14:44:25 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: specialreg.h,v 1.115 2018/03/14 14:15:02 maxv Exp $	*/
+/*	$NetBSD: specialreg.h,v 1.116 2018/03/14 14:44:25 maxv Exp $	*/
 
 /*-
  * Copyright (c) 1991 The Regents of the University of California.
@@ -630,6 +630,8 @@
 #define MSR_EBC_FREQUENCY_ID	0x02c	/* PIV only */
 #define MSR_TEST_CTL		0x033
 #define MSR_IA32_SPEC_CTRL	0x048
+#define 	IA32_SPEC_CTRL_IBRS	0x01
+#define 	IA32_SPEC_CTRL_STIBP	0x02
 #define MSR_IA32_PRED_CMD	0x049
 #define MSR_BIOS_UPDT_TRIG	0x079
 #define MSR_BBL_CR_D0		0x088	/* PII+ only */

Reply via email to