tianocore / edk2

EDK II
https://github.com/tianocore/tianocore.github.io/wiki/EDK-II
Other
4.38k stars 2.4k forks source link

MdeModulePkg: Optimize PEI Core Migration Algorithm #5872

Closed awiralsh closed 4 days ago

awiralsh commented 4 days ago

REF : https://bugzilla.tianocore.org/show_bug.cgi?id=4750

Migrate the FV that doesn't contain the currently executing PEI Core when memory is initialized but PEI Core is still potentially running from faster memory. This may reduce the time required to migrate FVs to permanent memory. The FV containing PEI Core is migrated after the PEI Core reentry when it is executed from permanent memory.

This migration algorithm is only used for FVs specified in the gEdkiiMigrationInfoGuid HOB.

Signed-off-by: Awiral Shrivastava awiral.shrivastava@intel.com