RDFU
1.0
Main Page
Classes
Files
File List
File Members
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
24
typedef
IEVENT
event_entry
;
25
26
30
typedef
struct
_event_entry_list
31
{
32
33
event_entry
*
EventEntry
;
34
UINTN
NumOfEntries
;
35
36
}
event_entry_list
;
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
Events.h
Generated on Thu Apr 18 2013 10:57:17 for RDFU by
1.8.3.1