[bus][pci] add routines to pass in PCI bus resources prior to starting the pci bus manager

Wire them up on arm and riscv which need them. x86-pc does not, so dont
call it.

Also fix a few miscellaneous bugs, notably PCI not detecting 64bit bars
properly due to an off by one bit error.
This commit is contained in:
Travis Geiselbrecht
2022-01-29 01:29:57 -08:00
parent 06ab680159
commit 36e73e0fac
8 changed files with 84 additions and 22 deletions

View File

@@ -68,6 +68,7 @@ else
QEMU="qemu-system-arm"
CPU="cortex-a15"
MACHINE="virt"
MACHINE+=",highmem=off" # disable the high PCI ECAM, since we dont support LPAE to map it
_PROJECT="qemu-virt-arm32-test"
fi
if [ "$PROJECT" == "" ]; then