diff options
author | Star Zeng <star.zeng@intel.com> | 2016-04-22 14:31:10 +0800 |
---|---|---|
committer | Star Zeng <star.zeng@intel.com> | 2016-04-26 17:31:25 +0800 |
commit | dea0d6bf2f19989f0583f8ae163571105645c6ca (patch) | |
tree | cac162d914aedd2e7f502daa80e715bf8aeff93c /OvmfPkg/SataControllerDxe/SataController.c | |
parent | 6523ae8baa91aea55ebcfb0d4ac056eb1962b723 (diff) | |
download | edk2-dea0d6bf2f19989f0583f8ae163571105645c6ca.tar.gz edk2-dea0d6bf2f19989f0583f8ae163571105645c6ca.tar.bz2 edk2-dea0d6bf2f19989f0583f8ae163571105645c6ca.zip |
MdeModulePkg DxeCore: Check free memory type by CoreUpdateProfile()
It can improve profile performance, especially when
PcdMemoryProfileMemoryType configured without EfiBootServicesData.
CoreUpdateProfile() can return quickly, but not depend on the further
code to find the buffer not recorded and then return.
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'OvmfPkg/SataControllerDxe/SataController.c')
0 files changed, 0 insertions, 0 deletions