On 2/10/26 21:33, Anton Johansson wrote:
Makes the physical address space conversion for 32 bit machines more
explicit, using the translation function defined in mem_helper.c.
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 960aefc9e2..472b90aab0 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)
Reviewed-by: Richard Henderson <[email protected]>
r~