mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
pci: pass address space to pci bus when created
This is now done sloppily, via get_system_memory(). Eventually callers will be converted to stop using that. Reviewed-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
6bd105151a
commit
1e39101c64
22 changed files with 85 additions and 35 deletions
|
@ -43,6 +43,7 @@
|
|||
#include "kvm.h"
|
||||
#include "kvm_ppc.h"
|
||||
#include "blockdev.h"
|
||||
#include "exec-memory.h"
|
||||
|
||||
#define MAX_IDE_BUS 2
|
||||
#define CFG_ADDR 0xf0000510
|
||||
|
@ -233,7 +234,7 @@ static void ppc_heathrow_init (ram_addr_t ram_size,
|
|||
hw_error("Only 6xx bus is supported on heathrow machine\n");
|
||||
}
|
||||
pic = heathrow_pic_init(&pic_mem_index, 1, heathrow_irqs);
|
||||
pci_bus = pci_grackle_init(0xfec00000, pic);
|
||||
pci_bus = pci_grackle_init(0xfec00000, pic, get_system_memory());
|
||||
pci_vga_init(pci_bus);
|
||||
|
||||
escc_mem_index = escc_init(0x80013000, pic[0x0f], pic[0x10], serial_hds[0],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue