mirror of
https://github.com/acpica/acpica/
synced 2025-01-15 22:09:17 +03:00
Apply Kochi Takayoshi's cleanup of the ACPI enable/disable code.
date 2002.08.15.01.37.00; author agrover; state Exp;
This commit is contained in:
parent
e3ecac9cdc
commit
afbefe6064
@ -1,7 +1,7 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
*
|
*
|
||||||
* Module Name: utxface - External interfaces for "global" ACPI functions
|
* Module Name: utxface - External interfaces for "global" ACPI functions
|
||||||
* $Revision: 1.97 $
|
* $Revision: 1.100 $
|
||||||
*
|
*
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
@ -260,6 +260,8 @@ AcpiEnableSubsystem (
|
|||||||
{
|
{
|
||||||
ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, "[Init] Going into ACPI mode\n"));
|
ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, "[Init] Going into ACPI mode\n"));
|
||||||
|
|
||||||
|
AcpiGbl_OriginalMode = AcpiHwGetMode();
|
||||||
|
|
||||||
Status = AcpiEnable ();
|
Status = AcpiEnable ();
|
||||||
if (ACPI_FAILURE (Status))
|
if (ACPI_FAILURE (Status))
|
||||||
{
|
{
|
||||||
@ -309,7 +311,7 @@ AcpiEnableSubsystem (
|
|||||||
*
|
*
|
||||||
* RETURN: Status
|
* RETURN: Status
|
||||||
*
|
*
|
||||||
* DESCRIPTION: Completes namespace initialization by initializing device
|
* DESCRIPTION: Completes namespace initialization by initializing device
|
||||||
* objects and executing AML code for Regions, buffers, etc.
|
* objects and executing AML code for Regions, buffers, etc.
|
||||||
*
|
*
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
@ -401,7 +403,7 @@ AcpiTerminate (void)
|
|||||||
AcpiUtMutexTerminate ();
|
AcpiUtMutexTerminate ();
|
||||||
|
|
||||||
|
|
||||||
#ifdef ENABLE_DEBUGGER
|
#ifdef ACPI_DEBUGGER
|
||||||
|
|
||||||
/* Shut down the debugger */
|
/* Shut down the debugger */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user