summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Core
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-04-03 06:25:37 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-04-03 06:25:37 +0000
commiteca7dbcb9ecd57bc0bfab1c762c3bcc451de056d (patch)
tree87b1525caa0eaf83da22b6f2b3b663110a3272bf /MdeModulePkg/Core
parent58bba9401d8aff5259e643b2ef9629e11f307c94 (diff)
downloadedk2-eca7dbcb9ecd57bc0bfab1c762c3bcc451de056d.zip
edk2-eca7dbcb9ecd57bc0bfab1c762c3bcc451de056d.tar.gz
edk2-eca7dbcb9ecd57bc0bfab1c762c3bcc451de056d.tar.bz2
PrivateInMem->CurrentPeimCount should not be incremented when memory is discovered, line 376 judgment has guarantee that the PEIM who discovery the memory would not be dispatched twice.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4988 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Core')
-rw-r--r--MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c b/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c
index f4b18d5..b931b79 100644
--- a/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c
+++ b/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c
@@ -578,11 +578,6 @@ Returns:
PrivateInMem->PeiMemoryInstalled = TRUE;
//
- // Make sure we don't retry the same PEIM that added memory
- //
- PrivateInMem->CurrentPeimCount++;
-
- //
// Shadow PEI Core. When permanent memory is avaiable, shadow
// PEI Core and PEIMs to get high performance.
//