nsdump.c 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698
  1. /******************************************************************************
  2. *
  3. * Module Name: nsdump - table dumping routines for debug
  4. *
  5. *****************************************************************************/
  6. /*
  7. * Copyright (C) 2000 - 2005, R. Byron Moore
  8. * All rights reserved.
  9. *
  10. * Redistribution and use in source and binary forms, with or without
  11. * modification, are permitted provided that the following conditions
  12. * are met:
  13. * 1. Redistributions of source code must retain the above copyright
  14. * notice, this list of conditions, and the following disclaimer,
  15. * without modification.
  16. * 2. Redistributions in binary form must reproduce at minimum a disclaimer
  17. * substantially similar to the "NO WARRANTY" disclaimer below
  18. * ("Disclaimer") and any redistribution must be conditioned upon
  19. * including a substantially similar Disclaimer requirement for further
  20. * binary redistribution.
  21. * 3. Neither the names of the above-listed copyright holders nor the names
  22. * of any contributors may be used to endorse or promote products derived
  23. * from this software without specific prior written permission.
  24. *
  25. * Alternatively, this software may be distributed under the terms of the
  26. * GNU General Public License ("GPL") version 2 as published by the Free
  27. * Software Foundation.
  28. *
  29. * NO WARRANTY
  30. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  31. * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  32. * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
  33. * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  34. * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  35. * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  36. * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  37. * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  38. * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
  39. * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  40. * POSSIBILITY OF SUCH DAMAGES.
  41. */
  42. #include <acpi/acpi.h>
  43. #include <acpi/acnamesp.h>
  44. #include <acpi/acparser.h>
  45. #define _COMPONENT ACPI_NAMESPACE
  46. ACPI_MODULE_NAME ("nsdump")
  47. /* Local prototypes */
  48. #ifdef ACPI_OBSOLETE_FUNCTIONS
  49. void
  50. acpi_ns_dump_root_devices (
  51. void);
  52. static acpi_status
  53. acpi_ns_dump_one_device (
  54. acpi_handle obj_handle,
  55. u32 level,
  56. void *context,
  57. void **return_value);
  58. #endif
  59. #if defined(ACPI_DEBUG_OUTPUT) || defined(ACPI_DEBUGGER)
  60. /*******************************************************************************
  61. *
  62. * FUNCTION: acpi_ns_print_pathname
  63. *
  64. * PARAMETERS: num_segments - Number of ACPI name segments
  65. * Pathname - The compressed (internal) path
  66. *
  67. * RETURN: None
  68. *
  69. * DESCRIPTION: Print an object's full namespace pathname
  70. *
  71. ******************************************************************************/
  72. void
  73. acpi_ns_print_pathname (
  74. u32 num_segments,
  75. char *pathname)
  76. {
  77. ACPI_FUNCTION_NAME ("ns_print_pathname");
  78. if (!(acpi_dbg_level & ACPI_LV_NAMES) || !(acpi_dbg_layer & ACPI_NAMESPACE)) {
  79. return;
  80. }
  81. /* Print the entire name */
  82. ACPI_DEBUG_PRINT ((ACPI_DB_NAMES, "["));
  83. while (num_segments) {
  84. acpi_os_printf ("%4.4s", pathname);
  85. pathname += ACPI_NAME_SIZE;
  86. num_segments--;
  87. if (num_segments) {
  88. acpi_os_printf (".");
  89. }
  90. }
  91. acpi_os_printf ("]\n");
  92. }
  93. /*******************************************************************************
  94. *
  95. * FUNCTION: acpi_ns_dump_pathname
  96. *
  97. * PARAMETERS: Handle - Object
  98. * Msg - Prefix message
  99. * Level - Desired debug level
  100. * Component - Caller's component ID
  101. *
  102. * RETURN: None
  103. *
  104. * DESCRIPTION: Print an object's full namespace pathname
  105. * Manages allocation/freeing of a pathname buffer
  106. *
  107. ******************************************************************************/
  108. void
  109. acpi_ns_dump_pathname (
  110. acpi_handle handle,
  111. char *msg,
  112. u32 level,
  113. u32 component)
  114. {
  115. ACPI_FUNCTION_TRACE ("ns_dump_pathname");
  116. /* Do this only if the requested debug level and component are enabled */
  117. if (!(acpi_dbg_level & level) || !(acpi_dbg_layer & component)) {
  118. return_VOID;
  119. }
  120. /* Convert handle to a full pathname and print it (with supplied message) */
  121. acpi_ns_print_node_pathname (handle, msg);
  122. acpi_os_printf ("\n");
  123. return_VOID;
  124. }
  125. /*******************************************************************************
  126. *
  127. * FUNCTION: acpi_ns_dump_one_object
  128. *
  129. * PARAMETERS: obj_handle - Node to be dumped
  130. * Level - Nesting level of the handle
  131. * Context - Passed into walk_namespace
  132. * return_value - Not used
  133. *
  134. * RETURN: Status
  135. *
  136. * DESCRIPTION: Dump a single Node
  137. * This procedure is a user_function called by acpi_ns_walk_namespace.
  138. *
  139. ******************************************************************************/
  140. acpi_status
  141. acpi_ns_dump_one_object (
  142. acpi_handle obj_handle,
  143. u32 level,
  144. void *context,
  145. void **return_value)
  146. {
  147. struct acpi_walk_info *info = (struct acpi_walk_info *) context;
  148. struct acpi_namespace_node *this_node;
  149. union acpi_operand_object *obj_desc = NULL;
  150. acpi_object_type obj_type;
  151. acpi_object_type type;
  152. u32 bytes_to_dump;
  153. u32 dbg_level;
  154. u32 i;
  155. ACPI_FUNCTION_NAME ("ns_dump_one_object");
  156. /* Is output enabled? */
  157. if (!(acpi_dbg_level & info->debug_level)) {
  158. return (AE_OK);
  159. }
  160. if (!obj_handle) {
  161. ACPI_DEBUG_PRINT ((ACPI_DB_INFO, "Null object handle\n"));
  162. return (AE_OK);
  163. }
  164. this_node = acpi_ns_map_handle_to_node (obj_handle);
  165. type = this_node->type;
  166. /* Check if the owner matches */
  167. if ((info->owner_id != ACPI_UINT32_MAX) &&
  168. (info->owner_id != this_node->owner_id)) {
  169. return (AE_OK);
  170. }
  171. /* Indent the object according to the level */
  172. acpi_os_printf ("%2d%*s", (u32) level - 1, (int) level * 2, " ");
  173. /* Check the node type and name */
  174. if (type > ACPI_TYPE_LOCAL_MAX) {
  175. ACPI_REPORT_WARNING (("Invalid ACPI Type %08X\n", type));
  176. }
  177. if (!acpi_ut_valid_acpi_name (this_node->name.integer)) {
  178. ACPI_REPORT_WARNING (("Invalid ACPI Name %08X\n",
  179. this_node->name.integer));
  180. }
  181. /*
  182. * Now we can print out the pertinent information
  183. */
  184. acpi_os_printf ("%4.4s %-12s %p ",
  185. acpi_ut_get_node_name (this_node), acpi_ut_get_type_name (type), this_node);
  186. dbg_level = acpi_dbg_level;
  187. acpi_dbg_level = 0;
  188. obj_desc = acpi_ns_get_attached_object (this_node);
  189. acpi_dbg_level = dbg_level;
  190. switch (info->display_type) {
  191. case ACPI_DISPLAY_SUMMARY:
  192. if (!obj_desc) {
  193. /* No attached object, we are done */
  194. acpi_os_printf ("\n");
  195. return (AE_OK);
  196. }
  197. switch (type) {
  198. case ACPI_TYPE_PROCESSOR:
  199. acpi_os_printf ("ID %X Len %.4X Addr %p\n",
  200. obj_desc->processor.proc_id, obj_desc->processor.length,
  201. (char *) obj_desc->processor.address);
  202. break;
  203. case ACPI_TYPE_DEVICE:
  204. acpi_os_printf ("Notify Object: %p\n", obj_desc);
  205. break;
  206. case ACPI_TYPE_METHOD:
  207. acpi_os_printf ("Args %X Len %.4X Aml %p\n",
  208. (u32) obj_desc->method.param_count,
  209. obj_desc->method.aml_length, obj_desc->method.aml_start);
  210. break;
  211. case ACPI_TYPE_INTEGER:
  212. acpi_os_printf ("= %8.8X%8.8X\n",
  213. ACPI_FORMAT_UINT64 (obj_desc->integer.value));
  214. break;
  215. case ACPI_TYPE_PACKAGE:
  216. if (obj_desc->common.flags & AOPOBJ_DATA_VALID) {
  217. acpi_os_printf ("Elements %.2X\n",
  218. obj_desc->package.count);
  219. }
  220. else {
  221. acpi_os_printf ("[Length not yet evaluated]\n");
  222. }
  223. break;
  224. case ACPI_TYPE_BUFFER:
  225. if (obj_desc->common.flags & AOPOBJ_DATA_VALID) {
  226. acpi_os_printf ("Len %.2X",
  227. obj_desc->buffer.length);
  228. /* Dump some of the buffer */
  229. if (obj_desc->buffer.length > 0) {
  230. acpi_os_printf (" =");
  231. for (i = 0; (i < obj_desc->buffer.length && i < 12); i++) {
  232. acpi_os_printf (" %.2hX", obj_desc->buffer.pointer[i]);
  233. }
  234. }
  235. acpi_os_printf ("\n");
  236. }
  237. else {
  238. acpi_os_printf ("[Length not yet evaluated]\n");
  239. }
  240. break;
  241. case ACPI_TYPE_STRING:
  242. acpi_os_printf ("Len %.2X ", obj_desc->string.length);
  243. acpi_ut_print_string (obj_desc->string.pointer, 32);
  244. acpi_os_printf ("\n");
  245. break;
  246. case ACPI_TYPE_REGION:
  247. acpi_os_printf ("[%s]",
  248. acpi_ut_get_region_name (obj_desc->region.space_id));
  249. if (obj_desc->region.flags & AOPOBJ_DATA_VALID) {
  250. acpi_os_printf (" Addr %8.8X%8.8X Len %.4X\n",
  251. ACPI_FORMAT_UINT64 (obj_desc->region.address),
  252. obj_desc->region.length);
  253. }
  254. else {
  255. acpi_os_printf (" [Address/Length not yet evaluated]\n");
  256. }
  257. break;
  258. case ACPI_TYPE_LOCAL_REFERENCE:
  259. acpi_os_printf ("[%s]\n",
  260. acpi_ps_get_opcode_name (obj_desc->reference.opcode));
  261. break;
  262. case ACPI_TYPE_BUFFER_FIELD:
  263. if (obj_desc->buffer_field.buffer_obj &&
  264. obj_desc->buffer_field.buffer_obj->buffer.node) {
  265. acpi_os_printf ("Buf [%4.4s]",
  266. acpi_ut_get_node_name (obj_desc->buffer_field.buffer_obj->buffer.node));
  267. }
  268. break;
  269. case ACPI_TYPE_LOCAL_REGION_FIELD:
  270. acpi_os_printf ("Rgn [%4.4s]",
  271. acpi_ut_get_node_name (obj_desc->common_field.region_obj->region.node));
  272. break;
  273. case ACPI_TYPE_LOCAL_BANK_FIELD:
  274. acpi_os_printf ("Rgn [%4.4s] Bnk [%4.4s]",
  275. acpi_ut_get_node_name (obj_desc->common_field.region_obj->region.node),
  276. acpi_ut_get_node_name (obj_desc->bank_field.bank_obj->common_field.node));
  277. break;
  278. case ACPI_TYPE_LOCAL_INDEX_FIELD:
  279. acpi_os_printf ("Idx [%4.4s] Dat [%4.4s]",
  280. acpi_ut_get_node_name (obj_desc->index_field.index_obj->common_field.node),
  281. acpi_ut_get_node_name (obj_desc->index_field.data_obj->common_field.node));
  282. break;
  283. case ACPI_TYPE_LOCAL_ALIAS:
  284. case ACPI_TYPE_LOCAL_METHOD_ALIAS:
  285. acpi_os_printf ("Target %4.4s (%p)\n",
  286. acpi_ut_get_node_name (obj_desc), obj_desc);
  287. break;
  288. default:
  289. acpi_os_printf ("Object %p\n", obj_desc);
  290. break;
  291. }
  292. /* Common field handling */
  293. switch (type) {
  294. case ACPI_TYPE_BUFFER_FIELD:
  295. case ACPI_TYPE_LOCAL_REGION_FIELD:
  296. case ACPI_TYPE_LOCAL_BANK_FIELD:
  297. case ACPI_TYPE_LOCAL_INDEX_FIELD:
  298. acpi_os_printf (" Off %.3X Len %.2X Acc %.2hd\n",
  299. (obj_desc->common_field.base_byte_offset * 8)
  300. + obj_desc->common_field.start_field_bit_offset,
  301. obj_desc->common_field.bit_length,
  302. obj_desc->common_field.access_byte_width);
  303. break;
  304. default:
  305. break;
  306. }
  307. break;
  308. case ACPI_DISPLAY_OBJECTS:
  309. acpi_os_printf ("O:%p", obj_desc);
  310. if (!obj_desc) {
  311. /* No attached object, we are done */
  312. acpi_os_printf ("\n");
  313. return (AE_OK);
  314. }
  315. acpi_os_printf ("(R%d)", obj_desc->common.reference_count);
  316. switch (type) {
  317. case ACPI_TYPE_METHOD:
  318. /* Name is a Method and its AML offset/length are set */
  319. acpi_os_printf (" M:%p-%X\n", obj_desc->method.aml_start,
  320. obj_desc->method.aml_length);
  321. break;
  322. case ACPI_TYPE_INTEGER:
  323. acpi_os_printf (" I:%8.8X8.8%X\n",
  324. ACPI_FORMAT_UINT64 (obj_desc->integer.value));
  325. break;
  326. case ACPI_TYPE_STRING:
  327. acpi_os_printf (" S:%p-%X\n", obj_desc->string.pointer,
  328. obj_desc->string.length);
  329. break;
  330. case ACPI_TYPE_BUFFER:
  331. acpi_os_printf (" B:%p-%X\n", obj_desc->buffer.pointer,
  332. obj_desc->buffer.length);
  333. break;
  334. default:
  335. acpi_os_printf ("\n");
  336. break;
  337. }
  338. break;
  339. default:
  340. acpi_os_printf ("\n");
  341. break;
  342. }
  343. /* If debug turned off, done */
  344. if (!(acpi_dbg_level & ACPI_LV_VALUES)) {
  345. return (AE_OK);
  346. }
  347. /* If there is an attached object, display it */
  348. dbg_level = acpi_dbg_level;
  349. acpi_dbg_level = 0;
  350. obj_desc = acpi_ns_get_attached_object (this_node);
  351. acpi_dbg_level = dbg_level;
  352. /* Dump attached objects */
  353. while (obj_desc) {
  354. obj_type = ACPI_TYPE_INVALID;
  355. acpi_os_printf (" Attached Object %p: ", obj_desc);
  356. /* Decode the type of attached object and dump the contents */
  357. switch (ACPI_GET_DESCRIPTOR_TYPE (obj_desc)) {
  358. case ACPI_DESC_TYPE_NAMED:
  359. acpi_os_printf ("(Ptr to Node)\n");
  360. bytes_to_dump = sizeof (struct acpi_namespace_node);
  361. break;
  362. case ACPI_DESC_TYPE_OPERAND:
  363. obj_type = ACPI_GET_OBJECT_TYPE (obj_desc);
  364. if (obj_type > ACPI_TYPE_LOCAL_MAX) {
  365. acpi_os_printf ("(Ptr to ACPI Object type %X [UNKNOWN])\n",
  366. obj_type);
  367. bytes_to_dump = 32;
  368. }
  369. else {
  370. acpi_os_printf ("(Ptr to ACPI Object type %s, %X)\n",
  371. acpi_ut_get_type_name (obj_type), obj_type);
  372. bytes_to_dump = sizeof (union acpi_operand_object);
  373. }
  374. break;
  375. default:
  376. acpi_os_printf (
  377. "(String or Buffer ptr - not an object descriptor) [%s]\n",
  378. acpi_ut_get_descriptor_name (obj_desc));
  379. bytes_to_dump = 16;
  380. break;
  381. }
  382. ACPI_DUMP_BUFFER (obj_desc, bytes_to_dump);
  383. /* If value is NOT an internal object, we are done */
  384. if (ACPI_GET_DESCRIPTOR_TYPE (obj_desc) != ACPI_DESC_TYPE_OPERAND) {
  385. goto cleanup;
  386. }
  387. /*
  388. * Valid object, get the pointer to next level, if any
  389. */
  390. switch (obj_type) {
  391. case ACPI_TYPE_STRING:
  392. obj_desc = (void *) obj_desc->string.pointer;
  393. break;
  394. case ACPI_TYPE_BUFFER:
  395. obj_desc = (void *) obj_desc->buffer.pointer;
  396. break;
  397. case ACPI_TYPE_BUFFER_FIELD:
  398. obj_desc = (union acpi_operand_object *) obj_desc->buffer_field.buffer_obj;
  399. break;
  400. case ACPI_TYPE_PACKAGE:
  401. obj_desc = (void *) obj_desc->package.elements;
  402. break;
  403. case ACPI_TYPE_METHOD:
  404. obj_desc = (void *) obj_desc->method.aml_start;
  405. break;
  406. case ACPI_TYPE_LOCAL_REGION_FIELD:
  407. obj_desc = (void *) obj_desc->field.region_obj;
  408. break;
  409. case ACPI_TYPE_LOCAL_BANK_FIELD:
  410. obj_desc = (void *) obj_desc->bank_field.region_obj;
  411. break;
  412. case ACPI_TYPE_LOCAL_INDEX_FIELD:
  413. obj_desc = (void *) obj_desc->index_field.index_obj;
  414. break;
  415. default:
  416. goto cleanup;
  417. }
  418. obj_type = ACPI_TYPE_INVALID; /* Terminate loop after next pass */
  419. }
  420. cleanup:
  421. acpi_os_printf ("\n");
  422. return (AE_OK);
  423. }
  424. #ifdef ACPI_FUTURE_USAGE
  425. /*******************************************************************************
  426. *
  427. * FUNCTION: acpi_ns_dump_objects
  428. *
  429. * PARAMETERS: Type - Object type to be dumped
  430. * display_type - 0 or ACPI_DISPLAY_SUMMARY
  431. * max_depth - Maximum depth of dump. Use ACPI_UINT32_MAX
  432. * for an effectively unlimited depth.
  433. * owner_id - Dump only objects owned by this ID. Use
  434. * ACPI_UINT32_MAX to match all owners.
  435. * start_handle - Where in namespace to start/end search
  436. *
  437. * RETURN: None
  438. *
  439. * DESCRIPTION: Dump typed objects within the loaded namespace.
  440. * Uses acpi_ns_walk_namespace in conjunction with acpi_ns_dump_one_object.
  441. *
  442. ******************************************************************************/
  443. void
  444. acpi_ns_dump_objects (
  445. acpi_object_type type,
  446. u8 display_type,
  447. u32 max_depth,
  448. u32 owner_id,
  449. acpi_handle start_handle)
  450. {
  451. struct acpi_walk_info info;
  452. ACPI_FUNCTION_ENTRY ();
  453. info.debug_level = ACPI_LV_TABLES;
  454. info.owner_id = owner_id;
  455. info.display_type = display_type;
  456. (void) acpi_ns_walk_namespace (type, start_handle, max_depth,
  457. ACPI_NS_WALK_NO_UNLOCK, acpi_ns_dump_one_object,
  458. (void *) &info, NULL);
  459. }
  460. #endif /* ACPI_FUTURE_USAGE */
  461. /*******************************************************************************
  462. *
  463. * FUNCTION: acpi_ns_dump_entry
  464. *
  465. * PARAMETERS: Handle - Node to be dumped
  466. * debug_level - Output level
  467. *
  468. * RETURN: None
  469. *
  470. * DESCRIPTION: Dump a single Node
  471. *
  472. ******************************************************************************/
  473. void
  474. acpi_ns_dump_entry (
  475. acpi_handle handle,
  476. u32 debug_level)
  477. {
  478. struct acpi_walk_info info;
  479. ACPI_FUNCTION_ENTRY ();
  480. info.debug_level = debug_level;
  481. info.owner_id = ACPI_UINT32_MAX;
  482. info.display_type = ACPI_DISPLAY_SUMMARY;
  483. (void) acpi_ns_dump_one_object (handle, 1, &info, NULL);
  484. }
  485. #ifdef _ACPI_ASL_COMPILER
  486. /*******************************************************************************
  487. *
  488. * FUNCTION: acpi_ns_dump_tables
  489. *
  490. * PARAMETERS: search_base - Root of subtree to be dumped, or
  491. * NS_ALL to dump the entire namespace
  492. * max_depth - Maximum depth of dump. Use INT_MAX
  493. * for an effectively unlimited depth.
  494. *
  495. * RETURN: None
  496. *
  497. * DESCRIPTION: Dump the name space, or a portion of it.
  498. *
  499. ******************************************************************************/
  500. void
  501. acpi_ns_dump_tables (
  502. acpi_handle search_base,
  503. u32 max_depth)
  504. {
  505. acpi_handle search_handle = search_base;
  506. ACPI_FUNCTION_TRACE ("ns_dump_tables");
  507. if (!acpi_gbl_root_node) {
  508. /*
  509. * If the name space has not been initialized,
  510. * there is nothing to dump.
  511. */
  512. ACPI_DEBUG_PRINT ((ACPI_DB_TABLES, "namespace not initialized!\n"));
  513. return_VOID;
  514. }
  515. if (ACPI_NS_ALL == search_base) {
  516. /* Entire namespace */
  517. search_handle = acpi_gbl_root_node;
  518. ACPI_DEBUG_PRINT ((ACPI_DB_TABLES, "\\\n"));
  519. }
  520. acpi_ns_dump_objects (ACPI_TYPE_ANY, ACPI_DISPLAY_OBJECTS, max_depth,
  521. ACPI_UINT32_MAX, search_handle);
  522. return_VOID;
  523. }
  524. #endif /* _ACPI_ASL_COMPILER */
  525. #endif /* defined(ACPI_DEBUG_OUTPUT) || defined(ACPI_DEBUGGER) */