summary refs log tree commit diff stats
path: root/target/nios2/mmu.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/nios2/mmu.h')
-rw-r--r--target/nios2/mmu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/nios2/mmu.h b/target/nios2/mmu.h
index 4f46fbb82e..5b085900fb 100644
--- a/target/nios2/mmu.h
+++ b/target/nios2/mmu.h
@@ -21,6 +21,8 @@
 #ifndef NIOS2_MMU_H
 #define NIOS2_MMU_H
 
+#include "cpu.h"
+
 typedef struct Nios2TLBEntry {
     target_ulong tag;
     target_ulong data;
@@ -44,7 +46,6 @@ void mmu_flip_um(CPUNios2State *env, unsigned int um);
 unsigned int mmu_translate(CPUNios2State *env,
                            Nios2MMULookup *lu,
                            target_ulong vaddr, int rw, int mmu_idx);
-void mmu_read_debug(CPUNios2State *env, uint32_t rn);
 void mmu_write(CPUNios2State *env, uint32_t rn, uint32_t v);
 void mmu_init(CPUNios2State *env);