Hello,
this is a small prerequisite patchset that removes target_[u]?long and
replaces a few target specific macros with target-info variants.
Next up is using the target-info style QOM filtering of boards and then
moving translation units to common code. My current patches for this
are based on Philippes single-binary-hw-arm-rfc-v5 branch, is there some
other branch I should target here?
---
Anton Johansson (5):
hw/riscv: Use generic hwaddr for firmware addressses
hw/riscv: Replace target_ulong uses
hw/riscv: Widen OpenSBI dynamic info struct
target-info: Introduce runtime TARGET_PHYS_ADDR_SPACE_BITS
hw/riscv: Use runtime target_phys_addr_space_bits()
include/hw/riscv/boot.h | 20 +++++++++----------
include/hw/riscv/boot_opensbi.h | 14 ++++++-------
include/qemu/target-info-impl.h | 2 ++
include/qemu/target-info.h | 8 ++++++++
hw/riscv/boot.c | 44 +++++++++++++++++++++--------------------
hw/riscv/microchip_pfsoc.c | 2 +-
hw/riscv/riscv-iommu.c | 7 ++++---
hw/riscv/riscv_hart.c | 2 +-
hw/riscv/sifive_u.c | 2 +-
hw/riscv/spike.c | 4 ++--
hw/riscv/virt.c | 2 +-
target-info.c | 5 +++++
12 files changed, 65 insertions(+), 47 deletions(-)