aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/dev/acpica/psxface.c
diff options
context:
space:
mode:
authorMike Smith <msmith@FreeBSD.org>2002-02-23 05:10:40 +0000
committerMike Smith <msmith@FreeBSD.org>2002-02-23 05:10:40 +0000
commit857591c3aa94b867ac5eeb751c13cdcc4c9f274f (patch)
treecb8c80a21a1f185481adc55c00d2affbdae36b0e /sys/contrib/dev/acpica/psxface.c
parentde87ee3adafa4328c3afe008b058052873f4e60d (diff)
downloadsrc-857591c3aa94b867ac5eeb751c13cdcc4c9f274f.tar.gz
src-857591c3aa94b867ac5eeb751c13cdcc4c9f274f.zip
Vendor import of the Intel ACPI CA 20020217 drop.
Notes
Notes: svn path=/vendor-sys/acpica/dist/; revision=91116
Diffstat (limited to 'sys/contrib/dev/acpica/psxface.c')
-rw-r--r--sys/contrib/dev/acpica/psxface.c28
1 files changed, 13 insertions, 15 deletions
diff --git a/sys/contrib/dev/acpica/psxface.c b/sys/contrib/dev/acpica/psxface.c
index 7ee0a8e37b8b..06d46d613163 100644
--- a/sys/contrib/dev/acpica/psxface.c
+++ b/sys/contrib/dev/acpica/psxface.c
@@ -1,7 +1,7 @@
/******************************************************************************
*
* Module Name: psxface - Parser external interfaces
- * $Revision: 56 $
+ * $Revision: 59 $
*
*****************************************************************************/
@@ -9,7 +9,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999, 2000, 2001, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2002, Intel Corp.
* All rights reserved.
*
* 2. License
@@ -125,7 +125,7 @@
#define _COMPONENT ACPI_PARSER
- MODULE_NAME ("psxface")
+ ACPI_MODULE_NAME ("psxface")
/*******************************************************************************
@@ -159,7 +159,7 @@ AcpiPsxExecute (
ACPI_WALK_STATE *WalkState;
- FUNCTION_TRACE ("PsxExecute");
+ ACPI_FUNCTION_TRACE ("PsxExecute");
/* Validate the Node and get the attached object */
@@ -211,9 +211,16 @@ AcpiPsxExecute (
return_ACPI_STATUS (AE_NO_MEMORY);
}
+ /*
+ * Get a new OwnerId for objects created by this method. Namespace
+ * objects (such as Operation Regions) can be created during the
+ * first pass parse.
+ */
+ ObjDesc->Method.OwningId = AcpiUtAllocateOwnerId (ACPI_OWNER_TYPE_METHOD);
+
/* Create and initialize a new walk state */
- WalkState = AcpiDsCreateWalkState (TABLE_ID_DSDT,
+ WalkState = AcpiDsCreateWalkState (ObjDesc->Method.OwningId,
NULL, NULL, NULL);
if (!WalkState)
{
@@ -287,15 +294,6 @@ AcpiPsxExecute (
}
}
- /* Now check status from the method execution */
-
- if (ACPI_FAILURE (Status))
- {
- REPORT_ERROR (("Method execution failed, %s\n", AcpiFormatException (Status)));
- DUMP_PATHNAME (MethodNode, "Method pathname: ",
- ACPI_LV_ERROR, _COMPONENT);
- }
-
/*
* If the method has returned an object, signal this to the caller with
* a control exception code
@@ -304,7 +302,7 @@ AcpiPsxExecute (
{
ACPI_DEBUG_PRINT ((ACPI_DB_INFO, "Method returned ObjDesc=%p\n",
*ReturnObjDesc));
- DUMP_STACK_ENTRY (*ReturnObjDesc);
+ ACPI_DUMP_STACK_ENTRY (*ReturnObjDesc);
Status = AE_CTRL_RETURN_VALUE;
}