* Found a named object declaration during method * execution;  we must enter this object into the * namespace.  The created object is temporary and * will be deleted upon completion of the execution * of this method.
* Found a named object declaration during method execution; * we must enter this object into the namespace.  The created * object is temporary and will be deleted upon completion of * the execution of this method.
acpi_ds_exec_begin_op (	struct acpi_walk_state          *walk_state,	union acpi_parse_object         **out_op){	union acpi_parse_object         *op;	acpi_status                     status = AE_OK;	u32                             opcode_class;	ACPI_FUNCTION_TRACE_PTR ("ds_exec_begin_op", walk_state);	op = walk_state->op;	if (!op) {		status = acpi_ds_load2_begin_op (walk_state, out_op);		if (ACPI_FAILURE (status)) {			return_ACPI_STATUS (status);		}		op = *out_op;		walk_state->op = op;		walk_state->opcode = op->common.aml_opcode;		walk_state->op_info = acpi_ps_get_opcode_info (op->common.aml_opcode);		if (acpi_ns_opens_scope (walk_state->op_info->object_type)) {			ACPI_DEBUG_PRINT ((ACPI_DB_DISPATCH, "(%s) Popping scope for Op %p\n",				acpi_ut_get_type_name (walk_state->op_info->object_type), op));			status = acpi_ds_scope_stack_pop (walk_state);			if (ACPI_FAILURE (status)) {				return_ACPI_STATUS (status);			}		}	}	if (op == walk_state->origin) {		if (out_op) {			*out_op = op;		}		return_ACPI_STATUS (AE_OK);	}	/*	 * If the previous opcode was a conditional, this opcode	 * must be the beginning of the associated predicate.	 * Save this knowledge in the current scope descriptor	 */	if ((walk_state->control_state) &&		(walk_state->control_state->common.state ==			ACPI_CONTROL_CONDITIONAL_EXECUTING)) {		ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, "Exec predicate Op=%p State=%p\n",				  op, walk_state));		walk_state->control_state->common.state = ACPI_CONTROL_PREDICATE_EXECUTING;		/* Save start of predicate */		walk_state->control_state->control.predicate_op = op;	}	opcode_class = walk_state->op_info->class;	/* We want to send namepaths to the load code */	if (op->common.aml_opcode == AML_INT_NAMEPATH_OP) {		opcode_class = AML_CLASS_NAMED_OBJECT;	}	/*	 * Handle the opcode based upon the opcode type	 */	switch (opcode_class) {	case AML_CLASS_CONTROL:		status = acpi_ds_result_stack_push (walk_state);		if (ACPI_FAILURE (status)) {			return_ACPI_STATUS (status);		}		status = acpi_ds_exec_begin_control_op (walk_state, op);		break;	case AML_CLASS_NAMED_OBJECT:		if (walk_state->walk_type == ACPI_WALK_METHOD) {			/*			 * Found a named object declaration during method			 * execution;  we must enter this object into the			 * namespace.  The created object is temporary and			 * will be deleted upon completion of the execution			 * of this method.			 */			status = acpi_ds_load2_begin_op (walk_state, NULL);		}		if (op->common.aml_opcode == AML_REGION_OP) {			status = acpi_ds_result_stack_push (walk_state);		}		break;	case AML_CLASS_EXECUTE:	case AML_CLASS_CREATE:		/*		 * Most operators with arguments.		 * Start a new result/operand state		 */		status = acpi_ds_result_stack_push (walk_state);		break;	default:		break;	}	/* Nothing to do here during method execution */	return_ACPI_STATUS (status);}