From 6979fd9382223ac177126788624adb530711a4b1 Mon Sep 17 00:00:00 2001 From: eric_tian Date: Fri, 12 Oct 2007 05:41:48 +0000 Subject: fixed the following problems: 1) DMA interrupt don't been cleaning up after one UDMA operation 2) Global variable mHobStart is not updated after invoking CoreInitializeGcdServices() func in the dxemain. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4107 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Core/Dxe/Gcd/gcd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'MdeModulePkg/Core/Dxe/Gcd') diff --git a/MdeModulePkg/Core/Dxe/Gcd/gcd.c b/MdeModulePkg/Core/Dxe/Gcd/gcd.c index 4d58687c69..accc329a4a 100644 --- a/MdeModulePkg/Core/Dxe/Gcd/gcd.c +++ b/MdeModulePkg/Core/Dxe/Gcd/gcd.c @@ -2242,7 +2242,7 @@ Returns: EFI_STATUS CoreInitializeGcdServices ( - IN VOID **HobStart, + IN OUT VOID **HobStart, IN EFI_PHYSICAL_ADDRESS MemoryBaseAddress, IN UINT64 MemoryLength ) @@ -2255,7 +2255,8 @@ Routine Description: memory map, so memory allocations and resource allocations can be made. The first part of this function can not depend on any memory services until at least one memory descriptor is provided to the memory services. Then the memory services - can be used to intialize the GCD map. + can be used to intialize the GCD map. The HobStart will be relocated to a pool + buffer. Arguments: -- cgit v1.2.3