]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/DriverDiagnostics2.h
Replace references to RFC 3066 with RFC 4646.
[mirror_edk2.git] / MdePkg / Include / Protocol / DriverDiagnostics2.h
index f8bd6206b2e22edc5f5d48498ce4342cd1056bc3..05312232c6e42b11516ab5a3d7be5d0105494e25 100644 (file)
@@ -45,7 +45,7 @@ typedef struct _EFI_DRIVER_DIAGNOSTICS2_PROTOCOL  EFI_DRIVER_DIAGNOSTICS2_PROTOC
                            languages specified in SupportedLanguages.\r
                            The number of languages supported by a\r
                            driver is up to the driver writer. Language\r
-                           is specified in RFC 3066 language code format.\r
+                           is specified in RFC 4646 language code format.\r
   @param  ErrorType        A GUID that defines the format of the data returned in Buffer.\r
   @param  BufferSize       The size, in bytes, of the data returned in Buffer.\r
   @param  Buffer           A buffer that contains a Null-terminated Unicode string\r
@@ -56,6 +56,9 @@ typedef struct _EFI_DRIVER_DIAGNOSTICS2_PROTOCOL  EFI_DRIVER_DIAGNOSTICS2_PROTOC
 \r
   @retval EFI_SUCCESS           The controller specified by ControllerHandle and\r
                                 ChildHandle passed the diagnostic.\r
+  @retval EFI_ACCESS_DENIED     The request for initiating diagnostics was unable\r
+                                to be complete due to some underlying hardware or\r
+                                software state.\r
   @retval EFI_INVALID_PARAMETER ControllerHandle is not a valid EFI_HANDLE.\r
   @retval EFI_INVALID_PARAMETER ChildHandle is not NULL and it is not a valid EFI_HANDLE.\r
   @retval EFI_INVALID_PARAMETER Language is NULL.\r
@@ -91,16 +94,13 @@ EFI_STATUS
   OUT CHAR16                                                **Buffer\r
   );\r
 \r
-/**\r
-  Interface structure for the Driver Diagnostics2 Protocol.\r
-\r
-  @par Protocol Description:\r
-  Used to perform diagnostics on a controller that an EFI Driver is managing.\r
-**/\r
+///\r
+/// Used to perform diagnostics on a controller that an EFI Driver is managing.\r
+///\r
 struct _EFI_DRIVER_DIAGNOSTICS2_PROTOCOL {\r
   EFI_DRIVER_DIAGNOSTICS2_RUN_DIAGNOSTICS RunDiagnostics;\r
   ///\r
-  /// A Null-terminated ASCII string that contains one or more RFC 3066\r
+  /// A Null-terminated ASCII string that contains one or more RFC 4646\r
   /// language codes.  This is the list of language codes that this protocol supports.  \r
   ///    \r
   CHAR8                                   *SupportedLanguages;\r