edk2/MdeModulePkg/Core
Jiewen Yao aa37a8b654 MdeModulePkg/DxeCore: UEFI mem attrib table update.
1) MdeModulePkg/DxeCore: Install UEFI mem attrib table at EndOfDxe.

So that the SMM can consume it to set page protection for
the UEFI runtime page with EFI_MEMORY_RO attribute.

2) MdeModulePkg/DxeCore: Not update RtCode in MemAttrTable after EndOfDxe

We want to provide precise info in MemAttribTable
to both OS and SMM, and SMM only gets the info at EndOfDxe.
So we do not update RtCode entry in EndOfDxe.

The impact is that if 3rd part OPROM is runtime, it cannot be executed
at UEFI runtime phase.
Currently, we do not see compatibility issue, because the only runtime
OPROM we found before in UNDI, and UEFI OS will not use UNDI interface
in OS.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
2018-07-26 23:09:13 +08:00
..
Dxe MdeModulePkg/DxeCore: UEFI mem attrib table update. 2018-07-26 23:09:13 +08:00
DxeIplPeim MdeModulePkg DxeIpl: Fix IA32 build failure with GCC 5.1.1 2015-08-07 23:53:53 +00:00
Pei MdeModulePkg PeiCore: PeiInstallPeiMemory improper ASSERT test on second call 2015-11-19 02:32:03 +00:00
PiSmmCore MdeModulePkg/PiSmmCore: Cache CommunicationBuffer info before using it 2016-11-23 14:18:17 +08:00
RuntimeDxe MdeModulePkg: Roll back report status code change in RuntimeDriverSetVirtualAddressMap. 2015-04-10 01:37:41 +00:00