hw/hppa: Use hppa_abs_to_phys_pa1x()
Makes the physical address space conversion for 32 bit machines more explicit, using the translation function defined in mem_helper.c. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Anton Johansson <anjo@rev.ng> Message-ID: <20260218-phys_addr-v6-2-a603bf363218@rev.ng> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Anton Johansson committed
Feb 10, 2026 at 12:33 UTC
a92503e6e5f2435c2fce9dc64d391f3ff34e383c
1 file changed
+1
-1
hw/hppa/machine.c
+1
-1
@@ -181,7 +181,7 @@ static uint64_t linux_kernel_virt_to_phys(void *opaque, uint64_t addr)
181
182
static uint64_t translate_pa10(void *dummy, uint64_t addr)
183
{
184
- return (uint32_t)addr;
184
+ return hppa_abs_to_phys_pa1x(addr);
185
}
186
187
static uint64_t translate_pa20(void *dummy, uint64_t addr)