ACPI: Remove manual address space handler initialization.
These are now done in AcpiInitializeSubsystem(), as part of the early init so they can be present when the tables are loaded. Should fix ACPI not working since the merge.
This commit is contained in:
parent
9ec8a1e4d9
commit
d4fb4ebd67
@ -231,25 +231,6 @@ acpi_std_ops(int32 op,...)
|
||||
"AcpiLoadTables failed"))
|
||||
goto err;
|
||||
|
||||
/* Install the default address space handlers. */
|
||||
if (checkAndLogFailure(AcpiInstallAddressSpaceHandler(
|
||||
ACPI_ROOT_OBJECT, ACPI_ADR_SPACE_SYSTEM_MEMORY,
|
||||
ACPI_DEFAULT_HANDLER, NULL, NULL),
|
||||
"Could not initialise SystemMemory handler:"))
|
||||
goto err;
|
||||
|
||||
if (checkAndLogFailure(AcpiInstallAddressSpaceHandler(
|
||||
ACPI_ROOT_OBJECT, ACPI_ADR_SPACE_SYSTEM_IO,
|
||||
ACPI_DEFAULT_HANDLER, NULL, NULL),
|
||||
"Could not initialise SystemIO handler:"))
|
||||
goto err;
|
||||
|
||||
if (checkAndLogFailure(AcpiInstallAddressSpaceHandler(
|
||||
ACPI_ROOT_OBJECT, ACPI_ADR_SPACE_PCI_CONFIG,
|
||||
ACPI_DEFAULT_HANDLER, NULL, NULL),
|
||||
"Could not initialise PciConfig handler:"))
|
||||
goto err;
|
||||
|
||||
arg.Integer.Type = ACPI_TYPE_INTEGER;
|
||||
arg.Integer.Value = apic_available() ? APIC_MODE : PIC_MODE;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user