diff options
author | iwasaki <iwasaki@FreeBSD.org> | 2002-08-29 01:51:24 +0000 |
---|---|---|
committer | iwasaki <iwasaki@FreeBSD.org> | 2002-08-29 01:51:24 +0000 |
commit | 1824f192010fc0c0826e9889892e534075b58793 (patch) | |
tree | bbc04a2733724f3f0ab5cecb259948ac9a9723d7 /sys/contrib/dev/acpica/dbstats.c | |
parent | 3f86517f16a9cf970e93e483e90066da6eb323dd (diff) | |
download | FreeBSD-src-1824f192010fc0c0826e9889892e534075b58793.zip FreeBSD-src-1824f192010fc0c0826e9889892e534075b58793.tar.gz |
Vendor import of the Intel ACPI CA 20020815 drop.
Diffstat (limited to 'sys/contrib/dev/acpica/dbstats.c')
-rw-r--r-- | sys/contrib/dev/acpica/dbstats.c | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/sys/contrib/dev/acpica/dbstats.c b/sys/contrib/dev/acpica/dbstats.c index a6db41e..ec20e5a 100644 --- a/sys/contrib/dev/acpica/dbstats.c +++ b/sys/contrib/dev/acpica/dbstats.c @@ -1,7 +1,7 @@ /******************************************************************************* * * Module Name: dbstats - Generation and display of ACPI table statistics - * $Revision: 60 $ + * $Revision: 61 $ * ******************************************************************************/ @@ -119,9 +119,9 @@ #include <acdebug.h> #include <acnamesp.h> -#ifdef ENABLE_DEBUGGER +#ifdef ACPI_DEBUGGER -#define _COMPONENT ACPI_DEBUGGER +#define _COMPONENT ACPI_CA_DEBUGGER ACPI_MODULE_NAME ("dbstats") /* @@ -240,8 +240,6 @@ AcpiDbEnumerateObject ( } -#ifndef PARSER_ONLY - /******************************************************************************* * * FUNCTION: AcpiDbClassifyOneObject @@ -346,8 +344,6 @@ AcpiDbCountNamespaceObjects ( FALSE, AcpiDbClassifyOneObject, NULL, NULL); } -#endif - /******************************************************************************* * @@ -395,13 +391,11 @@ AcpiDbDisplayStatistics ( switch (Type) { -#ifndef PARSER_ONLY case CMD_STAT_ALLOCATIONS: #ifdef ACPI_DBG_TRACK_ALLOCATIONS AcpiUtDumpAllocationInfo (); #endif break; -#endif case CMD_STAT_TABLES: @@ -414,8 +408,6 @@ AcpiDbDisplayStatistics ( case CMD_STAT_OBJECTS: -#ifndef PARSER_ONLY - AcpiDbCountNamespaceObjects (); AcpiOsPrintf ("\nObjects defined in the current namespace:\n\n"); @@ -432,8 +424,6 @@ AcpiDbDisplayStatistics ( AcpiOsPrintf ("%16.16s % 10ld% 10ld\n", "TOTALS:", AcpiGbl_NumNodes, AcpiGbl_NumObjects); - -#endif break; case CMD_STAT_MEMORY: @@ -537,7 +527,7 @@ AcpiDbDisplayStatistics ( case CMD_STAT_STACK: -#if defined(ACPI_DEBUG) +#if defined(ACPI_DEBUG_OUTPUT) Size = (UINT32) (AcpiGbl_EntryStackPointer - AcpiGbl_LowestStackPointer); @@ -558,4 +548,4 @@ AcpiDbDisplayStatistics ( } -#endif /* ENABLE_DEBUGGER */ +#endif /* ACPI_DEBUGGER */ |