Commit ab85e928 authored by Bob Moore's avatar Bob Moore Committed by Rafael J. Wysocki

ACPICA: Correctly support references in the union acpi_object.

This change fixes the support to allow references (namespace nodes)
to be passed as arguments to control methods via the evaluate object
interface. This is probably most useful for testing purposes, however.
Signed-off-by: default avatarBob Moore <robert.moore@intel.com>
Signed-off-by: default avatarLv Zheng <lv.zheng@intel.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent fbb7a2dc
......@@ -535,10 +535,10 @@ acpi_ut_copy_esimple_to_isimple(union acpi_object *external_object,
case ACPI_TYPE_LOCAL_REFERENCE:
/* TBD: should validate incoming handle */
/* An incoming reference is defined to be a namespace node */
internal_object->reference.class = ACPI_REFCLASS_NAME;
internal_object->reference.node =
internal_object->reference.class = ACPI_REFCLASS_REFOF;
internal_object->reference.object =
external_object->reference.handle;
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment