diff options
author | msmith <msmith@FreeBSD.org> | 2001-05-29 19:52:40 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 2001-05-29 19:52:40 +0000 |
commit | 96a626e3c30fd1a1c51f65324efe1eef0da987c8 (patch) | |
tree | 613098a56e447c6040b8a859eee253beaf749bc0 /sys/contrib/dev/acpica/exxface.c | |
parent | 7bec4652bbd74dbd86d79e3f9c52cf70f6fa1fcd (diff) | |
parent | bc4d4229dc8150c1877e8673fb6be5be18487b6d (diff) | |
download | FreeBSD-src-96a626e3c30fd1a1c51f65324efe1eef0da987c8.zip FreeBSD-src-96a626e3c30fd1a1c51f65324efe1eef0da987c8.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r77424,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'sys/contrib/dev/acpica/exxface.c')
-rw-r--r-- | sys/contrib/dev/acpica/exxface.c | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/sys/contrib/dev/acpica/exxface.c b/sys/contrib/dev/acpica/exxface.c index 960677e..d34c460 100644 --- a/sys/contrib/dev/acpica/exxface.c +++ b/sys/contrib/dev/acpica/exxface.c @@ -1,8 +1,8 @@ /****************************************************************************** * - * Module Name: amxface - External interpreter interfaces - * $Revision: 24 $ + * Module Name: exxface - External interpreter interfaces + * $Revision: 27 $ * *****************************************************************************/ @@ -115,14 +115,14 @@ * *****************************************************************************/ -#define __AMXFACE_C__ +#define __EXXFACE_C__ #include "acpi.h" #include "acinterp.h" -#define _COMPONENT INTERPRETER - MODULE_NAME ("amxface") +#define _COMPONENT ACPI_EXECUTER + MODULE_NAME ("exxface") /* @@ -147,7 +147,7 @@ /******************************************************************************* * - * FUNCTION: AcpiAmlExecuteMethod + * FUNCTION: AcpiExExecuteMethod * * PARAMETERS: Pcode - Pointer to the pcode stream * PcodeLength - Length of pcode that comprises the method @@ -162,7 +162,7 @@ ******************************************************************************/ ACPI_STATUS -AcpiAmlExecuteMethod ( +AcpiExExecuteMethod ( ACPI_NAMESPACE_NODE *MethodNode, ACPI_OPERAND_OBJECT **Params, ACPI_OPERAND_OBJECT **ReturnObjDesc) @@ -170,7 +170,7 @@ AcpiAmlExecuteMethod ( ACPI_STATUS Status; - FUNCTION_TRACE ("AmlExecuteMethod"); + FUNCTION_TRACE ("ExExecuteMethod"); /* @@ -178,11 +178,15 @@ AcpiAmlExecuteMethod ( * level execute. */ - AcpiAmlEnterInterpreter (); + Status = AcpiExEnterInterpreter (); + if (ACPI_FAILURE (Status)) + { + return_ACPI_STATUS (Status); + } Status = AcpiPsxExecute (MethodNode, Params, ReturnObjDesc); - AcpiAmlExitInterpreter (); + AcpiExExitInterpreter (); return_ACPI_STATUS (Status); } |