summaryrefslogtreecommitdiffstats
path: root/include/acpi/acoutput.h
diff options
context:
space:
mode:
authorLin Ming <ming.m.lin@intel.com>2010-03-03 16:28:28 +0800
committerLen Brown <len.brown@intel.com>2010-04-20 10:42:49 -0400
commit4cdf1a562bfb5852954aadbe8515557b8acc8168 (patch)
tree0248629a274c751835622435b6aa49319da4308d /include/acpi/acoutput.h
parent01bf0b64579ead8a82e7cfc32ae44bc667e7ad0f (diff)
downloadblackbird-obmc-linux-4cdf1a562bfb5852954aadbe8515557b8acc8168.tar.gz
blackbird-obmc-linux-4cdf1a562bfb5852954aadbe8515557b8acc8168.zip
ACPICA: Enhance configuration for output of AML Debug Object
This change will enable debug object output via a global variable, acpi_gbl_enable_aml_debug_object. This will help with remote machine debugging. Also, moved all debug object support code to a new file, exdebug.c. Entire debug object module can now be configured out of the ACPICA build if desired. Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/acoutput.h')
-rw-r--r--include/acpi/acoutput.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/acpi/acoutput.h b/include/acpi/acoutput.h
index d7726685797e..5e952262d6ee 100644
--- a/include/acpi/acoutput.h
+++ b/include/acpi/acoutput.h
@@ -206,6 +206,7 @@
#define ACPI_WARNING(plist) acpi_warning plist
#define ACPI_EXCEPTION(plist) acpi_exception plist
#define ACPI_ERROR(plist) acpi_error plist
+#define ACPI_DEBUG_OBJECT(obj,l,i) acpi_ex_do_debug_object(obj,l,i)
#else
@@ -215,6 +216,7 @@
#define ACPI_WARNING(plist)
#define ACPI_EXCEPTION(plist)
#define ACPI_ERROR(plist)
+#define ACPI_DEBUG_OBJECT(obj,l,i)
#endif /* ACPI_NO_ERROR_MESSAGES */
OpenPOWER on IntegriCloud