[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [UNIKRAFT PATCH RFCv3 20/32] plat/pci_bus: Change pci_device.base from u16 to unsigned long
On arm64, no ioport at all. It uses iomem instead, hence change the base from u16 to unsigned long. Signed-off-by: Jia He <justin.he@xxxxxxx> --- plat/common/include/pci/pci_bus.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plat/common/include/pci/pci_bus.h b/plat/common/include/pci/pci_bus.h index 58ad292..78ca977 100644 --- a/plat/common/include/pci/pci_bus.h +++ b/plat/common/include/pci/pci_bus.h @@ -69,6 +69,7 @@ #include <uk/bus.h> #include <uk/alloc.h> #include <uk/ctors.h> +#include <pci/pci_ecam.h> /** * A structure describing an ID for a PCI driver. Each driver provides a @@ -150,7 +151,7 @@ struct pci_device { struct pci_driver *drv; enum pci_device_state state; - uint16_t base; + unsigned long base; unsigned long irq; }; -- 2.17.1
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |