diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-10-20 10:04:22 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-11-06 18:49:34 -0800 |
commit | a4529fa83b3c1e8cd3303161a5895a5adc01a076 (patch) | |
tree | 58b66aa70b6ac01d48951c4ec7f6b4c1d9c4b8b9 | |
parent | 8577f354792414a2b24ef72c64730ed0f6bb071e (diff) | |
download | qemu-a4529fa83b3c1e8cd3303161a5895a5adc01a076.zip qemu-a4529fa83b3c1e8cd3303161a5895a5adc01a076.tar.gz qemu-a4529fa83b3c1e8cd3303161a5895a5adc01a076.tar.bz2 |
hw/hppa: Use uint32_t instead of target_ureg
The size of target_ureg is going to change.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
-rw-r--r-- | hw/hppa/machine.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/hw/hppa/machine.c b/hw/hppa/machine.c index 85682e6..1f09b4b 100644 --- a/hw/hppa/machine.c +++ b/hw/hppa/machine.c @@ -391,9 +391,9 @@ static void machine_HP_common_init_tail(MachineState *machine, PCIBus *pci_bus) true, EM_PARISC, 0, 0); /* Unfortunately, load_elf sign-extends reading elf32. */ - firmware_entry = (target_ureg)firmware_entry; - firmware_low = (target_ureg)firmware_low; - firmware_high = (target_ureg)firmware_high; + firmware_entry = (uint32_t)firmware_entry; + firmware_low = (uint32_t)firmware_low; + firmware_high = (uint32_t)firmware_high; if (size < 0) { error_report("could not load firmware '%s'", firmware_filename); @@ -420,9 +420,9 @@ static void machine_HP_common_init_tail(MachineState *machine, PCIBus *pci_bus) true, EM_PARISC, 0, 0); /* Unfortunately, load_elf sign-extends reading elf32. */ - kernel_entry = (target_ureg) cpu_hppa_to_phys(NULL, kernel_entry); - kernel_low = (target_ureg)kernel_low; - kernel_high = (target_ureg)kernel_high; + kernel_entry = (uint32_t) cpu_hppa_to_phys(NULL, kernel_entry); + kernel_low = (uint32_t)kernel_low; + kernel_high = (uint32_t)kernel_high; if (size < 0) { error_report("could not load kernel '%s'", kernel_filename); |