From 9ef1b91c0f59a1a15565c354b3e372ab265c7b5a Mon Sep 17 00:00:00 2001 From: jkim Date: Tue, 6 Jul 2010 17:18:05 +0000 Subject: Import ACPICA 20100702. --- compiler/aslutils.c | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) (limited to 'compiler/aslutils.c') diff --git a/compiler/aslutils.c b/compiler/aslutils.c index e8d61ba..23e58e5 100644 --- a/compiler/aslutils.c +++ b/compiler/aslutils.c @@ -117,6 +117,7 @@ #include "aslcompiler.h" #include "aslcompiler.y.h" +#include "acdisasm.h" #include "acnamesp.h" #include "amlcode.h" @@ -157,6 +158,50 @@ UtAttachNameseg ( /******************************************************************************* * + * FUNCTION: UtDisplaySupportedTables + * + * PARAMETERS: None + * + * RETURN: None + * + * DESCRIPTION: Print all supported ACPI table names. + * + ******************************************************************************/ + +void +UtDisplaySupportedTables ( + void) +{ + ACPI_DMTABLE_DATA *TableData; + UINT32 i = 6; + + + printf ("\nACPI tables supported by iASL subsystems in " + "version %8.8X:\n" + " ASL and Data Table compilers\n" + " AML and Data Table disassemblers\n" + " ACPI table template generator\n\n", ACPI_CA_VERSION); + + /* Special tables */ + + printf ("%8u) %s %s\n", 1, ACPI_SIG_DSDT, "Differentiated System Description Table"); + printf ("%8u) %s %s\n", 2, ACPI_SIG_SSDT, "Secondary System Description Table"); + printf ("%8u) %s %s\n", 3, ACPI_SIG_FADT, "Fixed ACPI Description Table (FADT)"); + printf ("%8u) %s %s\n", 4, ACPI_SIG_FACS, "Firmware ACPI Control Structure"); + printf ("%8u) %s %s\n", 5, ACPI_RSDP_NAME, "Root System Description Pointer"); + + /* All data tables with common table header */ + + for (TableData = AcpiDmTableData; TableData->Signature; TableData++) + { + printf ("%8u) %s %s\n", i, TableData->Signature, TableData->Name); + i++; + } +} + + +/******************************************************************************* + * * FUNCTION: AcpiPsDisplayConstantOpcodes * * PARAMETERS: None -- cgit v1.1