dsobject.c (197104) | dsobject.c (199337) |
---|---|
1/****************************************************************************** 2 * 3 * Module Name: dsobject - Dispatcher object management routines 4 * 5 *****************************************************************************/ 6 7/****************************************************************************** 8 * --- 560 unchanged lines hidden (view full) --- 569 if (Arg) 570 { 571 /* 572 * NumElements was exhausted, but there are remaining elements in the 573 * PackageList. Truncate the package to NumElements. 574 * 575 * Note: technically, this is an error, from ACPI spec: "It is an error 576 * for NumElements to be less than the number of elements in the | 1/****************************************************************************** 2 * 3 * Module Name: dsobject - Dispatcher object management routines 4 * 5 *****************************************************************************/ 6 7/****************************************************************************** 8 * --- 560 unchanged lines hidden (view full) --- 569 if (Arg) 570 { 571 /* 572 * NumElements was exhausted, but there are remaining elements in the 573 * PackageList. Truncate the package to NumElements. 574 * 575 * Note: technically, this is an error, from ACPI spec: "It is an error 576 * for NumElements to be less than the number of elements in the |
577 * PackageList". However, we just print an error message and | 577 * PackageList". However, we just print a message and |
578 * no exception is returned. This provides Windows compatibility. Some 579 * BIOSs will alter the NumElements on the fly, creating this type 580 * of ill-formed package object. 581 */ 582 while (Arg) 583 { 584 /* 585 * We must delete any package elements that were created earlier --- 7 unchanged lines hidden (view full) --- 593 } 594 595 /* Find out how many elements there really are */ 596 597 i++; 598 Arg = Arg->Common.Next; 599 } 600 | 578 * no exception is returned. This provides Windows compatibility. Some 579 * BIOSs will alter the NumElements on the fly, creating this type 580 * of ill-formed package object. 581 */ 582 while (Arg) 583 { 584 /* 585 * We must delete any package elements that were created earlier --- 7 unchanged lines hidden (view full) --- 593 } 594 595 /* Find out how many elements there really are */ 596 597 i++; 598 Arg = Arg->Common.Next; 599 } 600 |
601 ACPI_ERROR ((AE_INFO, 602 "Package List length (0x%X) larger than NumElements count (0x%X), truncated\n", | 601 ACPI_INFO ((AE_INFO, 602 "Actual Package length (0x%X) is larger than NumElements field (0x%X), truncated\n", |
603 i, ElementCount)); 604 } 605 else if (i < ElementCount) 606 { 607 /* 608 * Arg list (elements) was exhausted, but we did not reach NumElements count. 609 * Note: this is not an error, the package is padded out with NULLs. 610 */ --- 315 unchanged lines hidden --- | 603 i, ElementCount)); 604 } 605 else if (i < ElementCount) 606 { 607 /* 608 * Arg list (elements) was exhausted, but we did not reach NumElements count. 609 * Note: this is not an error, the package is padded out with NULLs. 610 */ --- 315 unchanged lines hidden --- |