| .. | .. |
|---|
| 3 | 3 | * |
|---|
| 4 | 4 | * Module Name: dsobject - Dispatcher object management routines |
|---|
| 5 | 5 | * |
|---|
| 6 | | - * Copyright (C) 2000 - 2018, Intel Corp. |
|---|
| 6 | + * Copyright (C) 2000 - 2020, Intel Corp. |
|---|
| 7 | 7 | * |
|---|
| 8 | 8 | *****************************************************************************/ |
|---|
| 9 | 9 | |
|---|
| .. | .. |
|---|
| 18 | 18 | #define _COMPONENT ACPI_DISPATCHER |
|---|
| 19 | 19 | ACPI_MODULE_NAME("dsobject") |
|---|
| 20 | 20 | |
|---|
| 21 | | -#ifndef ACPI_NO_METHOD_EXECUTION |
|---|
| 22 | 21 | /******************************************************************************* |
|---|
| 23 | 22 | * |
|---|
| 24 | 23 | * FUNCTION: acpi_ds_build_internal_object |
|---|
| .. | .. |
|---|
| 299 | 298 | return_ACPI_STATUS(status); |
|---|
| 300 | 299 | } |
|---|
| 301 | 300 | |
|---|
| 302 | | -#endif /* ACPI_NO_METHOD_EXECUTION */ |
|---|
| 303 | | - |
|---|
| 304 | 301 | /******************************************************************************* |
|---|
| 305 | 302 | * |
|---|
| 306 | 303 | * FUNCTION: acpi_ds_init_object_from_op |
|---|
| .. | .. |
|---|
| 404 | 401 | |
|---|
| 405 | 402 | /* Truncate value if we are executing from a 32-bit ACPI table */ |
|---|
| 406 | 403 | |
|---|
| 407 | | -#ifndef ACPI_NO_METHOD_EXECUTION |
|---|
| 408 | 404 | (void)acpi_ex_truncate_for32bit_table(obj_desc); |
|---|
| 409 | | -#endif |
|---|
| 410 | 405 | break; |
|---|
| 411 | 406 | |
|---|
| 412 | 407 | case AML_REVISION_OP: |
|---|
| .. | .. |
|---|
| 428 | 423 | |
|---|
| 429 | 424 | obj_desc->integer.value = op->common.value.integer; |
|---|
| 430 | 425 | |
|---|
| 431 | | -#ifndef ACPI_NO_METHOD_EXECUTION |
|---|
| 432 | 426 | if (acpi_ex_truncate_for32bit_table(obj_desc)) { |
|---|
| 433 | 427 | |
|---|
| 434 | 428 | /* Warn if we found a 64-bit constant in a 32-bit table */ |
|---|
| .. | .. |
|---|
| 439 | 433 | value.integer), |
|---|
| 440 | 434 | (u32)obj_desc->integer.value)); |
|---|
| 441 | 435 | } |
|---|
| 442 | | -#endif |
|---|
| 443 | 436 | break; |
|---|
| 444 | 437 | |
|---|
| 445 | 438 | default: |
|---|
| .. | .. |
|---|
| 477 | 470 | ((u32)opcode) - AML_FIRST_LOCAL_OP; |
|---|
| 478 | 471 | obj_desc->reference.class = ACPI_REFCLASS_LOCAL; |
|---|
| 479 | 472 | |
|---|
| 480 | | -#ifndef ACPI_NO_METHOD_EXECUTION |
|---|
| 481 | 473 | status = |
|---|
| 482 | 474 | acpi_ds_method_data_get_node(ACPI_REFCLASS_LOCAL, |
|---|
| 483 | 475 | obj_desc->reference. |
|---|
| .. | .. |
|---|
| 487 | 479 | acpi_namespace_node, |
|---|
| 488 | 480 | &obj_desc->reference. |
|---|
| 489 | 481 | object)); |
|---|
| 490 | | -#endif |
|---|
| 491 | 482 | break; |
|---|
| 492 | 483 | |
|---|
| 493 | 484 | case AML_TYPE_METHOD_ARGUMENT: |
|---|
| .. | .. |
|---|
| 498 | 489 | ((u32)opcode) - AML_FIRST_ARG_OP; |
|---|
| 499 | 490 | obj_desc->reference.class = ACPI_REFCLASS_ARG; |
|---|
| 500 | 491 | |
|---|
| 501 | | -#ifndef ACPI_NO_METHOD_EXECUTION |
|---|
| 502 | 492 | status = acpi_ds_method_data_get_node(ACPI_REFCLASS_ARG, |
|---|
| 503 | 493 | obj_desc-> |
|---|
| 504 | 494 | reference.value, |
|---|
| .. | .. |
|---|
| 509 | 499 | &obj_desc-> |
|---|
| 510 | 500 | reference. |
|---|
| 511 | 501 | object)); |
|---|
| 512 | | -#endif |
|---|
| 513 | 502 | break; |
|---|
| 514 | 503 | |
|---|
| 515 | 504 | default: /* Object name or Debug object */ |
|---|