diff options
Diffstat (limited to 'target-microblaze/mmu.c')
-rw-r--r-- | target-microblaze/mmu.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target-microblaze/mmu.c b/target-microblaze/mmu.c index 7c34ac0971..43092e580d 100644 --- a/target-microblaze/mmu.c +++ b/target-microblaze/mmu.c @@ -31,7 +31,7 @@ static unsigned int tlb_decode_size(unsigned int f) return sizes[f]; } -static void mmu_flush_idx(CPUState *env, unsigned int idx) +static void mmu_flush_idx(CPUMBState *env, unsigned int idx) { struct microblaze_mmu *mmu = &env->mmu; unsigned int tlb_size; @@ -51,7 +51,7 @@ static void mmu_flush_idx(CPUState *env, unsigned int idx) } } -static void mmu_change_pid(CPUState *env, unsigned int newpid) +static void mmu_change_pid(CPUMBState *env, unsigned int newpid) { struct microblaze_mmu *mmu = &env->mmu; unsigned int i; @@ -175,7 +175,7 @@ done: } /* Writes/reads to the MMU's special regs end up here. */ -uint32_t mmu_read(CPUState *env, uint32_t rn) +uint32_t mmu_read(CPUMBState *env, uint32_t rn) { unsigned int i; uint32_t r; @@ -215,7 +215,7 @@ uint32_t mmu_read(CPUState *env, uint32_t rn) return r; } -void mmu_write(CPUState *env, uint32_t rn, uint32_t v) +void mmu_write(CPUMBState *env, uint32_t rn, uint32_t v) { unsigned int i; D(qemu_log("%s rn=%d=%x old=%x\n", __func__, rn, v, env->mmu.regs[rn])); |