diff options
author | Edgar E. Iglesias <edgar.iglesias@xilinx.com> | 2018-04-16 21:25:01 +0200 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@xilinx.com> | 2018-05-29 09:35:14 +0200 |
commit | f0f7e7f7b284f536389a3c5b67de681055325317 (patch) | |
tree | 5879e42d2c1164f540b34b245985f57954eaddea /target/microblaze/op_helper.c | |
parent | 05a9a6519c9127b5fb0b13481ecc0e72331c8a38 (diff) | |
download | qemu-f0f7e7f7b284f536389a3c5b67de681055325317.zip qemu-f0f7e7f7b284f536389a3c5b67de681055325317.tar.gz qemu-f0f7e7f7b284f536389a3c5b67de681055325317.tar.bz2 |
target-microblaze: Add support for extended access to TLBLO
Add support for extended access to TLBLO's upper 32 bits.
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Diffstat (limited to 'target/microblaze/op_helper.c')
-rw-r--r-- | target/microblaze/op_helper.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/microblaze/op_helper.c b/target/microblaze/op_helper.c index 4dc3aff..ddc1f71 100644 --- a/target/microblaze/op_helper.c +++ b/target/microblaze/op_helper.c @@ -476,14 +476,14 @@ void helper_stackprot(CPUMBState *env, target_ulong addr) #if !defined(CONFIG_USER_ONLY) /* Writes/reads to the MMU's special regs end up here. */ -uint32_t helper_mmu_read(CPUMBState *env, uint32_t rn) +uint32_t helper_mmu_read(CPUMBState *env, uint32_t ext, uint32_t rn) { - return mmu_read(env, rn); + return mmu_read(env, ext, rn); } -void helper_mmu_write(CPUMBState *env, uint32_t rn, uint32_t v) +void helper_mmu_write(CPUMBState *env, uint32_t ext, uint32_t rn, uint32_t v) { - mmu_write(env, rn, v); + mmu_write(env, ext, rn, v); } void mb_cpu_unassigned_access(CPUState *cs, hwaddr addr, |