Discussion:
[edk2] [PATCH 0/2] Enhance the comments for MemoryAllocationLib of SMM instance
Qiu Shumin
2015-06-16 13:11:06 UTC
Permalink
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



------------------------------------------------------------------------------
Gao, Liming
2015-06-18 07:15:52 UTC
Permalink
Reviewed-by: Liming Gao <***@intel.com>

-----Original Message-----
From: Qiu, Shumin
Sent: Tuesday, June 16, 2015 9:11 PM
To: edk2-***@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



------------------------------------------------------------------------------
Loading...