summaryrefslogtreecommitdiff
path: root/MdePkg/Library/PeiCoreEntryPoint
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-08-18 07:32:34 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-08-18 07:32:34 +0000
commitf2084bda3d6650e9f3fa9b356f333fe7b55dc70c (patch)
tree785b974e98e1f5e595f448474039351cc33597ca /MdePkg/Library/PeiCoreEntryPoint
parente310a27b5e4686ee2660c6da731cf5806510ac4c (diff)
downloadedk2-platforms-f2084bda3d6650e9f3fa9b356f333fe7b55dc70c.tar.xz
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
Diffstat (limited to 'MdePkg/Library/PeiCoreEntryPoint')
-rw-r--r--MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.c b/MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.c
index fdddf661b6..2631a273ce 100644
--- a/MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.c
+++ b/MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.c
@@ -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 ();
}