]> git.proxmox.com Git - mirror_edk2.git/commitdiff
According to the latest UEFI 2.3 errata B, the following changes are made:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 26 Feb 2010 09:27:59 +0000 (09:27 +0000)
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 26 Feb 2010 09:27:59 +0000 (09:27 +0000)
1.EFI_IMAGE_EXECUTION_INFO structure.Signature field.
2.HiiConfigAccess.ExtractConfig function comments
3.HiiConfigRouting.ExtractConfig, BlockToConfig and GetAltConfig function comments.
4.Remove not in public UEFI spec comments.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10113 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Guid/ImageAuthentication.h
MdePkg/Include/Guid/WinCertificate.h
MdePkg/Include/Protocol/AcpiSystemDescriptionTable.h
MdePkg/Include/Protocol/HiiConfigAccess.h
MdePkg/Include/Protocol/HiiConfigRouting.h

index 0d28d4d04cf2a8395710460f4ba6f405b6951e87..92b239a01fa44b2d01a38e50fb6df9c7b389a15b 100644 (file)
@@ -2,7 +2,7 @@
   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
+  Copyright (c) 2009 - 2010, 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
@@ -205,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
index 309046e331b6bf237891038241b7dcb9dca1e67f..b81add2b3d08b943269ab0697be970ed1b2b86fc 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   GUID for UEFI WIN_CERTIFICATE structure. \r
 \r
-  Copyright (c) 2006 - 2009, Intel Corporation                                                         \r
+  Copyright (c) 2006 - 2010, 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
@@ -62,9 +62,6 @@ typedef struct {
 /// WIN_CERTIFICATE_UEFI_GUID.CertData\r
 /// \r
 typedef struct {\r
-  //\r
-  // HashType not in public UEFI specification.\r
-  //\r
   EFI_GUID  HashType;\r
   UINT8     PublicKey[256];\r
   UINT8     Signature[256];\r
index fce45c0fe65e4db2fbea1dd876d9f9e9c6e97390..fe209877b9bfc8bf57bc6f20d528de25282d0c7b 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   This protocol provides services for creating ACPI system description tables.\r
   \r
-  Copyright (c) 2006 - 2008, Intel Corporation\r
+  Copyright (c) 2006 - 2010, 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
@@ -246,9 +246,6 @@ typedef struct _EFI_ACPI_SDT_PROTOCOL {
   /// Specifies the ACPI version supported by this protocol.\r
   ///\r
   EFI_ACPI_TABLE_VERSION    AcpiVersion;\r
-  //\r
-  // EFI_ACPI_GET_ACPI_TABLE2 not in public UEFI specification.\r
-  //\r
   EFI_ACPI_GET_ACPI_TABLE2  GetAcpiTable;\r
   EFI_ACPI_REGISTER_NOTIFY  RegisterNotify;\r
   EFI_ACPI_OPEN             Open;\r
index 28bacdeb0ffd42d12c8a09d6c217e8b38bb02d55..1b6c5473b827b221835d7a46bdc8366077fc80c3 100644 (file)
@@ -5,7 +5,7 @@
   This protocol is published by drivers providing and requesting \r
   configuration data from HII. It may only be invoked by HII.\r
   \r
-  Copyright (c) 2006 - 2009, Intel Corporation\r
+  Copyright (c) 2006 - 2010, 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
@@ -57,7 +57,13 @@ typedef UINTN EFI_BROWSER_ACTION;
                     includes the routing information as well as\r
                     the configurable name / value pairs. It is\r
                     invalid for this string to be in\r
-                    <MultiConfigRequest> format.\r
+                    <MultiConfigRequest> format. \r
+                    If a NULL is passed in for the Request field, \r
+                    all of the settings being abstracted by this function \r
+                    will be returned in the Results field.  In addition, \r
+                    if a ConfigHdr is passed in with no request elements, \r
+                    all of the settings being abstracted for that particular \r
+                    ConfigHdr reference will be returned in the Results Field.\r
 \r
   @param Progress   On return, points to a character in the\r
                     Request string. Points to the string's null\r
@@ -69,7 +75,7 @@ typedef UINTN EFI_BROWSER_ACTION;
                     successful\r
 \r
   @param Results    A null-terminated Unicode string in\r
-                    <ConfigAltResp> format which has all values\r
+                    <MultiConfigAltResp> format which has all values\r
                     filled in for the names in the Request string.\r
                     String to be allocated by the called function.\r
 \r
@@ -82,13 +88,6 @@ typedef UINTN EFI_BROWSER_ACTION;
                                   stored awaiting possible future\r
                                   protocols.\r
 \r
-  @retval EFI_INVALID_PARAMETER   For example, passing in a NULL\r
-                                  for the Request parameter\r
-                                  would result in this type of\r
-                                  error. In this case, the\r
-                                  Progress parameter would be\r
-                                  set to NULL. \r
-\r
   @retval EFI_NOT_FOUND           Routing data doesn't match any\r
                                   known driver. Progress set to the\r
                                   first character in the routing header.\r
index 09fb182442115a041a273035afecd18948796279..393129952c42f4735d4ae7501279bc2308f624c7 100644 (file)
@@ -5,7 +5,7 @@
   information from configuration applications, routing the\r
   results to the appropriate drivers.\r
   \r
-  Copyright (c) 2006 - 2009, Intel Corporation\r
+  Copyright (c) 2006 - 2010, 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
@@ -56,10 +56,7 @@ typedef struct _EFI_HII_CONFIG_ROUTING_PROTOCOL EFI_HII_CONFIG_ROUTING_PROTOCOL;
   @param This       Points to the EFI_HII_CONFIG_ROUTING_PROTOCOL\r
                     instance.\r
 \r
-  @param Request    A null-terminated string in <MultiConfigRequest>\r
-                    format. If a NULL is passed in for the Request field,\r
-                    all of the settings being abstracted by this function\r
-                    will be returned in the Results field.\r
+  @param Request    A null-terminated string in <MultiConfigRequest> format.\r
 \r
   @param Progress   On return, points to a character in the\r
                     Request string. Points to the string's null\r
@@ -70,11 +67,9 @@ typedef struct _EFI_HII_CONFIG_ROUTING_PROTOCOL EFI_HII_CONFIG_ROUTING_PROTOCOL;
                     name / value pair) if the request was not\r
                     successful\r
 \r
-  @param Results    A null-terminated string in <ConfigAltResp> format\r
+  @param Results    A null-terminated string in <MultiConfigAltResp> format\r
                     which has all values filled in for the names in the\r
-                    Request string. If the Request string was NULL, the data\r
-                    returned is in <MultiConfigAltResp> format. String to be\r
-                    allocated by the called function.\r
+                    Request string.\r
 \r
   @retval EFI_SUCCESS             The Results string is filled with the\r
                                   values corresponding to all requested\r
@@ -228,7 +223,8 @@ EFI_STATUS
 \r
   @param Config     Filled-in configuration string. String\r
                     allocated by the function. Returned only if\r
-                    call is successful.\r
+                    call is successful. The null-terminated string \r
+                    will be <ConfigResp> format.\r
 \r
   @param Progress   A pointer to a string filled in with the\r
                     offset of the most recent '&' before the\r
@@ -349,7 +345,7 @@ EFI_STATUS
   a larger configuration string.\r
           \r
   @param This              A pointer to the EFI_HII_CONFIG_ROUTING_PROTOCOL instance.\r
-  @param Configuration     A null-terminated string in <MultiConfigAltResp> format.\r
+  @param ConfigResp        A null-terminated string in <ConfigAltResp> format.\r
   @param Guid              A pointer to the GUID value to search for in the \r
                            routing portion of the ConfigResp string when retrieving \r
                            the requested data. If Guid is NULL, then all GUID \r
@@ -369,6 +365,7 @@ EFI_STATUS
   @param AltCfgResp        A pointer to a buffer which will be allocated by the \r
                            function which contains the retrieved string as requested.  \r
                            This buffer is only allocated if the call was successful. \r
+                           The null-terminated string will be <ConfigResp> format.\r
   \r
   @retval EFI_SUCCESS             The request succeeded. The requested data was extracted \r
                                   and placed in the newly allocated AltCfgResp buffer.\r
@@ -380,7 +377,7 @@ typedef
 EFI_STATUS \r
 (EFIAPI * EFI_HII_GET_ALT_CFG)(\r
   IN  CONST EFI_HII_CONFIG_ROUTING_PROTOCOL    *This, \r
-  IN  CONST EFI_STRING                         Configuration\r
+  IN  CONST EFI_STRING                         ConfigResp\r
   IN  CONST EFI_GUID                           *Guid, \r
   IN  CONST EFI_STRING                         Name, \r
   IN  CONST EFI_DEVICE_PATH_PROTOCOL           *DevicePath,  \r