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 ... and also add IBPB ...



details:   https://anonhg.NetBSD.org/src/rev/ccb4075b0c37
branches:  trunk
changeset: 321401:ccb4075b0c37
user:      maxv <maxv%NetBSD.org@localhost>
date:      Wed Mar 14 15:03:16 2018 +0000

description:
... and also add IBPB ...

diffstat:

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

diffs (17 lines):

diff -r b99a6b15666b -r ccb4075b0c37 sys/arch/x86/include/specialreg.h
--- a/sys/arch/x86/include/specialreg.h Wed Mar 14 14:44:25 2018 +0000
+++ b/sys/arch/x86/include/specialreg.h Wed Mar 14 15:03:16 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: specialreg.h,v 1.116 2018/03/14 14:44:25 maxv Exp $    */
+/*     $NetBSD: specialreg.h,v 1.117 2018/03/14 15:03:16 maxv Exp $    */
 
 /*-
  * Copyright (c) 1991 The Regents of the University of California.
@@ -633,6 +633,7 @@
 #define        IA32_SPEC_CTRL_IBRS     0x01
 #define        IA32_SPEC_CTRL_STIBP    0x02
 #define MSR_IA32_PRED_CMD      0x049
+#define        IA32_PRED_CMD_IBPB      0x01
 #define MSR_BIOS_UPDT_TRIG     0x079
 #define MSR_BBL_CR_D0          0x088   /* PII+ only */
 #define MSR_BBL_CR_D1          0x089   /* PII+ only */



Home | Main Index | Thread Index | Old Index