Fix indention issues.
Two tabs since it's inside a function call inside an if.
This commit is contained in:
@@ -184,7 +184,7 @@ acpi_std_ops(int32 op,...)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (gDPC->new_dpc_queue(&gDPCHandle, "acpi_task",
|
if (gDPC->new_dpc_queue(&gDPCHandle, "acpi_task",
|
||||||
B_NORMAL_PRIORITY) != B_OK) {
|
B_NORMAL_PRIORITY) != B_OK) {
|
||||||
ERROR("failed to create os execution queue\n");
|
ERROR("failed to create os execution queue\n");
|
||||||
return B_ERROR;
|
return B_ERROR;
|
||||||
}
|
}
|
||||||
@@ -195,34 +195,34 @@ acpi_std_ops(int32 op,...)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (checkAndLogFailure(AcpiInitializeSubsystem(),
|
if (checkAndLogFailure(AcpiInitializeSubsystem(),
|
||||||
"AcpiInitializeSubsystem failed"))
|
"AcpiInitializeSubsystem failed"))
|
||||||
goto err;
|
goto err;
|
||||||
|
|
||||||
if (checkAndLogFailure(AcpiInitializeTables(NULL, 0, TRUE),
|
if (checkAndLogFailure(AcpiInitializeTables(NULL, 0, TRUE),
|
||||||
"AcpiInitializeTables failed"))
|
"AcpiInitializeTables failed"))
|
||||||
goto err;
|
goto err;
|
||||||
|
|
||||||
if (checkAndLogFailure(AcpiLoadTables(),
|
if (checkAndLogFailure(AcpiLoadTables(),
|
||||||
"AcpiLoadTables failed"))
|
"AcpiLoadTables failed"))
|
||||||
goto err;
|
goto err;
|
||||||
|
|
||||||
/* Install the default address space handlers. */
|
/* Install the default address space handlers. */
|
||||||
if (checkAndLogFailure(AcpiInstallAddressSpaceHandler(
|
if (checkAndLogFailure(AcpiInstallAddressSpaceHandler(
|
||||||
ACPI_ROOT_OBJECT, ACPI_ADR_SPACE_SYSTEM_MEMORY,
|
ACPI_ROOT_OBJECT, ACPI_ADR_SPACE_SYSTEM_MEMORY,
|
||||||
ACPI_DEFAULT_HANDLER, NULL, NULL),
|
ACPI_DEFAULT_HANDLER, NULL, NULL),
|
||||||
"Could not initialise SystemMemory handler:"))
|
"Could not initialise SystemMemory handler:"))
|
||||||
goto err;
|
goto err;
|
||||||
|
|
||||||
if (checkAndLogFailure(AcpiInstallAddressSpaceHandler(
|
if (checkAndLogFailure(AcpiInstallAddressSpaceHandler(
|
||||||
ACPI_ROOT_OBJECT, ACPI_ADR_SPACE_SYSTEM_IO,
|
ACPI_ROOT_OBJECT, ACPI_ADR_SPACE_SYSTEM_IO,
|
||||||
ACPI_DEFAULT_HANDLER, NULL, NULL),
|
ACPI_DEFAULT_HANDLER, NULL, NULL),
|
||||||
"Could not initialise SystemIO handler:"))
|
"Could not initialise SystemIO handler:"))
|
||||||
goto err;
|
goto err;
|
||||||
|
|
||||||
if (checkAndLogFailure(AcpiInstallAddressSpaceHandler(
|
if (checkAndLogFailure(AcpiInstallAddressSpaceHandler(
|
||||||
ACPI_ROOT_OBJECT, ACPI_ADR_SPACE_PCI_CONFIG,
|
ACPI_ROOT_OBJECT, ACPI_ADR_SPACE_PCI_CONFIG,
|
||||||
ACPI_DEFAULT_HANDLER, NULL, NULL),
|
ACPI_DEFAULT_HANDLER, NULL, NULL),
|
||||||
"Could not initialise PciConfig handler:"))
|
"Could not initialise PciConfig handler:"))
|
||||||
goto err;
|
goto err;
|
||||||
|
|
||||||
arg.Integer.Type = ACPI_TYPE_INTEGER;
|
arg.Integer.Type = ACPI_TYPE_INTEGER;
|
||||||
@@ -234,13 +234,13 @@ acpi_std_ops(int32 op,...)
|
|||||||
AcpiEvaluateObject(NULL, "\\_PIC", ¶meter, NULL);
|
AcpiEvaluateObject(NULL, "\\_PIC", ¶meter, NULL);
|
||||||
|
|
||||||
if (checkAndLogFailure(AcpiEnableSubsystem(
|
if (checkAndLogFailure(AcpiEnableSubsystem(
|
||||||
ACPI_FULL_INITIALIZATION),
|
ACPI_FULL_INITIALIZATION),
|
||||||
"AcpiEnableSubsystem failed"))
|
"AcpiEnableSubsystem failed"))
|
||||||
goto err;
|
goto err;
|
||||||
|
|
||||||
if (checkAndLogFailure(AcpiInitializeObjects(
|
if (checkAndLogFailure(AcpiInitializeObjects(
|
||||||
ACPI_FULL_INITIALIZATION),
|
ACPI_FULL_INITIALIZATION),
|
||||||
"AcpiInitializeObjects failed"))
|
"AcpiInitializeObjects failed"))
|
||||||
goto err;
|
goto err;
|
||||||
|
|
||||||
checkAndLogFailure(
|
checkAndLogFailure(
|
||||||
|
|||||||
Reference in New Issue
Block a user