exconfig.c (129684) | exconfig.c (131440) |
---|---|
1/****************************************************************************** 2 * 3 * Module Name: exconfig - Namespace reconfiguration (Load/Unload opcodes) | 1/****************************************************************************** 2 * 3 * Module Name: exconfig - Namespace reconfiguration (Load/Unload opcodes) |
4 * $Revision: 77 $ | 4 * $Revision: 78 $ |
5 * 6 *****************************************************************************/ 7 8/****************************************************************************** 9 * 10 * 1. Copyright Notice 11 * 12 * Some or all of this work - Copyright (c) 1999 - 2004, Intel Corp. --- 397 unchanged lines hidden (view full) --- 410 Address = ObjDesc->Region.Address; 411 412 /* Get the table length from the table header */ 413 414 TableHeader.Length = 0; 415 for (i = 0; i < 8; i++) 416 { 417 Status = AcpiEvAddressSpaceDispatch (ObjDesc, ACPI_READ, | 5 * 6 *****************************************************************************/ 7 8/****************************************************************************** 9 * 10 * 1. Copyright Notice 11 * 12 * Some or all of this work - Copyright (c) 1999 - 2004, Intel Corp. --- 397 unchanged lines hidden (view full) --- 410 Address = ObjDesc->Region.Address; 411 412 /* Get the table length from the table header */ 413 414 TableHeader.Length = 0; 415 for (i = 0; i < 8; i++) 416 { 417 Status = AcpiEvAddressSpaceDispatch (ObjDesc, ACPI_READ, |
418 (ACPI_PHYSICAL_ADDRESS) i + Address, 8, | 418 (ACPI_PHYSICAL_ADDRESS) (i + Address), 8, |
419 ((UINT8 *) &TableHeader) + i); 420 if (ACPI_FAILURE (Status)) 421 { 422 return_ACPI_STATUS (Status); 423 } 424 } 425 426 /* Sanity check the table length */ --- 11 unchanged lines hidden (view full) --- 438 return_ACPI_STATUS (AE_NO_MEMORY); 439 } 440 441 /* Get the entire table from the op region */ 442 443 for (i = 0; i < TableHeader.Length; i++) 444 { 445 Status = AcpiEvAddressSpaceDispatch (ObjDesc, ACPI_READ, | 419 ((UINT8 *) &TableHeader) + i); 420 if (ACPI_FAILURE (Status)) 421 { 422 return_ACPI_STATUS (Status); 423 } 424 } 425 426 /* Sanity check the table length */ --- 11 unchanged lines hidden (view full) --- 438 return_ACPI_STATUS (AE_NO_MEMORY); 439 } 440 441 /* Get the entire table from the op region */ 442 443 for (i = 0; i < TableHeader.Length; i++) 444 { 445 Status = AcpiEvAddressSpaceDispatch (ObjDesc, ACPI_READ, |
446 (ACPI_PHYSICAL_ADDRESS) i + Address, 8, | 446 (ACPI_PHYSICAL_ADDRESS) (i + Address), 8, |
447 ((UINT8 *) TablePtr + i)); 448 if (ACPI_FAILURE (Status)) 449 { 450 goto Cleanup; 451 } 452 } 453 break; 454 --- 140 unchanged lines hidden --- | 447 ((UINT8 *) TablePtr + i)); 448 if (ACPI_FAILURE (Status)) 449 { 450 goto Cleanup; 451 } 452 } 453 break; 454 --- 140 unchanged lines hidden --- |