]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg DxeCore: Relocate HOB List after other tested memory resources added
authorStar Zeng <star.zeng@intel.com>
Thu, 17 Sep 2015 08:32:14 +0000 (08:32 +0000)
committerlzeng14 <lzeng14@Edk2>
Thu, 17 Sep 2015 08:32:14 +0000 (08:32 +0000)
commita46bbdd379b54cd465ba75a84596babc8cbc5dbc
treef5b034017ef0e4652f5a70fc14d3766712f28cf9
parent2d3e4cd167614be3956264d81b6d64b33177b33f
MdeModulePkg DxeCore: Relocate HOB List after other tested memory resources added

The HOB List relocation should be at after all the tested memory resources added
(except the memory space that covers HOB List) to the memory services,
because the memory resource found in CoreInitializeMemoryServices()
may have not enough remaining resource for HOB List.

And the memory space that covers HOB List should be processed
after HOB List relocation to avoid the resources allocated by others
to corrupt HOB List before its relocation.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18499 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Core/Dxe/Gcd/Gcd.c