mbox series

[v2,0/6] hw/m68k: Strengthen QOM/SysBus API uses

Message ID 20231024083010.12453-1-philmd@linaro.org
Headers show
Series hw/m68k: Strengthen QOM/SysBus API uses | expand

Message

Philippe Mathieu-Daudé Oct. 24, 2023, 8:30 a.m. UTC
All series reviewed.

v2:
- Addressed Thomas comments in patches 1-2
- Added R-b tags

Avoid QOM objects poking at each other internals:
- Pass "link" properties
- Access MMIO via SysBus API
- Simplify using sysbus_create_simple()

Philippe Mathieu-Daudé (6):
  hw/m68k/irqc: Pass CPU using QOM link property
  hw/m68k/mcf5206: Pass CPU using QOM link property
  hw/m68k/mcf_intc: Expose MMIO region via SysBus API
  hw/m68k/mcf_intc: Pass CPU using QOM link property
  hw/m68k/next-cube: Do not open-code sysbus_create_simple()
  hw/m68k/virt: Do not open-code sysbus_create_simple()

 include/hw/intc/m68k_irqc.h |  1 +
 hw/intc/m68k_irqc.c         | 10 +++++++++-
 hw/m68k/an5206.c            |  6 ++++--
 hw/m68k/mcf5206.c           |  9 ++++++++-
 hw/m68k/mcf_intc.c          | 21 ++++++++++++++-------
 hw/m68k/next-cube.c         |  9 ++-------
 hw/m68k/virt.c              |  9 ++++-----
 7 files changed, 42 insertions(+), 23 deletions(-)