]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/DriverDiagnostics.h
MdePkg: Clean up source files
[mirror_edk2.git] / MdePkg / Include / Protocol / DriverDiagnostics.h
index 7e02a077d726f558399566d40b74211feec63479..2e346d7c251f397d199c56b0db3c6a71fcb0bed8 100644 (file)
@@ -1,14 +1,14 @@
 /** @file\r
   EFI Driver Diagnostics Protocol\r
 \r
-Copyright (c) 2006 - 2010, 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
+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
-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
+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
 \r
 **/\r
 \r
@@ -40,6 +40,12 @@ typedef enum {
   /// suitable for a manufacturing and test environment.\r
   ///\r
   EfiDriverDiagnosticTypeManufacturing= 2,\r
+  ///\r
+  /// This is an optional diagnostic type that would only be used in the situation where an\r
+  /// EFI_NOT_READY had been returned by a previous call to RunDiagnostics()\r
+  /// and there is a desire to cancel the current running diagnostics operation.\r
+  ///\r
+  EfiDriverDiagnosticTypeCancel       = 3,\r
   EfiDriverDiagnosticTypeMaximum\r
 } EFI_DRIVER_DIAGNOSTIC_TYPE;\r
 \r
@@ -73,7 +79,7 @@ typedef enum {
 \r
   @retval EFI_SUCCESS           The controller specified by ControllerHandle and\r
                                 ChildHandle passed the diagnostic.\r
-  @retval EFI_INVALID_PARAMETER ControllerHandle is not a valid EFI_HANDLE.\r
+  @retval EFI_INVALID_PARAMETER ControllerHandle is NULL.\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
   @retval EFI_INVALID_PARAMETER ErrorType is NULL.\r
@@ -114,9 +120,9 @@ EFI_STATUS
 struct _EFI_DRIVER_DIAGNOSTICS_PROTOCOL {\r
   EFI_DRIVER_DIAGNOSTICS_RUN_DIAGNOSTICS  RunDiagnostics;\r
   ///\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
+  /// A Null-terminated ASCII string that contains one or more ISO 639-2\r
+  /// language codes.  This is the list of language codes that this protocol supports.\r
+  ///\r
   CHAR8                                   *SupportedLanguages;\r
 };\r
 \r