]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkPkg/Include/Ppi/Security.h
IntelFrameworkPkg: Clean up source files
[mirror_edk2.git] / IntelFrameworkPkg / Include / Ppi / Security.h
index 48a99a84cc7e8244bfa332b55d435794f8c4bdb7..d3005c4a4cbcd747f4a210e409419ddb523dd505 100644 (file)
@@ -1,20 +1,18 @@
 /** @file\r
-  This file declares Security Architectural PPI.\r
-  \r
-  This PPI is installed by some platform PEIM that abstracts the security policy to the PEI\r
+  This file declares the Security Architectural PPI.\r
+\r
+  This PPI is installed by a platform PEIM that abstracts the security policy to the PEI\r
   Foundation, namely the case of a PEIM's authentication state being returned during the PEI section\r
   extraction process.\r
-  \r
-  Copyright (c) 2006, Intel Corporation\r
-  All rights reserved. This program and the accompanying materials\r
-  are licensed and made available under the terms and conditions of the BSD License\r
-  which accompanies this distribution.  The full text of the license may be found at\r
-  http://opensource.org/licenses/bsd-license.php\r
 \r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials are licensed and made available under\r
+the terms and conditions of the BSD License that accompanies this distribution.\r
+The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php.\r
 \r
-  Module Name:  Security.h\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
   This PPI is defined in PEI CIS.\r
@@ -25,8 +23,6 @@
 #ifndef __SECURITY_PPI_H__\r
 #define __SECURITY_PPI_H__\r
 \r
-#include <PiPei.h>\r
-\r
 #define EFI_PEI_SECURITY_PPI_GUID \\r
   { \\r
     0x1388066e, 0x3a57, 0x4efa, {0x98, 0xf3, 0xc1, 0x2f, 0x3a, 0x95, 0x8a, 0x29 } \\r
@@ -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\r
   to varying file authentication states.\r
 \r
-  @param  PeiServices             Pointer to the PEI Services Table.\r
-  @param  This                    Interface pointer that implements the particular EFI_PEI_SECURITY_PPI instance.\r
-  @param  AuthenticationStatus    Status returned by the verification service as part of section extraction.\r
-  @param  FfsFileHeader           Pointer to the file under review.\r
-  @param  DeferExecution          Pointer to a variable that alerts the PEI Foundation to defer execution of a PEIM.\r
+  @param  PeiServices             The pointer to the PEI Services Table.\r
+  @param  This                    Interface pointer that implements the particular\r
+                                  EFI_PEI_SECURITY_PPI instance.\r
+  @param  AuthenticationStatus    Status returned by the verification service as\r
+                                  part of section extraction.\r
+  @param  FfsFileHeader           The pointer to the file under review.\r
+  @param  DeferExecution          The pointer to a variable that alerts the PEI\r
+                                  Foundation to defer execution of a PEIM.\r
 \r
   @retval EFI_SUCCESS             The service performed its action successfully.\r
-  @retval EFI_SECURITY_VIOLATION  The object cannot be trusted\r
+  @retval EFI_SECURITY_VIOLATION  The object cannot be trusted.\r
 **/\r
 typedef\r
 EFI_STATUS\r
-(EFIAPI *EFI_PEI_SECURITY_AUTHENTICATION_STATE)(\r
+(EFIAPI *FRAMEWORK_EFI_PEI_SECURITY_AUTHENTICATION_STATE)(\r
   IN EFI_PEI_SERVICES             **PeiServices,\r
   IN EFI_PEI_SECURITY_PPI         *This,\r
   IN UINT32                       AuthenticationStatus,\r
@@ -61,7 +60,7 @@ EFI_STATUS
 // PPI interface structure of Security PPI\r
 //\r
 struct _EFI_PEI_SECURITY_PPI {\r
-  EFI_PEI_SECURITY_AUTHENTICATION_STATE  AuthenticationState;\r
+  FRAMEWORK_EFI_PEI_SECURITY_AUTHENTICATION_STATE  AuthenticationState;\r
 };\r
 \r
 extern EFI_GUID gEfiPeiSecurityPpiGuid;\r