summaryrefslogtreecommitdiffstats
path: root/sys/x86/include/specialreg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/x86/include/specialreg.h')
-rw-r--r--sys/x86/include/specialreg.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/x86/include/specialreg.h b/sys/x86/include/specialreg.h
index 9ca3d1a..b897b42 100644
--- a/sys/x86/include/specialreg.h
+++ b/sys/x86/include/specialreg.h
@@ -578,13 +578,9 @@
#define IA32_MISC_EN_xTPRD 0x0000000000800000ULL
#define IA32_MISC_EN_XDD 0x0000000400000000ULL
-/*
- * IA32_SPEC_CTRL and IA32_PRED_CMD MSRs are described in the Intel'
- * document 336996-001 Speculative Execution Side Channel Mitigations.
- */
/* MSR IA32_SPEC_CTRL */
-#define IA32_SPEC_CTRL_IBRS 0x00000001
-#define IA32_SPEC_CTRL_STIBP 0x00000002
+#define IA32_SPEC_CTRL_IBRS 0x0000000000000001ULL
+#define IA32_SPEC_CTRL_STIBP 0x0000000000000002ULL
/* MSR IA32_PRED_CMD */
#define IA32_PRED_CMD_IBPB_BARRIER 0x0000000000000001ULL
OpenPOWER on IntegriCloud