RDFU  1.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Events.h
Go to the documentation of this file.
1 
11 #ifndef _EVENTS_H
12 #define _EVENTS_H
13 
14 #include "Event.h"
15 
16 
17 #define EVENT_TYPE_BUFF_SIZE 512
18 
19 
20 //
21 // structures
22 //
23 
25 
26 
30 typedef struct _event_entry_list
31 {
32 
34  UINTN NumOfEntries;
35 
37 
38 
39 
40 //
41 // inline functions
42 //
43 
44 __inline BOOLEAN isEVENT_TYPE_TIMER(UINT32 Type) { return ((Type & EVT_TIMER) == EVT_TIMER); }
45 __inline BOOLEAN isEVENT_TYPE_RUNTIME(UINT32 Type) { return ((Type & EVT_RUNTIME) == EVT_RUNTIME); }
46 __inline BOOLEAN isEVENT_TYPE_NOTIFY_WAIT(UINT32 Type) { return ((Type & EVT_NOTIFY_WAIT) == EVT_NOTIFY_WAIT); }
47 __inline BOOLEAN isEVENT_TYPE_NOTIFY_SIGNAL(UINT32 Type) { return ((Type & EVT_NOTIFY_SIGNAL) == EVT_NOTIFY_SIGNAL); }
48 __inline BOOLEAN isEVENT_TYPE_EXIT_BOOT_SERVICES(UINT32 Type) { return ((Type & EVT_SIGNAL_EXIT_BOOT_SERVICES) == EVT_SIGNAL_EXIT_BOOT_SERVICES); }
49 __inline BOOLEAN isEVENT_TYPE_VIRTUAL_ADDRESS_CHANGE(UINT32 Type) { return ((Type & EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE) == EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE); }
50 
51 
52 
53 #endif