Add new driver diagnostic type (EfiDriverDiagnosticTypeCancel) to follow UEFI Spec...
authorRuiyu Ni <ruiyu.ni@intel.com>
Fri, 23 Aug 2013 07:41:57 +0000 (07:41 +0000)
committerniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 23 Aug 2013 07:41:57 +0000 (07:41 +0000)
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14595 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Protocol/DriverDiagnostics.h

index 36a2cc2826838695c8eb7effb0c1a707da52b372..916e4a5d629392bd86f51e696973c0bf159253ff 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   EFI Driver Diagnostics Protocol\r
 \r
-Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\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
@@ -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