summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/cpu/x86/mtrr.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/cpu/x86/mtrr.h b/src/include/cpu/x86/mtrr.h
index 95cabf1247..86ce57b8d7 100644
--- a/src/include/cpu/x86/mtrr.h
+++ b/src/include/cpu/x86/mtrr.h
@@ -12,10 +12,17 @@
#define MTRR_NUM_TYPES 7
#define MTRRcap_MSR 0x0fe
+
+#define MTRRcapSmrr (1 << 11)
+#define MTRRcapWc (1 << 10)
+#define MTRRcapFix (1 << 8)
+#define MTRRcapVcnt 0xff
+
#define MTRRdefType_MSR 0x2ff
#define MTRRdefTypeEn (1 << 11)
#define MTRRdefTypeFixEn (1 << 10)
+#define MTRRdefTypeType 0xff
#define SMRRphysBase_MSR 0x1f2
#define SMRRphysMask_MSR 0x1f3