remove IS_INIT_COMPLETE macro because it's ugly, and people should

just call AcpiSubsystemStatus before they do anything.


date	2001.09.21.18.08.00;	author agrover;	state Exp;
This commit is contained in:
aystarik 2005-06-29 18:58:15 +00:00
parent a96f6ce3ff
commit 573c52cf13

View File

@ -2,7 +2,7 @@
*
* Module Name: tbxface - Public interfaces to the ACPI subsystem
* ACPI table oriented interfaces
* $Revision: 1.43 $
* $Revision: 1.44 $
*
*****************************************************************************/
@ -151,15 +151,6 @@ AcpiLoadTables (void)
FUNCTION_TRACE ("AcpiLoadTables");
/* Ensure that ACPI has been initialized */
ACPI_IS_INITIALIZATION_COMPLETE (Status);
if (ACPI_FAILURE (Status))
{
return_ACPI_STATUS (Status);
}
/* Get the RSDP */
Status = AcpiOsGetRootPointer (ACPI_LOGICAL_ADDRESSING,
@ -252,14 +243,6 @@ AcpiLoadTable (
FUNCTION_TRACE ("AcpiLoadTable");
/* Ensure that ACPI has been initialized */
ACPI_IS_INITIALIZATION_COMPLETE (Status);
if (ACPI_FAILURE (Status))
{
return_ACPI_STATUS (Status);
}
if (!TablePtr)
{
return_ACPI_STATUS (AE_BAD_PARAMETER);
@ -322,14 +305,6 @@ AcpiUnloadTable (
FUNCTION_TRACE ("AcpiUnloadTable");
/* Ensure that ACPI has been initialized */
ACPI_IS_INITIALIZATION_COMPLETE (Status);
if (ACPI_FAILURE (Status))
{
return_ACPI_STATUS (Status);
}
/* Parameter validation */
if (TableType > ACPI_TABLE_MAX)
@ -395,14 +370,6 @@ AcpiGetTableHeader (
FUNCTION_TRACE ("AcpiGetTableHeader");
/* Ensure that ACPI has been initialized */
ACPI_IS_INITIALIZATION_COMPLETE (Status);
if (ACPI_FAILURE (Status))
{
return_ACPI_STATUS (Status);
}
if ((Instance == 0) ||
(TableType == ACPI_TABLE_RSDP) ||
(!OutTableHeader))
@ -483,14 +450,6 @@ AcpiGetTable (
FUNCTION_TRACE ("AcpiGetTable");
/* Ensure that ACPI has been initialized */
ACPI_IS_INITIALIZATION_COMPLETE (Status);
if (ACPI_FAILURE (Status))
{
return_ACPI_STATUS (Status);
}
/*
* If we have a buffer, we must have a length too
*/