Per PI spec all allocation of SMRAM should use EfiRuntimeServicesCode or
EfiRuntimeServicesData. So SMM instance use EfiRuntimeServicesCode as the
default memory allocation type instead of EfiBootServicesData. This patch
clarify this usage in comments.
Qiu Shumin (2):
MdePkg: Enhance the comments for SmmMemoryAllocationLib instance.
MdeModulePkg: Enhance the comments for PiSmmCoreMemoryAllocationLib
instance.
MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/MemoryAllocationLib.c
| 33 ++++++++++++-------
MdePkg/Library/SmmMemoryAllocationLib/MemoryAllocationLib.c | 37
+++++++++++-----------
2 files changed, 40 insertions(+), 30 deletions(-)
--
1.9.5.msysgit.1
------------------------------------------------------------------------------
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel