aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/dev/acpica/tbutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/contrib/dev/acpica/tbutils.c')
-rw-r--r--sys/contrib/dev/acpica/tbutils.c83
1 files changed, 1 insertions, 82 deletions
diff --git a/sys/contrib/dev/acpica/tbutils.c b/sys/contrib/dev/acpica/tbutils.c
index 4e4762379da0..8b7dfa04d568 100644
--- a/sys/contrib/dev/acpica/tbutils.c
+++ b/sys/contrib/dev/acpica/tbutils.c
@@ -1,7 +1,7 @@
/******************************************************************************
*
* Module Name: tbutils - Table manipulation utilities
- * $Revision: 42 $
+ * $Revision: 43 $
*
*****************************************************************************/
@@ -174,87 +174,6 @@ AcpiTbHandleToObject (
/*******************************************************************************
*
- * FUNCTION: AcpiTbSystemTablePointer
- *
- * PARAMETERS: *Where - Pointer to be examined
- *
- * RETURN: TRUE if Where is within the AML stream (in one of the ACPI
- * system tables such as the DSDT or an SSDT.)
- * FALSE otherwise
- *
- ******************************************************************************/
-
-BOOLEAN
-AcpiTbSystemTablePointer (
- void *Where)
-{
- UINT32 i;
- ACPI_TABLE_DESC *TableDesc;
- ACPI_TABLE_HEADER *Table;
-
-
- /* No function trace, called too often! */
-
-
- /* Ignore null pointer */
-
- if (!Where)
- {
- return (FALSE);
- }
-
-
- /* Check for a pointer within the DSDT */
-
- if ((AcpiGbl_DSDT) &&
- (IS_IN_ACPI_TABLE (Where, AcpiGbl_DSDT)))
- {
- return (TRUE);
- }
-
-
- /* Check each of the loaded SSDTs (if any)*/
-
- TableDesc = &AcpiGbl_AcpiTables[ACPI_TABLE_SSDT];
-
- for (i = 0; i < AcpiGbl_AcpiTables[ACPI_TABLE_SSDT].Count; i++)
- {
- Table = TableDesc->Pointer;
-
- if (IS_IN_ACPI_TABLE (Where, Table))
- {
- return (TRUE);
- }
-
- TableDesc = TableDesc->Next;
- }
-
-
- /* Check each of the loaded PSDTs (if any)*/
-
- TableDesc = &AcpiGbl_AcpiTables[ACPI_TABLE_PSDT];
-
- for (i = 0; i < AcpiGbl_AcpiTables[ACPI_TABLE_PSDT].Count; i++)
- {
- Table = TableDesc->Pointer;
-
- if (IS_IN_ACPI_TABLE (Where, Table))
- {
- return (TRUE);
- }
-
- TableDesc = TableDesc->Next;
- }
-
-
- /* Pointer does not point into any system table */
-
- return (FALSE);
-}
-
-
-/*******************************************************************************
- *
* FUNCTION: AcpiTbValidateTableHeader
*
* PARAMETERS: TableHeader - Logical pointer to the table