summaryrefslogtreecommitdiffstats
path: root/hw/onenand.c
diff options
context:
space:
mode:
authorPeter Maydell2011-08-28 18:22:17 +0200
committerPeter Maydell2011-08-28 18:22:17 +0200
commit46c305ef6b0d1ed6c85e863568fccc03caf7f75e (patch)
treea4fc37959569c26e6e1f86d61b332813801d1033 /hw/onenand.c
parentFix disabling interrupts in sun4u (diff)
downloadqemu-46c305ef6b0d1ed6c85e863568fccc03caf7f75e.tar.gz
qemu-46c305ef6b0d1ed6c85e863568fccc03caf7f75e.tar.xz
qemu-46c305ef6b0d1ed6c85e863568fccc03caf7f75e.zip
hw/sysbus: Add sysbus_mmio_get_region()
Add a sysbus_mmio_get_region() which allows users of sysbus devices to turn a (SysBusDevice*, mmioidx) tuple into a MemoryRegion*. This enables some useful simplifications of devices which pass through another device's mmio region (either directly or by implementing some kind of memory controller device). Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/onenand.c')
0 files changed, 0 insertions, 0 deletions