diff options
| author | Andreas Färber <andreas.faerber@web.de> | 2012-01-03 02:42:46 +0100 |
|---|---|---|
| committer | Andreas Färber <andreas.faerber@web.de> | 2012-01-20 00:27:12 +0100 |
| commit | 8ca8c7bce027d0f4aaa8ca108ebae37021361b98 (patch) | |
| tree | acdb23f34691db3411c04539598ce5358b88fb93 /hw/prep_pci.h | |
| parent | 7e5610ff72b0d12feb24d1e973e4be303f422eb6 (diff) | |
| download | focaccia-qemu-8ca8c7bce027d0f4aaa8ca108ebae37021361b98.tar.gz focaccia-qemu-8ca8c7bce027d0f4aaa8ca108ebae37021361b98.zip | |
prep: qdev'ify Raven host bridge (SysBus)
Drop pci_prep_init() in favor of extended device state. Inspired by patches from Hervé and Alex. Assign the 4 IRQs from the board after device instantiation. This moves the knowledge out of prep_pci and allows for future machines with different IRQ wiring (IBM 40P). Suggested by Alex. Signed-off-by: Andreas Färber <andreas.faerber@web.de> Reviewed-by: Alexander Graf <agraf@suse.de> Cc: Hervé Poussineau <hpoussin@reactos.org> Cc: Michael S. Tsirkin <mst@redhat.com> Cc: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/prep_pci.h')
| -rw-r--r-- | hw/prep_pci.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/hw/prep_pci.h b/hw/prep_pci.h deleted file mode 100644 index b6b481a517..0000000000 --- a/hw/prep_pci.h +++ /dev/null @@ -1,11 +0,0 @@ -#ifndef QEMU_PREP_PCI_H -#define QEMU_PREP_PCI_H - -#include "qemu-common.h" -#include "memory.h" - -PCIBus *pci_prep_init(qemu_irq *pic, - MemoryRegion *address_space_mem, - MemoryRegion *address_space_io); - -#endif |