]> git.proxmox.com Git - mirror_edk2.git/commit
IntelFsp2Pkg: FSP should support input UPD as NULL.
authorChasel Chiu <chasel.chiu@intel.com>
Mon, 24 Oct 2022 03:00:57 +0000 (20:00 -0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 4 Nov 2022 03:04:51 +0000 (03:04 +0000)
commitb84f32ae5b475ce657ea1c9db29d4e4ec7711948
tree240a7fde05778b15a896636bcc69c5565417d56a
parentcab1f02565d3b29081dd21afb074f35fdb4e1fd6
IntelFsp2Pkg: FSP should support input UPD as NULL.

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

FSP specification supports input UPD as NULL cases which FSP will
use built-in UPD region instead.
FSP should not return INVALID_PARAMETER in such cases.

In FSP-T entry point case, the valid FSP-T UPD region pointer will be
passed to platform FSP code to consume.
In FSP-M and FSP-S cases, valid UPD pointer will be decided when
updating corresponding pointer field in FspGlobalData.

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>
Reviewed-by: Ted Kuo <ted.kuo@intel.com>
IntelFsp2Pkg/FspSecCore/Ia32/FspApiEntryT.nasm
IntelFsp2Pkg/FspSecCore/SecFspApiChk.c
IntelFsp2Pkg/FspSecCore/X64/FspApiEntryT.nasm