mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-21 20:15:21 +00:00
2f8540da70
The constant `PCI_MMIO_CONFIG_SIZE` defined in `vmm/pci_segment.rs` describes the MMIO configuation size for each PCI segment. However, this name conflicts with the `PCI_MMCONFIG_SIZE` defined in `layout.rs` in the `arch` crate, which describes the memory size of the PCI MMIO configuration region. Therefore, this commit renames the `PCI_MMIO_CONFIG_SIZE` to `PCI_MMIO_CONFIG_SIZE_PER_SEGMENT` and moves this constant from `vmm` crate to `arch` crate. Signed-off-by: Henry Wang <Henry.Wang@arm.com>