This commit rewrites the `create_pci_node` in the FDT creator to create multiple PCI nodes based on the vector of `PciSpaceInfo`, and each PCI node in FDT reflects a PCI segment. - The PCI MMIO config space, 32 bits PCI device space and 64 bits PCI device space is re-calculated based on the `PciSpaceInfo` for each PCI segment. - A new FDT property `linux,pci-domain` is added. - The virtio-iommu node is only created for the first PCI segment. Signed-off-by: Henry Wang <Henry.Wang@arm.com> |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||