summaryrefslogtreecommitdiffstats
path: root/SourceLevelDebugPkg/Library/DebugAgent
diff options
context:
space:
mode:
authorStar Zeng <star.zeng@intel.com>2015-05-18 01:46:40 +0000
committerlzeng14 <lzeng14@Edk2>2015-05-18 01:46:40 +0000
commitf3b6e048e2454c4692bcd66c7592aefde14bcfa4 (patch)
tree60a8f47e9f84e7604efa060fe33aec95972abc73 /SourceLevelDebugPkg/Library/DebugAgent
parentdb9b00f1d58516fec77df359e99ee60ed3da0278 (diff)
downloadedk2-f3b6e048e2454c4692bcd66c7592aefde14bcfa4.tar.gz
edk2-f3b6e048e2454c4692bcd66c7592aefde14bcfa4.tar.bz2
edk2-f3b6e048e2454c4692bcd66c7592aefde14bcfa4.zip
MdeModulePkg PiSmmCoreMemoryAllocationLib: Get SMRAM ranges
from FullSmramRanges and FullSmramRangeCount in SmmCorePrivate by Constructor. It can avoid potential first call to FreePool() -> BufferInSmram() -> if (mSmramRanges == NULL) { GetSmramRanges();} -> gBS->LocateProtocol() at boottime with >= TPL_NOTIFY or after ReadyToLock or at OS runtime. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17463 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'SourceLevelDebugPkg/Library/DebugAgent')
0 files changed, 0 insertions, 0 deletions