TianoCore EDK2 master
Loading...
Searching...
No Matches
DriverHealth.h
Go to the documentation of this file.
1
32#ifndef __EFI_DRIVER_HEALTH_H__
33#define __EFI_DRIVER_HEALTH_H__
34
35#define EFI_DRIVER_HEALTH_PROTOCOL_GUID \
36 { \
37 0x2a534210, 0x9280, 0x41d8, { 0xae, 0x79, 0xca, 0xda, 0x1, 0xa2, 0xb1, 0x27 } \
38 }
39
41
45typedef enum {
46 EfiDriverHealthStatusHealthy,
47 EfiDriverHealthStatusRepairRequired,
48 EfiDriverHealthStatusConfigurationRequired,
49 EfiDriverHealthStatusFailed,
50 EfiDriverHealthStatusReconnectRequired,
51 EfiDriverHealthStatusRebootRequired
53
57typedef struct {
58 EFI_HII_HANDLE HiiHandle;
59 EFI_STRING_ID StringId;
60
71
82typedef
85 IN UINTN Value,
86 IN UINTN Limit
87 );
88
159typedef
163 IN EFI_HANDLE ControllerHandle OPTIONAL,
164 IN EFI_HANDLE ChildHandle OPTIONAL,
165 OUT EFI_DRIVER_HEALTH_STATUS *HealthStatus,
167 OUT EFI_HII_HANDLE *FormHiiHandle OPTIONAL
168 );
169
198typedef
202 IN EFI_HANDLE ControllerHandle,
203 IN EFI_HANDLE ChildHandle OPTIONAL,
205 );
206
217};
218
219extern EFI_GUID gEfiDriverHealthProtocolGuid;
220
221#endif
UINT64 UINTN
EFI_STATUS(EFIAPI * EFI_DRIVER_HEALTH_REPAIR_NOTIFY)(IN UINTN Value, IN UINTN Limit)
Definition: DriverHealth.h:84
EFI_DRIVER_HEALTH_STATUS
Definition: DriverHealth.h:45
EFI_STATUS(EFIAPI * EFI_DRIVER_HEALTH_GET_HEALTH_STATUS)(IN EFI_DRIVER_HEALTH_PROTOCOL *This, IN EFI_HANDLE ControllerHandle OPTIONAL, IN EFI_HANDLE ChildHandle OPTIONAL, OUT EFI_DRIVER_HEALTH_STATUS *HealthStatus, OUT EFI_DRIVER_HEALTH_HII_MESSAGE **MessageList OPTIONAL, OUT EFI_HII_HANDLE *FormHiiHandle OPTIONAL)
Definition: DriverHealth.h:161
EFI_STATUS(EFIAPI * EFI_DRIVER_HEALTH_REPAIR)(IN EFI_DRIVER_HEALTH_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN EFI_HANDLE ChildHandle OPTIONAL, IN EFI_DRIVER_HEALTH_REPAIR_NOTIFY RepairNotify OPTIONAL)
Definition: DriverHealth.h:200
#define OPTIONAL
Definition: Base.h:290
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33
VOID * EFI_HII_HANDLE
Definition: Base.h:213