X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=IntelFsp2Pkg%2FLibrary%2FBaseFspCommonLib%2FFspCommonLib.c;h=2f2981c99018917739eb20788e0781cf5a0ef7cc;hb=c44f9a42d4a564cb04372389276cd48c05ad9914;hp=660e9fc696f5c20edd9cb2f785758f4550982896;hpb=40bc7509142af30d8befd198afbdeeaa58964234;p=mirror_edk2.git diff --git a/IntelFsp2Pkg/Library/BaseFspCommonLib/FspCommonLib.c b/IntelFsp2Pkg/Library/BaseFspCommonLib/FspCommonLib.c index 660e9fc696..2f2981c990 100644 --- a/IntelFsp2Pkg/Library/BaseFspCommonLib/FspCommonLib.c +++ b/IntelFsp2Pkg/Library/BaseFspCommonLib/FspCommonLib.c @@ -17,7 +17,6 @@ #include #include #include -#include #include #pragma pack(1) @@ -58,7 +57,7 @@ typedef struct { /** This function sets the FSP global data pointer. - @param[in] FspData Fsp global data pointer. + @param[in] FspData FSP global data pointer. **/ VOID @@ -191,7 +190,7 @@ SetFspCoreStackPointer ( /** This function sets the platform specific data pointer. - @param[in] PlatformData Fsp platform specific data pointer. + @param[in] PlatformData FSP platform specific data pointer. **/ VOID @@ -210,7 +209,7 @@ SetFspPlatformDataPointer ( /** This function gets the platform specific data pointer. - @param[in] PlatformData Fsp platform specific data pointer. + @param[in] PlatformData FSP platform specific data pointer. **/ VOID * @@ -240,7 +239,7 @@ SetFspUpdDataPointer ( FSP_GLOBAL_DATA *FspData; // - // Get the Fsp Global Data Pointer + // Get the FSP Global Data Pointer // FspData = GetFspGlobalDataPointer (); @@ -269,9 +268,9 @@ GetFspUpdDataPointer ( /** - This function sets the memory init UPD data pointer. + This function sets the FspMemoryInit UPD data pointer. - @param[in] MemoryInitUpdPtr memory init UPD data pointer. + @param[in] MemoryInitUpdPtr FspMemoryInit UPD data pointer. **/ VOID EFIAPI @@ -282,20 +281,20 @@ SetFspMemoryInitUpdDataPointer ( FSP_GLOBAL_DATA *FspData; // - // Get the Fsp Global Data Pointer + // Get the FSP Global Data Pointer // FspData = GetFspGlobalDataPointer (); // - // Set the memory init UPD pointer. + // Set the FspMemoryInit UPD pointer. // FspData->MemoryInitUpdPtr = MemoryInitUpdPtr; } /** - This function gets the memory init UPD data pointer. + This function gets the FspMemoryInit UPD data pointer. - @return memory init UPD data pointer. + @return FspMemoryInit UPD data pointer. **/ VOID * EFIAPI @@ -311,9 +310,9 @@ GetFspMemoryInitUpdDataPointer ( /** - This function sets the silicon init UPD data pointer. + This function sets the FspSiliconInit UPD data pointer. - @param[in] SiliconInitUpdPtr silicon init UPD data pointer. + @param[in] SiliconInitUpdPtr FspSiliconInit UPD data pointer. **/ VOID EFIAPI @@ -324,20 +323,20 @@ SetFspSiliconInitUpdDataPointer ( FSP_GLOBAL_DATA *FspData; // - // Get the Fsp Global Data Pointer + // Get the FSP Global Data Pointer // FspData = GetFspGlobalDataPointer (); // - // Set the silicon init UPD data pointer. + // Set the FspSiliconInit UPD data pointer. // FspData->SiliconInitUpdPtr = SiliconInitUpdPtr; } /** - This function gets the silicon init UPD data pointer. + This function gets the FspSiliconInit UPD data pointer. - @return silicon init UPD data pointer. + @return FspSiliconInit UPD data pointer. **/ VOID * EFIAPI @@ -528,6 +527,6 @@ FspApiReturnStatusReset ( SetFspApiReturnStatus ((EFI_STATUS)FspResetType); Pei2LoaderSwitchStack (); DEBUG ((DEBUG_ERROR, "!!!ERROR: FSP has requested BootLoader for reset. But BootLoader has not honored the reset\n")); - DEBUG ((DEBUG_ERROR, "!!!ERROR: Please add support in BootLoader to honour the reset request from FSP\n")); + DEBUG ((DEBUG_ERROR, "!!!ERROR: Please add support in BootLoader to honor the reset request from FSP\n")); } while (LoopUntilReset); }