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
This commit is contained in:
lgao4
2010-01-24 12:55:59 +00:00
parent f13321ca16
commit 341a658fca
3 changed files with 97 additions and 9 deletions

View File

@@ -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 (
}