TianoCore EDK2 master
Loading...
Searching...
No Matches
MmIoTrapDispatch.h
Go to the documentation of this file.
1
15#ifndef _MM_IO_TRAP_DISPATCH_H_
16#define _MM_IO_TRAP_DISPATCH_H_
17
18#include <Pi/PiMmCis.h>
19
20#define EFI_MM_IO_TRAP_DISPATCH_PROTOCOL_GUID \
21 { \
22 0x58dc368d, 0x7bfa, 0x4e77, {0xab, 0xbc, 0xe, 0x29, 0x41, 0x8d, 0xf9, 0x30 } \
23 }
24
28typedef enum {
29 WriteTrap,
30 ReadTrap,
31 ReadWriteTrap,
32 IoTrapTypeMaximum
34
39typedef struct {
40 UINT16 Address;
41 UINT16 Length;
44
48typedef struct {
49 UINT32 WriteData;
51
53
89typedef
93 IN EFI_MM_HANDLER_ENTRY_POINT DispatchFunction,
94 IN OUT EFI_MM_IO_TRAP_REGISTER_CONTEXT *RegisterContext,
95 OUT EFI_HANDLE *DispatchHandle
96 );
97
110typedef
114 IN EFI_HANDLE DispatchHandle
115 );
116
125};
126
127extern EFI_GUID gEfiMmIoTrapDispatchProtocolGuid;
128
129#endif
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS(EFIAPI * EFI_MM_IO_TRAP_DISPATCH_REGISTER)(IN CONST EFI_MM_IO_TRAP_DISPATCH_PROTOCOL *This, IN EFI_MM_HANDLER_ENTRY_POINT DispatchFunction, IN OUT EFI_MM_IO_TRAP_REGISTER_CONTEXT *RegisterContext, OUT EFI_HANDLE *DispatchHandle)
EFI_MM_IO_TRAP_DISPATCH_TYPE
EFI_STATUS(EFIAPI * EFI_MM_IO_TRAP_DISPATCH_UNREGISTER)(IN CONST EFI_MM_IO_TRAP_DISPATCH_PROTOCOL *This, IN EFI_HANDLE DispatchHandle)
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
Definition: Base.h:213