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 +#include /** @@ -52,6 +53,12 @@ _ModuleEntryPoint( ) { ProcessModuleEntryPointList (SecCoreData, PpiList, NULL); + + // + // Should never return + // + ASSERT(FALSE); + CpuDeadLoop (); }