From: Philippe Mathieu-Daudé Date: Wed, 8 Oct 2025 04:36:32 +0000 (+0200) Subject: target/microblaze: Remove target_ulong uses in get_phys_page_attrs_debug X-Git-Tag: v10.2.0-rc1~61^2~56 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0651ea17e89903789d11dc601dc5ecd7c8e810c7;p=thirdparty%2Fqemu.git target/microblaze: Remove target_ulong uses in get_phys_page_attrs_debug The CPUClass::get_phys_page_debug() handler takes a 'vaddr' address and return a 'hwaddr' type since commit 00b941e581b ("cpu: Turn cpu_get_phys_page_debug() into a CPUClass hook"). Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Pierrick Bouvier Reviewed-by: Richard Henderson Message-Id: <20251015180115.97493-3-philmd@linaro.org> --- diff --git a/target/microblaze/helper.c b/target/microblaze/helper.c index ef0e2f973f..cf577a7226 100644 --- a/target/microblaze/helper.c +++ b/target/microblaze/helper.c @@ -274,7 +274,8 @@ hwaddr mb_cpu_get_phys_page_attrs_debug(CPUState *cs, vaddr addr, MemTxAttrs *attrs) { MicroBlazeCPU *cpu = MICROBLAZE_CPU(cs); - target_ulong vaddr, paddr = 0; + vaddr vaddr; + hwaddr paddr = 0; MicroBlazeMMULookup lu; int mmu_idx = cpu_mmu_index(cs, false); unsigned int hit;