]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Guid/ImageAuthentication.h
Update the copyright notice format
[mirror_edk2.git] / MdePkg / Include / Guid / ImageAuthentication.h
index 5e97c3c848e805bd9178b9ff339f20e7a4a9359b..99665e6898b588f9437edbe5645ad1f4086167e5 100644 (file)
@@ -2,8 +2,8 @@
   Platform Key, Key Exchange Key, and Image signature database are defined \r
   for the signed image validation.\r
 \r
-  Copyright (c) 2009, Intel Corporation\r
-  All rights reserved. This program and the accompanying materials                          \r
+  Copyright (c) 2009 - 2010, 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
@@ -166,7 +166,14 @@ typedef struct {
 //***********************************************************************\r
 typedef UINT32 EFI_IMAGE_EXECUTION_ACTION;\r
 \r
-#define EFI_IMAGE_EXECUTION_AUTHENTICATION          0x00000007 \r
+#define EFI_IMAGE_EXECUTION_AUTHENTICATION      0x00000007 \r
+#define EFI_IMAGE_EXECUTION_AUTH_UNTESTED       0x00000000\r
+#define EFI_IMAGE_EXECUTION_AUTH_SIG_FAILED     0x00000001\r
+#define EFI_IMAGE_EXECUTION_AUTH_SIG_PASSED     0x00000002\r
+#define EFI_IMAGE_EXECUTION_AUTH_SIG_NOT_FOUND  0x00000003\r
+#define EFI_IMAGE_EXECUTION_AUTH_SIG_FOUND      0x00000004\r
+#define EFI_IMAGE_EXECUTION_POLICY_FAILED       0x00000005\r
+#define EFI_IMAGE_EXECUTION_INITIALIZED         0x00000008\r
 \r
 //\r
 // EFI_IMAGE_EXECUTION_INFO is added to EFI System Configuration Table \r
@@ -198,18 +205,25 @@ typedef struct {
   /// EFI_DEVICE_PATH_PROTOCOL  DevicePath;\r
   ///\r
 \r
-  ///\r
-  /// The image digest of the image. The certificate type must be one of the hash types. \r
-  /// The hash type must match the type used in the Signature field.\r
-  ///\r
-  WIN_CERTIFICATE               ImageHash;\r
   ///\r
   /// Zero or more image signatures. If the image contained no signatures, \r
   /// then this field is empty.\r
   ///\r
-  WIN_CERTIFICATE               Signature;\r
+  EFI_SIGNATURE_LIST            Signature;\r
 } EFI_IMAGE_EXECUTION_INFO;\r
 \r
+\r
+typedef struct {\r
+  ///\r
+  /// Number of EFI_IMAGE_EXECUTION_INFO structures.\r
+  ///\r
+  UINTN                     NumberOfImages; \r
+  ///\r
+  /// Number of image instances of EFI_IMAGE_EXECUTION_INFO structures.\r
+  ///\r
+  // EFI_IMAGE_EXECUTION_INFO  InformationInfo[] \r
+} EFI_IMAGE_EXECUTION_INFO_TABLE;\r
+\r
 extern EFI_GUID gEfiImageSecurityDatabaseGuid;\r
 extern EFI_GUID gEfiCertSha256Guid;\r
 extern EFI_GUID gEfiCertRsa2048Guid;      \r