Add CpuDeadLoop() for PeiCore entry, that means PeiCore should not return.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5661 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
klu2 2008-08-18 07:32:34 +00:00
parent e310a27b5e
commit f2084bda3d
1 changed files with 7 additions and 0 deletions

View File

@ -19,6 +19,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
// The Library classes this module produced // The Library classes this module produced
// //
#include <Library/PeiCoreEntryPoint.h> #include <Library/PeiCoreEntryPoint.h>
#include <Library/DebugLib.h>
/** /**
@ -52,6 +53,12 @@ _ModuleEntryPoint(
) )
{ {
ProcessModuleEntryPointList (SecCoreData, PpiList, NULL); ProcessModuleEntryPointList (SecCoreData, PpiList, NULL);
//
// Should never return
//
ASSERT(FALSE);
CpuDeadLoop ();
} }