TianoCore EDK2
master
Loading...
Searching...
No Matches
MmUsbDispatch.h
Go to the documentation of this file.
1
15
#ifndef _MM_USB_DISPATCH_H_
16
#define _MM_USB_DISPATCH_H_
17
18
#include <
Pi/PiMmCis.h
>
19
20
#define EFI_MM_USB_DISPATCH_PROTOCOL_GUID \
21
{ \
22
0xee9b8d90, 0xc5a6, 0x40a2, {0xbd, 0xe2, 0x52, 0x55, 0x8d, 0x33, 0xcc, 0xa1 } \
23
}
24
28
typedef
enum
{
29
UsbLegacy,
30
UsbWake
31
}
EFI_USB_MMI_TYPE
;
32
36
typedef
struct
{
42
EFI_USB_MMI_TYPE
Type
;
49
EFI_DEVICE_PATH_PROTOCOL
*
Device
;
50
}
EFI_MM_USB_REGISTER_CONTEXT
;
51
52
typedef
struct
_EFI_MM_USB_DISPATCH_PROTOCOL
EFI_MM_USB_DISPATCH_PROTOCOL
;
53
80
typedef
81
EFI_STATUS
82
(EFIAPI *
EFI_MM_USB_REGISTER
)(
83
IN
CONST
EFI_MM_USB_DISPATCH_PROTOCOL
*This,
84
IN
EFI_MM_HANDLER_ENTRY_POINT
DispatchFunction,
85
IN
CONST
EFI_MM_USB_REGISTER_CONTEXT
*RegisterContext,
86
OUT
EFI_HANDLE
*DispatchHandle
87
);
88
104
typedef
105
EFI_STATUS
106
(EFIAPI *
EFI_MM_USB_UNREGISTER
)(
107
IN
CONST
EFI_MM_USB_DISPATCH_PROTOCOL
*This,
108
IN
EFI_HANDLE
DispatchHandle
109
);
110
116
struct
_EFI_MM_USB_DISPATCH_PROTOCOL
{
117
EFI_MM_USB_REGISTER
Register;
118
EFI_MM_USB_UNREGISTER
UnRegister;
119
};
120
121
extern
EFI_GUID
gEfiMmUsbDispatchProtocolGuid;
122
123
#endif
CONST
#define CONST
Definition:
Base.h:259
IN
#define IN
Definition:
Base.h:279
OUT
#define OUT
Definition:
Base.h:284
EFI_USB_MMI_TYPE
EFI_USB_MMI_TYPE
Definition:
MmUsbDispatch.h:28
EFI_MM_USB_UNREGISTER
EFI_STATUS(EFIAPI * EFI_MM_USB_UNREGISTER)(IN CONST EFI_MM_USB_DISPATCH_PROTOCOL *This, IN EFI_HANDLE DispatchHandle)
Definition:
MmUsbDispatch.h:106
EFI_MM_USB_REGISTER
EFI_STATUS(EFIAPI * EFI_MM_USB_REGISTER)(IN CONST EFI_MM_USB_DISPATCH_PROTOCOL *This, IN EFI_MM_HANDLER_ENTRY_POINT DispatchFunction, IN CONST EFI_MM_USB_REGISTER_CONTEXT *RegisterContext, OUT EFI_HANDLE *DispatchHandle)
Definition:
MmUsbDispatch.h:82
PiMmCis.h
EFI_MM_HANDLER_ENTRY_POINT
EFI_STATUS(EFIAPI * EFI_MM_HANDLER_ENTRY_POINT)(IN EFI_HANDLE DispatchHandle, IN CONST VOID *Context OPTIONAL, IN OUT VOID *CommBuffer OPTIONAL, IN OUT UINTN *CommBufferSize OPTIONAL)
Definition:
PiMmCis.h:162
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
EFI_HANDLE
VOID * EFI_HANDLE
Definition:
UefiBaseType.h:33
_EFI_MM_USB_DISPATCH_PROTOCOL
Definition:
MmUsbDispatch.h:116
EFI_DEVICE_PATH_PROTOCOL
Definition:
DevicePath.h:43
EFI_MM_USB_REGISTER_CONTEXT
Definition:
MmUsbDispatch.h:36
EFI_MM_USB_REGISTER_CONTEXT::Device
EFI_DEVICE_PATH_PROTOCOL * Device
Definition:
MmUsbDispatch.h:49
EFI_MM_USB_REGISTER_CONTEXT::Type
EFI_USB_MMI_TYPE Type
Definition:
MmUsbDispatch.h:42
GUID
Definition:
Base.h:213
MdePkg
Include
Protocol
MmUsbDispatch.h
Generated on Fri Nov 15 2024 18:01:16 for TianoCore EDK2 by
1.9.6