To support Dispatch mode PlatformSecLib needs: 1. Report PeiCoreFvLocationPPI to SecMain so PeiCore from FSP-M can be loaded. 2. Consume FspTempRamExitPpi produced by FSP to disable temporary memory.
0001-KabylakeSiliconPkg: Add FspTempRamExitPpi 0002-KabylakeOpenBoardPkg: Report PeiCoreFvLocation and consume FspTempRamExitPpi Cc: Nate DeSimone <nathaniel.l.desim...@intel.com> Cc: Michael A Kubacki <michael.a.kuba...@intel.com> Cc: Sai Chaganty <rangasai.v.chaga...@intel.com> Signed-off-by: Chasel Chiu <chasel.c...@intel.com> Chasel, Chiu (2): KabylakeSiliconPkg: FSP 2.1 SEC handling. KabylakeOpenBoardPkg: FSP 2.1 SEC handling. .../FspWrapperPlatformSecLib.c | 186 +++++++++ .../PlatformInit.c | 47 +++ .../SecGetPerformance.c | 89 +++++ .../SecPlatformInformation.c | 78 ++++ .../SecRamInitData.c | 36 ++ .../SecTempRamDone.c | 73 ++++ .../SecFspWrapperPlatformSecLib/FsptCoreUpd.h | 40 ++ .../SecFspWrapperPlatformSecLib/Ia32/Fsp.h | 42 ++ .../Ia32/PeiCoreEntry.nasm | 130 +++++++ .../Ia32/SecEntry.nasm | 361 ++++++++++++++++++ .../Ia32/Stack.nasm | 72 ++++ .../SecFspWrapperPlatformSecLib.inf | 97 +++++ .../KabylakeRvp3/OpenBoardPkg.dsc | 2 +- .../KabylakeRvp3/OpenBoardPkg.fdf | 2 +- .../Include/Ppi/TempRamExitPpi.h | 50 +++ Silicon/Intel/KabylakeSiliconPkg/SiPkg.dec | 2 + 16 files changed, 1305 insertions(+), 2 deletions(-) create mode 100644 Platform/Intel/KabylakeOpenBoardPkg/FspWrapper/Library/SecFspWrapperPlatformSecLib/FspWrapperPlatformSecLib.c create mode 100644 Platform/Intel/KabylakeOpenBoardPkg/FspWrapper/Library/SecFspWrapperPlatformSecLib/PlatformInit.c create mode 100644 Platform/Intel/KabylakeOpenBoardPkg/FspWrapper/Library/SecFspWrapperPlatformSecLib/SecGetPerformance.c create mode 100644 Platform/Intel/KabylakeOpenBoardPkg/FspWrapper/Library/SecFspWrapperPlatformSecLib/SecPlatformInformation.c create mode 100644 Platform/Intel/KabylakeOpenBoardPkg/FspWrapper/Library/SecFspWrapperPlatformSecLib/SecRamInitData.c create mode 100644 Platform/Intel/KabylakeOpenBoardPkg/FspWrapper/Library/SecFspWrapperPlatformSecLib/SecTempRamDone.c create mode 100644 Platform/Intel/KabylakeOpenBoardPkg/FspWrapper/Library/SecFspWrapperPlatformSecLib/FsptCoreUpd.h create mode 100644 Platform/Intel/KabylakeOpenBoardPkg/FspWrapper/Library/SecFspWrapperPlatformSecLib/Ia32/Fsp.h create mode 100644 Platform/Intel/KabylakeOpenBoardPkg/FspWrapper/Library/SecFspWrapperPlatformSecLib/Ia32/PeiCoreEntry.nasm create mode 100644 Platform/Intel/KabylakeOpenBoardPkg/FspWrapper/Library/SecFspWrapperPlatformSecLib/Ia32/SecEntry.nasm create mode 100644 Platform/Intel/KabylakeOpenBoardPkg/FspWrapper/Library/SecFspWrapperPlatformSecLib/Ia32/Stack.nasm create mode 100644 Platform/Intel/KabylakeOpenBoardPkg/FspWrapper/Library/SecFspWrapperPlatformSecLib/SecFspWrapperPlatformSecLib.inf create mode 100644 Silicon/Intel/KabylakeSiliconPkg/Include/Ppi/TempRamExitPpi.h -- 2.19.1.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#41732): https://edk2.groups.io/g/devel/message/41732 Mute This Topic: https://groups.io/mt/31879181/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-