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?
Changes in v2:
- Use MAKE_64BIT_MASK() in patch 2 (Richard);
- Dropped runtime TARGET_PHYS_ADDR_SPACE_BITS as it shouldn't be exposed
to common code and is better dealt with in other ways
(Richard, Philippe);
- Added reviewed-bys.
---
Anton Johansson (3):
hw/riscv: Use generic hwaddr for firmware addressses
hw/riscv: Replace target_ulong uses
hw/riscv: Widen OpenSBI dynamic info struct
include/hw/riscv/boot.h | 20 +++++++++----------
include/hw/riscv/boot_opensbi.h | 14 ++++++-------
hw/riscv/boot.c | 44 +++++++++++++++++++++--------------------
hw/riscv/microchip_pfsoc.c | 2 +-
hw/riscv/riscv-iommu.c | 6 ++++--
hw/riscv/riscv_hart.c | 2 +-
hw/riscv/sifive_u.c | 2 +-
hw/riscv/spike.c | 4 ++--
hw/riscv/virt.c | 2 +-
9 files changed, 50 insertions(+), 46 deletions(-)