Revision 28e77964 hw/sysbus.c
b/hw/sysbus.c | ||
---|---|---|
263 | 263 |
memory_region_add_subregion(get_system_memory(), addr, mem); |
264 | 264 |
} |
265 | 265 |
|
266 |
void sysbus_add_memory_overlap(SysBusDevice *dev, target_phys_addr_t addr, |
|
267 |
MemoryRegion *mem, unsigned priority) |
|
268 |
{ |
|
269 |
memory_region_add_subregion_overlap(get_system_memory(), addr, mem, |
|
270 |
priority); |
|
271 |
} |
|
272 |
|
|
266 | 273 |
void sysbus_del_memory(SysBusDevice *dev, MemoryRegion *mem) |
267 | 274 |
{ |
268 | 275 |
memory_region_del_subregion(get_system_memory(), mem); |
Also available in: Unified diff