]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c
1) If PeiLoadImage fails, the section extraction PPI or Decompress PPI may not be...
[mirror_edk2.git] / MdeModulePkg / Core / Pei / Dispatcher / Dispatcher.c
index 8fccf3413e0bdca119345ab3d316297ec8e08875..164c2c874623e38db06fe367dbe6aed80031ddd4 100644 (file)
@@ -372,6 +372,12 @@ Returns:
                 );\r
               PERF_END (0, "PEIM", NULL, 0);\r
 \r
+            } else {\r
+              //\r
+              // If PeiLoadImage fails, the section extraction PPI or Decompress PPI may not be ready,\r
+              // we flag that more Peims need to be dispatched.\r
+              //\r
+              PeimNeedingDispatch = TRUE;\r
             }\r
 \r
             //\r