]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Ppi/Security2.h
Resolve GCC build error, where #pragma pack(push[, id], <n>) is not supported.
[mirror_edk2.git] / MdePkg / Include / Ppi / Security2.h
index c18da3fd5ecdbfd7f06debec72a9b8c78c2289d0..eed56d7535a05e963a5c7a395c36f32d5fe2d243 100644 (file)
@@ -5,8 +5,8 @@
   policy to the PEI Foundation, namely the case of a PEIM's authentication \r
   state being returned during the PEI section extraction process.\r
 \r
-  Copyright (c) 2006 - 2008, Intel Corporation\r
-  All rights reserved. This program and the accompanying materials                          \r
+  Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
+  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
@@ -15,8 +15,7 @@
   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
 \r
   @par Revision Reference:\r
-  This PPI is defined in PI.\r
-  Version 1.0.\r
+  This PPI is introduced in PI Version 1.0.\r
 \r
 **/\r
 \r
@@ -48,6 +47,15 @@ typedef struct _EFI_PEI_SECURITY2_PPI  EFI_PEI_SECURITY2_PPI;
   @param This                    Interface pointer that implements the\r
                                  particular EFI_PEI_SECURITY2_PPI instance.\r
   @param AuthenticationStatus    Authentication status of the file.\r
+                                 xx00 Image was not signed.\r
+                                 xxx1 Platform security policy override. \r
+                                      Assumes same meaning as 0010 (the image was signed, the\r
+                                      signature was tested, and the signature passed authentication test).\r
+                                 0010 Image was signed, the signature was tested, \r
+                                      and the signature passed authentication test.\r
+                                 0110 Image was signed and the signature was not tested.\r
+                                 1010 Image was signed, the signature was tested, \r
+                                      and the signature failed the authentication test.\r
   @param FvHandle                Handle of the volume in which the file\r
                                  resides. This allows different policies\r
                                  depending on different firmware volumes.\r
@@ -84,10 +92,6 @@ EFI_STATUS
 /// trusted.\r
 ///\r
 struct _EFI_PEI_SECURITY2_PPI {\r
-  ///\r
-  /// Allows the platform builder to implement a security policy\r
-  /// in response to varying file authentication states.\r
-  ///\r
   EFI_PEI_SECURITY_AUTHENTICATION_STATE   AuthenticationState;\r
 };\r
 \r