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
28typedef enum {
29 UsbLegacy,
30 UsbWake
32
36typedef struct {
51
53
80typedef
82(EFIAPI *EFI_MM_USB_REGISTER)(
84 IN EFI_MM_HANDLER_ENTRY_POINT DispatchFunction,
85 IN CONST EFI_MM_USB_REGISTER_CONTEXT *RegisterContext,
86 OUT EFI_HANDLE *DispatchHandle
87 );
88
104typedef
106(EFIAPI *EFI_MM_USB_UNREGISTER)(
108 IN EFI_HANDLE DispatchHandle
109 );
110
117 EFI_MM_USB_REGISTER Register;
118 EFI_MM_USB_UNREGISTER UnRegister;
119};
120
121extern EFI_GUID gEfiMmUsbDispatchProtocolGuid;
122
123#endif
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_USB_MMI_TYPE
Definition: MmUsbDispatch.h:28
EFI_STATUS(EFIAPI * EFI_MM_USB_UNREGISTER)(IN CONST EFI_MM_USB_DISPATCH_PROTOCOL *This, IN EFI_HANDLE DispatchHandle)
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
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
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33
EFI_DEVICE_PATH_PROTOCOL * Device
Definition: MmUsbDispatch.h:49
Definition: Base.h:213