Deployed UtGetDescriptorName for better debug output

date	2003.10.22.20.51.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 17:48:43 +00:00
parent aa8f167f42
commit 5ef5cc1355
2 changed files with 9 additions and 5 deletions

View File

@ -2,7 +2,7 @@
/******************************************************************************
*
* Module Name: exresolv - AML Interpreter object resolution
* $Revision: 1.120 $
* $Revision: 1.121 $
*
*****************************************************************************/
@ -437,6 +437,8 @@ AcpiExResolveMultiple (
if (ACPI_GET_DESCRIPTOR_TYPE (Node) != ACPI_DESC_TYPE_NAMED)
{
ACPI_REPORT_ERROR (("AcpiExResolveMultiple: Not a NS node %p [%s]\n",
Node, AcpiUtGetDescriptorName (Node)));
return_ACPI_STATUS (AE_AML_INTERNAL);
}
@ -491,7 +493,9 @@ AcpiExResolveMultiple (
if (ACPI_GET_DESCRIPTOR_TYPE (Node) != ACPI_DESC_TYPE_NAMED)
{
return_ACPI_STATUS (AE_AML_INTERNAL);
ACPI_REPORT_ERROR (("AcpiExResolveMultiple: Not a NS node %p [%s]\n",
Node, AcpiUtGetDescriptorName (Node)));
return_ACPI_STATUS (AE_AML_INTERNAL);
}
/* Get the attached object */

View File

@ -2,7 +2,7 @@
/******************************************************************************
*
* Module Name: exresop - AML Interpreter operand/object resolution
* $Revision: 1.64 $
* $Revision: 1.65 $
*
*****************************************************************************/
@ -334,8 +334,8 @@ AcpiExResolveOperands (
/* Invalid descriptor */
ACPI_DEBUG_PRINT ((ACPI_DB_ERROR,
"Bad descriptor type %X in Obj %p\n",
ACPI_GET_DESCRIPTOR_TYPE (ObjDesc), ObjDesc));
"Invalid descriptor %p [%s]\n",
ObjDesc, AcpiUtGetDescriptorName (ObjDesc)));
return_ACPI_STATUS (AE_AML_OPERAND_TYPE);
}