X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=IntelFspWrapperPkg%2FInclude%2FLibrary%2FFspApiLib.h;h=160c07f646ae8cc998ce406674d1bb66b32ca082;hp=fc0104d28c36819db1e736ac544e89edfd91c743;hb=d8043ce905a5832f911361ef30be28765afbdc6b;hpb=d5fb1edfb16a2af29486ffbf5aa32a036da9caa4;ds=sidebyside diff --git a/IntelFspWrapperPkg/Include/Library/FspApiLib.h b/IntelFspWrapperPkg/Include/Library/FspApiLib.h index fc0104d28c..160c07f646 100644 --- a/IntelFspWrapperPkg/Include/Library/FspApiLib.h +++ b/IntelFspWrapperPkg/Include/Library/FspApiLib.h @@ -1,7 +1,7 @@ /** @file Provide FSP API related function. - Copyright (c) 2014, Intel Corporation. All rights reserved.
+ Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -37,9 +37,9 @@ FspFindFspHeader ( @param[in] FspHeader FSP header pointer. @param[in] FspInitParams Address pointer to the FSP_INIT_PARAMS structure. - @return FSP status returned by FspInit API. + @return EFI status returned by FspInit API. **/ -FSP_STATUS +EFI_STATUS EFIAPI CallFspInit ( IN FSP_INFO_HEADER *FspHeader, @@ -52,13 +52,58 @@ CallFspInit ( @param[in] FspHeader FSP header pointer. @param[in] NotifyPhaseParams Address pointer to the NOTIFY_PHASE_PARAMS structure. - @return FSP status returned by FspNotifyPhase API. + @return EFI status returned by FspNotifyPhase API. **/ -FSP_STATUS +EFI_STATUS EFIAPI CallFspNotifyPhase ( IN FSP_INFO_HEADER *FspHeader, IN NOTIFY_PHASE_PARAMS *NotifyPhaseParams ); +/** + Call FSP API - FspMemoryInit. + + @param[in] FspHeader FSP header pointer. + @param[in,out] FspMemoryInitParams Address pointer to the FSP_MEMORY_INIT_PARAMS structure. + + @return EFI status returned by FspMemoryInit API. +**/ +EFI_STATUS +EFIAPI +CallFspMemoryInit ( + IN FSP_INFO_HEADER *FspHeader, + IN OUT FSP_MEMORY_INIT_PARAMS *FspMemoryInitParams + ); + +/** + Call FSP API - TempRamExit. + + @param[in] FspHeader FSP header pointer. + @param[in,out] TempRamExitParam Address pointer to the TempRamExit parameters structure. + + @return EFI status returned by TempRamExit API. +**/ +EFI_STATUS +EFIAPI +CallTempRamExit ( + IN FSP_INFO_HEADER *FspHeader, + IN OUT VOID *TempRamExitParam + ); + +/** + Call FSP API - FspSiliconInit. + + @param[in] FspHeader FSP header pointer. + @param[in,out] FspSiliconInitParam Address pointer to the Silicon Init parameters structure. + + @return EFI status returned by FspSiliconInit API. +**/ +EFI_STATUS +EFIAPI +CallFspSiliconInit ( + IN FSP_INFO_HEADER *FspHeader, + IN OUT VOID *FspSiliconInitParam + ); + #endif