diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-01-24 12:55:59 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-01-24 12:55:59 +0000 |
commit | 341a658fca6ff05deb7a9db4fbc7cc491dff473f (patch) | |
tree | 24332dc83d5f68e64b4c8eac8c8ce9af86099090 /MdeModulePkg/Core/Pei/Dispatcher | |
parent | f13321ca16a0c7d9049ccba6979657b1bda3be29 (diff) | |
download | edk2-341a658fca6ff05deb7a9db4fbc7cc491dff473f.tar.gz edk2-341a658fca6ff05deb7a9db4fbc7cc491dff473f.tar.bz2 edk2-341a658fca6ff05deb7a9db4fbc7cc491dff473f.zip |
Correct PeiCore not dispatch the register for shadow image without relocation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9796 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Core/Pei/Dispatcher')
-rw-r--r-- | MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c b/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c index c63bce8fd8..6883bc300f 100644 --- a/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c +++ b/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c @@ -221,6 +221,7 @@ ShadowPeiCore( Status = PeiLoadImage (
PeiServices,
*((EFI_PEI_FILE_HANDLE*)&PeiCoreFileHandle),
+ PEIM_STATE_REGISITER_FOR_SHADOW,
&EntryPoint,
&AuthenticationState
);
@@ -298,6 +299,7 @@ PeiDispatcher ( Status = PeiLoadImage (
(CONST EFI_PEI_SERVICES **) &Private->PS,
PeimFileHandle,
+ PEIM_STATE_REGISITER_FOR_SHADOW,
&EntryPoint,
&AuthenticationState
);
@@ -401,6 +403,7 @@ PeiDispatcher ( Status = PeiLoadImage (
PeiServices,
PeimFileHandle,
+ PEIM_STATE_NOT_DISPATCHED,
&EntryPoint,
&AuthenticationState
);
@@ -820,3 +823,4 @@ PeiRegisterForShadow ( }
+
|