]> git.proxmox.com Git - mirror_edk2.git/commit
The patch attached is to fix the issue that LMFA feature is failed on OVMF. The...
authorjchen20 <jchen20@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 10 Mar 2010 02:47:05 +0000 (02:47 +0000)
committerjchen20 <jchen20@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 10 Mar 2010 02:47:05 +0000 (02:47 +0000)
commit9bfb4940962a8da0f2399aa25764eee3bfc99327
tree743af2b1ffd865d94d2586a3979f9f72d788a57b
parent947a573ada499a7b1533d91f015327cc07605ff7
The patch attached is to fix the issue that LMFA feature is failed on OVMF.  The root cause is that OVMF platform reserved 128k top memory range for EMU variable range before PEI memory range re-locate to specified memory range, which is quite different from real platform. The original implementation has an assumption that AllocatePage will NOT be invoked until PEI memory range is re-located to preassigned memory range, , which is TRUE in most real platform, but FALSE on OVMF platform. So This patch is to enhanced the memory resource HOB re-organization algorithm to eliminate the assumption.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10225 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Core/Dxe/Image/Image.c
MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c