summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Core/Dxe/DxeMain
diff options
context:
space:
mode:
authoreric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2007-10-12 05:41:48 +0000
committereric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2007-10-12 05:41:48 +0000
commit6979fd9382223ac177126788624adb530711a4b1 (patch)
tree1c9feafb4221ae36a810ed661d6dfde8f5edbd69 /MdeModulePkg/Core/Dxe/DxeMain
parentcba02989d1d7849e2e652ac5d8f350c1706275a2 (diff)
downloadedk2-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/DxeMain')
-rw-r--r--MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c b/MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c
index 53f1d5f594..59a5283a5f 100644
--- a/MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c
+++ b/MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c
@@ -299,6 +299,10 @@ Returns:
ASSERT_EFI_ERROR (Status);
//
+ // The HobStart is relocated in gcd service init. Sync mHobStart varible.
+ //
+ mHobStart = HobStart;
+
// Install the DXE Services Table into the EFI System Tables's Configuration Table
//
Status = CoreInstallConfigurationTable (&gEfiDxeServicesTableGuid, gDxeCoreDS);
@@ -867,4 +871,3 @@ DxeMainUefiDecompress (
return UefiDecompress (Source, Destination, Scratch);
}
-