Fix bug in DxeMain module and EdkMemoryStatusCodeLib library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@581 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -486,7 +486,7 @@ Returns:
|
||||
#ifdef EFI_NT_EMULATOR
|
||||
gRunningFromMemory = TRUE;
|
||||
#else
|
||||
* (BOOLEAN *) ((UINTN) &gRunningFromMemory + (UINTN) EntryPoint - (UINTN) InstallMonoStatusCode) = TRUE;
|
||||
* (BOOLEAN *) ((UINTN) &gRunningFromMemory + (UINTN) EntryPoint - (UINTN) _ModuleEntryPoint) = TRUE;
|
||||
#endif
|
||||
Status = ((EFI_PEIM_ENTRY_POINT )(UINTN) EntryPoint) (PrivateData->FfsHeader, PeiServices);
|
||||
if (EFI_ERROR (Status)) {
|
||||
|
Reference in New Issue
Block a user