summaryrefslogtreecommitdiff
path: root/src/include/cpu/amd/mtrr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/cpu/amd/mtrr.h')
-rw-r--r--src/include/cpu/amd/mtrr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/cpu/amd/mtrr.h b/src/include/cpu/amd/mtrr.h
index be816ba5aa..7da6cd1142 100644
--- a/src/include/cpu/amd/mtrr.h
+++ b/src/include/cpu/amd/mtrr.h
@@ -37,6 +37,9 @@
#define TOP_MEM_MASK_KB (TOP_MEM_MASK >> 10)
#if !defined(__PRE_RAM__) && !defined(__ASSEMBLER__)
+
+#include <cpu/x86/msr.h>
+
void amd_setup_mtrrs(void);
static inline __attribute__((always_inline)) msr_t rdmsr_amd(unsigned index)