mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
58bba9401d
commit
eca7dbcb9e
|
@ -577,11 +577,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.
|
||||
|
|
Loading…
Reference in New Issue