TianoCore EDK2 master
Loading...
Searching...
No Matches
Event.h
Go to the documentation of this file.
1
10#ifndef __EVENT_H__
11#define __EVENT_H__
12
13#define VALID_TPL(a) ((a) <= TPL_HIGH_LEVEL)
14extern UINTN gEventPending;
15
19#define EVT_EXFLAG_EVENT_GROUP 0x01
23#define EVT_EXFLAG_EVENT_PROTOCOL_NOTIFICATION 0x02
24
25//
26// EFI_EVENT
27//
28
32typedef struct {
33 LIST_ENTRY Link;
34 UINT64 TriggerTime;
35 UINT64 Period;
37
38#define EVENT_SIGNATURE SIGNATURE_32('e','v','n','t')
39typedef struct {
40 UINTN Signature;
41 UINT32 Type;
42 UINT32 SignalCount;
52 VOID *NotifyContext;
53 EFI_GUID EventGroup;
54 LIST_ENTRY NotifyLink;
55 UINT8 ExFlag;
60 TIMER_EVENT_INFO Timer;
61} IEVENT;
62
63//
64// Internal prototypes
65//
66
74VOID
76 IN EFI_TPL Priority
77 );
78
83VOID
85 VOID
86 );
87
88#endif
UINT64 UINTN
VOID CoreInitializeTimer(VOID)
Definition: Timer.c:162
UINTN gEventPending
Definition: Event.c:31
VOID CoreDispatchEventNotifies(IN EFI_TPL Priority)
Definition: Event.c:152
#define IN
Definition: Base.h:279
VOID EFIAPI NotifyFunction(IN EFI_EVENT Event, IN VOID *Context)
Definition: ScsiBus.c:1492
UINTN EFI_TPL
Definition: UefiBaseType.h:41
VOID(EFIAPI * EFI_EVENT_NOTIFY)(IN EFI_EVENT Event, IN VOID *Context)
Definition: UefiSpec.h:463
Definition: Base.h:213
Definition: Event.h:39
EFI_RUNTIME_EVENT_ENTRY RuntimeData
Definition: Event.h:59
EFI_TPL NotifyTpl
Definition: Event.h:50
LIST_ENTRY SignalLink
Definition: Event.h:46