Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 1065536c64ab919ad5c207e50b82d4a88ac29ed8
https://github.com/tianocore/edk2/commit/1065536c64ab919ad5c207e50b82d4a88ac29ed8
Author: Cheng Sun <[email protected]>
Date: 2023-12-25 (Mon, 25 Dec 2023)
Changed paths:
M MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c
M MdeModulePkg/Core/Pei/Memory/MemoryServices.c
M MdeModulePkg/Core/Pei/PeiMain.h
M MdeModulePkg/Core/Pei/PeiMain.inf
M MdeModulePkg/Include/Guid/MigratedFvInfo.h
M MdeModulePkg/MdeModulePkg.dec
Log Message:
-----------
MdeModulePkg: Support customized FV Migration Information
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4533
There are use cases which not all FVs need be migrated from TempRam to
permanent memory before TempRam tears down. This new guid is introduced
to avoid unnecessary FV migration to improve boot performance. Platform
can publish MigrationInfo hob with this guid to customize FV migration
info, and PeiCore will only migrate FVs indicated by this Hob info.
This is a backwards compatible change, PeiCore will check MigrationInfo
hob before migration. If MigrationInfo hobs exists, only migrate FVs
recorded by hobs. If MigrationInfo hobs not exists, migrate all FVs to
permanent memory.
Cc: Michael D Kinney <[email protected]>
Cc: Liming Gao <[email protected]>
Cc: Ray Ni <[email protected]>
Cc: Guomin Jiang <[email protected]>
Reviewed-by: Liming Gao <[email protected]>
Reviewed-by: Ray Ni <[email protected]>
Signed-off-by: Cheng Sun <[email protected]>
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits