[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/9] Convert serial_mm_init to MemoryRegion
From: |
Richard Henderson |
Subject: |
[Qemu-devel] [PATCH 0/9] Convert serial_mm_init to MemoryRegion |
Date: |
Thu, 11 Aug 2011 16:07:12 -0700 |
The last patch set converted the serial i/o path; this patch
set converts the serial mmio path.
Intermediate patches increase the use of get_system_memory(),
and later patches reduce those uses again. In all but one
case in the end we use the address_space_mem parameter from
the original board init function.
The major portion of the cleanup comes from actually utilizing
the device_endian enum provided by the i/o subsystem. This
allows us to remove all of the ifdeffery in this area.
r~
Richard Henderson (9):
serial: Convert serial_mm_init to MemoryRegion.
serial: Use enum device_endian in serial_mm_init parameter.
serial: Remove ioregister parameter from serial_mm_init.
serial: Add MemoryRegion parameter to serial_mm_init.
ppc405: Pass in address_space_mem to ppc405{cr,ep}_init.
ppc440: Pass in address_space_mem to ppc440ep_init.
pxa: Pass in address_space to pxa{255,270}_init.
sm501: Pass address_space_mem to sm501_init.
sun4u: Pass address_space_mem to sun4uv_init.
hw/devices.h | 6 ++-
hw/gumstix.c | 4 +-
hw/mainstone.c | 2 +-
hw/mips_jazz.c | 14 +---
hw/mips_malta.c | 7 +--
hw/musicpal.c | 18 +----
hw/omap_uart.c | 27 +++------
hw/pc.h | 8 +-
hw/petalogix_ml605_mmu.c | 4 +-
hw/ppc405.h | 22 ++++---
hw/ppc405_boards.c | 8 +-
hw/ppc405_uc.c | 42 +++++++------
hw/ppc440.c | 16 +++--
hw/ppc440.h | 6 +-
hw/ppc440_bamboo.c | 3 +-
hw/ppce500_mpc8544ds.c | 8 +-
hw/pxa.h | 7 ++-
hw/pxa2xx.c | 42 ++++++-------
hw/r2d.c | 3 +-
hw/serial.c | 153 ++++++++++------------------------------------
hw/sm501.c | 15 ++---
hw/spitz.c | 2 +-
hw/sun4u.c | 13 ++--
hw/tosa.c | 2 +-
hw/virtex_ml507.c | 3 +-
hw/z2.c | 2 +-
26 files changed, 165 insertions(+), 272 deletions(-)
--
1.7.6
- [Qemu-devel] [PATCH 0/9] Convert serial_mm_init to MemoryRegion,
Richard Henderson <=
- [Qemu-devel] [PATCH 1/9] serial: Convert serial_mm_init to MemoryRegion., Richard Henderson, 2011/08/11
- [Qemu-devel] [PATCH 2/9] serial: Use enum device_endian in serial_mm_init parameter., Richard Henderson, 2011/08/11
- [Qemu-devel] [PATCH 5/9] ppc405: Pass in address_space_mem to ppc405{cr, ep}_init., Richard Henderson, 2011/08/11
- [Qemu-devel] [PATCH 4/9] serial: Add MemoryRegion parameter to serial_mm_init., Richard Henderson, 2011/08/11
- [Qemu-devel] [PATCH 6/9] ppc440: Pass in address_space_mem to ppc440ep_init., Richard Henderson, 2011/08/11
- [Qemu-devel] [PATCH 7/9] pxa: Pass in address_space to pxa{255, 270}_init., Richard Henderson, 2011/08/11
- [Qemu-devel] [PATCH 9/9] sun4u: Pass address_space_mem to sun4uv_init., Richard Henderson, 2011/08/11
- [Qemu-devel] [PATCH 8/9] sm501: Pass address_space_mem to sm501_init., Richard Henderson, 2011/08/11