TianoCore EDK2 master
Loading...
Searching...
No Matches
DriverConfiguration2.h
Go to the documentation of this file.
1
9#ifndef __EFI_DRIVER_CONFIGURATION2_H__
10#define __EFI_DRIVER_CONFIGURATION2_H__
11
15#define EFI_DRIVER_CONFIGURATION2_PROTOCOL_GUID \
16 { \
17 0xbfd7dc1d, 0x24f1, 0x40d9, {0x82, 0xe7, 0x2e, 0x09, 0xbb, 0x6b, 0x4e, 0xbe } \
18 }
19
21
22typedef enum {
43 EfiDriverConfigurationActionMaximum
45
46#define EFI_DRIVER_CONFIGURATION_SAFE_DEFAULTS 0x00000000
47#define EFI_DRIVER_CONFIGURATION_MANUFACTURING_DEFAULTS 0x00000001
48#define EFI_DRIVER_CONFIGURATION_CUSTOM_DEFAULTS 0x00000002
49#define EFI_DRIVER_CONFIGURATION_PERORMANCE_DEFAULTS 0x00000003
50
92typedef
96 IN EFI_HANDLE ControllerHandle,
97 IN EFI_HANDLE ChildHandle OPTIONAL,
98 IN CHAR8 *Language,
100 );
101
131typedef
135 IN EFI_HANDLE ControllerHandle,
136 IN EFI_HANDLE ChildHandle OPTIONAL
137 );
138
158typedef
162 IN EFI_HANDLE ControllerHandle,
163 IN EFI_HANDLE ChildHandle OPTIONAL,
164 IN UINT32 DefaultType,
166 );
167
180};
181
182extern EFI_GUID gEfiDriverConfiguration2ProtocolGuid;
183
184#endif
EFI_STATUS(EFIAPI * EFI_DRIVER_CONFIGURATION2_SET_OPTIONS)(IN EFI_DRIVER_CONFIGURATION2_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN EFI_HANDLE ChildHandle OPTIONAL, IN CHAR8 *Language, OUT EFI_DRIVER_CONFIGURATION_ACTION_REQUIRED *ActionRequired)
EFI_DRIVER_CONFIGURATION_ACTION_REQUIRED
@ EfiDriverConfigurationActionNone
@ EfiDriverConfigurationActionRestartPlatform
@ EfiDriverConfigurationActionRestartController
@ EfiDriverConfigurationActionStopController
EFI_STATUS(EFIAPI * EFI_DRIVER_CONFIGURATION2_FORCE_DEFAULTS)(IN EFI_DRIVER_CONFIGURATION2_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN EFI_HANDLE ChildHandle OPTIONAL, IN UINT32 DefaultType, OUT EFI_DRIVER_CONFIGURATION_ACTION_REQUIRED *ActionRequired)
EFI_STATUS(EFIAPI * EFI_DRIVER_CONFIGURATION2_OPTIONS_VALID)(IN EFI_DRIVER_CONFIGURATION2_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN EFI_HANDLE ChildHandle OPTIONAL)
#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
Definition: Base.h:213