dbstats.c revision 82367
1223637Sbz/******************************************************************************* 2126258Smlaier * 3126258Smlaier * Module Name: dbstats - Generation and display of ACPI table statistics 4126258Smlaier * $Revision: 43 $ 5126258Smlaier * 6126258Smlaier ******************************************************************************/ 7126258Smlaier 8126258Smlaier/****************************************************************************** 9126258Smlaier * 10126258Smlaier * 1. Copyright Notice 11126258Smlaier * 12126258Smlaier * Some or all of this work - Copyright (c) 1999, 2000, 2001, Intel Corp. 13126258Smlaier * All rights reserved. 14126258Smlaier * 15126258Smlaier * 2. License 16126258Smlaier * 17126258Smlaier * 2.1. This is your license from Intel Corp. under its intellectual property 18126258Smlaier * rights. You may have additional license terms from the party that provided 19126258Smlaier * you this software, covering your right to use that party's intellectual 20126258Smlaier * property rights. 21126258Smlaier * 22126258Smlaier * 2.2. Intel grants, free of charge, to any person ("Licensee") obtaining a 23126258Smlaier * copy of the source code appearing in this file ("Covered Code") an 24126258Smlaier * irrevocable, perpetual, worldwide license under Intel's copyrights in the 25126258Smlaier * base code distributed originally by Intel ("Original Intel Code") to copy, 26126258Smlaier * make derivatives, distribute, use and display any portion of the Covered 27126258Smlaier * Code in any form, with the right to sublicense such rights; and 28223637Sbz * 29126258Smlaier * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent 30171168Smlaier * license (with the right to sublicense), under only those claims of Intel 31171168Smlaier * patents that are infringed by the Original Intel Code, to make, use, sell, 32223637Sbz * offer to sell, and import the Covered Code and derivative works thereof 33126258Smlaier * solely to the minimum extent necessary to exercise the above copyright 34126258Smlaier * license, and in no event shall the patent license extend to any additions 35126258Smlaier * to or modifications of the Original Intel Code. No other license or right 36126258Smlaier * is granted directly or by implication, estoppel or otherwise; 37126258Smlaier * 38126258Smlaier * The above copyright and patent license is granted only if the following 39126258Smlaier * conditions are met: 40145836Smlaier * 41126258Smlaier * 3. Conditions 42126258Smlaier * 43171168Smlaier * 3.1. Redistribution of Source with Rights to Further Distribute Source. 44171168Smlaier * Redistribution of source code of any substantial portion of the Covered 45171168Smlaier * Code or modification with rights to further distribute source must include 46171168Smlaier * the above Copyright Notice, the above License, this list of Conditions, 47126258Smlaier * and the following Disclaimer and Export Compliance provision. In addition, 48126258Smlaier * Licensee must cause all Covered Code to which Licensee contributes to 49126258Smlaier * contain a file documenting the changes Licensee made to create that Covered 50126258Smlaier * Code and the date of any change. Licensee must include in that file the 51223637Sbz * documentation of any changes made by any predecessor Licensee. Licensee 52126258Smlaier * must include a prominent statement that the modification is derived, 53223637Sbz * directly or indirectly, from Original Intel Code. 54126258Smlaier * 55126258Smlaier * 3.2. Redistribution of Source with no Rights to Further Distribute Source. 56156500Syar * Redistribution of source code of any substantial portion of the Covered 57156500Syar * Code or modification without rights to further distribute source must 58156500Syar * include the following Disclaimer and Export Compliance provision in the 59171168Smlaier * documentation and/or other materials provided with distribution. In 60155337Smlaier * addition, Licensee may not authorize further sublicense of source of any 61240233Sglebius * portion of the Covered Code, and must include terms to the effect that the 62223637Sbz * license from Licensee to its licensee is limited to the intellectual 63240233Sglebius * property embodied in the software Licensee provides to its licensee, and 64155337Smlaier * not to intellectual property embodied in modifications its licensee may 65126258Smlaier * make. 66126258Smlaier * 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 ACPI_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 UINT32 Outstanding; 382 UINT32 Size; 383 384 385 if (!AcpiGbl_DSDT) 386 { 387 AcpiOsPrintf ("*** Warning: There is no DSDT loaded\n"); 388 } 389 390 if (!TypeArg) 391 { 392 AcpiOsPrintf ("The following subcommands are available:\n ALLOCATIONS, OBJECTS, MEMORY, MISC, SIZES, TABLES\n"); 393 return (AE_OK); 394 } 395 396 STRUPR (TypeArg); 397 Type = AcpiDbMatchArgument (TypeArg, AcpiDbStatTypes); 398 if (Type == (UINT32) -1) 399 { 400 AcpiOsPrintf ("Invalid or unsupported argument\n"); 401 return (AE_OK); 402 } 403 404#ifndef PARSER_ONLY 405 406 AcpiDbCountNamespaceObjects (); 407#endif 408 409 410 switch (Type) 411 { 412#ifndef PARSER_ONLY 413 case CMD_ALLOCATIONS: 414#ifdef ACPI_DBG_TRACK_ALLOCATIONS 415 AcpiUtDumpAllocationInfo (); 416#endif 417 break; 418#endif 419 420 case CMD_TABLES: 421 422 AcpiOsPrintf ("ACPI Table Information:\n\n"); 423 if (AcpiGbl_DSDT) 424 { 425 AcpiOsPrintf ("DSDT Length:................% 7ld (%X)\n", AcpiGbl_DSDT->Length, AcpiGbl_DSDT->Length); 426 } 427 break; 428 429 case CMD_OBJECTS: 430 431 AcpiOsPrintf ("\nObjects defined in the current namespace:\n\n"); 432 433 AcpiOsPrintf ("%16.16s % 10.10s % 10.10s\n", "ACPI_TYPE", "NODES", "OBJECTS"); 434 435 for (i = 0; i < INTERNAL_TYPE_NODE_MAX; i++) 436 { 437 AcpiOsPrintf ("%16.16s % 10ld% 10ld\n", AcpiUtGetTypeName (i), 438 AcpiGbl_NodeTypeCount [i], AcpiGbl_ObjTypeCount [i]); 439 } 440 AcpiOsPrintf ("%16.16s % 10ld% 10ld\n", "Misc/Unknown", 441 AcpiGbl_NodeTypeCountMisc, AcpiGbl_ObjTypeCountMisc); 442 443 AcpiOsPrintf ("%16.16s % 10ld% 10ld\n", "TOTALS:", 444 NumNodes, NumObjects); 445 446 447/* 448 AcpiOsPrintf ("\n"); 449 450 AcpiOsPrintf ("ASL/AML Grammar Usage:\n\n"); 451 AcpiOsPrintf ("Elements Inside Methods:....% 7ld\n", NumMethodElements); 452 AcpiOsPrintf ("Elements Outside Methods:...% 7ld\n", NumGrammarElements - NumMethodElements); 453 AcpiOsPrintf ("Total Grammar Elements:.....% 7ld\n", NumGrammarElements); 454*/ 455 break; 456 457 case CMD_MEMORY: 458 459#ifdef ACPI_DBG_TRACK_ALLOCATIONS 460 AcpiOsPrintf ("\n----Object and Cache Statistics---------------------------------------------\n"); 461 462 for (i = 0; i < ACPI_NUM_MEM_LISTS; i++) 463 { 464 AcpiOsPrintf ("\n%s\n", AcpiGbl_MemoryLists[i].ListName); 465 466 if (AcpiGbl_MemoryLists[i].MaxCacheDepth > 0) 467 { 468 AcpiOsPrintf (" Cache: [Depth Max Avail Size] % 7d % 7d % 7d % 7d B\n", 469 AcpiGbl_MemoryLists[i].CacheDepth, 470 AcpiGbl_MemoryLists[i].MaxCacheDepth, 471 AcpiGbl_MemoryLists[i].MaxCacheDepth - AcpiGbl_MemoryLists[i].CacheDepth, 472 (AcpiGbl_MemoryLists[i].CacheDepth * AcpiGbl_MemoryLists[i].ObjectSize)); 473 474 AcpiOsPrintf (" Cache: [Requests Hits Misses ObjSize] % 7d % 7d % 7d % 7d B\n", 475 AcpiGbl_MemoryLists[i].CacheRequests, 476 AcpiGbl_MemoryLists[i].CacheHits, 477 AcpiGbl_MemoryLists[i].CacheRequests - AcpiGbl_MemoryLists[i].CacheHits, 478 AcpiGbl_MemoryLists[i].ObjectSize); 479 } 480 481 Outstanding = AcpiGbl_MemoryLists[i].TotalAllocated - 482 AcpiGbl_MemoryLists[i].TotalFreed - 483 AcpiGbl_MemoryLists[i].CacheDepth; 484 485 if (AcpiGbl_MemoryLists[i].ObjectSize) 486 { 487 Size = ROUND_UP_TO_1K (Outstanding * AcpiGbl_MemoryLists[i].ObjectSize); 488 } 489 else 490 { 491 Size = ROUND_UP_TO_1K (AcpiGbl_MemoryLists[i].CurrentTotalSize); 492 } 493 494 AcpiOsPrintf (" Mem: [Alloc Free Outstanding Size] % 7d % 7d % 7d % 7d Kb\n", 495 AcpiGbl_MemoryLists[i].TotalAllocated, 496 AcpiGbl_MemoryLists[i].TotalFreed, 497 Outstanding, Size); 498 } 499#endif 500 501 break; 502 503 case CMD_MISC: 504 505 AcpiOsPrintf ("\nMiscellaneous Statistics:\n\n"); 506 AcpiOsPrintf ("Calls to AcpiPsFind:.. ........% 7ld\n", AcpiGbl_PsFindCount); 507 AcpiOsPrintf ("Calls to AcpiNsLookup:..........% 7ld\n", AcpiGbl_NsLookupCount); 508 509 AcpiOsPrintf ("\n"); 510 511 AcpiOsPrintf ("Mutex usage:\n\n"); 512 for (i = 0; i < NUM_MTX; i++) 513 { 514 AcpiOsPrintf ("%-28s: % 7ld\n", AcpiUtGetMutexName (i), AcpiGbl_AcpiMutexInfo[i].UseCount); 515 } 516 break; 517 518 519 case CMD_SIZES: 520 521 AcpiOsPrintf ("\nInternal object sizes:\n\n"); 522 523 AcpiOsPrintf ("Common %3d\n", sizeof (ACPI_OBJECT_COMMON)); 524 AcpiOsPrintf ("Number %3d\n", sizeof (ACPI_OBJECT_INTEGER)); 525 AcpiOsPrintf ("String %3d\n", sizeof (ACPI_OBJECT_STRING)); 526 AcpiOsPrintf ("Buffer %3d\n", sizeof (ACPI_OBJECT_BUFFER)); 527 AcpiOsPrintf ("Package %3d\n", sizeof (ACPI_OBJECT_PACKAGE)); 528 AcpiOsPrintf ("BufferField %3d\n", sizeof (ACPI_OBJECT_BUFFER_FIELD)); 529 AcpiOsPrintf ("Device %3d\n", sizeof (ACPI_OBJECT_DEVICE)); 530 AcpiOsPrintf ("Event %3d\n", sizeof (ACPI_OBJECT_EVENT)); 531 AcpiOsPrintf ("Method %3d\n", sizeof (ACPI_OBJECT_METHOD)); 532 AcpiOsPrintf ("Mutex %3d\n", sizeof (ACPI_OBJECT_MUTEX)); 533 AcpiOsPrintf ("Region %3d\n", sizeof (ACPI_OBJECT_REGION)); 534 AcpiOsPrintf ("PowerResource %3d\n", sizeof (ACPI_OBJECT_POWER_RESOURCE)); 535 AcpiOsPrintf ("Processor %3d\n", sizeof (ACPI_OBJECT_PROCESSOR)); 536 AcpiOsPrintf ("ThermalZone %3d\n", sizeof (ACPI_OBJECT_THERMAL_ZONE)); 537 AcpiOsPrintf ("RegionField %3d\n", sizeof (ACPI_OBJECT_REGION_FIELD)); 538 AcpiOsPrintf ("BankField %3d\n", sizeof (ACPI_OBJECT_BANK_FIELD)); 539 AcpiOsPrintf ("IndexField %3d\n", sizeof (ACPI_OBJECT_INDEX_FIELD)); 540 AcpiOsPrintf ("Reference %3d\n", sizeof (ACPI_OBJECT_REFERENCE)); 541 AcpiOsPrintf ("NotifyHandler %3d\n", sizeof (ACPI_OBJECT_NOTIFY_HANDLER)); 542 AcpiOsPrintf ("AddrHandler %3d\n", sizeof (ACPI_OBJECT_ADDR_HANDLER)); 543 AcpiOsPrintf ("Extra %3d\n", sizeof (ACPI_OBJECT_EXTRA)); 544 545 AcpiOsPrintf ("\n"); 546 547 AcpiOsPrintf ("ParseObject %3d\n", sizeof (ACPI_PARSE_OBJECT)); 548 AcpiOsPrintf ("Parse2Object %3d\n", sizeof (ACPI_PARSE2_OBJECT)); 549 AcpiOsPrintf ("OperandObject %3d\n", sizeof (ACPI_OPERAND_OBJECT)); 550 AcpiOsPrintf ("NamespaceNode %3d\n", sizeof (ACPI_NAMESPACE_NODE)); 551 552 break; 553 554 } 555 556 AcpiOsPrintf ("\n"); 557 return (AE_OK); 558} 559 560 561#endif /* ENABLE_DEBUGGER */ 562