summaryrefslogtreecommitdiffstats
path: root/hw/prep_pci.c
diff options
context:
space:
mode:
authorAvi Kivity2011-08-15 16:17:29 +0200
committerAnthony Liguori2011-08-22 17:47:47 +0200
commitd76120135b9ed5ea34c2038629dc9bc563f46108 (patch)
treef9b6c7ca5d516c8e3018e20966726b0f2252abbb /hw/prep_pci.c
parentppc4xx_sdram: convert to memory API (diff)
downloadqemu-d76120135b9ed5ea34c2038629dc9bc563f46108.tar.gz
qemu-d76120135b9ed5ea34c2038629dc9bc563f46108.tar.xz
qemu-d76120135b9ed5ea34c2038629dc9bc563f46108.zip
sysbus: add a variant of sysbus_init_mmio_cb with an unmap callback
sysbus_init_mmio_cb() uses the destructive IO_MEM_UNASSIGNED to remove a region. Provide an alternative that calls an unmap callback, so the removal may be done non-destructively. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/prep_pci.c')
0 files changed, 0 insertions, 0 deletions