dbstats.c revision 71867
1/*******************************************************************************
2 *
3 * Module Name: dbstats - Generation and display of ACPI table statistics
4 *              $Revision: 37 $
5 *
6 ******************************************************************************/
7
8/******************************************************************************
9 *
10 * 1. Copyright Notice
11 *
12 * Some or all of this work - Copyright (c) 1999, 2000, 2001, Intel Corp.
13 * All rights reserved.
14 *
15 * 2. License
16 *
17 * 2.1. This is your license from Intel Corp. under its intellectual property
18 * rights.  You may have additional license terms from the party that provided
19 * you this software, covering your right to use that party's intellectual
20 * property rights.
21 *
22 * 2.2. Intel grants, free of charge, to any person ("Licensee") obtaining a
23 * copy of the source code appearing in this file ("Covered Code") an
24 * irrevocable, perpetual, worldwide license under Intel's copyrights in the
25 * base code distributed originally by Intel ("Original Intel Code") to copy,
26 * make derivatives, distribute, use and display any portion of the Covered
27 * Code in any form, with the right to sublicense such rights; and
28 *
29 * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent
30 * license (with the right to sublicense), under only those claims of Intel
31 * patents that are infringed by the Original Intel Code, to make, use, sell,
32 * offer to sell, and import the Covered Code and derivative works thereof
33 * solely to the minimum extent necessary to exercise the above copyright
34 * license, and in no event shall the patent license extend to any additions
35 * to or modifications of the Original Intel Code.  No other license or right
36 * is granted directly or by implication, estoppel or otherwise;
37 *
38 * The above copyright and patent license is granted only if the following
39 * conditions are met:
40 *
41 * 3. Conditions
42 *
43 * 3.1. Redistribution of Source with Rights to Further Distribute Source.
44 * Redistribution of source code of any substantial portion of the Covered
45 * Code or modification with rights to further distribute source must include
46 * the above Copyright Notice, the above License, this list of Conditions,
47 * and the following Disclaimer and Export Compliance provision.  In addition,
48 * Licensee must cause all Covered Code to which Licensee contributes to
49 * contain a file documenting the changes Licensee made to create that Covered
50 * Code and the date of any change.  Licensee must include in that file the
51 * documentation of any changes made by any predecessor Licensee.  Licensee
52 * must include a prominent statement that the modification is derived,
53 * directly or indirectly, from Original Intel Code.
54 *
55 * 3.2. Redistribution of Source with no Rights to Further Distribute Source.
56 * Redistribution of source code of any substantial portion of the Covered
57 * Code or modification without rights to further distribute source must
58 * include the following Disclaimer and Export Compliance provision in the
59 * documentation and/or other materials provided with distribution.  In
60 * addition, Licensee may not authorize further sublicense of source of any
61 * portion of the Covered Code, and must include terms to the effect that the
62 * license from Licensee to its licensee is limited to the intellectual
63 * property embodied in the software Licensee provides to its licensee, and
64 * not to intellectual property embodied in modifications its licensee may
65 * make.
66 *
67 * 3.3. Redistribution of Executable. Redistribution in executable form of any
68 * substantial portion of the Covered Code or modification must reproduce the
69 * above Copyright Notice, and the following Disclaimer and Export Compliance
70 * provision in the documentation and/or other materials provided with the
71 * distribution.
72 *
73 * 3.4. Intel retains all right, title, and interest in and to the Original
74 * Intel Code.
75 *
76 * 3.5. Neither the name Intel nor any other trademark owned or controlled by
77 * Intel shall be used in advertising or otherwise to promote the sale, use or
78 * other dealings in products derived from or relating to the Covered Code
79 * without prior written authorization from Intel.
80 *
81 * 4. Disclaimer and Export Compliance
82 *
83 * 4.1. INTEL MAKES NO WARRANTY OF ANY KIND REGARDING ANY SOFTWARE PROVIDED
84 * HERE.  ANY SOFTWARE ORIGINATING FROM INTEL OR DERIVED FROM INTEL SOFTWARE
85 * IS PROVIDED "AS IS," AND INTEL WILL NOT PROVIDE ANY SUPPORT,  ASSISTANCE,
86 * INSTALLATION, TRAINING OR OTHER SERVICES.  INTEL WILL NOT PROVIDE ANY
87 * UPDATES, ENHANCEMENTS OR EXTENSIONS.  INTEL SPECIFICALLY DISCLAIMS ANY
88 * IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT AND FITNESS FOR A
89 * PARTICULAR PURPOSE.
90 *
91 * 4.2. IN NO EVENT SHALL INTEL HAVE ANY LIABILITY TO LICENSEE, ITS LICENSEES
92 * OR ANY OTHER THIRD PARTY, FOR ANY LOST PROFITS, LOST DATA, LOSS OF USE OR
93 * COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY INDIRECT,
94 * SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, UNDER ANY
95 * CAUSE OF ACTION OR THEORY OF LIABILITY, AND IRRESPECTIVE OF WHETHER INTEL
96 * HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES.  THESE LIMITATIONS
97 * SHALL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL PURPOSE OF ANY
98 * LIMITED REMEDY.
99 *
100 * 4.3. Licensee shall not export, either directly or indirectly, any of this
101 * software or system incorporating such software without first obtaining any
102 * required license or other approval from the U. S. Department of Commerce or
103 * any other agency or department of the United States Government.  In the
104 * event Licensee exports any such software from the United States or
105 * re-exports any such software from a foreign destination, Licensee shall
106 * ensure that the distribution and export/re-export of the software is in
107 * compliance with all laws, regulations, orders, or other restrictions of the
108 * U.S. Export Administration Regulations. Licensee agrees that neither it nor
109 * any of its subsidiaries will export/re-export any technical data, process,
110 * software, or service, directly or indirectly, to any country for which the
111 * United States government or any agency thereof requires an export license,
112 * other governmental approval, or letter of assurance, without first obtaining
113 * such license, approval or letter.
114 *
115 *****************************************************************************/
116
117
118#include <acpi.h>
119#include <acdebug.h>
120#include <amlcode.h>
121#include <acparser.h>
122#include <acnamesp.h>
123
124#ifdef ENABLE_DEBUGGER
125
126#define _COMPONENT          DEBUGGER
127        MODULE_NAME         ("dbstats")
128
129/*
130 * Statistics subcommands
131 */
132ARGUMENT_INFO               AcpiDbStatTypes [] =
133{
134    {"ALLOCATIONS"},
135    {"OBJECTS"},
136    {"MEMORY"},
137    {"MISC"},
138    {"TABLES"},
139    {"SIZES"},
140    {NULL}           /* Must be null terminated */
141};
142
143#define CMD_ALLOCATIONS     0
144#define CMD_OBJECTS         1
145#define CMD_MEMORY          2
146#define CMD_MISC            3
147#define CMD_TABLES          4
148#define CMD_SIZES           5
149
150
151/*
152 * Statistic globals
153 */
154UINT16                      AcpiGbl_ObjTypeCount[INTERNAL_TYPE_NODE_MAX+1];
155UINT16                      AcpiGbl_NodeTypeCount[INTERNAL_TYPE_NODE_MAX+1];
156UINT16                      AcpiGbl_ObjTypeCountMisc;
157UINT16                      AcpiGbl_NodeTypeCountMisc;
158UINT32                      NumNodes;
159UINT32                      NumObjects;
160
161
162UINT32                      SizeOfParseTree;
163UINT32                      SizeOfMethodTrees;
164UINT32                      SizeOfNodeEntries;
165UINT32                      SizeOfAcpiObjects;
166
167
168/*******************************************************************************
169 *
170 * FUNCTION:    AcpiDbEnumerateObject
171 *
172 * PARAMETERS:  ObjDesc             - Object to be counted
173 *
174 * RETURN:      None
175 *
176 * DESCRIPTION: Add this object to the global counts, by object type.
177 *              Recursively handles subobjects and packages.
178 *
179 *              [TBD] Restructure - remove recursion.
180 *
181 ******************************************************************************/
182
183void
184AcpiDbEnumerateObject (
185    ACPI_OPERAND_OBJECT     *ObjDesc)
186{
187    UINT32                  Type;
188    UINT32                  i;
189
190
191    if (!ObjDesc)
192    {
193        return;
194    }
195
196
197    /* Enumerate this object first */
198
199    NumObjects++;
200
201    Type = ObjDesc->Common.Type;
202    if (Type > INTERNAL_TYPE_NODE_MAX)
203    {
204        AcpiGbl_ObjTypeCountMisc++;
205    }
206    else
207    {
208        AcpiGbl_ObjTypeCount [Type]++;
209    }
210
211    /* Count the sub-objects */
212
213    switch (Type)
214    {
215    case ACPI_TYPE_PACKAGE:
216        for (i = 0; i< ObjDesc->Package.Count; i++)
217        {
218            AcpiDbEnumerateObject (ObjDesc->Package.Elements[i]);
219        }
220        break;
221
222    case ACPI_TYPE_DEVICE:
223        AcpiDbEnumerateObject (ObjDesc->Device.SysHandler);
224        AcpiDbEnumerateObject (ObjDesc->Device.DrvHandler);
225        AcpiDbEnumerateObject (ObjDesc->Device.AddrHandler);
226        break;
227
228    case ACPI_TYPE_REGION:
229        AcpiDbEnumerateObject (ObjDesc->Region.AddrHandler);
230        break;
231
232    case ACPI_TYPE_POWER:
233        AcpiDbEnumerateObject (ObjDesc->PowerResource.SysHandler);
234        AcpiDbEnumerateObject (ObjDesc->PowerResource.DrvHandler);
235        break;
236
237    case ACPI_TYPE_PROCESSOR:
238        AcpiDbEnumerateObject (ObjDesc->Processor.SysHandler);
239        AcpiDbEnumerateObject (ObjDesc->Processor.DrvHandler);
240        AcpiDbEnumerateObject (ObjDesc->Processor.AddrHandler);
241        break;
242
243    case ACPI_TYPE_THERMAL:
244        AcpiDbEnumerateObject (ObjDesc->ThermalZone.SysHandler);
245        AcpiDbEnumerateObject (ObjDesc->ThermalZone.DrvHandler);
246        AcpiDbEnumerateObject (ObjDesc->ThermalZone.AddrHandler);
247        break;
248    }
249}
250
251
252#ifndef PARSER_ONLY
253
254/*******************************************************************************
255 *
256 * FUNCTION:    AcpiDbClassifyOneObject
257 *
258 * PARAMETERS:  Callback for WalkNamespace
259 *
260 * RETURN:      Status
261 *
262 * DESCRIPTION: Enumerate both the object descriptor (including subobjects) and
263 *              the parent namespace node.
264 *
265 ******************************************************************************/
266
267ACPI_STATUS
268AcpiDbClassifyOneObject (
269    ACPI_HANDLE             ObjHandle,
270    UINT32                  NestingLevel,
271    void                    *Context,
272    void                    **ReturnValue)
273{
274    ACPI_NAMESPACE_NODE     *Node;
275    ACPI_OPERAND_OBJECT     *ObjDesc;
276    UINT32                  Type;
277
278
279    NumNodes++;
280
281    Node = (ACPI_NAMESPACE_NODE *) ObjHandle;
282    ObjDesc = ((ACPI_NAMESPACE_NODE *) ObjHandle)->Object;
283
284    AcpiDbEnumerateObject (ObjDesc);
285
286    Type = Node->Type;
287    if (Type > INTERNAL_TYPE_INVALID)
288    {
289        AcpiGbl_NodeTypeCountMisc++;
290    }
291
292    else
293    {
294        AcpiGbl_NodeTypeCount [Type]++;
295    }
296
297    return AE_OK;
298
299
300    /* TBD: These need to be counted during the initial parsing phase */
301    /*
302    if (AcpiPsIsNamedOp (Op->Opcode))
303    {
304        NumNodes++;
305    }
306
307    if (IsMethod)
308    {
309        NumMethodElements++;
310    }
311
312    NumGrammarElements++;
313    Op = AcpiPsGetDepthNext (Root, Op);
314
315    SizeOfParseTree             = (NumGrammarElements - NumMethodElements) * (UINT32) sizeof (ACPI_PARSE_OBJECT);
316    SizeOfMethodTrees           = NumMethodElements * (UINT32) sizeof (ACPI_PARSE_OBJECT);
317    SizeOfNodeEntries           = NumNodes * (UINT32) sizeof (ACPI_NAMESPACE_NODE);
318    SizeOfAcpiObjects           = NumNodes * (UINT32) sizeof (ACPI_OPERAND_OBJECT);
319
320    */
321}
322
323
324/*******************************************************************************
325 *
326 * FUNCTION:    AcpiDbCountNamespaceObjects
327 *
328 * PARAMETERS:  None
329 *
330 * RETURN:      Status
331 *
332 * DESCRIPTION: Count and classify the entire namespace, including all
333 *              namespace nodes and attached objects.
334 *
335 ******************************************************************************/
336
337ACPI_STATUS
338AcpiDbCountNamespaceObjects (
339    void)
340{
341    UINT32                  i;
342
343
344    NumNodes = 0;
345    NumObjects = 0;
346
347    AcpiGbl_ObjTypeCountMisc = 0;
348    for (i = 0; i < INTERNAL_TYPE_INVALID; i++)
349    {
350        AcpiGbl_ObjTypeCount [i] = 0;
351        AcpiGbl_NodeTypeCount [i] = 0;
352    }
353
354    AcpiNsWalkNamespace (ACPI_TYPE_ANY, ACPI_ROOT_OBJECT, ACPI_UINT32_MAX,
355                        FALSE, AcpiDbClassifyOneObject, NULL, NULL);
356
357    return (AE_OK);
358}
359
360#endif
361
362
363/*******************************************************************************
364 *
365 * FUNCTION:    AcpiDbDisplayStatistics
366 *
367 * PARAMETERS:  TypeArg         - Subcommand
368 *
369 * RETURN:      Status
370 *
371 * DESCRIPTION: Display various statistics
372 *
373 ******************************************************************************/
374
375ACPI_STATUS
376AcpiDbDisplayStatistics (
377    NATIVE_CHAR             *TypeArg)
378{
379    UINT32                  i;
380    UINT32                  Type;
381
382
383    if (!AcpiGbl_DSDT)
384    {
385        AcpiOsPrintf ("*** Warning:  There is no DSDT loaded\n");
386    }
387
388    if (!TypeArg)
389    {
390        AcpiOsPrintf ("The following subcommands are available:\n    ALLOCATIONS, OBJECTS, MEMORY, MISC, SIZES, TABLES\n");
391        return (AE_OK);
392    }
393
394    STRUPR (TypeArg);
395    Type = AcpiDbMatchArgument (TypeArg, AcpiDbStatTypes);
396    if (Type == (UINT32) -1)
397    {
398        AcpiOsPrintf ("Invalid or unsupported argument\n");
399        return (AE_OK);
400    }
401
402#ifndef PARSER_ONLY
403
404    AcpiDbCountNamespaceObjects ();
405#endif
406
407
408    switch (Type)
409    {
410#ifndef PARSER_ONLY
411    case CMD_ALLOCATIONS:
412        AcpiCmDumpAllocationInfo ();
413        break;
414#endif
415
416    case CMD_TABLES:
417
418        AcpiOsPrintf ("ACPI Table Information:\n\n");
419        if (AcpiGbl_DSDT)
420        {
421            AcpiOsPrintf ("DSDT Length:................% 7ld (%X)\n", AcpiGbl_DSDT->Length, AcpiGbl_DSDT->Length);
422        }
423        break;
424
425    case CMD_OBJECTS:
426
427        AcpiOsPrintf ("\nObjects defined in the current namespace:\n\n");
428
429        AcpiOsPrintf ("%16.16s % 10.10s % 10.10s\n", "ACPI_TYPE", "NODES", "OBJECTS");
430
431        for (i = 0; i < INTERNAL_TYPE_NODE_MAX; i++)
432        {
433            AcpiOsPrintf ("%16.16s % 10ld% 10ld\n", AcpiCmGetTypeName (i),
434                AcpiGbl_NodeTypeCount [i], AcpiGbl_ObjTypeCount [i]);
435        }
436        AcpiOsPrintf ("%16.16s % 10ld% 10ld\n", "Misc/Unknown",
437            AcpiGbl_NodeTypeCountMisc, AcpiGbl_ObjTypeCountMisc);
438
439        AcpiOsPrintf ("%16.16s % 10ld% 10ld\n", "TOTALS:",
440            NumNodes, NumObjects);
441
442
443/*
444        AcpiOsPrintf ("\n");
445
446        AcpiOsPrintf ("ASL/AML Grammar Usage:\n\n");
447        AcpiOsPrintf ("Elements Inside Methods:....% 7ld\n", NumMethodElements);
448        AcpiOsPrintf ("Elements Outside Methods:...% 7ld\n", NumGrammarElements - NumMethodElements);
449        AcpiOsPrintf ("Total Grammar Elements:.....% 7ld\n", NumGrammarElements);
450*/
451        break;
452
453    case CMD_MEMORY:
454
455        AcpiOsPrintf ("\nDynamic Memory Estimates:\n\n");
456        AcpiOsPrintf ("Parse Tree without Methods:.% 7ld\n", SizeOfParseTree);
457        AcpiOsPrintf ("Control Method Parse Trees:.% 7ld (If parsed simultaneously)\n", SizeOfMethodTrees);
458        AcpiOsPrintf ("Namespace Nodes:............% 7ld (%d nodes)\n", sizeof (ACPI_NAMESPACE_NODE) * NumNodes, NumNodes);
459        AcpiOsPrintf ("Named Internal Objects......% 7ld\n", SizeOfAcpiObjects);
460        AcpiOsPrintf ("State Cache size............% 7ld\n", AcpiGbl_GenericStateCacheDepth * sizeof (ACPI_GENERIC_STATE));
461        AcpiOsPrintf ("Parse Cache size............% 7ld\n", AcpiGbl_ParseCacheDepth * sizeof (ACPI_PARSE_OBJECT));
462        AcpiOsPrintf ("Object Cache size...........% 7ld\n", AcpiGbl_ObjectCacheDepth * sizeof (ACPI_OPERAND_OBJECT));
463        AcpiOsPrintf ("WalkState Cache size........% 7ld\n", AcpiGbl_WalkStateCacheDepth * sizeof (ACPI_WALK_STATE));
464
465        AcpiOsPrintf ("\n");
466
467        AcpiOsPrintf ("Cache Statistics:\n\n");
468        AcpiOsPrintf ("State Cache requests........% 7ld\n", AcpiGbl_StateCacheRequests);
469        AcpiOsPrintf ("State Cache hits............% 7ld\n", AcpiGbl_StateCacheHits);
470        AcpiOsPrintf ("State Cache depth...........% 7ld (%d remaining entries)\n", AcpiGbl_GenericStateCacheDepth,
471                                                            MAX_STATE_CACHE_DEPTH - AcpiGbl_GenericStateCacheDepth);
472        AcpiOsPrintf ("Parse Cache requests........% 7ld\n", AcpiGbl_ParseCacheRequests);
473        AcpiOsPrintf ("Parse Cache hits............% 7ld\n", AcpiGbl_ParseCacheHits);
474        AcpiOsPrintf ("Parse Cache depth...........% 7ld (%d remaining entries)\n", AcpiGbl_ParseCacheDepth,
475                                                            MAX_PARSE_CACHE_DEPTH - AcpiGbl_ParseCacheDepth);
476        AcpiOsPrintf ("Ext Parse Cache requests....% 7ld\n", AcpiGbl_ExtParseCacheRequests);
477        AcpiOsPrintf ("Ext Parse Cache hits........% 7ld\n", AcpiGbl_ExtParseCacheHits);
478        AcpiOsPrintf ("Ext Parse Cache depth.......% 7ld (%d remaining entries)\n", AcpiGbl_ExtParseCacheDepth,
479                                                            MAX_EXTPARSE_CACHE_DEPTH - AcpiGbl_ExtParseCacheDepth);
480        AcpiOsPrintf ("Object Cache requests.......% 7ld\n", AcpiGbl_ObjectCacheRequests);
481        AcpiOsPrintf ("Object Cache hits...........% 7ld\n", AcpiGbl_ObjectCacheHits);
482        AcpiOsPrintf ("Object Cache depth..........% 7ld (%d remaining entries)\n", AcpiGbl_ObjectCacheDepth,
483                                                            MAX_OBJECT_CACHE_DEPTH - AcpiGbl_ObjectCacheDepth);
484        AcpiOsPrintf ("WalkState Cache requests....% 7ld\n", AcpiGbl_WalkStateCacheRequests);
485        AcpiOsPrintf ("WalkState Cache hits........% 7ld\n", AcpiGbl_WalkStateCacheHits);
486        AcpiOsPrintf ("WalkState Cache depth.......% 7ld (%d remaining entries)\n", AcpiGbl_WalkStateCacheDepth,
487                                                            MAX_WALK_CACHE_DEPTH - AcpiGbl_WalkStateCacheDepth);
488        break;
489
490    case CMD_MISC:
491
492        AcpiOsPrintf ("\nMiscellaneous Statistics:\n\n");
493        AcpiOsPrintf ("Calls to AcpiPsFind:..  ........% 7ld\n", AcpiGbl_PsFindCount);
494        AcpiOsPrintf ("Calls to AcpiNsLookup:..........% 7ld\n", AcpiGbl_NsLookupCount);
495
496        AcpiOsPrintf ("\n");
497
498        AcpiOsPrintf ("Mutex usage:\n\n");
499        for (i = 0; i < NUM_MTX; i++)
500        {
501            AcpiOsPrintf ("%-20s:       % 7ld\n", AcpiCmGetMutexName (i), AcpiGbl_AcpiMutexInfo[i].UseCount);
502        }
503        break;
504
505
506    case CMD_SIZES:
507
508        AcpiOsPrintf ("\nInternal object sizes:\n\n");
509
510        AcpiOsPrintf ("Common           %3d\n", sizeof (ACPI_OBJECT_COMMON));
511        AcpiOsPrintf ("Number           %3d\n", sizeof (ACPI_OBJECT_INTEGER));
512        AcpiOsPrintf ("String           %3d\n", sizeof (ACPI_OBJECT_STRING));
513        AcpiOsPrintf ("Buffer           %3d\n", sizeof (ACPI_OBJECT_BUFFER));
514        AcpiOsPrintf ("Package          %3d\n", sizeof (ACPI_OBJECT_PACKAGE));
515        AcpiOsPrintf ("FieldUnit        %3d\n", sizeof (ACPI_OBJECT_FIELD_UNIT));
516        AcpiOsPrintf ("Device           %3d\n", sizeof (ACPI_OBJECT_DEVICE));
517        AcpiOsPrintf ("Event            %3d\n", sizeof (ACPI_OBJECT_EVENT));
518        AcpiOsPrintf ("Method           %3d\n", sizeof (ACPI_OBJECT_METHOD));
519        AcpiOsPrintf ("Mutex            %3d\n", sizeof (ACPI_OBJECT_MUTEX));
520        AcpiOsPrintf ("Region           %3d\n", sizeof (ACPI_OBJECT_REGION));
521        AcpiOsPrintf ("PowerResource    %3d\n", sizeof (ACPI_OBJECT_POWER_RESOURCE));
522        AcpiOsPrintf ("Processor        %3d\n", sizeof (ACPI_OBJECT_PROCESSOR));
523        AcpiOsPrintf ("ThermalZone      %3d\n", sizeof (ACPI_OBJECT_THERMAL_ZONE));
524        AcpiOsPrintf ("Field            %3d\n", sizeof (ACPI_OBJECT_FIELD));
525        AcpiOsPrintf ("BankField        %3d\n", sizeof (ACPI_OBJECT_BANK_FIELD));
526        AcpiOsPrintf ("IndexField       %3d\n", sizeof (ACPI_OBJECT_INDEX_FIELD));
527        AcpiOsPrintf ("Reference        %3d\n", sizeof (ACPI_OBJECT_REFERENCE));
528        AcpiOsPrintf ("NotifyHandler    %3d\n", sizeof (ACPI_OBJECT_NOTIFY_HANDLER));
529        AcpiOsPrintf ("AddrHandler      %3d\n", sizeof (ACPI_OBJECT_ADDR_HANDLER));
530        AcpiOsPrintf ("Extra            %3d\n", sizeof (ACPI_OBJECT_EXTRA));
531
532        AcpiOsPrintf ("\n");
533
534        AcpiOsPrintf ("ParseObject      %3d\n", sizeof (ACPI_PARSE_OBJECT));
535        AcpiOsPrintf ("Parse2Object     %3d\n", sizeof (ACPI_PARSE2_OBJECT));
536        AcpiOsPrintf ("OperandObject    %3d\n", sizeof (ACPI_OPERAND_OBJECT));
537        AcpiOsPrintf ("NamespaceNode    %3d\n", sizeof (ACPI_NAMESPACE_NODE));
538
539        break;
540
541    }
542
543    AcpiOsPrintf ("\n");
544    return (AE_OK);
545}
546
547
548#endif /* ENABLE_DEBUGGER  */
549