diff options
| author | Mike Smith <msmith@FreeBSD.org> | 2001-01-31 09:17:50 +0000 |
|---|---|---|
| committer | Mike Smith <msmith@FreeBSD.org> | 2001-01-31 09:17:50 +0000 |
| commit | 838fd87dd9b819087519e35200f1a995d83772b0 (patch) | |
| tree | 5ed7785feb928c9fe57c2d7175f89660521314a4 /sys/contrib/dev/acpica/psparse.c | |
| parent | 68466b467536ac87a2720c76b154664b014a9650 (diff) | |
Notes
Diffstat (limited to 'sys/contrib/dev/acpica/psparse.c')
| -rw-r--r-- | sys/contrib/dev/acpica/psparse.c | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/sys/contrib/dev/acpica/psparse.c b/sys/contrib/dev/acpica/psparse.c index e33df3f9931d..78443bc08818 100644 --- a/sys/contrib/dev/acpica/psparse.c +++ b/sys/contrib/dev/acpica/psparse.c @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: psparse - Parser top level AML parse routines - * $Revision: 71 $ + * $Revision: 74 $ * *****************************************************************************/ @@ -9,7 +9,7 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * Some or all of this work - Copyright (c) 1999, 2000, 2001, Intel Corp. * All rights reserved. * * 2. License @@ -658,13 +658,22 @@ AcpiPsParseLoop ( */ Status = AcpiDsGetPredicateValue (WalkState, NULL, TRUE); - if (Status == AE_AML_NO_OPERAND) + if (ACPI_FAILURE (Status) && + ((Status & AE_CODE_MASK) != AE_CODE_CONTROL)) { + if (Status == AE_AML_NO_RETURN_VALUE) + { + DEBUG_PRINT (ACPI_ERROR, + ("PsParseLoop: Invoked method did not return a value, %s\n", + AcpiCmFormatException (Status))); + + } DEBUG_PRINT (ACPI_ERROR, - ("PsParseLoop: Invoked method did not return a value, %s\n", + ("PsParseLoop: GetPredicate Failed, %s\n", AcpiCmFormatException (Status))); - + return_ACPI_STATUS (Status); } + Status = AcpiPsNextParseState (WalkState, Op, Status); } |
