]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Core/Pei/Image/Image.c
MdeModulePkg PeiCore: Add PCD to specify PEIM Shadow
authorLiming Gao <liming.gao@intel.com>
Mon, 3 Aug 2015 03:18:37 +0000 (03:18 +0000)
committerlgao4 <lgao4@Edk2>
Mon, 3 Aug 2015 03:18:37 +0000 (03:18 +0000)
commit3d44658ca89b36a492ba2ab648617d53be2693fd
tree3d96cccf6b03170185d6f9957708fcd507c557d5
parent496b0dd00c377461bd059c0027ec2437630e2496
MdeModulePkg PeiCore: Add PCD to specify PEIM Shadow

v2 changelog:
Check CurrentPeimHandle to check the matched PeimHandle.
Add check point to ShadowPeiCore based on PCD.

v1 changelog:
PeiCore LoadImage always shadow itself and PEIM on normal boot after
the physical memory is installed. On the emulator platform, the shadow
may be not necessary. To support such usage, new PCD PcdShadowPeimOnBoot
is introduced to specify whether loads PEIM in memory by default.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18125 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c
MdeModulePkg/Core/Pei/Image/Image.c
MdeModulePkg/Core/Pei/PeiMain.inf
MdeModulePkg/Core/Pei/PeiMain/PeiMain.c
MdeModulePkg/MdeModulePkg.dec
MdeModulePkg/MdeModulePkg.uni