mirror of https://github.com/acidanthera/audk.git
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:
parent
e310a27b5e
commit
f2084bda3d
|
@ -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 ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue