[PATCH 0/6] hw/hppa: Clarify machine variables and move them out of CPUArchState

Philippe Mathieu-Daudé posted 6 patches 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20251009143106.22724-1-philmd@linaro.org
Maintainers: Richard Henderson <richard.henderson@linaro.org>, Helge Deller <deller@gmx.de>
There is a newer version of this series
target/hppa/cpu.h |   4 --
hw/hppa/machine.c | 162 +++++++++++++++++++++++++++-------------------
2 files changed, 94 insertions(+), 72 deletions(-)
[PATCH 0/6] hw/hppa: Clarify machine variables and move them out of CPUArchState
Posted by Philippe Mathieu-Daudé 1 month ago
The HPPA machines uses a pair of variables for distinct meanings,
depending on kernel or firmware mode used. Replace by variables
per mode, allowing to use the proper type. This helps reviewing
the code. This cleanup allows removing unjustified target_ulong
uses.

Philippe Mathieu-Daudé (6):
  hw/hppa: Use the machine default boot order at reset
  hw/hppa: Convert type_init() -> DEFINE_TYPES()
  hw/hppa: Factor QOM HPPA_COMMON_MACHINE out
  hw/hppa: Introduce HppaMachineState::boot_info::firmware structure
  hw/hppa: Introduce HppaMachineState::boot_info::kernel structure
  hw/hppa: Move kernel addresses to HppaMachineState::boot_info
    structure

 target/hppa/cpu.h |   4 --
 hw/hppa/machine.c | 162 +++++++++++++++++++++++++++-------------------
 2 files changed, 94 insertions(+), 72 deletions(-)

-- 
2.51.0