]> git.proxmox.com Git - mirror_edk2.git/commit
IntelFsp2Pkg: Support Multi-Phase SiInit and debug handlers.
authorChasel Chiu <chasel.chiu@intel.com>
Thu, 30 Apr 2020 01:28:35 +0000 (09:28 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 14 May 2020 12:34:01 +0000 (12:34 +0000)
commitf2cdb268ef04eeec51948b5d81eeca5cab5ed9af
tree989349555cc3b783737d9aa2a6a56a67f7e63eac
parentceacd9e992cd12f3c07ae1a28a75a6b8750718aa
IntelFsp2Pkg: Support Multi-Phase SiInit and debug handlers.

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

To enhance FSP silicon initialization flexibility an optional
Multi-Phase API is introduced and FSP header needs update for
new API offset. Also new SecCore module created for
FspMultiPhaseSiInit API

New ARCH_UPD introduced for enhancing FSP debug message
flexibility now bootloader can pass its own debug handler
function pointer and FSP will call the function to handle
debug message.
To support calling bootloader functions, a FspGlobalData field
added to indicate if FSP needs to switch stack when FSP running
on separate stack from bootloader.

Cc: Maurice Ma <maurice.ma@intel.com>
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Signed-off-by: Chasel Chiu <chasel.chiu@intel.com>
Reviewed-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
IntelFsp2Pkg/FspSecCore/Fsp22SecCoreS.inf [new file with mode: 0644]
IntelFsp2Pkg/FspSecCore/Ia32/Fsp22ApiEntryS.nasm [new file with mode: 0644]
IntelFsp2Pkg/FspSecCore/Ia32/FspApiEntryCommon.nasm
IntelFsp2Pkg/FspSecCore/SecFsp.c
IntelFsp2Pkg/FspSecCore/SecFspApiChk.c
IntelFsp2Pkg/FspSecCore/SecMain.c
IntelFsp2Pkg/Include/FspEas/FspApi.h
IntelFsp2Pkg/Include/FspGlobalData.h
IntelFsp2Pkg/Include/Guid/FspHeaderFile.h
IntelFsp2Pkg/Include/Library/FspSecPlatformLib.h
IntelFsp2Pkg/Library/SecFspSecPlatformLibNull/PlatformSecLibNull.c