|
@@ -727,27 +727,26 @@ acpi_ds_create_operands(struct acpi_walk_state *walk_state,
|
|
index++;
|
|
index++;
|
|
}
|
|
}
|
|
|
|
|
|
- index--;
|
|
|
|
|
|
+ ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH,
|
|
|
|
+ "NumOperands %d, ArgCount %d, Index %d\n",
|
|
|
|
+ walk_state->num_operands, arg_count, index));
|
|
|
|
|
|
- /* It is the appropriate order to get objects from the Result stack */
|
|
|
|
|
|
+ /* Create the interpreter arguments, in reverse order */
|
|
|
|
|
|
|
|
+ index--;
|
|
for (i = 0; i < arg_count; i++) {
|
|
for (i = 0; i < arg_count; i++) {
|
|
arg = arguments[index];
|
|
arg = arguments[index];
|
|
-
|
|
|
|
- /* Force the filling of the operand stack in inverse order */
|
|
|
|
-
|
|
|
|
- walk_state->operand_index = (u8) index;
|
|
|
|
|
|
+ walk_state->operand_index = (u8)index;
|
|
|
|
|
|
status = acpi_ds_create_operand(walk_state, arg, index);
|
|
status = acpi_ds_create_operand(walk_state, arg, index);
|
|
if (ACPI_FAILURE(status)) {
|
|
if (ACPI_FAILURE(status)) {
|
|
goto cleanup;
|
|
goto cleanup;
|
|
}
|
|
}
|
|
|
|
|
|
- index--;
|
|
|
|
-
|
|
|
|
ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH,
|
|
ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH,
|
|
- "Arg #%u (%p) done, Arg1=%p\n", index, arg,
|
|
|
|
- first_arg));
|
|
|
|
|
|
+ "Created Arg #%u (%p) %u args total\n",
|
|
|
|
+ index, arg, arg_count));
|
|
|
|
+ index--;
|
|
}
|
|
}
|
|
|
|
|
|
return_ACPI_STATUS(status);
|
|
return_ACPI_STATUS(status);
|