Allow multiple search types in the bitmask

date	2003.01.17.21.25.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 18:55:39 +00:00
parent efa66c0018
commit f2e58fd7ee

View File

@ -1,7 +1,7 @@
/******************************************************************************
*
* Module Name: tbinstal - ACPI table installation and removal
* $Revision: 1.66 $
* $Revision: 1.68 $
*
*****************************************************************************/
@ -9,7 +9,7 @@
*
* 1. Copyright Notice
*
* Some or all of this work - Copyright (c) 1999 - 2002, Intel Corp.
* Some or all of this work - Copyright (c) 1999 - 2003, Intel Corp.
* All rights reserved.
*
* 2. License
@ -156,7 +156,7 @@ AcpiTbMatchSignature (
*/
for (i = 0; i < NUM_ACPI_TABLES; i++)
{
if ((AcpiGbl_AcpiTableData[i].Flags & ACPI_TABLE_TYPE_MASK) != SearchType)
if (!(AcpiGbl_AcpiTableData[i].Flags & SearchType))
{
continue;
}
@ -172,7 +172,7 @@ AcpiTbMatchSignature (
}
ACPI_DEBUG_PRINT ((ACPI_DB_INFO,
"Table [%4.4s] matched and is a required ACPI table\n",
"Table [%4.4s] is an ACPI table consumed by the core subsystem\n",
(char *) AcpiGbl_AcpiTableData[i].Signature));
return_ACPI_STATUS (AE_OK);
@ -180,7 +180,7 @@ AcpiTbMatchSignature (
}
ACPI_DEBUG_PRINT ((ACPI_DB_INFO,
"Table [%4.4s] is not a required ACPI table - ignored\n",
"Table [%4.4s] is not an ACPI table consumed by the core subsystem - ignored\n",
(char *) Signature));
return_ACPI_STATUS (AE_TABLE_NOT_SUPPORTED);
@ -225,7 +225,7 @@ AcpiTbInstallTable (
Status = AcpiTbInitTableDescriptor (TableInfo->Type, TableInfo);
if (ACPI_FAILURE (Status))
{
ACPI_REPORT_ERROR (("Could not install ACPI table [%s], %s\n",
ACPI_REPORT_ERROR (("Could not install ACPI table [%4.4s], %s\n",
TableInfo->Pointer->Signature, AcpiFormatException (Status)));
}