summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Core/Pei/Dispatcher
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2007-11-08 03:50:37 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2007-11-08 03:50:37 +0000
commita3a15d2108bb276f8a668a059c86ccfc101e5986 (patch)
tree3baf3078bdbecc9bdaa51428474c04d2f4883b49 /MdeModulePkg/Core/Pei/Dispatcher
parentdda0251d0bddbdb78d84766d74cbfaf70d59bf84 (diff)
downloadedk2-platforms-a3a15d2108bb276f8a668a059c86ccfc101e5986.tar.xz
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
Diffstat (limited to 'MdeModulePkg/Core/Pei/Dispatcher')
-rw-r--r--MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c6
1 files changed, 6 insertions, 0 deletions
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;
}
//