summaryrefslogtreecommitdiff
path: root/source/components/parser/psparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/components/parser/psparse.c')
-rw-r--r--source/components/parser/psparse.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/source/components/parser/psparse.c b/source/components/parser/psparse.c
index 1a3a5345ccc59..854f054711f51 100644
--- a/source/components/parser/psparse.c
+++ b/source/components/parser/psparse.c
@@ -164,6 +164,7 @@
#include "acdispat.h"
#include "amlcode.h"
#include "acinterp.h"
+#include "acnamesp.h"
#define _COMPONENT ACPI_PARSER
ACPI_MODULE_NAME ("psparse")
@@ -664,8 +665,17 @@ AcpiPsParseAml (
/* Either the method parse or actual execution failed */
AcpiExExitInterpreter ();
- ACPI_ERROR_METHOD ("Method parse/execution failed",
- WalkState->MethodNode, NULL, Status);
+ if (Status == AE_ABORT_METHOD)
+ {
+ AcpiNsPrintNodePathname (
+ WalkState->MethodNode, "Method aborted:");
+ AcpiOsPrintf ("\n");
+ }
+ else
+ {
+ ACPI_ERROR_METHOD ("Method parse/execution failed",
+ WalkState->MethodNode, NULL, Status);
+ }
AcpiExEnterInterpreter ();
/* Check for possible multi-thread reentrancy problem */