File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change 33
44use std:: mem:: size_of;
55
6- use acpi_tables:: fadt:: {
7- IAPC_BOOT_ARG_FLAGS_MSI_NOT_PRESENT , IAPC_BOOT_ARG_FLAGS_PCI_ASPM ,
8- IAPC_BOOT_ARG_FLAGS_VGA_NOT_PRESENT ,
9- } ;
6+ use acpi_tables:: fadt:: IAPC_BOOT_ARG_FLAGS_VGA_NOT_PRESENT ;
107use acpi_tables:: madt:: { IoAPIC , LocalAPIC } ;
118use acpi_tables:: { Fadt , aml} ;
129use vm_memory:: GuestAddress ;
@@ -33,11 +30,7 @@ pub(crate) fn setup_arch_fadt(fadt: &mut Fadt) {
3330 // neither do we support ASPM, or MSI type of interrupts.
3431 // More info here:
3532 // https://uefi.org/specs/ACPI/6.5/05_ACPI_Software_Programming_Model.html?highlight=0a06#ia-pc-boot-architecture-flags
36- fadt. setup_iapc_flags (
37- ( 1 << IAPC_BOOT_ARG_FLAGS_VGA_NOT_PRESENT )
38- | ( 1 << IAPC_BOOT_ARG_FLAGS_PCI_ASPM )
39- | ( 1 << IAPC_BOOT_ARG_FLAGS_MSI_NOT_PRESENT ) ,
40- ) ;
33+ fadt. setup_iapc_flags ( 1 << IAPC_BOOT_ARG_FLAGS_VGA_NOT_PRESENT ) ;
4134}
4235
4336#[ inline( always) ]
You can’t perform that action at this time.
0 commit comments