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 <[email protected]> Signed-off-by: Anton Johansson <[email protected]> --- hw/hppa/machine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/hppa/machine.c b/hw/hppa/machine.c index c3680667ae..6b0f46c789 100644 --- a/hw/hppa/machine.c +++ b/hw/hppa/machine.c @@ -181,7 +181,7 @@ static uint64_t linux_kernel_virt_to_phys(void *opaque, uint64_t addr) static uint64_t translate_pa10(void *dummy, uint64_t addr) { - return (uint32_t)addr; + return hppa_abs_to_phys_pa1x(addr); } static uint64_t translate_pa20(void *dummy, uint64_t addr) -- 2.52.0
