Deleted Added
full compact
4c4
< * $Revision: 55 $
---
> * $Revision: 60 $
120,121d119
< #include <amlcode.h>
< #include <acparser.h>
132c130
< ARGUMENT_INFO AcpiDbStatTypes [] =
---
> static ARGUMENT_INFO AcpiDbStatTypes [] =
144,150c142,148
< #define CMD_ALLOCATIONS 0
< #define CMD_OBJECTS 1
< #define CMD_MEMORY 2
< #define CMD_MISC 3
< #define CMD_TABLES 4
< #define CMD_SIZES 5
< #define CMD_STACK 6
---
> #define CMD_STAT_ALLOCATIONS 0
> #define CMD_STAT_OBJECTS 1
> #define CMD_STAT_MEMORY 2
> #define CMD_STAT_MISC 3
> #define CMD_STAT_TABLES 4
> #define CMD_STAT_SIZES 5
> #define CMD_STAT_STACK 6
184c182
< if (ObjDesc->Common.Type > INTERNAL_TYPE_NODE_MAX)
---
> if (ACPI_GET_OBJECT_TYPE (ObjDesc) > INTERNAL_TYPE_NODE_MAX)
190c188
< AcpiGbl_ObjTypeCount [ObjDesc->Common.Type]++;
---
> AcpiGbl_ObjTypeCount [ACPI_GET_OBJECT_TYPE (ObjDesc)]++;
195c193
< switch (ObjDesc->Common.Type)
---
> switch (ACPI_GET_OBJECT_TYPE (ObjDesc))
237a236,238
>
> default:
> break;
327c328
< ACPI_STATUS
---
> void
344c345
< AcpiNsWalkNamespace (ACPI_TYPE_ANY, ACPI_ROOT_OBJECT, ACPI_UINT32_MAX,
---
> (void) AcpiNsWalkNamespace (ACPI_TYPE_ANY, ACPI_ROOT_OBJECT, ACPI_UINT32_MAX,
346,347d346
<
< return (AE_OK);
400c399
< case CMD_ALLOCATIONS:
---
> case CMD_STAT_ALLOCATIONS:
407c406
< case CMD_TABLES:
---
> case CMD_STAT_TABLES:
416c415
< case CMD_OBJECTS:
---
> case CMD_STAT_OBJECTS:
440c439
< case CMD_MEMORY:
---
> case CMD_STAT_MEMORY:
486c485
< case CMD_MISC:
---
> case CMD_STAT_MISC:
502c501
< case CMD_SIZES:
---
> case CMD_STAT_SIZES:
531,532c530,532
< AcpiOsPrintf ("ParseObject %3d\n", sizeof (ACPI_PARSE_OBJECT));
< AcpiOsPrintf ("Parse2Object %3d\n", sizeof (ACPI_PARSE2_OBJECT));
---
> AcpiOsPrintf ("ParseObject %3d\n", sizeof (ACPI_PARSE_OBJ_COMMON));
> AcpiOsPrintf ("ParseObjectNamed %3d\n", sizeof (ACPI_PARSE_OBJ_NAMED));
> AcpiOsPrintf ("ParseObjectAsl %3d\n", sizeof (ACPI_PARSE_OBJ_ASL));
539c539,540
< case CMD_STACK:
---
> case CMD_STAT_STACK:
> #if defined(ACPI_DEBUG)
541c542
< Size = AcpiGbl_EntryStackPointer - AcpiGbl_LowestStackPointer;
---
> Size = (UINT32) (AcpiGbl_EntryStackPointer - AcpiGbl_LowestStackPointer);
547a549
> #endif
548a551,553
>
> default:
> break;