@@ -21,14 +21,7 @@ pub use aarch64::vm::{ArchVm, ArchVmError, VmState};
21
21
#[ cfg( target_arch = "aarch64" ) ]
22
22
pub use aarch64:: {
23
23
ConfigurationError , arch_memory_regions, configure_system_for_boot, get_kernel_start,
24
- initrd_load_addr, layout:: BOOT_DEVICE_MEM_START , layout:: CMDLINE_MAX_SIZE ,
25
- layout:: GSI_LEGACY_END , layout:: GSI_LEGACY_NUM , layout:: GSI_LEGACY_START , layout:: GSI_MSI_END ,
26
- layout:: GSI_MSI_NUM , layout:: GSI_MSI_START , layout:: MEM_32BIT_DEVICES_SIZE ,
27
- layout:: MEM_32BIT_DEVICES_START , layout:: MEM_64BIT_DEVICES_SIZE ,
28
- layout:: MEM_64BIT_DEVICES_START , layout:: MMIO32_MEM_SIZE , layout:: MMIO32_MEM_START ,
29
- layout:: PCI_MMCONFIG_SIZE , layout:: PCI_MMCONFIG_START ,
30
- layout:: PCI_MMIO_CONFIG_SIZE_PER_SEGMENT , layout:: RTC_MEM_START , layout:: SERIAL_MEM_START ,
31
- layout:: SPI_START , layout:: SYSTEM_MEM_SIZE , layout:: SYSTEM_MEM_START , load_kernel,
24
+ initrd_load_addr, layout:: * , load_kernel,
32
25
} ;
33
26
34
27
/// Module for x86_64 related functionality.
@@ -45,14 +38,7 @@ pub use x86_64::vm::{ArchVm, ArchVmError, VmState};
45
38
#[ cfg( target_arch = "x86_64" ) ]
46
39
pub use crate :: arch:: x86_64:: {
47
40
ConfigurationError , arch_memory_regions, configure_system_for_boot, get_kernel_start,
48
- initrd_load_addr, layout:: APIC_ADDR , layout:: BOOT_DEVICE_MEM_START , layout:: CMDLINE_MAX_SIZE ,
49
- layout:: GSI_LEGACY_END , layout:: GSI_LEGACY_NUM , layout:: GSI_LEGACY_START , layout:: GSI_MSI_END ,
50
- layout:: GSI_MSI_NUM , layout:: GSI_MSI_START , layout:: IOAPIC_ADDR ,
51
- layout:: MEM_32BIT_DEVICES_SIZE , layout:: MEM_32BIT_DEVICES_START ,
52
- layout:: MEM_64BIT_DEVICES_SIZE , layout:: MEM_64BIT_DEVICES_START , layout:: MMIO32_MEM_SIZE ,
53
- layout:: MMIO32_MEM_START , layout:: PCI_MMCONFIG_SIZE , layout:: PCI_MMCONFIG_START ,
54
- layout:: PCI_MMIO_CONFIG_SIZE_PER_SEGMENT , layout:: SYSTEM_MEM_SIZE , layout:: SYSTEM_MEM_START ,
55
- load_kernel,
41
+ initrd_load_addr, layout:: * , load_kernel,
56
42
} ;
57
43
58
44
/// Types of devices that can get attached to this platform.
0 commit comments