summaryrefslogtreecommitdiff
path: root/src/cpu/x86/mtrr
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/x86/mtrr')
-rw-r--r--src/cpu/x86/mtrr/debug.c1
-rw-r--r--src/cpu/x86/mtrr/earlymtrr.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/cpu/x86/mtrr/debug.c b/src/cpu/x86/mtrr/debug.c
index 4ecae068b7..a3e40d3a6c 100644
--- a/src/cpu/x86/mtrr/debug.c
+++ b/src/cpu/x86/mtrr/debug.c
@@ -2,6 +2,7 @@
#include <console/console.h>
#include <cpu/cpu.h>
+#include <cpu/x86/msr.h>
#include <cpu/x86/mtrr.h>
#include <stdint.h>
diff --git a/src/cpu/x86/mtrr/earlymtrr.c b/src/cpu/x86/mtrr/earlymtrr.c
index 2c14a70609..aa430d5330 100644
--- a/src/cpu/x86/mtrr/earlymtrr.c
+++ b/src/cpu/x86/mtrr/earlymtrr.c
@@ -5,7 +5,7 @@
#include <cpu/x86/msr.h>
#include <console/console.h>
#include <commonlib/bsd/helpers.h>
-#include <stdint.h>
+#include <types.h>
/* Get first available variable MTRR.
* Returns var# if available, else returns -1.