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:
qwang12 2007-10-19 11:56:20 +00:00
parent 2062f2b3f3
commit e83327a80c
1 changed files with 1 additions and 1 deletions

View File

@ -445,7 +445,7 @@ Returns:
PeiSwitchStacks (
InvokePeiCore,
(VOID*) (UINTN) PeiCore,
(VOID*) ((UINTN) EntryPoint + ((UINTN) PeiCore - (UINTN) _ModuleEntryPoint)),
(VOID*) &PeiCoreParameters,
TopOfStack,
(VOID*)(UINTN)Private->StackBase