TianoCore EDK2 master
Loading...
Searching...
No Matches
PlatformToDriverConfiguration.h
Go to the documentation of this file.
1
13#ifndef __PLATFORM_TO_DRIVER_CONFIGUARTION_H__
14#define __PLATFORM_TO_DRIVER_CONFIGUARTION_H__
15
16#define EFI_PLATFORM_TO_DRIVER_CONFIGURATION_PROTOCOL_GUID \
17 { 0x642cd590, 0x8059, 0x4c0a, { 0xa9, 0x58, 0xc5, 0xec, 0x7, 0xd2, 0x3c, 0x4b } }
18
20
119typedef
123 IN CONST EFI_HANDLE ControllerHandle,
124 IN CONST EFI_HANDLE ChildHandle OPTIONAL,
125 IN CONST UINTN *Instance,
126 OUT EFI_GUID **ParameterTypeGuid,
127 OUT VOID **ParameterBlock,
128 OUT UINTN *ParameterBlockSize
129 );
130
131typedef enum {
143
152
162
173
186
200 EfiPlatformConfigurationActionMaximum
202
255typedef
259 IN CONST EFI_HANDLE ControllerHandle,
260 IN CONST EFI_HANDLE ChildHandle OPTIONAL,
261 IN CONST UINTN *Instance,
262 IN CONST EFI_GUID *ParameterTypeGuid,
263 IN CONST VOID *ParameterBlock,
264 IN CONST UINTN ParameterBlockSize,
265 IN CONST EFI_PLATFORM_CONFIGURATION_ACTION ConfigurationAction
266 );
267
283};
284
285#define EFI_PLATFORM_TO_DRIVER_CONFIGURATION_CLP_GUID \
286 {0x345ecc0e, 0xcb6, 0x4b75, { 0xbb, 0x57, 0x1b, 0x12, 0x9c, 0x47, 0x33,0x3e } }
287
300typedef struct {
301 CHAR8 *CLPCommand;
329 UINT16 CLPMsgCode;
335
336extern EFI_GUID gEfiPlatformToDriverConfigurationClpGuid;
337
338extern EFI_GUID gEfiPlatformToDriverConfigurationProtocolGuid;
339
340#endif
UINT64 UINTN
#define CONST
Definition: Base.h:259
#define OPTIONAL
Definition: Base.h:290
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS(EFIAPI * EFI_PLATFORM_TO_DRIVER_CONFIGURATION_RESPONSE)(IN CONST EFI_PLATFORM_TO_DRIVER_CONFIGURATION_PROTOCOL *This, IN CONST EFI_HANDLE ControllerHandle, IN CONST EFI_HANDLE ChildHandle OPTIONAL, IN CONST UINTN *Instance, IN CONST EFI_GUID *ParameterTypeGuid, IN CONST VOID *ParameterBlock, IN CONST UINTN ParameterBlockSize, IN CONST EFI_PLATFORM_CONFIGURATION_ACTION ConfigurationAction)
EFI_STATUS(EFIAPI * EFI_PLATFORM_TO_DRIVER_CONFIGURATION_QUERY)(IN CONST EFI_PLATFORM_TO_DRIVER_CONFIGURATION_PROTOCOL *This, IN CONST EFI_HANDLE ControllerHandle, IN CONST EFI_HANDLE ChildHandle OPTIONAL, IN CONST UINTN *Instance, OUT EFI_GUID **ParameterTypeGuid, OUT VOID **ParameterBlock, OUT UINTN *ParameterBlockSize)
@ EfiPlatformConfigurationActionRestartController
@ EfiPlatformConfigurationActionUnsupportedGuid
@ EfiPlatformConfigurationActionNvramFailed
@ EfiPlatformConfigurationActionRestartPlatform
@ EfiPlatformConfigurationActionNone
@ EfiPlatformConfigurationActionStopController
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33
UINT32 CLPReturnStringLength
The length of the CLP return status string in bytes.
UINT32 CLPCommandLength
The length of the CLP Command in bytes.
Definition: Base.h:213