nsdump.c 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701
  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_OWNER_ID_MAX) &&
  168. (info->owner_id != this_node->owner_id)) {
  169. return (AE_OK);
  170. }
  171. if (!(info->display_type & ACPI_DISPLAY_SHORT)) {
  172. /* Indent the object according to the level */
  173. acpi_os_printf ("%2d%*s", (u32) level - 1, (int) level * 2, " ");
  174. /* Check the node type and name */
  175. if (type > ACPI_TYPE_LOCAL_MAX) {
  176. ACPI_REPORT_WARNING (("Invalid ACPI Type %08X\n", type));
  177. }
  178. if (!acpi_ut_valid_acpi_name (this_node->name.integer)) {
  179. ACPI_REPORT_WARNING (("Invalid ACPI Name %08X\n",
  180. this_node->name.integer));
  181. }
  182. acpi_os_printf ("%4.4s", acpi_ut_get_node_name (this_node));
  183. }
  184. /*
  185. * Now we can print out the pertinent information
  186. */
  187. acpi_os_printf (" %-12s %p ",
  188. acpi_ut_get_type_name (type), this_node);
  189. dbg_level = acpi_dbg_level;
  190. acpi_dbg_level = 0;
  191. obj_desc = acpi_ns_get_attached_object (this_node);
  192. acpi_dbg_level = dbg_level;
  193. switch (info->display_type & ACPI_DISPLAY_MASK) {
  194. case ACPI_DISPLAY_SUMMARY:
  195. if (!obj_desc) {
  196. /* No attached object, we are done */
  197. acpi_os_printf ("\n");
  198. return (AE_OK);
  199. }
  200. switch (type) {
  201. case ACPI_TYPE_PROCESSOR:
  202. acpi_os_printf ("ID %X Len %.4X Addr %p\n",
  203. obj_desc->processor.proc_id, obj_desc->processor.length,
  204. (char *) obj_desc->processor.address);
  205. break;
  206. case ACPI_TYPE_DEVICE:
  207. acpi_os_printf ("Notify Object: %p\n", obj_desc);
  208. break;
  209. case ACPI_TYPE_METHOD:
  210. acpi_os_printf ("Args %X Len %.4X Aml %p\n",
  211. (u32) obj_desc->method.param_count,
  212. obj_desc->method.aml_length, obj_desc->method.aml_start);
  213. break;
  214. case ACPI_TYPE_INTEGER:
  215. acpi_os_printf ("= %8.8X%8.8X\n",
  216. ACPI_FORMAT_UINT64 (obj_desc->integer.value));
  217. break;
  218. case ACPI_TYPE_PACKAGE:
  219. if (obj_desc->common.flags & AOPOBJ_DATA_VALID) {
  220. acpi_os_printf ("Elements %.2X\n",
  221. obj_desc->package.count);
  222. }
  223. else {
  224. acpi_os_printf ("[Length not yet evaluated]\n");
  225. }
  226. break;
  227. case ACPI_TYPE_BUFFER:
  228. if (obj_desc->common.flags & AOPOBJ_DATA_VALID) {
  229. acpi_os_printf ("Len %.2X",
  230. obj_desc->buffer.length);
  231. /* Dump some of the buffer */
  232. if (obj_desc->buffer.length > 0) {
  233. acpi_os_printf (" =");
  234. for (i = 0; (i < obj_desc->buffer.length && i < 12); i++) {
  235. acpi_os_printf (" %.2hX", obj_desc->buffer.pointer[i]);
  236. }
  237. }
  238. acpi_os_printf ("\n");
  239. }
  240. else {
  241. acpi_os_printf ("[Length not yet evaluated]\n");
  242. }
  243. break;
  244. case ACPI_TYPE_STRING:
  245. acpi_os_printf ("Len %.2X ", obj_desc->string.length);
  246. acpi_ut_print_string (obj_desc->string.pointer, 32);
  247. acpi_os_printf ("\n");
  248. break;
  249. case ACPI_TYPE_REGION:
  250. acpi_os_printf ("[%s]",
  251. acpi_ut_get_region_name (obj_desc->region.space_id));
  252. if (obj_desc->region.flags & AOPOBJ_DATA_VALID) {
  253. acpi_os_printf (" Addr %8.8X%8.8X Len %.4X\n",
  254. ACPI_FORMAT_UINT64 (obj_desc->region.address),
  255. obj_desc->region.length);
  256. }
  257. else {
  258. acpi_os_printf (" [Address/Length not yet evaluated]\n");
  259. }
  260. break;
  261. case ACPI_TYPE_LOCAL_REFERENCE:
  262. acpi_os_printf ("[%s]\n",
  263. acpi_ps_get_opcode_name (obj_desc->reference.opcode));
  264. break;
  265. case ACPI_TYPE_BUFFER_FIELD:
  266. if (obj_desc->buffer_field.buffer_obj &&
  267. obj_desc->buffer_field.buffer_obj->buffer.node) {
  268. acpi_os_printf ("Buf [%4.4s]",
  269. acpi_ut_get_node_name (obj_desc->buffer_field.buffer_obj->buffer.node));
  270. }
  271. break;
  272. case ACPI_TYPE_LOCAL_REGION_FIELD:
  273. acpi_os_printf ("Rgn [%4.4s]",
  274. acpi_ut_get_node_name (obj_desc->common_field.region_obj->region.node));
  275. break;
  276. case ACPI_TYPE_LOCAL_BANK_FIELD:
  277. acpi_os_printf ("Rgn [%4.4s] Bnk [%4.4s]",
  278. acpi_ut_get_node_name (obj_desc->common_field.region_obj->region.node),
  279. acpi_ut_get_node_name (obj_desc->bank_field.bank_obj->common_field.node));
  280. break;
  281. case ACPI_TYPE_LOCAL_INDEX_FIELD:
  282. acpi_os_printf ("Idx [%4.4s] Dat [%4.4s]",
  283. acpi_ut_get_node_name (obj_desc->index_field.index_obj->common_field.node),
  284. acpi_ut_get_node_name (obj_desc->index_field.data_obj->common_field.node));
  285. break;
  286. case ACPI_TYPE_LOCAL_ALIAS:
  287. case ACPI_TYPE_LOCAL_METHOD_ALIAS:
  288. acpi_os_printf ("Target %4.4s (%p)\n",
  289. acpi_ut_get_node_name (obj_desc), obj_desc);
  290. break;
  291. default:
  292. acpi_os_printf ("Object %p\n", obj_desc);
  293. break;
  294. }
  295. /* Common field handling */
  296. switch (type) {
  297. case ACPI_TYPE_BUFFER_FIELD:
  298. case ACPI_TYPE_LOCAL_REGION_FIELD:
  299. case ACPI_TYPE_LOCAL_BANK_FIELD:
  300. case ACPI_TYPE_LOCAL_INDEX_FIELD:
  301. acpi_os_printf (" Off %.3X Len %.2X Acc %.2hd\n",
  302. (obj_desc->common_field.base_byte_offset * 8)
  303. + obj_desc->common_field.start_field_bit_offset,
  304. obj_desc->common_field.bit_length,
  305. obj_desc->common_field.access_byte_width);
  306. break;
  307. default:
  308. break;
  309. }
  310. break;
  311. case ACPI_DISPLAY_OBJECTS:
  312. acpi_os_printf ("O:%p", obj_desc);
  313. if (!obj_desc) {
  314. /* No attached object, we are done */
  315. acpi_os_printf ("\n");
  316. return (AE_OK);
  317. }
  318. acpi_os_printf ("(R%d)", obj_desc->common.reference_count);
  319. switch (type) {
  320. case ACPI_TYPE_METHOD:
  321. /* Name is a Method and its AML offset/length are set */
  322. acpi_os_printf (" M:%p-%X\n", obj_desc->method.aml_start,
  323. obj_desc->method.aml_length);
  324. break;
  325. case ACPI_TYPE_INTEGER:
  326. acpi_os_printf (" I:%8.8X8.8%X\n",
  327. ACPI_FORMAT_UINT64 (obj_desc->integer.value));
  328. break;
  329. case ACPI_TYPE_STRING:
  330. acpi_os_printf (" S:%p-%X\n", obj_desc->string.pointer,
  331. obj_desc->string.length);
  332. break;
  333. case ACPI_TYPE_BUFFER:
  334. acpi_os_printf (" B:%p-%X\n", obj_desc->buffer.pointer,
  335. obj_desc->buffer.length);
  336. break;
  337. default:
  338. acpi_os_printf ("\n");
  339. break;
  340. }
  341. break;
  342. default:
  343. acpi_os_printf ("\n");
  344. break;
  345. }
  346. /* If debug turned off, done */
  347. if (!(acpi_dbg_level & ACPI_LV_VALUES)) {
  348. return (AE_OK);
  349. }
  350. /* If there is an attached object, display it */
  351. dbg_level = acpi_dbg_level;
  352. acpi_dbg_level = 0;
  353. obj_desc = acpi_ns_get_attached_object (this_node);
  354. acpi_dbg_level = dbg_level;
  355. /* Dump attached objects */
  356. while (obj_desc) {
  357. obj_type = ACPI_TYPE_INVALID;
  358. acpi_os_printf ("Attached Object %p: ", obj_desc);
  359. /* Decode the type of attached object and dump the contents */
  360. switch (ACPI_GET_DESCRIPTOR_TYPE (obj_desc)) {
  361. case ACPI_DESC_TYPE_NAMED:
  362. acpi_os_printf ("(Ptr to Node)\n");
  363. bytes_to_dump = sizeof (struct acpi_namespace_node);
  364. ACPI_DUMP_BUFFER (obj_desc, bytes_to_dump);
  365. break;
  366. case ACPI_DESC_TYPE_OPERAND:
  367. obj_type = ACPI_GET_OBJECT_TYPE (obj_desc);
  368. if (obj_type > ACPI_TYPE_LOCAL_MAX) {
  369. acpi_os_printf ("(Ptr to ACPI Object type %X [UNKNOWN])\n",
  370. obj_type);
  371. bytes_to_dump = 32;
  372. }
  373. else {
  374. acpi_os_printf ("(Ptr to ACPI Object type %X [%s])\n",
  375. obj_type, acpi_ut_get_type_name (obj_type));
  376. bytes_to_dump = sizeof (union acpi_operand_object);
  377. }
  378. ACPI_DUMP_BUFFER (obj_desc, bytes_to_dump);
  379. break;
  380. default:
  381. break;
  382. }
  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_BUFFER:
  392. case ACPI_TYPE_STRING:
  393. /*
  394. * NOTE: takes advantage of common fields between string/buffer
  395. */
  396. bytes_to_dump = obj_desc->string.length;
  397. obj_desc = (void *) obj_desc->string.pointer;
  398. acpi_os_printf ( "(Buffer/String pointer %p length %X)\n",
  399. obj_desc, bytes_to_dump);
  400. ACPI_DUMP_BUFFER (obj_desc, bytes_to_dump);
  401. goto cleanup;
  402. case ACPI_TYPE_BUFFER_FIELD:
  403. obj_desc = (union acpi_operand_object *) obj_desc->buffer_field.buffer_obj;
  404. break;
  405. case ACPI_TYPE_PACKAGE:
  406. obj_desc = (void *) obj_desc->package.elements;
  407. break;
  408. case ACPI_TYPE_METHOD:
  409. obj_desc = (void *) obj_desc->method.aml_start;
  410. break;
  411. case ACPI_TYPE_LOCAL_REGION_FIELD:
  412. obj_desc = (void *) obj_desc->field.region_obj;
  413. break;
  414. case ACPI_TYPE_LOCAL_BANK_FIELD:
  415. obj_desc = (void *) obj_desc->bank_field.region_obj;
  416. break;
  417. case ACPI_TYPE_LOCAL_INDEX_FIELD:
  418. obj_desc = (void *) obj_desc->index_field.index_obj;
  419. break;
  420. default:
  421. goto cleanup;
  422. }
  423. obj_type = ACPI_TYPE_INVALID; /* Terminate loop after next pass */
  424. }
  425. cleanup:
  426. acpi_os_printf ("\n");
  427. return (AE_OK);
  428. }
  429. #ifdef ACPI_FUTURE_USAGE
  430. /*******************************************************************************
  431. *
  432. * FUNCTION: acpi_ns_dump_objects
  433. *
  434. * PARAMETERS: Type - Object type to be dumped
  435. * display_type - 0 or ACPI_DISPLAY_SUMMARY
  436. * max_depth - Maximum depth of dump. Use ACPI_UINT32_MAX
  437. * for an effectively unlimited depth.
  438. * owner_id - Dump only objects owned by this ID. Use
  439. * ACPI_UINT32_MAX to match all owners.
  440. * start_handle - Where in namespace to start/end search
  441. *
  442. * RETURN: None
  443. *
  444. * DESCRIPTION: Dump typed objects within the loaded namespace.
  445. * Uses acpi_ns_walk_namespace in conjunction with acpi_ns_dump_one_object.
  446. *
  447. ******************************************************************************/
  448. void
  449. acpi_ns_dump_objects (
  450. acpi_object_type type,
  451. u8 display_type,
  452. u32 max_depth,
  453. acpi_owner_id owner_id,
  454. acpi_handle start_handle)
  455. {
  456. struct acpi_walk_info info;
  457. ACPI_FUNCTION_ENTRY ();
  458. info.debug_level = ACPI_LV_TABLES;
  459. info.owner_id = owner_id;
  460. info.display_type = display_type;
  461. (void) acpi_ns_walk_namespace (type, start_handle, max_depth,
  462. ACPI_NS_WALK_NO_UNLOCK, acpi_ns_dump_one_object,
  463. (void *) &info, NULL);
  464. }
  465. #endif /* ACPI_FUTURE_USAGE */
  466. /*******************************************************************************
  467. *
  468. * FUNCTION: acpi_ns_dump_entry
  469. *
  470. * PARAMETERS: Handle - Node to be dumped
  471. * debug_level - Output level
  472. *
  473. * RETURN: None
  474. *
  475. * DESCRIPTION: Dump a single Node
  476. *
  477. ******************************************************************************/
  478. void
  479. acpi_ns_dump_entry (
  480. acpi_handle handle,
  481. u32 debug_level)
  482. {
  483. struct acpi_walk_info info;
  484. ACPI_FUNCTION_ENTRY ();
  485. info.debug_level = debug_level;
  486. info.owner_id = ACPI_OWNER_ID_MAX;
  487. info.display_type = ACPI_DISPLAY_SUMMARY;
  488. (void) acpi_ns_dump_one_object (handle, 1, &info, NULL);
  489. }
  490. #ifdef ACPI_ASL_COMPILER
  491. /*******************************************************************************
  492. *
  493. * FUNCTION: acpi_ns_dump_tables
  494. *
  495. * PARAMETERS: search_base - Root of subtree to be dumped, or
  496. * NS_ALL to dump the entire namespace
  497. * max_depth - Maximum depth of dump. Use INT_MAX
  498. * for an effectively unlimited depth.
  499. *
  500. * RETURN: None
  501. *
  502. * DESCRIPTION: Dump the name space, or a portion of it.
  503. *
  504. ******************************************************************************/
  505. void
  506. acpi_ns_dump_tables (
  507. acpi_handle search_base,
  508. u32 max_depth)
  509. {
  510. acpi_handle search_handle = search_base;
  511. ACPI_FUNCTION_TRACE ("ns_dump_tables");
  512. if (!acpi_gbl_root_node) {
  513. /*
  514. * If the name space has not been initialized,
  515. * there is nothing to dump.
  516. */
  517. ACPI_DEBUG_PRINT ((ACPI_DB_TABLES, "namespace not initialized!\n"));
  518. return_VOID;
  519. }
  520. if (ACPI_NS_ALL == search_base) {
  521. /* Entire namespace */
  522. search_handle = acpi_gbl_root_node;
  523. ACPI_DEBUG_PRINT ((ACPI_DB_TABLES, "\\\n"));
  524. }
  525. acpi_ns_dump_objects (ACPI_TYPE_ANY, ACPI_DISPLAY_OBJECTS, max_depth,
  526. ACPI_OWNER_ID_MAX, search_handle);
  527. return_VOID;
  528. }
  529. #endif /* _ACPI_ASL_COMPILER */
  530. #endif /* defined(ACPI_DEBUG_OUTPUT) || defined(ACPI_DEBUGGER) */