mirror of
https://github.com/acpica/acpica/
synced 2025-01-18 07:29:20 +03:00
Added method params to interface to InitAmlWalk
date 2001.09.20.15.20.00; author rmoore1; state Exp;
This commit is contained in:
parent
8595e13f6a
commit
3cea169e2a
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Module Name: psxface - Parser external interfaces
|
||||
* $Revision: 1.50 $
|
||||
* $Revision: 1.51 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -221,7 +221,7 @@ AcpiPsxExecute (
|
||||
}
|
||||
|
||||
Status = AcpiDsInitAmlWalk (WalkState, Op, MethodNode, ObjDesc->Method.AmlStart,
|
||||
ObjDesc->Method.AmlLength, 1);
|
||||
ObjDesc->Method.AmlLength, NULL, NULL, 1);
|
||||
if (ACPI_FAILURE (Status))
|
||||
{
|
||||
/* TBD: delete walk state */
|
||||
@ -263,23 +263,14 @@ AcpiPsxExecute (
|
||||
return_ACPI_STATUS (AE_NO_MEMORY);
|
||||
}
|
||||
|
||||
WalkState->Params = Params;
|
||||
WalkState->CallerReturnDesc = ReturnObjDesc;
|
||||
|
||||
Status = AcpiDsInitAmlWalk (WalkState, Op, MethodNode, ObjDesc->Method.AmlStart,
|
||||
ObjDesc->Method.AmlLength, 3);
|
||||
ObjDesc->Method.AmlLength, Params, ReturnObjDesc, 3);
|
||||
if (ACPI_FAILURE (Status))
|
||||
{
|
||||
/* TBD: delete walk state */
|
||||
return_ACPI_STATUS (Status);
|
||||
}
|
||||
|
||||
/* Init arguments if this is a control method */
|
||||
/* TBD: [Restructure] move to InitAmlWalk */
|
||||
|
||||
AcpiDsMethodDataInitArgs (Params, MTH_NUM_ARGS, WalkState);
|
||||
|
||||
|
||||
/*
|
||||
* The walk of the parse tree is where we actually execute the method
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user