mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
Revert "Merge remote-tracking branch 'qemu-kvm/memory/batch' into staging"
This reverts commit8ef9ea85a2
, reversing changes made to444dc48298
. From Avi: Please revert the entire pull (git revert8ef9ea85a2
) while I work this out - it isn't trivial. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
f065aa0a00
commit
01e0451a08
49 changed files with 657 additions and 637 deletions
29
hw/sysbus.c
29
hw/sysbus.c
|
@ -256,32 +256,3 @@ static char *sysbus_get_fw_dev_path(DeviceState *dev)
|
|||
|
||||
return strdup(path);
|
||||
}
|
||||
|
||||
void sysbus_add_memory(SysBusDevice *dev, target_phys_addr_t addr,
|
||||
MemoryRegion *mem)
|
||||
{
|
||||
memory_region_add_subregion(get_system_memory(), addr, mem);
|
||||
}
|
||||
|
||||
void sysbus_add_memory_overlap(SysBusDevice *dev, target_phys_addr_t addr,
|
||||
MemoryRegion *mem, unsigned priority)
|
||||
{
|
||||
memory_region_add_subregion_overlap(get_system_memory(), addr, mem,
|
||||
priority);
|
||||
}
|
||||
|
||||
void sysbus_del_memory(SysBusDevice *dev, MemoryRegion *mem)
|
||||
{
|
||||
memory_region_del_subregion(get_system_memory(), mem);
|
||||
}
|
||||
|
||||
void sysbus_add_io(SysBusDevice *dev, target_phys_addr_t addr,
|
||||
MemoryRegion *mem)
|
||||
{
|
||||
memory_region_add_subregion(get_system_io(), addr, mem);
|
||||
}
|
||||
|
||||
void sysbus_del_io(SysBusDevice *dev, MemoryRegion *mem)
|
||||
{
|
||||
memory_region_del_subregion(get_system_io(), mem);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue