[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 46/65] hw/hppa: Use uint32_t instead of target_ureg
|
From: |
Richard Henderson |
|
Subject: |
[PATCH v2 46/65] hw/hppa: Use uint32_t instead of target_ureg |
|
Date: |
Fri, 20 Oct 2023 13:43:12 -0700 |
The size of target_ureg is going to change.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
hw/hppa/machine.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/hw/hppa/machine.c b/hw/hppa/machine.c
index 85682e6bab..1f09b4b490 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);
--
2.34.1
- [PATCH v2 26/65] target/hppa: Pass d to do_unit_cond, (continued)
- [PATCH v2 26/65] target/hppa: Pass d to do_unit_cond, Richard Henderson, 2023/10/20
- [PATCH v2 24/65] target/hppa: Pass d to do_log_cond, Richard Henderson, 2023/10/20
- [PATCH v2 22/65] target/hppa: Pass d to do_cond, Richard Henderson, 2023/10/20
- [PATCH v2 34/65] target/hppa: Decode d for sub instructions, Richard Henderson, 2023/10/20
- [PATCH v2 36/65] target/hppa: Decode d for cmpb instructions, Richard Henderson, 2023/10/20
- [PATCH v2 41/65] target/hppa: Implement EXTRD, Richard Henderson, 2023/10/20
- [PATCH v2 40/65] target/hppa: Implement DEPD, DEPDI, Richard Henderson, 2023/10/20
- [PATCH v2 42/65] target/hppa: Implement SHRPD, Richard Henderson, 2023/10/20
- [PATCH v2 43/65] target/hppa: Implement CLRBTS, POPBTS, PUSHBTS, PUSHNOM, Richard Henderson, 2023/10/20
- [PATCH v2 44/65] target/hppa: Implement STDBY, Richard Henderson, 2023/10/20
- [PATCH v2 46/65] hw/hppa: Use uint32_t instead of target_ureg,
Richard Henderson <=
- [PATCH v2 45/65] target/hppa: Implement IDTLBT, IITLBT, Richard Henderson, 2023/10/20
- [PATCH v2 47/65] target/hppa: Remove TARGET_REGISTER_BITS, Richard Henderson, 2023/10/20
- [PATCH v2 51/65] target/hppa: Replace tcg_gen_*_tl with tcg_gen_*_i64, Richard Henderson, 2023/10/20
- [PATCH v2 53/65] target/hppa: Implement HSUB, Richard Henderson, 2023/10/20
- [PATCH v2 49/65] target/hppa: Remove remaining TARGET_REGISTER_BITS redirections, Richard Henderson, 2023/10/20
- [PATCH v2 48/65] target/hppa: Remove most of the TARGET_REGISTER_BITS redirections, Richard Henderson, 2023/10/20
- [PATCH v2 52/65] target/hppa: Implement HADD, Richard Henderson, 2023/10/20