Module Name:    src
Committed By:   jruoho
Date:           Wed Jun 30 06:43:37 UTC 2010

Modified Files:
        src/sys/external/intel-public/acpica/dist/executer: exdebug.c

Log Message:
Silence debug messages related to the AML Debug() opcode. To enable it, only
set the AcpiGbl_EnableAmlDebugObject global. Previously this was enabled
also when ACPI_LV_DEBUG_OBJECT was set for AcpiDbgLevel, but this was too
noisy, even for ACPI_DEBUG kernels, when the AML makes heavy use of Debug().


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
    src/sys/external/intel-public/acpica/dist/executer/exdebug.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/external/intel-public/acpica/dist/executer/exdebug.c
diff -u src/sys/external/intel-public/acpica/dist/executer/exdebug.c:1.1.1.1 src/sys/external/intel-public/acpica/dist/executer/exdebug.c:1.2
--- src/sys/external/intel-public/acpica/dist/executer/exdebug.c:1.1.1.1	Sun Jun  6 18:17:10 2010
+++ src/sys/external/intel-public/acpica/dist/executer/exdebug.c	Wed Jun 30 06:43:37 2010
@@ -140,10 +140,9 @@
  *
  * This function is not compiled if ACPI_NO_ERROR_MESSAGES is set.
  *
- * This function is only enabled if AcpiGbl_EnableAmlDebugObject is set, or
- * if ACPI_LV_DEBUG_OBJECT is set in the AcpiDbgLevel. Thus, in the normal
- * operational case, stores to the debug object are ignored but can be easily
- * enabled if necessary.
+ * This function is only enabled if AcpiGbl_EnableAmlDebugObject is set.
+ * Thus, in the normal operational case, stores to the debug object are
+ * ignored but can be easily enabled if necessary.
  *
  ******************************************************************************/
 
@@ -159,10 +158,9 @@
     ACPI_FUNCTION_TRACE_PTR (ExDoDebugObject, SourceDesc);
 
 
-    /* Output must be enabled via the DebugObject global or the DbgLevel */
+    /* Output must be enabled via the DebugObject global */
 
-    if (!AcpiGbl_EnableAmlDebugObject &&
-        !(AcpiDbgLevel & ACPI_LV_DEBUG_OBJECT))
+    if (!AcpiGbl_EnableAmlDebugObject)
     {
         return_VOID;
     }

Reply via email to