ACPICA: DeRefOf operator: Update to fully resolve FieldUnit and BufferField refs.
authorBob Moore <robert.moore@intel.com>
Thu, 8 Aug 2013 07:29:32 +0000 (15:29 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 8 Aug 2013 13:36:09 +0000 (15:36 +0200)
commit63660e05ec719613b518547b40a1c501c10f0bc4
treee58f3d9585d048748e4cd51194d45bd4bf9cb9ea
parentb268cee867ed193379762fdf94005c5bb79317a8
ACPICA: DeRefOf operator: Update to fully resolve FieldUnit and BufferField refs.

Previously, references to these objects were resolved only to the actual
FieldUnit or BufferField object. The correct behavior is to resolve these
references to an actual value.
The problem is that DerefOf did not resolve these objects to actual
values.  An "Integer" object is simple, return the value.  But a field in
an operation region will require a read operation.  For a BufferField, the
appropriate data must be extracted from the parent buffer.

NOTE: It appears that this issues is present in Windows7 but not
Windows8.

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/exoparg1.c