From a3a15d2108bb276f8a668a059c86ccfc101e5986 Mon Sep 17 00:00:00 2001 From: qwang12 Date: Thu, 8 Nov 2007 03:50:37 +0000 Subject: 1) If PeiLoadImage fails, the section extraction PPI or Decompress PPI may not be ready, we flag that more Peims need to be dispatched. 2) Set the stack to be cacheable before the stack switch occurs so that IPF recovery path will be run from cacheble memory for code, data and stack. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4288 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c') diff --git a/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c b/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c index 8fccf3413e..164c2c8746 100644 --- a/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c +++ b/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c @@ -372,6 +372,12 @@ Returns: ); PERF_END (0, "PEIM", NULL, 0); + } else { + // + // If PeiLoadImage fails, the section extraction PPI or Decompress PPI may not be ready, + // we flag that more Peims need to be dispatched. + // + PeimNeedingDispatch = TRUE; } // -- cgit v1.2.3