hw/mips/malta: Use address translation helper to calculate bootloader_run_addr
commit5052b6e82ccad696f63b9e7107e49c53965f750c
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Tue, 15 Dec 2020 06:41:54 +0000 (15 14:41 +0800)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 4 Jan 2021 22:36:03 +0000 (4 23:36 +0100)
tree9d2a82fbe06fecd95087f566ce6b09707f1ae827
parentdde989943b401aec3a063214278474d2f8c1a9de
hw/mips/malta: Use address translation helper to calculate bootloader_run_addr

So it will sign extend adresses properly.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20201215064200.28751-3-jiaxun.yang@flygoat.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/mips/malta.c