aboutsummaryrefslogtreecommitdiffstats
path: root/src/fw/paravirt.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2016-02-03 01:28:20 -0500
committerKevin O'Connor <kevin@koconnor.net>2016-02-03 10:38:42 -0500
commit4d8510cdcca0a6b160bb8dc3a254ab0baacb10f6 (patch)
tree03e971f2bc93a834a3dd57a304b9a6a17309eba4 /src/fw/paravirt.c
parent62ff9d5f649c6ce0d8cbea5d90080afc9870f54a (diff)
downloadseabios-4d8510cdcca0a6b160bb8dc3a254ab0baacb10f6.tar.gz
pci: Split low-level pci code from higher-level 'struct pci_device' code
Split pci.c into pci.c and pcidevice.c. The low-level code that interacts directly with the PCI devices remains in pci.c, while functions dealing with the higher level pci_device cache move to pcidevice.c. Only pci.c is needed in 16bit mode. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/fw/paravirt.c')
-rw-r--r--src/fw/paravirt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fw/paravirt.c b/src/fw/paravirt.c
index 3fae13a8..8ed43807 100644
--- a/src/fw/paravirt.c
+++ b/src/fw/paravirt.c
@@ -11,7 +11,8 @@
#include "byteorder.h" // be32_to_cpu
#include "config.h" // CONFIG_QEMU
#include "e820map.h" // e820_add
-#include "hw/pci.h" // create_pirtable
+#include "hw/pci.h" // pci_config_readw
+#include "hw/pcidevice.h" // pci_probe_devices
#include "hw/pci_regs.h" // PCI_DEVICE_ID
#include "hw/rtc.h" // CMOS_*
#include "malloc.h" // malloc_tmp