mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
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
|
||||
//
|
||||
#include <Library/PeiCoreEntryPoint.h>
|
||||
#include <Library/DebugLib.h>
|
||||
|
||||
/**
|
||||
|
||||
@ -52,6 +53,12 @@ _ModuleEntryPoint(
|
||||
)
|
||||
{
|
||||
ProcessModuleEntryPointList (SecCoreData, PpiList, NULL);
|
||||
|
||||
//
|
||||
// Should never return
|
||||
//
|
||||
ASSERT(FALSE);
|
||||
CpuDeadLoop ();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user