diff options
author | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-05-29 23:10:44 +0000 |
---|---|---|
committer | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-05-29 23:10:44 +0000 |
commit | 7bc3788c5b9e2e9fdef6fda8788f29170f59b644 (patch) | |
tree | 870d82249e6c77ccf96cc37feb1faf72139d8566 /MdeModulePkg/Core/Pei | |
parent | 1ad76c3466e260a7d58ba260eddc1e87beabee79 (diff) | |
download | edk2-7bc3788c5b9e2e9fdef6fda8788f29170f59b644.zip edk2-7bc3788c5b9e2e9fdef6fda8788f29170f59b644.tar.gz edk2-7bc3788c5b9e2e9fdef6fda8788f29170f59b644.tar.bz2 |
If the last PEIM dispatched in Pre-Memory PEI is the last PEIM in the BFV, then no PEIMs will be dispatched in Post Memory PEI.
Reset CurrentPeimCount on the transition from Pre-Memory PEI to Post-Memory PEI
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5313 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Core/Pei')
-rw-r--r-- | MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c b/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c index b931b79..079e798 100644 --- a/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c +++ b/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c @@ -578,6 +578,11 @@ Returns: PrivateInMem->PeiMemoryInstalled = TRUE;
//
+ // Restart scan of all PEIMs on next pass
+ //
+ PrivateInMem->CurrentPeimCount = 0;
+
+ //
// Shadow PEI Core. When permanent memory is avaiable, shadow
// PEI Core and PEIMs to get high performance.
//
|