X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FInclude%2FProtocol%2FDriverDiagnostics.h;h=f3683f3304053298364c76d01964719f72789a7b;hb=34860f7a069641fb9e14077c01605215aae68a9b;hp=1bd2383dd3798faa7c200c2b7fecaa96813c1357;hpb=3354353d4d82fb12c073564ab41099ca75d02839;p=mirror_edk2.git diff --git a/MdePkg/Include/Protocol/DriverDiagnostics.h b/MdePkg/Include/Protocol/DriverDiagnostics.h index 1bd2383dd3..f3683f3304 100644 --- a/MdePkg/Include/Protocol/DriverDiagnostics.h +++ b/MdePkg/Include/Protocol/DriverDiagnostics.h @@ -16,7 +16,7 @@ #define __EFI_DRIVER_DIAGNOSTICS_H__ /// -/// Global ID for the Driver Diagnostics Protocol as defined in UEFI 2.0. +/// Global ID for the Driver Diagnostics Protocol as defined in EFI 1.1. /// #define EFI_DRIVER_DIAGNOSTICS_PROTOCOL_GUID \ { \ @@ -26,8 +26,19 @@ typedef struct _EFI_DRIVER_DIAGNOSTICS_PROTOCOL EFI_DRIVER_DIAGNOSTICS_PROTOCOL; typedef enum { + /// + /// Performs standard diagnostics on the controller. + /// EfiDriverDiagnosticTypeStandard = 0, + /// + /// This is an optional diagnostic type that performs diagnostics on the controller that may + /// take an extended amount of time to execute. + /// EfiDriverDiagnosticTypeExtended = 1, + /// + /// This is an optional diagnostic type that performs diagnostics on the controller that are + /// suitable for a manufacturing and test environment. + /// EfiDriverDiagnosticTypeManufacturing= 2, EfiDriverDiagnosticTypeMaximum } EFI_DRIVER_DIAGNOSTIC_TYPE; @@ -97,12 +108,9 @@ EFI_STATUS OUT CHAR16 **Buffer ); -/** - Interface structure for the Driver Diagnostics Protocol. - - @par Protocol Description: - Used to perform diagnostics on a controller that an EFI Driver is managing. -**/ +/// +/// Used to perform diagnostics on a controller that an EFI Driver is managing. +/// struct _EFI_DRIVER_DIAGNOSTICS_PROTOCOL { EFI_DRIVER_DIAGNOSTICS_RUN_DIAGNOSTICS RunDiagnostics; ///