]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg: Enhance the comments for PiSmmCoreMemoryAllocationLib instance.
authorQiu Shumin <shumin.qiu@intel.com>
Fri, 19 Jun 2015 01:58:09 +0000 (01:58 +0000)
committershenshushi <shenshushi@Edk2>
Fri, 19 Jun 2015 01:58:09 +0000 (01:58 +0000)
commit2d28f3b73e657127738e3713a948eb2725b86174
tree40f934756c1977a932c67fdd84c40ab18b760933
parent25d7db8cc4b04d6dd1d95129550c977ed0a8ed3c
MdeModulePkg: Enhance the comments for PiSmmCoreMemoryAllocationLib 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.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17667 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/MemoryAllocationLib.c