Fix a bug which does not run PeiCore from memory after shadowing it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4186 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -445,7 +445,7 @@ Returns:
|
|||||||
|
|
||||||
PeiSwitchStacks (
|
PeiSwitchStacks (
|
||||||
InvokePeiCore,
|
InvokePeiCore,
|
||||||
(VOID*) (UINTN) PeiCore,
|
(VOID*) ((UINTN) EntryPoint + ((UINTN) PeiCore - (UINTN) _ModuleEntryPoint)),
|
||||||
(VOID*) &PeiCoreParameters,
|
(VOID*) &PeiCoreParameters,
|
||||||
TopOfStack,
|
TopOfStack,
|
||||||
(VOID*)(UINTN)Private->StackBase
|
(VOID*)(UINTN)Private->StackBase
|
||||||
|
Reference in New Issue
Block a user