diff --git a/source/components/parser/psxface.c b/source/components/parser/psxface.c index c9f1cb5d1..a0c569a27 100644 --- a/source/components/parser/psxface.c +++ b/source/components/parser/psxface.c @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: psxface - Parser external interfaces - * $Revision: 1.52 $ + * $Revision: 1.54 $ * *****************************************************************************/ @@ -220,7 +220,7 @@ AcpiPsxExecute ( return_ACPI_STATUS (AE_NO_MEMORY); } - Status = AcpiDsInitAmlWalk (WalkState, Op, MethodNode, ObjDesc->Method.AmlStart, + Status = AcpiDsInitAmlWalk (WalkState, Op, MethodNode, ObjDesc->Method.AmlStart, ObjDesc->Method.AmlLength, NULL, NULL, 1); if (ACPI_FAILURE (Status)) { @@ -263,7 +263,7 @@ AcpiPsxExecute ( return_ACPI_STATUS (AE_NO_MEMORY); } - Status = AcpiDsInitAmlWalk (WalkState, Op, MethodNode, ObjDesc->Method.AmlStart, + Status = AcpiDsInitAmlWalk (WalkState, Op, MethodNode, ObjDesc->Method.AmlStart, ObjDesc->Method.AmlLength, Params, ReturnObjDesc, 3); if (ACPI_FAILURE (Status)) { @@ -287,14 +287,15 @@ AcpiPsxExecute ( } } + /* Now check status from the method execution */ if (ACPI_FAILURE (Status)) { - DUMP_PATHNAME (MethodNode, "PsExecute: method failed -", + REPORT_ERROR (("Method execution failed, %s\n", AcpiFormatException (Status))); + DUMP_PATHNAME (MethodNode, "Method pathname and nodeq: ", ACPI_LV_ERROR, _COMPONENT); } - /* * If the method has returned an object, signal this to the caller with * a control exception code @@ -308,7 +309,6 @@ AcpiPsxExecute ( Status = AE_CTRL_RETURN_VALUE; } - return_ACPI_STATUS (Status); }