exoparg6.c (193529) | exoparg6.c (199337) |
---|---|
1 2/****************************************************************************** 3 * 4 * Module Name: exoparg6 - AML execution - opcodes with 6 arguments 5 * 6 *****************************************************************************/ 7 8/****************************************************************************** --- 330 unchanged lines hidden (view full) --- 339 ACPI_ERROR ((AE_INFO, 340 "Index (%X%8.8X) beyond package end (%X)", 341 ACPI_FORMAT_UINT64 (Index), Operand[0]->Package.Count)); 342 Status = AE_AML_PACKAGE_LIMIT; 343 goto Cleanup; 344 } 345 346 /* Create an integer for the return value */ | 1 2/****************************************************************************** 3 * 4 * Module Name: exoparg6 - AML execution - opcodes with 6 arguments 5 * 6 *****************************************************************************/ 7 8/****************************************************************************** --- 330 unchanged lines hidden (view full) --- 339 ACPI_ERROR ((AE_INFO, 340 "Index (%X%8.8X) beyond package end (%X)", 341 ACPI_FORMAT_UINT64 (Index), Operand[0]->Package.Count)); 342 Status = AE_AML_PACKAGE_LIMIT; 343 goto Cleanup; 344 } 345 346 /* Create an integer for the return value */ |
347 /* Default return value is ACPI_INTEGER_MAX if no match found */ |
|
347 | 348 |
348 ReturnDesc = AcpiUtCreateInternalObject (ACPI_TYPE_INTEGER); | 349 ReturnDesc = AcpiUtCreateIntegerObject (ACPI_INTEGER_MAX); |
349 if (!ReturnDesc) 350 { 351 Status = AE_NO_MEMORY; 352 goto Cleanup; 353 354 } 355 | 350 if (!ReturnDesc) 351 { 352 Status = AE_NO_MEMORY; 353 goto Cleanup; 354 355 } 356 |
356 /* Default return value if no match found */ 357 358 ReturnDesc->Integer.Value = ACPI_INTEGER_MAX; 359 | |
360 /* 361 * Examine each element until a match is found. Both match conditions 362 * must be satisfied for a match to occur. Within the loop, 363 * "continue" signifies that the current element does not match 364 * and the next should be examined. 365 * 366 * Upon finding a match, the loop will terminate via "break" at 367 * the bottom. If it terminates "normally", MatchValue will be --- 74 unchanged lines hidden --- | 357 /* 358 * Examine each element until a match is found. Both match conditions 359 * must be satisfied for a match to occur. Within the loop, 360 * "continue" signifies that the current element does not match 361 * and the next should be examined. 362 * 363 * Upon finding a match, the loop will terminate via "break" at 364 * the bottom. If it terminates "normally", MatchValue will be --- 74 unchanged lines hidden --- |