diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2020-09-02 23:18:35 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2020-09-07 12:58:08 -0700 |
commit | 8ce97bc188ecebd5030059411b6e29f2cec64dc1 (patch) | |
tree | ae2c880ab8b317caaf14c76b94e947200566e6e4 /target/microblaze/helper.c | |
parent | a9f614587bdfdfce7a5e41c1a092eb7c0c10705a (diff) | |
download | qemu-8ce97bc188ecebd5030059411b6e29f2cec64dc1.zip qemu-8ce97bc188ecebd5030059411b6e29f2cec64dc1.tar.gz qemu-8ce97bc188ecebd5030059411b6e29f2cec64dc1.tar.bz2 |
target/microblaze: Rename mmu structs
Introduce typedefs and follow CODING_STYLE for naming.
Rename struct microblaze_mmu to MicroBlazeMMU.
Rename struct microblaze_mmu_lookup to MicroBlazeMMULookup.
Tested-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/microblaze/helper.c')
-rw-r--r-- | target/microblaze/helper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/microblaze/helper.c b/target/microblaze/helper.c index 27a24bb..3c2fd38 100644 --- a/target/microblaze/helper.c +++ b/target/microblaze/helper.c @@ -52,7 +52,7 @@ bool mb_cpu_tlb_fill(CPUState *cs, vaddr address, int size, { MicroBlazeCPU *cpu = MICROBLAZE_CPU(cs); CPUMBState *env = &cpu->env; - struct microblaze_mmu_lookup lu; + MicroBlazeMMULookup lu; unsigned int hit; int prot; @@ -235,7 +235,7 @@ hwaddr mb_cpu_get_phys_page_debug(CPUState *cs, vaddr addr) MicroBlazeCPU *cpu = MICROBLAZE_CPU(cs); CPUMBState *env = &cpu->env; target_ulong vaddr, paddr = 0; - struct microblaze_mmu_lookup lu; + MicroBlazeMMULookup lu; int mmu_idx = cpu_mmu_index(env, false); unsigned int hit; |