diff options
author | Alexander Graf <agraf@suse.de> | 2015-02-13 05:46:07 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2015-02-13 05:46:07 +0000 |
commit | 4d8fde1126419c5a858926a457a9b320a27a921a (patch) | |
tree | a17678ebfd9207ae6c589360deb6c8d7b9b4032f /hw/pci-host/Makefile.objs | |
parent | bf439db4993b02033d4fba8460ca4dc45b15071a (diff) | |
download | qemu-4d8fde1126419c5a858926a457a9b320a27a921a.tar.gz qemu-4d8fde1126419c5a858926a457a9b320a27a921a.tar.bz2 qemu-4d8fde1126419c5a858926a457a9b320a27a921a.zip |
pci: Add generic PCIe host bridge
With simple exposure of MMFG, ioport window, mmio window and an IRQ line we
can successfully create a workable PCIe host bridge that can be mapped anywhere
and only needs to get described to the OS using whatever means it likes.
This patch implements such a "generic" host bridge. It handles 4 legacy IRQ
lines. MSIs need to be handled external to the host bridge.
This device is particularly useful for the "pci-host-ecam-generic" driver in
Linux.
Signed-off-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Claudio Fontana <claudio.fontana@huawei.com>
Tested-by: Claudio Fontana <claudio.fontana@huawei.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/pci-host/Makefile.objs')
-rw-r--r-- | hw/pci-host/Makefile.objs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/pci-host/Makefile.objs b/hw/pci-host/Makefile.objs index bb65f9c4d2..45f1f0ebab 100644 --- a/hw/pci-host/Makefile.objs +++ b/hw/pci-host/Makefile.objs @@ -15,3 +15,4 @@ common-obj-$(CONFIG_PCI_APB) += apb.o common-obj-$(CONFIG_FULONG) += bonito.o common-obj-$(CONFIG_PCI_PIIX) += piix.o common-obj-$(CONFIG_PCI_Q35) += q35.o +common-obj-$(CONFIG_PCI_GENERIC) += gpex.o |