Reviewed-by: Liming Gao <liming....@intel.com> -----Original Message----- From: Qiu, Shumin Sent: Tuesday, June 16, 2015 9:11 PM To: edk2-devel@lists.sourceforge.net Cc: Gao, Liming; Yao, Jiewen Subject: [PATCH 0/2] Enhance the comments for MemoryAllocationLib of SMM instance
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 edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel