52 #define _COMPONENT ACPI_DISPATCHER
61 #ifndef ACPI_NO_METHOD_EXECUTION
114 ((op->
common.parent->common.aml_opcode ==
116 || (op->
common.parent->common.aml_opcode ==
128 "Ignoring unresolved reference in package [%4.4s]\n",
146 (op->
common.parent->common.aml_opcode ==
181 type = op->
common.node->type;
183 type = obj_desc->
common.type;
229 (op->
common.aml_opcode))->
244 *obj_desc_ptr = obj_desc;
273 u32 byte_list_length = 0;
282 obj_desc = *obj_desc_ptr;
288 *obj_desc_ptr = obj_desc;
299 arg = op->
common.value.arg;
301 byte_list = arg->
named.next;
305 "Expecting bytelist, found AML opcode 0x%X in op %p",
306 byte_list->
common.aml_opcode, byte_list));
312 byte_list_length = (
u32) byte_list->
common.value.integer;
321 if (byte_list_length > buffer_length) {
322 obj_desc->
buffer.length = byte_list_length;
327 if (obj_desc->
buffer.length == 0) {
330 "Buffer defined with zero length in AML, creating\n"));
332 obj_desc->
buffer.pointer =
334 if (!obj_desc->
buffer.pointer) {
343 byte_list->
named.data, byte_list_length);
399 parent = op->
common.parent;
402 parent = parent->
common.parent;
409 obj_desc = *obj_desc_ptr;
412 *obj_desc_ptr = obj_desc;
427 1) *
sizeof(
void *));
429 if (!obj_desc->
package.elements) {
434 obj_desc->
package.count = element_count;
442 arg = op->
common.value.arg;
444 for (i = 0; arg && (i < element_count); i++) {
453 acpi_ds_build_internal_object(walk_state,
466 status = acpi_ds_build_internal_object(walk_state, arg,
477 (*obj_desc_ptr)->common.reference_count;
478 if (reference_count > 1) {
482 for (index = 0; index < (reference_count - 1);
528 "Actual Package length (%u) is larger than NumElements field (%u), truncated\n",
530 }
else if (i < element_count) {
536 "Package List length (%u) smaller than NumElements count (%u), padded with null elements\n",
578 if (!op->
common.value.arg) {
587 status = acpi_ds_build_internal_object(walk_state, op->
common.value.arg,
638 obj_desc = *ret_obj_desc;
649 switch (obj_desc->
common.type) {
676 switch (op_info->
type) {
705 #ifndef ACPI_NO_METHOD_EXECUTION
718 "Unknown constant opcode 0x%X",
728 #ifndef ACPI_NO_METHOD_EXECUTION
759 switch (op_info->
type) {
768 #ifndef ACPI_NO_METHOD_EXECUTION
788 #ifndef ACPI_NO_METHOD_EXECUTION
804 switch (op->
common.aml_opcode) {
823 "Unimplemented reference type for AML opcode: 0x%4.4X",