X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FInclude%2FProtocol%2FDriverDiagnostics2.h;h=05312232c6e42b11516ab5a3d7be5d0105494e25;hb=7eb05636e7edcad6958f8d4d36f073ea64edc919;hp=f8bd6206b2e22edc5f5d48498ce4342cd1056bc3;hpb=3354353d4d82fb12c073564ab41099ca75d02839;p=mirror_edk2.git diff --git a/MdePkg/Include/Protocol/DriverDiagnostics2.h b/MdePkg/Include/Protocol/DriverDiagnostics2.h index f8bd6206b2..05312232c6 100644 --- a/MdePkg/Include/Protocol/DriverDiagnostics2.h +++ b/MdePkg/Include/Protocol/DriverDiagnostics2.h @@ -45,7 +45,7 @@ typedef struct _EFI_DRIVER_DIAGNOSTICS2_PROTOCOL EFI_DRIVER_DIAGNOSTICS2_PROTOC languages specified in SupportedLanguages. The number of languages supported by a driver is up to the driver writer. Language - is specified in RFC 3066 language code format. + is specified in RFC 4646 language code format. @param ErrorType A GUID that defines the format of the data returned in Buffer. @param BufferSize The size, in bytes, of the data returned in Buffer. @param Buffer A buffer that contains a Null-terminated Unicode string @@ -56,6 +56,9 @@ typedef struct _EFI_DRIVER_DIAGNOSTICS2_PROTOCOL EFI_DRIVER_DIAGNOSTICS2_PROTOC @retval EFI_SUCCESS The controller specified by ControllerHandle and ChildHandle passed the diagnostic. + @retval EFI_ACCESS_DENIED The request for initiating diagnostics was unable + to be complete due to some underlying hardware or + software state. @retval EFI_INVALID_PARAMETER ControllerHandle is not a valid EFI_HANDLE. @retval EFI_INVALID_PARAMETER ChildHandle is not NULL and it is not a valid EFI_HANDLE. @retval EFI_INVALID_PARAMETER Language is NULL. @@ -91,16 +94,13 @@ EFI_STATUS OUT CHAR16 **Buffer ); -/** - Interface structure for the Driver Diagnostics2 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_DIAGNOSTICS2_PROTOCOL { EFI_DRIVER_DIAGNOSTICS2_RUN_DIAGNOSTICS RunDiagnostics; /// - /// A Null-terminated ASCII string that contains one or more RFC 3066 + /// A Null-terminated ASCII string that contains one or more RFC 4646 /// language codes. This is the list of language codes that this protocol supports. /// CHAR8 *SupportedLanguages;