diff --git a/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c b/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c index fd4778fdc7..8fccf3413e 100644 --- a/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c +++ b/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c @@ -666,5 +666,6 @@ InvokePeiCore ( // // Never returns // - ASSERT_EFI_ERROR (FALSE); + ASSERT (FALSE); + CpuDeadLoop (); }