summaryrefslogtreecommitdiffstats
path: root/sys/contrib/dev/acpica/compiler/aslutils.c
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2015-06-16 20:00:53 +0000
committerjkim <jkim@FreeBSD.org>2015-06-16 20:00:53 +0000
commit0a885a06376a92624987d1a67113b1d40b9c6d2a (patch)
tree9cdb2e881fca8e83d94fb1733d90e810e5fcc82a /sys/contrib/dev/acpica/compiler/aslutils.c
parent4680fa4d960d2f6208d5138b22eb56e2cc048f84 (diff)
downloadFreeBSD-src-0a885a06376a92624987d1a67113b1d40b9c6d2a.zip
FreeBSD-src-0a885a06376a92624987d1a67113b1d40b9c6d2a.tar.gz
MFC: r283092, r283966
Merge ACPICA 20150515. Relnotes: yes
Diffstat (limited to 'sys/contrib/dev/acpica/compiler/aslutils.c')
-rw-r--r--sys/contrib/dev/acpica/compiler/aslutils.c22
1 files changed, 7 insertions, 15 deletions
diff --git a/sys/contrib/dev/acpica/compiler/aslutils.c b/sys/contrib/dev/acpica/compiler/aslutils.c
index 37d394b..dadd6b1 100644
--- a/sys/contrib/dev/acpica/compiler/aslutils.c
+++ b/sys/contrib/dev/acpica/compiler/aslutils.c
@@ -77,13 +77,11 @@ UtAttachNameseg (
*
******************************************************************************/
-#define ACPI_TABLE_HELP_FORMAT "%8u) %s %s\n"
-
void
UtDisplaySupportedTables (
void)
{
- ACPI_DMTABLE_DATA *TableData;
+ const AH_TABLE *TableData;
UINT32 i;
@@ -91,20 +89,14 @@ UtDisplaySupportedTables (
" (Compiler, Disassembler, Template Generator)\n\n",
ACPI_CA_VERSION);
- /* Special tables */
-
- printf (" Special tables and AML tables:\n");
- printf (ACPI_TABLE_HELP_FORMAT, 1, ACPI_RSDP_NAME, "Root System Description Pointer");
- printf (ACPI_TABLE_HELP_FORMAT, 2, ACPI_SIG_FACS, "Firmware ACPI Control Structure");
- printf (ACPI_TABLE_HELP_FORMAT, 3, ACPI_SIG_DSDT, "Differentiated System Description Table");
- printf (ACPI_TABLE_HELP_FORMAT, 4, ACPI_SIG_SSDT, "Secondary System Description Table");
-
- /* All data tables with common table header */
+ /* All ACPI tables with the common table header */
- printf ("\n Standard ACPI data tables:\n");
- for (TableData = AcpiDmTableData, i = 5; TableData->Signature; TableData++, i++)
+ printf ("\n Supported ACPI tables:\n");
+ for (TableData = AcpiSupportedTables, i = 1;
+ TableData->Signature; TableData++, i++)
{
- printf (ACPI_TABLE_HELP_FORMAT, i, TableData->Signature, TableData->Name);
+ printf ("%8u) %s %s\n", i,
+ TableData->Signature, TableData->Description);
}
}
OpenPOWER on IntegriCloud