summaryrefslogtreecommitdiffstats
path: root/hw/prep_pci.h
diff options
context:
space:
mode:
authorAvi Kivity2011-07-26 13:26:19 +0200
committerAnthony Liguori2011-07-29 15:25:44 +0200
commit1e39101c649a008462db1ac1d027c62870454d1f (patch)
treeb2c6402330466d10502e56e4b60a3600c7e298df /hw/prep_pci.h
parentpc: move global memory map out of pc_init1() and into its callers (diff)
downloadqemu-1e39101c649a008462db1ac1d027c62870454d1f.tar.gz
qemu-1e39101c649a008462db1ac1d027c62870454d1f.tar.xz
qemu-1e39101c649a008462db1ac1d027c62870454d1f.zip
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>
Diffstat (limited to 'hw/prep_pci.h')
-rw-r--r--hw/prep_pci.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/prep_pci.h b/hw/prep_pci.h
index cd6851288c..a27368b99b 100644
--- a/hw/prep_pci.h
+++ b/hw/prep_pci.h
@@ -2,7 +2,8 @@
#define QEMU_PREP_PCI_H
#include "qemu-common.h"
+#include "memory.h"
-PCIBus *pci_prep_init(qemu_irq *pic);
+PCIBus *pci_prep_init(qemu_irq *pic, MemoryRegion *address_space);
#endif