X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FCore%2FPei%2FPeiMain.h;fp=MdeModulePkg%2FCore%2FPei%2FPeiMain.h;h=277f54a0c6ada0d37ec4e01ee6e807aff6d89e37;hp=e95b1c3d8cd77057a1646d9c516b2227d7c00001;hb=483e2cddfa6b0740ae9d37a808c4451d64c3de2e;hpb=664d4c0a252635566b7632b9a46ed350d3894b99 diff --git a/MdeModulePkg/Core/Pei/PeiMain.h b/MdeModulePkg/Core/Pei/PeiMain.h index e95b1c3d8c..277f54a0c6 100644 --- a/MdeModulePkg/Core/Pei/PeiMain.h +++ b/MdeModulePkg/Core/Pei/PeiMain.h @@ -30,6 +30,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include #include #include +#include #include #include #include @@ -721,6 +722,22 @@ PeiCoreBuildHobHandoffInfoTable ( IN UINT64 MemoryLength ); +/** + Install SEC HOB data to the HOB List. + + @param PeiServices An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation. + @param SecHobList Pointer to SEC HOB List. + + @return EFI_SUCCESS Success to install SEC HOB data. + @retval EFI_OUT_OF_RESOURCES If there is no more memory to grow the Hoblist. + +**/ +EFI_STATUS +PeiInstallSecHobData ( + IN CONST EFI_PEI_SERVICES **PeiServices, + IN EFI_HOB_GENERIC_HEADER *SecHobList + ); + // // FFS Fw Volume support functions