summaryrefslogtreecommitdiff
path: root/src/cpu/x86/cache/cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/x86/cache/cache.c')
-rw-r--r--src/cpu/x86/cache/cache.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/cpu/x86/cache/cache.c b/src/cpu/x86/cache/cache.c
new file mode 100644
index 0000000000..92e4a69e29
--- /dev/null
+++ b/src/cpu/x86/cache/cache.c
@@ -0,0 +1,10 @@
+#include <console/console.h>
+#include <cpu/x86/cache.h>
+
+void x86_enable_cache(void)
+{
+ post_code(0x60);
+ printk_info("Enabling cache\n");
+ enable_cache();
+}
+