hw/hppa: Clarify machine variables and move them out of CPUArchState
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 4 repliesIn review
- v16 patches 5 repliesSuperseded
Changes in v2 from the cover letter
- Simplified (rth)
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | hw/hppa: Convert type_init() -> DEFINE_TYPES()hw/ | +18 | 0 replies | |
| 2/6 | hw/hppa: Factor QOM HPPA_COMMON_MACHINE outhw/ | +33 | 0 replies | |
| 3/6 | hw/hppa: Reduce variables scope in common_init()hw/ | +9 | 1 reply | |
| 4/6 | hw/hppa: Move CPU::kernel_entry -> Machine::boot_info.gr25hw/ target/ | +16 | 1 reply | |
| 5/6 | hw/hppa: Move CPU::cmdline_or_bootorder -> Machine::boot_info.gr24hw/ target/ | +7 | 1 reply | |
| 6/6 | hw/hppa: Move CPU::initrd_base/end -> Machine::boot_info.gr22/23hw/ target/ | +6 | 1 reply |
Reviews trailers per patch
5 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Richard Henderson |
|---|---|
| 1/6 | R-b |
| 2/6 | R-b |
| 3/6 | R-b |
| 4/6 | R-b |
| 5/6 | |
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/6] hw/hppa: Clarify machine variables and move them out of CPUArchState
Since v1:
- Simplified (rth)
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: Convert type_init() -> DEFINE_TYPES()
hw/hppa: Factor QOM HPPA_COMMON_MACHINE out
hw/hppa: Reduce variables scope in common_init() hw/hppa: Move CPU::kernel_entry -> Machine::boot_info.gr25 hw/hppa: Move CPU::cmdline_or_bootorder -> Machine::boot_info.gr24 hw/hppa: Move CPU::initrd_base/end -> Machine::boot_info.gr22/23
target/hppa/cpu.h | 4 -- hw/hppa/machine.c | 152 ++++++++++++++++++++++++---------------------- 2 files changed, 79 insertions(+), 77 deletions(-)
Signature · 1 line
2.51.0