summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/include
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2018-09-11 07:13:24 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2018-09-11 07:13:24 +0000
commitc7d0c355c6f944ec9be2643f2235c6f0566d03b4 (patch)
treec2593b111e7f21551e68607df7450e1c83ebaac0 /sys/arch/amd64/include
parent02863211373b01524e3d0255c7ca9cde7b0e339f (diff)
Add defines for amd microcode msrs which appear to be present since k8
though amd only provides public redistributable updates for >= family 10h.
Diffstat (limited to 'sys/arch/amd64/include')
-rw-r--r--sys/arch/amd64/include/specialreg.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/amd64/include/specialreg.h b/sys/arch/amd64/include/specialreg.h
index b276a53a939..b181afa1e19 100644
--- a/sys/arch/amd64/include/specialreg.h
+++ b/sys/arch/amd64/include/specialreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: specialreg.h,v 1.80 2018/09/05 04:23:18 guenther Exp $ */
+/* $OpenBSD: specialreg.h,v 1.81 2018/09/11 07:13:23 jsg Exp $ */
/* $NetBSD: specialreg.h,v 1.1 2003/04/26 18:39:48 fvdl Exp $ */
/* $NetBSD: x86/specialreg.h,v 1.2 2003/04/25 21:54:30 fvdl Exp $ */
@@ -504,6 +504,7 @@
/*
* AMD K8 (Opteron) MSRs.
*/
+#define MSR_PATCH_LEVEL 0x0000008b
#define MSR_SYSCFG 0xc0000010
#define MSR_EFER 0xc0000080 /* Extended feature enable */
@@ -521,6 +522,7 @@
#define MSR_FSBASE 0xc0000100 /* 64bit offset for fs: */
#define MSR_GSBASE 0xc0000101 /* 64bit offset for gs: */
#define MSR_KERNELGSBASE 0xc0000102 /* storage for swapgs ins */
+#define MSR_PATCH_LOADER 0xc0010020
#define MSR_INT_PEN_MSG 0xc0010055 /* Interrupt pending message */
#define MSR_DE_CFG 0xc0011029 /* Decode Configuration */