]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fixed one bug when building ACPI resource data for 64bit Prefetchable memory.
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 21 Jul 2008 15:11:58 +0000 (15:11 +0000)
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 21 Jul 2008 15:11:58 +0000 (15:11 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5541 6f19259b-4bc3-4df7-8a09-765794883524

IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.c

index 89a2f2946a24f77357f345d48eb4f2d3b9e8b2de..d6e37705a51888657fbeafa89beeda7981171e70 100644 (file)
@@ -1,6 +1,6 @@
 /**@file\r
 \r
-Copyright (c) 2006, Intel Corporation                                                         \r
+Copyright (c) 2006 - 2008, Intel Corporation                                                         \r
 All rights reserved. This program and the accompanying materials                          \r
 are licensed and made available under the terms and conditions of the BSD License         \r
 which accompanies this distribution.  The full text of the license may be found at        \r
@@ -1198,7 +1198,7 @@ ConstructAcpiResourceRequestor (
       Ptr->AddrLen      = PMem64Node->Length;\r
       Ptr->AddrRangeMax = PMem64Node->Alignment;\r
 \r
-      Ptr               = (EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR *) (Configuration + sizeof (EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR));\r
+      Ptr               = (EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR *) ((UINT8 *) Ptr + sizeof (EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR));\r
     }\r
 \r
     //\r