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 /include/hw/acpi | |
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 'include/hw/acpi')
0 files changed, 0 insertions, 0 deletions