exutils.c (cb5629b10d64a8006622ce3a52bc887d91057d69) | exutils.c (3371c19c294a4cb3649aa4e84606be8a1d999e61) |
---|---|
1 2/****************************************************************************** 3 * 4 * Module Name: exutils - interpreter/scanner utilities 5 * 6 *****************************************************************************/ 7 8/* --- 207 unchanged lines hidden (view full) --- 216 ACPI_FUNCTION_ENTRY(); 217 218 /* 219 * Object must be a valid number and we must be executing 220 * a control method. NS node could be there for AML_INT_NAMEPATH_OP. 221 */ 222 if ((!obj_desc) || 223 (ACPI_GET_DESCRIPTOR_TYPE(obj_desc) != ACPI_DESC_TYPE_OPERAND) || | 1 2/****************************************************************************** 3 * 4 * Module Name: exutils - interpreter/scanner utilities 5 * 6 *****************************************************************************/ 7 8/* --- 207 unchanged lines hidden (view full) --- 216 ACPI_FUNCTION_ENTRY(); 217 218 /* 219 * Object must be a valid number and we must be executing 220 * a control method. NS node could be there for AML_INT_NAMEPATH_OP. 221 */ 222 if ((!obj_desc) || 223 (ACPI_GET_DESCRIPTOR_TYPE(obj_desc) != ACPI_DESC_TYPE_OPERAND) || |
224 (ACPI_GET_OBJECT_TYPE(obj_desc) != ACPI_TYPE_INTEGER)) { | 224 (obj_desc->common.type != ACPI_TYPE_INTEGER)) { |
225 return; 226 } 227 228 if (acpi_gbl_integer_byte_width == 4) { 229 /* 230 * We are running a method that exists in a 32-bit ACPI table. 231 * Truncate the value to 32 bits by zeroing out the upper 32-bit field 232 */ --- 189 unchanged lines hidden --- | 225 return; 226 } 227 228 if (acpi_gbl_integer_byte_width == 4) { 229 /* 230 * We are running a method that exists in a 32-bit ACPI table. 231 * Truncate the value to 32 bits by zeroing out the upper 32-bit field 232 */ --- 189 unchanged lines hidden --- |