[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/8] hw/arm: Cleanups around QOM style
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 0/8] hw/arm: Cleanups around QOM style |
Date: |
Mon, 20 Feb 2023 12:51:06 +0100 |
- Reduce "hw/qdev-properties.h" inclusions
- Open-code various QDev helpers used few times
- Use QOM cast macro when relevant
Philippe Mathieu-Daudé (8):
hw/gpio/max7310: Simplify max7310_realize()
hw/char/pl011: Un-inline pl011_create()
hw/char/pl011: Open-code pl011_luminary_create()
hw/char/xilinx_uartlite: Expose XILINX_UARTLITE QOM type
hw/char/xilinx_uartlite: Open-code xilinx_uartlite_create()
hw/char/cmsdk-apb-uart: Open-code cmsdk_apb_uart_create()
hw/timer/cmsdk-apb-timer: Remove unused 'qdev-properties.h' header
hw/intc/armv7m_nvic: Use QOM cast CPU() macro
hw/arm/mps2.c | 41 ++++++++++++++++--------
hw/arm/stellaris.c | 11 +++++--
hw/char/pl011.c | 17 ++++++++++
hw/char/xilinx_uartlite.c | 4 +--
hw/gpio/max7310.c | 5 ++-
hw/intc/armv7m_nvic.c | 6 ++--
hw/microblaze/petalogix_s3adsp1800_mmu.c | 7 ++--
include/hw/char/cmsdk-apb-uart.h | 34 --------------------
include/hw/char/pl011.h | 36 +--------------------
include/hw/char/xilinx_uartlite.h | 22 ++-----------
include/hw/timer/cmsdk-apb-timer.h | 1 -
11 files changed, 67 insertions(+), 117 deletions(-)
--
2.38.1
- [PATCH 0/8] hw/arm: Cleanups around QOM style,
Philippe Mathieu-Daudé <=