qemu-cr16/target/openrisc
Philippe Mathieu-Daudé 5b67dbf1dc target/openrisc: Replace target_ulong -> uint32_t
The OpenRISC targets are only built as 32-bit:

  $ git grep TARGET_LONG_BITS configs/targets/or1k-*
  configs/targets/or1k-linux-user.mak:5:TARGET_LONG_BITS=32
  configs/targets/or1k-softmmu.mak:5:TARGET_LONG_BITS=32

Therefore target_ulong always expands to uint32_t. Replace and
adapt the API uses mechanically:

  target_ulong -> uint32_t
  target_long -> int32_t
  tl -> i32
  TCGv -> TCGv_i32
  tcg_temp_new -> tcg_temp_new_i32
  tcg_global_mem_new -> tcg_global_mem_new_i32
  VMSTATE_UINTTL -> VMSTATE_UINT32

There is no functional change (the migration stream is not modified).

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20251010070702.51484-14-philmd@linaro.org>
2025-10-16 17:07:28 +02:00
..
cpu-param.h tcg: Remove the TCG_GUEST_DEFAULT_MO definition globally 2025-04-23 15:07:32 -07:00
cpu-qom.h target: Move ArchCPUClass definition to 'cpu.h' 2023-11-07 13:08:48 +01:00
cpu.c add cpu_test_interrupt()/cpu_set_interrupt() helpers and use them tree wide 2025-08-29 12:48:14 +02:00
cpu.h target/openrisc: Replace target_ulong -> uint32_t 2025-10-16 17:07:28 +02:00
disas.c meson: target 2020-08-21 06:30:35 -04:00
exception.c include: Remove 'exec/exec-all.h' 2025-04-30 12:45:05 -07:00
exception.h compiler.h: replace QEMU_NORETURN with G_NORETURN 2022-04-21 17:03:51 +04:00
exception_helper.c include: Remove 'exec/exec-all.h' 2025-04-30 12:45:05 -07:00
fpu_helper.c target/openrisc: Replace target_ulong -> uint32_t 2025-10-16 17:07:28 +02:00
gdbstub.c gdbstub: Clarify no more than @gdb_num_core_regs can be accessed 2025-03-06 15:46:17 +01:00
helper.h target/openrisc: Replace target_ulong -> uint32_t 2025-10-16 17:07:28 +02:00
insns.decode target/openrisc: Implement l.adrp 2019-09-04 12:59:00 -07:00
interrupt.c include: Remove 'exec/exec-all.h' 2025-04-30 12:45:05 -07:00
interrupt_helper.c include: Remove 'exec/exec-all.h' 2025-04-30 12:45:05 -07:00
Kconfig kconfig: express dependency of individual boards on libfdt 2024-05-10 15:45:15 +02:00
machine.c target/openrisc: Replace target_ulong -> uint32_t 2025-10-16 17:07:28 +02:00
meson.build meson: Rename target_softmmu_arch -> target_system_arch 2023-10-07 19:03:07 +02:00
mmu.c target/openrisc: Remove target_ulong use in raise_mmu_exception() 2025-10-16 17:07:27 +02:00
sys_helper.c target/openrisc: Replace target_ulong -> uint32_t 2025-10-16 17:07:28 +02:00
translate.c target/openrisc: Replace target_ulong -> uint32_t 2025-10-16 17:07:28 +02:00