Deleted Added
full compact
exresop.c (123315) exresop.c (126372)
1
2/******************************************************************************
3 *
4 * Module Name: exresop - AML Interpreter operand/object resolution
1
2/******************************************************************************
3 *
4 * Module Name: exresop - AML Interpreter operand/object resolution
5 * $Revision: 65 $
5 * $Revision: 67 $
6 *
7 *****************************************************************************/
8
9/******************************************************************************
10 *
11 * 1. Copyright Notice
12 *
6 *
7 *****************************************************************************/
8
9/******************************************************************************
10 *
11 * 1. Copyright Notice
12 *
13 * Some or all of this work - Copyright (c) 1999 - 2003, Intel Corp.
13 * Some or all of this work - Copyright (c) 1999 - 2004, Intel Corp.
14 * All rights reserved.
15 *
16 * 2. License
17 *
18 * 2.1. This is your license from Intel Corp. under its intellectual property
19 * rights. You may have additional license terms from the party that provided
20 * you this software, covering your right to use that party's intellectual
21 * property rights.

--- 207 unchanged lines hidden (view full) ---

229 if (OpInfo->Class == AML_CLASS_UNKNOWN)
230 {
231 return_ACPI_STATUS (AE_AML_BAD_OPCODE);
232 }
233
234 ArgTypes = OpInfo->RuntimeArgs;
235 if (ArgTypes == ARGI_INVALID_OPCODE)
236 {
14 * All rights reserved.
15 *
16 * 2. License
17 *
18 * 2.1. This is your license from Intel Corp. under its intellectual property
19 * rights. You may have additional license terms from the party that provided
20 * you this software, covering your right to use that party's intellectual
21 * property rights.

--- 207 unchanged lines hidden (view full) ---

229 if (OpInfo->Class == AML_CLASS_UNKNOWN)
230 {
231 return_ACPI_STATUS (AE_AML_BAD_OPCODE);
232 }
233
234 ArgTypes = OpInfo->RuntimeArgs;
235 if (ArgTypes == ARGI_INVALID_OPCODE)
236 {
237 ACPI_DEBUG_PRINT ((ACPI_DB_ERROR, "Internal - %X is not a valid AML opcode\n",
237 ACPI_REPORT_ERROR (("ResolveOperands: %X is not a valid AML opcode\n",
238 Opcode));
239
240 return_ACPI_STATUS (AE_AML_INTERNAL);
241 }
242
243 ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, "Opcode %X [%s] OperandTypes=%X \n",
244 Opcode, OpInfo->Name, ArgTypes));
245
246 /*
247 * Normal exit is with (ArgTypes == 0) at end of argument list.
248 * Function will return an exception from within the loop upon
249 * finding an entry which is not (or cannot be converted
250 * to) the required type; if stack underflows; or upon
251 * finding a NULL stack entry (which should not happen).
252 */
253 while (GET_CURRENT_ARG_TYPE (ArgTypes))
254 {
255 if (!StackPtr || !*StackPtr)
256 {
238 Opcode));
239
240 return_ACPI_STATUS (AE_AML_INTERNAL);
241 }
242
243 ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, "Opcode %X [%s] OperandTypes=%X \n",
244 Opcode, OpInfo->Name, ArgTypes));
245
246 /*
247 * Normal exit is with (ArgTypes == 0) at end of argument list.
248 * Function will return an exception from within the loop upon
249 * finding an entry which is not (or cannot be converted
250 * to) the required type; if stack underflows; or upon
251 * finding a NULL stack entry (which should not happen).
252 */
253 while (GET_CURRENT_ARG_TYPE (ArgTypes))
254 {
255 if (!StackPtr || !*StackPtr)
256 {
257 ACPI_DEBUG_PRINT ((ACPI_DB_ERROR, "Internal - null stack entry at %p\n",
257 ACPI_REPORT_ERROR (("ResolveOperands: Null stack entry at %p\n",
258 StackPtr));
259
260 return_ACPI_STATUS (AE_AML_INTERNAL);
261 }
262
263 /* Extract useful items */
264
265 ObjDesc = *StackPtr;

--- 464 unchanged lines hidden ---
258 StackPtr));
259
260 return_ACPI_STATUS (AE_AML_INTERNAL);
261 }
262
263 /* Extract useful items */
264
265 ObjDesc = *StackPtr;

--- 464 unchanged lines hidden ---