tianocore / edk2

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

MdeModulePkg/Core/Pei: Install MigrateTempRamPpi #5783

Closed zhihaoli1064 closed 3 months ago

zhihaoli1064 commented 3 months ago

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

Migrate FSP-T/M binary from temporary RAM to permanent RAM before NEM tear down. Tcg module will use permanent address of FSP-T/M for measurement. In MdeModulePkg, PeiCore installs mMigrateTempRamPpi if PcdMigrateTemporaryRamFirmwareVolumes is True before NEM tear down and after permanent memory ready.

Cc: Chasel Chiu chasel.chiu@intel.com Cc: Nate DeSimone nathaniel.l.desimone@intel.com Cc: Duggapu Chinni B chinni.b.duggapu@intel.com Cc: Chen Gang C gang.c.chen@intel.com Cc: Liming Gao gaoliming@byosoft.com.cn

Signed-off-by: Zhihao Li zhihao.li@intel.com