]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg PeiCore: Always use PeiImageRead() function to load PEI image
authorLiming Gao <liming.gao@intel.com>
Wed, 5 Sep 2018 14:17:44 +0000 (22:17 +0800)
committerLiming Gao <liming.gao@intel.com>
Fri, 7 Sep 2018 13:39:26 +0000 (21:39 +0800)
In V2, Remove GetImageReadFunction(), directly use PeiImageRead().

The copy PeiImageReadForShadow function doesn't improve the boot performance.
This patch removes this copy logic to simplify the code logic.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>

No differences found