Revision 62ec4832
b/hw/sysbus.c | ||
---|---|---|
261 | 261 |
{ |
262 | 262 |
memory_region_del_subregion(get_system_io(), mem); |
263 | 263 |
} |
264 |
|
|
265 |
MemoryRegion *sysbus_address_space(SysBusDevice *dev) |
|
266 |
{ |
|
267 |
return get_system_memory(); |
|
268 |
} |
b/hw/sysbus.h | ||
---|---|---|
57 | 57 |
void sysbus_add_io(SysBusDevice *dev, target_phys_addr_t addr, |
58 | 58 |
MemoryRegion *mem); |
59 | 59 |
void sysbus_del_io(SysBusDevice *dev, MemoryRegion *mem); |
60 |
MemoryRegion *sysbus_address_space(SysBusDevice *dev); |
|
60 | 61 |
|
61 | 62 |
/* Legacy helper function for creating devices. */ |
62 | 63 |
DeviceState *sysbus_create_varargs(const char *name, |
Also available in: Unified diff