X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=IntelFrameworkPkg%2FInclude%2FPpi%2FSecurity.h;h=d3005c4a4cbcd747f4a210e409419ddb523dd505;hp=48a99a84cc7e8244bfa332b55d435794f8c4bdb7;hb=1c2f052de2064a0f973aa27767516dfbd90b4fbd;hpb=badb54ab92ec4c7c529e5817ade689c902a4fc3e diff --git a/IntelFrameworkPkg/Include/Ppi/Security.h b/IntelFrameworkPkg/Include/Ppi/Security.h index 48a99a84cc..d3005c4a4c 100644 --- a/IntelFrameworkPkg/Include/Ppi/Security.h +++ b/IntelFrameworkPkg/Include/Ppi/Security.h @@ -1,20 +1,18 @@ /** @file - This file declares Security Architectural PPI. - - This PPI is installed by some platform PEIM that abstracts the security policy to the PEI + This file declares the Security Architectural PPI. + + This PPI is installed by a 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. - - Copyright (c) 2006, 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 - http://opensource.org/licenses/bsd-license.php - THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, - WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +Copyright (c) 2006 - 2018, 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 that accompanies this distribution. +The full text of the license may be found at +http://opensource.org/licenses/bsd-license.php. - Module Name: Security.h +THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. @par Revision Reference: This PPI is defined in PEI CIS. @@ -25,8 +23,6 @@ #ifndef __SECURITY_PPI_H__ #define __SECURITY_PPI_H__ -#include - #define EFI_PEI_SECURITY_PPI_GUID \ { \ 0x1388066e, 0x3a57, 0x4efa, {0x98, 0xf3, 0xc1, 0x2f, 0x3a, 0x95, 0x8a, 0x29 } \ @@ -38,18 +34,21 @@ 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. + @param PeiServices The 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 The pointer to the file under review. + @param DeferExecution The 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 + @retval EFI_SECURITY_VIOLATION The object cannot be trusted. **/ typedef EFI_STATUS -(EFIAPI *EFI_PEI_SECURITY_AUTHENTICATION_STATE)( +(EFIAPI *FRAMEWORK_EFI_PEI_SECURITY_AUTHENTICATION_STATE)( IN EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_SECURITY_PPI *This, IN UINT32 AuthenticationStatus, @@ -61,7 +60,7 @@ EFI_STATUS // PPI interface structure of Security PPI // struct _EFI_PEI_SECURITY_PPI { - EFI_PEI_SECURITY_AUTHENTICATION_STATE AuthenticationState; + FRAMEWORK_EFI_PEI_SECURITY_AUTHENTICATION_STATE AuthenticationState; }; extern EFI_GUID gEfiPeiSecurityPpiGuid;