From c07ed17d5b332b41f5ab0d18117b3cc03a52864e Mon Sep 17 00:00:00 2001 From: vanjeff Date: Mon, 21 Jul 2008 15:11:58 +0000 Subject: [PATCH] Fixed one bug when building ACPI resource data for 64bit Prefetchable memory. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5541 6f19259b-4bc3-4df7-8a09-765794883524 --- IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.c b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.c index 89a2f2946a..d6e37705a5 100644 --- a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.c +++ b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.c @@ -1,6 +1,6 @@ /**@file -Copyright (c) 2006, Intel Corporation +Copyright (c) 2006 - 2008, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -1198,7 +1198,7 @@ ConstructAcpiResourceRequestor ( Ptr->AddrLen = PMem64Node->Length; Ptr->AddrRangeMax = PMem64Node->Alignment; - Ptr = (EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR *) (Configuration + sizeof (EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR)); + Ptr = (EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR *) ((UINT8 *) Ptr + sizeof (EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR)); } // -- 2.39.2