summaryrefslogtreecommitdiffstats
path: root/firmware/target/mips/mmu-mips.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/mips/mmu-mips.h')
-rw-r--r--firmware/target/mips/mmu-mips.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/firmware/target/mips/mmu-mips.h b/firmware/target/mips/mmu-mips.h
index def4196be1..f3d35f606d 100644
--- a/firmware/target/mips/mmu-mips.h
+++ b/firmware/target/mips/mmu-mips.h
@@ -22,8 +22,19 @@
#ifndef __MMU_MIPS_INCLUDE_H
#define __MMU_MIPS_INCLUDE_H
+#include "system-target.h"
+
void map_address(unsigned long virtual, unsigned long physical,
unsigned long length, unsigned int cache_flags);
-void tlb_init(void);
+void mmu_init(void);
+
+#define HAVE_CPUCACHE_INVALIDATE
+//#define HAVE_CPUCACHE_FLUSH
+
+void __dcache_writeback_all(void);
+void __dcache_invalidate_all(void);
+void __icache_invalidate_all(void);
+void __flush_dcache_line(unsigned long addr);
+void dma_cache_wback_inv(unsigned long addr, unsigned long size);
#endif /* __MMU_MIPS_INCLUDE_H */