X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=IntelFrameworkPkg%2FInclude%2FPpi%2FSecurity.h;h=48a99a84cc7e8244bfa332b55d435794f8c4bdb7;hp=8c7adb6fa01356890b45779bcaac2860cdc45d38;hb=badb54ab92ec4c7c529e5817ade689c902a4fc3e;hpb=4a71b21a6375549aa514e4680449a29f9c64802f diff --git a/IntelFrameworkPkg/Include/Ppi/Security.h b/IntelFrameworkPkg/Include/Ppi/Security.h index 8c7adb6fa0..48a99a84cc 100644 --- a/IntelFrameworkPkg/Include/Ppi/Security.h +++ b/IntelFrameworkPkg/Include/Ppi/Security.h @@ -2,7 +2,7 @@ This file declares Security Architectural PPI. This PPI is installed by some platform PEIM that abstracts the security policy to the PEI - Foundation, namely the case of a PEIM¡¯s authentication state being returned during the PEI section + Foundation, namely the case of a PEIM's authentication state being returned during the PEI section extraction process. Copyright (c) 2006, Intel Corporation @@ -38,38 +38,28 @@ typedef struct _EFI_PEI_SECURITY_PPI EFI_PEI_SECURITY_PPI; Allows the platform builder to implement a security policy in response to varying file authentication states. - @param PeiServices Pointer to the PEI Services Table. - @param This Interface pointer that implements the particular EFI_PEI_SECURITY_PPI instance. - @param AuthenticationStatus - Status returned by the verification service as part of section extraction. - @param FfsFileHeader Pointer to the file under review. - @param DeferExecution Pointer to a variable that alerts the PEI Foundation to defer execution of a PEIM. - - @retval EFI_SUCCESS The service performed its action successfully. - @retval EFI_SECURITY_VIOLATION The object cannot be trusted + @param PeiServices Pointer to the PEI Services Table. + @param This Interface pointer that implements the particular EFI_PEI_SECURITY_PPI instance. + @param AuthenticationStatus Status returned by the verification service as part of section extraction. + @param FfsFileHeader Pointer to the file under review. + @param DeferExecution Pointer to a variable that alerts the PEI Foundation to defer execution of a PEIM. + @retval EFI_SUCCESS The service performed its action successfully. + @retval EFI_SECURITY_VIOLATION The object cannot be trusted **/ typedef EFI_STATUS -(EFIAPI *EFI_PEI_SECURITY_AUTHENTICATION_STATE) ( +(EFIAPI *EFI_PEI_SECURITY_AUTHENTICATION_STATE)( IN EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_SECURITY_PPI *This, IN UINT32 AuthenticationStatus, IN EFI_FFS_FILE_HEADER *FfsFileHeader, - IN OUT BOOLEAN *StartCrisisRecovery + IN OUT BOOLEAN *DeferExecution ); -/** - @par Ppi Description: - This PPI is installed by some platform PEIM that abstracts the security - policy to the PEI Foundation, namely the case of a PEIM's authentication - state being returned during the PEI section extraction process. - - @param AuthenticationState - Allows the platform builder to implement a security policy in response - to varying file authentication states. - -**/ +// +// PPI interface structure of Security PPI +// struct _EFI_PEI_SECURITY_PPI { EFI_PEI_SECURITY_AUTHENTICATION_STATE AuthenticationState; };