aboutsummaryrefslogtreecommitdiff
path: root/compiler/aslutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/aslutils.c')
-rw-r--r--compiler/aslutils.c45
1 files changed, 45 insertions, 0 deletions
diff --git a/compiler/aslutils.c b/compiler/aslutils.c
index e8d61babc785..23e58e5eb99f 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