mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-10-02 11:35:46 +00:00
vmm: Advertise PCI MMIO config range for PCI bus
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
b55f009b8a
commit
b4fc02857f
@ -346,11 +346,10 @@ impl Aml for PciSegment {
|
|||||||
&aml::AddressSpace::new_bus_number(0x0u16, 0x0u16),
|
&aml::AddressSpace::new_bus_number(0x0u16, 0x0u16),
|
||||||
#[cfg(target_arch = "x86_64")]
|
#[cfg(target_arch = "x86_64")]
|
||||||
&aml::Io::new(0xcf8, 0xcf8, 1, 0x8),
|
&aml::Io::new(0xcf8, 0xcf8, 1, 0x8),
|
||||||
#[cfg(target_arch = "aarch64")]
|
|
||||||
&aml::Memory32Fixed::new(
|
&aml::Memory32Fixed::new(
|
||||||
true,
|
true,
|
||||||
layout::PCI_MMCONFIG_START.0 as u32,
|
self.mmio_config_address as u32,
|
||||||
layout::PCI_MMCONFIG_SIZE as u32,
|
PCI_MMIO_CONFIG_SIZE as u32,
|
||||||
),
|
),
|
||||||
&aml::AddressSpace::new_memory(
|
&aml::AddressSpace::new_memory(
|
||||||
aml::AddressSpaceCachable::NotCacheable,
|
aml::AddressSpaceCachable::NotCacheable,
|
||||||
|
Loading…
Reference in New Issue
Block a user