ACPICA: Implemented full argument resolution support for the BankValue argument to BankField
Previously, only constants were supported, now any TermArg may be used. http://www.acpica.org/bugzilla/show_bug.cgi?id=387 http://www.acpica.org/bugzilla/show_bug.cgi?id=393 Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
@@ -244,6 +244,10 @@ acpi_ns_init_one_object(acpi_handle obj_handle,
|
||||
info->field_count++;
|
||||
break;
|
||||
|
||||
case ACPI_TYPE_LOCAL_BANK_FIELD:
|
||||
info->field_count++;
|
||||
break;
|
||||
|
||||
case ACPI_TYPE_BUFFER:
|
||||
info->buffer_count++;
|
||||
break;
|
||||
@@ -287,6 +291,12 @@ acpi_ns_init_one_object(acpi_handle obj_handle,
|
||||
status = acpi_ds_get_buffer_field_arguments(obj_desc);
|
||||
break;
|
||||
|
||||
case ACPI_TYPE_LOCAL_BANK_FIELD:
|
||||
|
||||
info->field_init++;
|
||||
status = acpi_ds_get_bank_field_arguments(obj_desc);
|
||||
break;
|
||||
|
||||
case ACPI_TYPE_BUFFER:
|
||||
|
||||
info->buffer_init++;
|
||||
|
Reference in New Issue
Block a user