summaryrefslogtreecommitdiffstats
path: root/src/include/cpu/x86/mtrr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/cpu/x86/mtrr.h')
-rw-r--r--src/include/cpu/x86/mtrr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/cpu/x86/mtrr.h b/src/include/cpu/x86/mtrr.h
index ed55c0402072..298947a982dc 100644
--- a/src/include/cpu/x86/mtrr.h
+++ b/src/include/cpu/x86/mtrr.h
@@ -44,6 +44,7 @@
#define NUM_FIXED_RANGES 88
#define RANGES_PER_FIXED_MTRR 8
+#define NUM_FIXED_MTRRS (NUM_FIXED_RANGES / RANGES_PER_FIXED_MTRR)
#define MTRR_FIX_64K_00000 0x250
#define MTRR_FIX_16K_80000 0x258
#define MTRR_FIX_16K_A0000 0x259