Fixed one bug when building ACPI resource data for 64bit Prefetchable memory.
authorvanjeff <vanjeff@de2fecce-e211-0410-80a6-f3fac2684e05>
Mon, 21 Jul 2008 15:11:58 +0000 (15:11 +0000)
committervanjeff <vanjeff@de2fecce-e211-0410-80a6-f3fac2684e05>
Mon, 21 Jul 2008 15:11:58 +0000 (15:11 +0000)
git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@5541 de2fecce-e211-0410-80a6-f3fac2684e05

edk2/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.c

index 89a2f29..d6e3770 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