]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/DriverDiagnostics.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / MdePkg / Include / Protocol / DriverDiagnostics.h
index 916e4a5d629392bd86f51e696973c0bf159253ff..aadcdb45c28534e88bd974075aee013ad388ebf3 100644 (file)
@@ -1,14 +1,8 @@
 /** @file\r
   EFI Driver Diagnostics Protocol\r
 \r
-Copyright (c) 2006 - 2013, 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
+Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -23,29 +17,29 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     0x0784924f, 0xe296, 0x11d4, {0x9a, 0x49, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d } \\r
   }\r
 \r
-typedef struct _EFI_DRIVER_DIAGNOSTICS_PROTOCOL  EFI_DRIVER_DIAGNOSTICS_PROTOCOL;\r
+typedef struct _EFI_DRIVER_DIAGNOSTICS_PROTOCOL EFI_DRIVER_DIAGNOSTICS_PROTOCOL;\r
 \r
 typedef enum {\r
   ///\r
   /// Performs standard diagnostics on the controller.\r
   ///\r
-  EfiDriverDiagnosticTypeStandard     = 0,\r
+  EfiDriverDiagnosticTypeStandard = 0,\r
   ///\r
   /// This is an optional diagnostic type that performs diagnostics on the controller that may\r
   /// take an extended amount of time to execute.\r
   ///\r
-  EfiDriverDiagnosticTypeExtended     = 1,\r
+  EfiDriverDiagnosticTypeExtended = 1,\r
   ///\r
   /// This is an optional diagnostic type that performs diagnostics on the controller that are\r
   /// suitable for a manufacturing and test environment.\r
   ///\r
-  EfiDriverDiagnosticTypeManufacturing= 2,\r
+  EfiDriverDiagnosticTypeManufacturing = 2,\r
   ///\r
-  /// This is an optional diagnostic type that would only be used in the situation where an \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
+  EfiDriverDiagnosticTypeCancel = 3,\r
   EfiDriverDiagnosticTypeMaximum\r
 } EFI_DRIVER_DIAGNOSTIC_TYPE;\r
 \r
@@ -118,14 +112,14 @@ EFI_STATUS
 /// Used to perform diagnostics on a controller that an EFI Driver is managing.\r
 ///\r
 struct _EFI_DRIVER_DIAGNOSTICS_PROTOCOL {\r
-  EFI_DRIVER_DIAGNOSTICS_RUN_DIAGNOSTICS  RunDiagnostics;\r
+  EFI_DRIVER_DIAGNOSTICS_RUN_DIAGNOSTICS    RunDiagnostics;\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
+  /// language codes.  This is the list of language codes that this protocol supports.\r
+  ///\r
+  CHAR8                                     *SupportedLanguages;\r
 };\r
 \r
-extern EFI_GUID gEfiDriverDiagnosticsProtocolGuid;\r
+extern EFI_GUID  gEfiDriverDiagnosticsProtocolGuid;\r
 \r
 #endif\r