TianoCore EDK2 master
Loading...
Searching...
No Matches
MmControl.h
Go to the documentation of this file.
1
19#ifndef _MM_CONTROL_H_
20#define _MM_CONTROL_H_
21
22#include <PiDxe.h>
23
24#define EFI_MM_CONTROL_PROTOCOL_GUID \
25 { \
26 0x843dc720, 0xab1e, 0x42cb, {0x93, 0x57, 0x8a, 0x0, 0x78, 0xf3, 0x56, 0x1b} \
27 }
28
30typedef UINTN EFI_MM_PERIOD;
31
50typedef
52(EFIAPI *EFI_MM_ACTIVATE)(
54 IN OUT UINT8 *CommandPort OPTIONAL,
55 IN OUT UINT8 *DataPort OPTIONAL,
56 IN BOOLEAN Periodic OPTIONAL,
57 IN UINTN ActivationInterval OPTIONAL
58 );
59
72typedef
74(EFIAPI *EFI_MM_DEACTIVATE)(
76 IN BOOLEAN Periodic OPTIONAL
77 );
78
86 EFI_MM_ACTIVATE Trigger;
94 EFI_MM_PERIOD MinimumTriggerPeriod;
95};
96
97extern EFI_GUID gEfiMmControlProtocolGuid;
98
99#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_MM_DEACTIVATE)(IN CONST EFI_MM_CONTROL_PROTOCOL *This, IN BOOLEAN Periodic OPTIONAL)
Definition: MmControl.h:74
EFI_STATUS(EFIAPI * EFI_MM_ACTIVATE)(IN CONST EFI_MM_CONTROL_PROTOCOL *This, IN OUT UINT8 *CommandPort OPTIONAL, IN OUT UINT8 *DataPort OPTIONAL, IN BOOLEAN Periodic OPTIONAL, IN UINTN ActivationInterval OPTIONAL)
Definition: MmControl.h:52
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
EFI_MM_PERIOD MinimumTriggerPeriod
Definition: MmControl.h:94
Definition: Base.h:213