]> git.proxmox.com Git - qemu.git/commit
serial: Add MemoryRegion parameter to serial_mm_init
authorRichard Henderson <rth@twiddle.net>
Thu, 11 Aug 2011 23:07:16 +0000 (16:07 -0700)
committerAvi Kivity <avi@redhat.com>
Sun, 2 Oct 2011 14:14:02 +0000 (16:14 +0200)
commit39186d8ab8af8937cee4743cc1956bdc28923ac9
tree24c3d9953aa8900f96aae4086799a4795502de43
parent2ff0c7c3c2251e7e81e90c9556dda64261d033ec
serial: Add MemoryRegion parameter to serial_mm_init

Remove the get_system_memory() call from serial_mm_init, pushing
it back into the callers.  In many cases we already have the
system memory region available.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Avi Kivity <avi@redhat.com>
14 files changed:
hw/mips_jazz.c
hw/mips_malta.c
hw/musicpal.c
hw/omap_uart.c
hw/pc.h
hw/petalogix_ml605_mmu.c
hw/ppc405_uc.c
hw/ppc440.c
hw/ppce500_mpc8544ds.c
hw/pxa2xx.c
hw/serial.c
hw/sm501.c
hw/sun4u.c
hw/virtex_ml507.c