X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FCore%2FPei%2FSecurity%2FSecurity.c;fp=MdeModulePkg%2FCore%2FPei%2FSecurity%2FSecurity.c;h=7460707a274f164589a5befc2b744856f6703984;hp=469686ff23ed5ed7f404bf34bb17a7c34bf8b323;hb=14941e689f3d4b006ba263de494c5b9e386a546a;hpb=1bd90a4c479759542f86dbac953855552cbb31fa diff --git a/MdeModulePkg/Core/Pei/Security/Security.c b/MdeModulePkg/Core/Pei/Security/Security.c index 469686ff23..7460707a27 100644 --- a/MdeModulePkg/Core/Pei/Security/Security.c +++ b/MdeModulePkg/Core/Pei/Security/Security.c @@ -62,8 +62,7 @@ InitializeSecurityServices ( /** Provide a callback for when the security PPI is installed. - This routine will cache installed security PPI into PeiCore's private data. - + @param PeiServices An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation. @param NotifyDescriptor The descriptor for the notification event. @param Ppi Pointer to the PPI in question. @@ -106,7 +105,7 @@ SecurityPpiNotifyCallback ( @retval EFI_SUCCESS Image is OK @retval EFI_SECURITY_VIOLATION Image is illegal - @retval EFI_NOT_FOUND If security PPI is not installed. + **/ EFI_STATUS VerifyPeim ( @@ -149,9 +148,10 @@ VerifyPeim ( /** Verify a Firmware volume. - @param CurrentFvAddress Pointer to the current Firmware Volume under consideration + @param CurrentFvAddress - Pointer to the current Firmware Volume under consideration - @retval EFI_SUCCESS Firmware Volume is legal + @retval EFI_SUCCESS Firmware Volume is legal + @retval EFI_SECURITY_VIOLATION Firmware Volume fails integrity test **/ EFI_STATUS