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 3
3
4
4
use std:: mem:: size_of;
5
5
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 ;
10
7
use acpi_tables:: madt:: { IoAPIC , LocalAPIC } ;
11
8
use acpi_tables:: { Fadt , aml} ;
12
9
use vm_memory:: GuestAddress ;
@@ -33,11 +30,7 @@ pub(crate) fn setup_arch_fadt(fadt: &mut Fadt) {
33
30
// neither do we support ASPM, or MSI type of interrupts.
34
31
// More info here:
35
32
// 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 ) ;
41
34
}
42
35
43
36
#[ inline( always) ]
You can’t perform that action at this time.
0 commit comments