mirror of
https://github.com/acpica/acpica/
synced 2025-01-18 15:39:18 +03:00
Exec during load not optional in this version
date 2005.05.26.20.50.00; author rmoore1; state Exp;
This commit is contained in:
parent
6725bb867d
commit
b6b4fcdfd6
@ -1,7 +1,7 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
*
|
*
|
||||||
* Module Name: dswload - Dispatcher namespace load callbacks
|
* Module Name: dswload - Dispatcher namespace load callbacks
|
||||||
* $Revision: 1.94 $
|
* $Revision: 1.95 $
|
||||||
*
|
*
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
@ -578,8 +578,7 @@ AcpiDsLoad2BeginOp (
|
|||||||
|
|
||||||
if (Op)
|
if (Op)
|
||||||
{
|
{
|
||||||
if ((AcpiGbl_EnableInterpreterSlack) &&
|
if ((WalkState->ControlState) &&
|
||||||
(WalkState->ControlState) &&
|
|
||||||
(WalkState->ControlState->Common.State ==
|
(WalkState->ControlState->Common.State ==
|
||||||
ACPI_CONTROL_CONDITIONAL_EXECUTING))
|
ACPI_CONTROL_CONDITIONAL_EXECUTING))
|
||||||
{
|
{
|
||||||
@ -598,23 +597,14 @@ AcpiDsLoad2BeginOp (
|
|||||||
if ((WalkState->OpInfo->Class == AML_CLASS_EXECUTE) ||
|
if ((WalkState->OpInfo->Class == AML_CLASS_EXECUTE) ||
|
||||||
(WalkState->OpInfo->Class == AML_CLASS_CONTROL))
|
(WalkState->OpInfo->Class == AML_CLASS_CONTROL))
|
||||||
{
|
{
|
||||||
if (!AcpiGbl_EnableInterpreterSlack)
|
ACPI_DEBUG_PRINT ((ACPI_DB_DISPATCH,
|
||||||
{
|
"Begin/EXEC: %s (fl %8.8X)\n", WalkState->OpInfo->Name,
|
||||||
ACPI_REPORT_WARNING ((
|
WalkState->OpInfo->Flags));
|
||||||
"Encountered executable code at module level, [%s]\n",
|
|
||||||
AcpiPsGetOpcodeName (WalkState->Opcode)));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
ACPI_DEBUG_PRINT ((ACPI_DB_DISPATCH,
|
|
||||||
"Begin/EXEC: %s (fl %8.8X)\n", WalkState->OpInfo->Name,
|
|
||||||
WalkState->OpInfo->Flags));
|
|
||||||
|
|
||||||
/* Executing a type1 or type2 opcode outside of a method */
|
/* Executing a type1 or type2 opcode outside of a method */
|
||||||
|
|
||||||
Status = AcpiDsExecBeginOp (WalkState, OutOp);
|
Status = AcpiDsExecBeginOp (WalkState, OutOp);
|
||||||
return_ACPI_STATUS (Status);
|
return_ACPI_STATUS (Status);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return_ACPI_STATUS (AE_OK);
|
return_ACPI_STATUS (AE_OK);
|
||||||
}
|
}
|
||||||
@ -876,17 +866,14 @@ AcpiDsLoad2EndOp (
|
|||||||
if ((WalkState->OpInfo->Class == AML_CLASS_EXECUTE) ||
|
if ((WalkState->OpInfo->Class == AML_CLASS_EXECUTE) ||
|
||||||
(WalkState->OpInfo->Class == AML_CLASS_CONTROL))
|
(WalkState->OpInfo->Class == AML_CLASS_CONTROL))
|
||||||
{
|
{
|
||||||
if (AcpiGbl_EnableInterpreterSlack)
|
ACPI_DEBUG_PRINT ((ACPI_DB_DISPATCH,
|
||||||
{
|
"End/EXEC: %s (fl %8.8X)\n", WalkState->OpInfo->Name,
|
||||||
ACPI_DEBUG_PRINT ((ACPI_DB_DISPATCH,
|
WalkState->OpInfo->Flags));
|
||||||
"End/EXEC: %s (fl %8.8X)\n", WalkState->OpInfo->Name,
|
|
||||||
WalkState->OpInfo->Flags));
|
|
||||||
|
|
||||||
/* Executing a type1 or type2 opcode outside of a method */
|
/* Executing a type1 or type2 opcode outside of a method */
|
||||||
|
|
||||||
Status = AcpiDsExecEndOp (WalkState);
|
Status = AcpiDsExecEndOp (WalkState);
|
||||||
return_ACPI_STATUS (Status);
|
return_ACPI_STATUS (Status);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
return_ACPI_STATUS (AE_OK);
|
return_ACPI_STATUS (AE_OK);
|
||||||
|
Loading…
Reference in New Issue
Block a user