audk/MdeModulePkg
Star Zeng 74a8877033 MdeModulePkg DxeCore: Enhance MemoryAttributesTable installation
Current MemoryAttributesTable will be installed on ReadyToBoot event
at TPL_NOTIFY level, it maybe incorrect when PcdHiiOsRuntimeSupport
= TRUE as HiiDatabaseDxe will have runtime memory allocation for HII
OS runtime support on and after ReadyToBoot. The issue was exposed at
http://article.gmane.org/gmane.comp.bios.edk2.devel/10125.

To make sure the correctness of MemoryAttributesTable, this patch is
to enhance MemoryAttributesTable installation to install
MemoryAttributesTable on ReadyToBoot event at TPL_CALLBACK - 1 level
to make sure it is at the last of ReadyToBoot event, and also hook
runtime memory allocation after ReadyToBoot.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
2016-04-22 13:39:56 +08:00
..
Application MdeModulePkg/UiApp: Correct the total RAM calculation 2016-04-05 11:18:08 +08:00
Bus MdeModulePkg/Sd: wait 1ms before check DATA line in voltage switch proc 2016-04-21 16:08:11 +08:00
Core MdeModulePkg DxeCore: Enhance MemoryAttributesTable installation 2016-04-22 13:39:56 +08:00
Include MdeModulePkg: Add new macros and refine codes 2016-04-11 08:25:33 +08:00
Library MdeModulePkg: Update Guid/Protocol usages in INF files. 2016-04-13 14:52:59 +08:00
Logo MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
Universal MdeModulePkg/HiiDatabaseDxe: Fix the VS2010/VS2012 build fail 2016-04-22 10:09:54 +08:00
Contributions.txt */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
License.txt
MdeModulePkg.dec MdeModulePkg/Ps2Keyboard: Add missing PCD and protocol to DEC file 2016-04-11 15:31:33 +08:00
MdeModulePkg.dsc MdeModulePkg: Add Ps2MouseDxe driver 2016-04-08 17:45:59 +08:00
MdeModulePkg.uni MdeModulePkg/MdeModulePkg.uni: Add PS2 related PCD description 2016-04-13 14:54:45 +08:00
MdeModulePkgExtra.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00