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 IC_CFG.DIS_IND: "Disable Indirect B...



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

description:
Add IC_CFG.DIS_IND: "Disable Indirect Branch Predictor". Available (at
least) on AMD Families 10h, 12h and 16h.

diffstat:

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

diffs (17 lines):

diff -r 93f03a60e83f -r c7c898b3873a sys/arch/x86/include/specialreg.h
--- a/sys/arch/x86/include/specialreg.h Wed Mar 14 13:23:31 2018 +0000
+++ b/sys/arch/x86/include/specialreg.h Wed Mar 14 14:15:02 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: specialreg.h,v 1.114 2018/03/12 07:12:54 msaitoh Exp $ */
+/*     $NetBSD: specialreg.h,v 1.115 2018/03/14 14:15:02 maxv Exp $    */
 
 /*-
  * Copyright (c) 1991 The Regents of the University of California.
@@ -842,6 +842,7 @@
 
 #define MSR_IC_CFG     0xc0011021
 #define        IC_CFG_DIS_SEQ_PREFETCH 0x00000800
+#define        IC_CFG_DIS_IND          0x00004000
 
 #define MSR_DC_CFG     0xc0011022
 #define        DC_CFG_DIS_CNV_WC_SSO   0x00000008



Home | Main Index | Thread Index | Old Index