exprep.c (cb5629b10d64a8006622ce3a52bc887d91057d69) | exprep.c (3371c19c294a4cb3649aa4e84606be8a1d999e61) |
---|---|
1 2/****************************************************************************** 3 * 4 * Module Name: exprep - ACPI AML (p-code) execution - field prep utilities 5 * 6 *****************************************************************************/ 7 8/* --- 265 unchanged lines hidden (view full) --- 274 275 default: 276 /* Invalid field access type */ 277 278 ACPI_ERROR((AE_INFO, "Unknown field access type %X", access)); 279 return_UINT32(0); 280 } 281 | 1 2/****************************************************************************** 3 * 4 * Module Name: exprep - ACPI AML (p-code) execution - field prep utilities 5 * 6 *****************************************************************************/ 7 8/* --- 265 unchanged lines hidden (view full) --- 274 275 default: 276 /* Invalid field access type */ 277 278 ACPI_ERROR((AE_INFO, "Unknown field access type %X", access)); 279 return_UINT32(0); 280 } 281 |
282 if (ACPI_GET_OBJECT_TYPE(obj_desc) == ACPI_TYPE_BUFFER_FIELD) { | 282 if (obj_desc->common.type == ACPI_TYPE_BUFFER_FIELD) { |
283 /* 284 * buffer_field access can be on any byte boundary, so the 285 * byte_alignment is always 1 byte -- regardless of any byte_alignment 286 * implied by the field access type. 287 */ 288 byte_alignment = 1; 289 } 290 --- 300 unchanged lines hidden --- | 283 /* 284 * buffer_field access can be on any byte boundary, so the 285 * byte_alignment is always 1 byte -- regardless of any byte_alignment 286 * implied by the field access type. 287 */ 288 byte_alignment = 1; 289 } 290 --- 300 unchanged lines hidden --- |