diff options
Diffstat (limited to 'hw/sysbus.c')
-rw-r--r-- | hw/sysbus.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/sysbus.c b/hw/sysbus.c index 81a57bdba8..7016903163 100644 --- a/hw/sysbus.c +++ b/hw/sysbus.c @@ -261,3 +261,8 @@ void sysbus_del_io(SysBusDevice *dev, MemoryRegion *mem) { memory_region_del_subregion(get_system_io(), mem); } + +MemoryRegion *sysbus_address_space(SysBusDevice *dev) +{ + return get_system_memory(); +} |