diff options
Diffstat (limited to 'target-cris/mmu.h')
-rw-r--r-- | target-cris/mmu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-cris/mmu.h b/target-cris/mmu.h index aca531a3ed..d753b3834a 100644 --- a/target-cris/mmu.h +++ b/target-cris/mmu.h @@ -3,7 +3,7 @@ #define CRIS_MMU_ERR_WRITE 2 #define CRIS_MMU_ERR_FLUSH 3 -struct cris_mmu_result_t +struct cris_mmu_result { uint32_t phy; int prot; @@ -12,6 +12,6 @@ struct cris_mmu_result_t void cris_mmu_init(CPUState *env); void cris_mmu_flush_pid(CPUState *env, uint32_t pid); -int cris_mmu_translate(struct cris_mmu_result_t *res, +int cris_mmu_translate(struct cris_mmu_result *res, CPUState *env, uint32_t vaddr, int rw, int mmu_idx); |