RDFU  1.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Event.h
Go to the documentation of this file.
1 
15 #ifndef __EVENT_H__
16 #define __EVENT_H__
17 
18 
19 #define VALID_TPL(a) ((a) <= TPL_HIGH_LEVEL)
20 extern UINTN gEventPending;
21 
22 
23 
24 typedef struct _EFI_LIST_ENTRY {
28 
29 typedef struct _EFI_RUNTIME_EVENT_ENTRY {
30  UINT32 Type;
31  EFI_TPL NotifyTpl;
32  EFI_EVENT_NOTIFY NotifyFunction;
34  EFI_EVENT *Event;
37 
38 
39 //
40 // EFI_EVENT
41 //
42 
46 typedef struct {
47  LIST_ENTRY Link;
48  UINT64 TriggerTime;
49  UINT64 Period;
51 
52 #define EVENT_SIGNATURE SIGNATURE_32('e','v','n','t')
53 typedef struct {
54  UINTN Signature;
55  UINT32 Type;
56  UINT32 SignalCount;
60  LIST_ENTRY SignalLink;
64  EFI_TPL NotifyTpl;
65  EFI_EVENT_NOTIFY NotifyFunction;
67  EFI_GUID EventGroup;
68  LIST_ENTRY NotifyLink;
69  BOOLEAN ExFlag;
75 } IEVENT;
76 
77 
78 #endif