diff options
author | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-12 05:41:48 +0000 |
---|---|---|
committer | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-12 05:41:48 +0000 |
commit | 6979fd9382223ac177126788624adb530711a4b1 (patch) | |
tree | 1c9feafb4221ae36a810ed661d6dfde8f5edbd69 /MdeModulePkg/Core/Dxe/Gcd | |
parent | cba02989d1d7849e2e652ac5d8f350c1706275a2 (diff) | |
download | edk2-platforms-6979fd9382223ac177126788624adb530711a4b1.tar.xz |
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
Diffstat (limited to 'MdeModulePkg/Core/Dxe/Gcd')
-rw-r--r-- | MdeModulePkg/Core/Dxe/Gcd/gcd.c | 5 |
1 files changed, 3 insertions, 2 deletions
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:
|