IntelFsp2Pkg: Adopt FSP 2.4 MultiPhase functions.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3916 Adopt MultiPhase functions for both FspSecCoreS and FspSecCoreM. For backward compatibility, new INF are created for new modules. 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>
This commit is contained in:
committed by
mergify[bot]
parent
5eeb088ad6
commit
3d35a6c243
@@ -69,8 +69,17 @@ FspApiCallingCheck (
|
||||
Status = EFI_UNSUPPORTED;
|
||||
} else if (EFI_ERROR (FspUpdSignatureCheck (FspSiliconInitApiIndex, ApiParam))) {
|
||||
Status = EFI_INVALID_PARAMETER;
|
||||
} else if (ApiIdx == FspSiliconInitApiIndex) {
|
||||
//
|
||||
// Reset MultiPhase NumberOfPhases to zero
|
||||
//
|
||||
FspData->NumberOfPhases = 0;
|
||||
}
|
||||
}
|
||||
} else if (ApiIdx == FspMultiPhaseMemInitApiIndex) {
|
||||
if ((FspData == NULL) || ((UINTN)FspData == MAX_ADDRESS) || ((UINTN)FspData == MAX_UINT32)) {
|
||||
Status = EFI_UNSUPPORTED;
|
||||
}
|
||||
} else if (ApiIdx == FspSmmInitApiIndex) {
|
||||
//
|
||||
// FspSmmInitApiIndex check
|
||||
|
Reference in New Issue
Block a user