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:
@@ -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 (
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user