TianoCore EDK2 master
Loading...
Searching...
No Matches
MmCommunicationDxe.h
Go to the documentation of this file.
1
8#ifndef MM_COMMUNICATION_DXE_H_
9#define MM_COMMUNICATION_DXE_H_
10
11#include <PiDxe.h>
12
13#include <Library/BaseLib.h>
14#include <Library/DebugLib.h>
15#include <Library/HobLib.h>
16#include <Library/PcdLib.h>
17#include <Library/UefiLib.h>
23
28#include <Protocol/SmmAccess2.h>
29
30#include <Guid/MmCommBuffer.h>
31#include <Guid/EventGroup.h>
32
33typedef enum {
34 EventNotify,
35 ProtocolNotify,
36 EndNotify,
37} NOTIFICATION_TYPE;
38
39//
40// Data structure used to declare a table of protocol notifications and event
41// notifications required by the Standalone Mm environment
42//
43typedef struct {
44 NOTIFICATION_TYPE NotificationType;
45 BOOLEAN CloseOnLock;
46 EFI_GUID *Guid;
48 VOID *NotifyContext;
49 EFI_EVENT Event;
51
77EFIAPI
80 IN OUT VOID *CommBufferPhysical,
81 IN OUT VOID *CommBufferVirtual,
82 IN OUT UINTN *CommSize OPTIONAL
83 );
84
109EFIAPI
112 IN OUT VOID *CommBufferPhysical,
113 IN OUT UINTN *CommSize OPTIONAL
114 );
115
124VOID
125EFIAPI
127 IN EFI_EVENT Event,
128 IN VOID *Context
129 );
130
138VOID
139EFIAPI
141 IN EFI_EVENT Event,
142 IN VOID *Context
143 );
144
152VOID
153EFIAPI
155 IN EFI_EVENT Event,
156 IN VOID *Context
157 );
158
169VOID
170EFIAPI
172 IN EFI_EVENT Event,
173 IN VOID *Context
174 );
175
176#endif
UINT64 UINTN
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
VOID EFIAPI MmGuidedEventNotify(IN EFI_EVENT Event, IN VOID *Context)
EFI_STATUS EFIAPI MmCommunicate2(IN CONST EFI_MM_COMMUNICATION2_PROTOCOL *This, IN OUT VOID *CommBufferPhysical, IN OUT VOID *CommBufferVirtual, IN OUT UINTN *CommSize OPTIONAL)
VOID EFIAPI MmReadyToLockEventNotify(IN EFI_EVENT Event, IN VOID *Context)
EFI_STATUS EFIAPI MmCommunicate(IN CONST EFI_MM_COMMUNICATION_PROTOCOL *This, IN OUT VOID *CommBufferPhysical, IN OUT UINTN *CommSize OPTIONAL)
VOID EFIAPI MmEndOfDxeEventNotify(IN EFI_EVENT Event, IN VOID *Context)
VOID EFIAPI MmVirtualAddressChangeEvent(IN EFI_EVENT Event, IN VOID *Context)
VOID EFIAPI NotifyFunction(IN EFI_EVENT Event, IN VOID *Context)
Definition: ScsiBus.c:1492
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_EVENT
Definition: UefiBaseType.h:37
VOID(EFIAPI * EFI_EVENT_NOTIFY)(IN EFI_EVENT Event, IN VOID *Context)
Definition: UefiSpec.h:463
Definition: Base.h:213