|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Minios-devel] [UNIKRAFT PATCH RFC 20/23] plat/pci_bus: change the type of 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 58ad2926..78ca9779 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
_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |