mirror of https://github.com/acidanthera/audk.git
d2fc771113
This patch sets the normal OS buffer EfiLoaderCode/Data, EfiBootServicesCode/Data, EfiConventionalMemory, EfiACPIReclaimMemory to be not present after SmmReadyToLock. To access these region in OS runtime phase is not a good solution. Previously, we did similar check in SmmMemLib to help SMI handler do the check. But if SMI handler forgets the check, it can still access these OS region and bring risk. So here we enforce the policy to prevent it happening. Cc: Jeff Fan <jeff.fan@intel.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Laszlo Ersek <lersek@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen.yao@intel.com> Reviewed-by: Jeff Fan <jeff.fan@intel.com> |
||
---|---|---|
.. | ||
MpFuncs.S | ||
MpFuncs.asm | ||
MpFuncs.nasm | ||
PageTbl.c | ||
Semaphore.c | ||
SmiEntry.S | ||
SmiEntry.asm | ||
SmiEntry.nasm | ||
SmiException.S | ||
SmiException.asm | ||
SmiException.nasm | ||
SmmFuncsArch.c | ||
SmmInit.S | ||
SmmInit.asm | ||
SmmInit.nasm | ||
SmmProfileArch.c | ||
SmmProfileArch.h |