Changeset f9061b4 in mainline for kernel/generic/include/ipc/event.h
- Timestamp:
- 2011-05-16T13:38:04Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4e1a2f5
- Parents:
- e0f52bf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/ipc/event.h
re0f52bf rf9061b4 51 51 /** Counter. */ 52 52 size_t counter; 53 /** Masked flag. */ 54 bool masked; 53 55 } event_t; 54 56 55 57 extern void event_init(void); 56 extern sysarg_t sys_event_subscribe(sysarg_t, sysarg_t);57 extern bool event_is_subscribed(event_type_t);58 58 extern void event_cleanup_answerbox(answerbox_t *); 59 59 60 #define event_notify_0(e ) \61 event_notify((e), 0, 0, 0, 0, 0)62 #define event_notify_1(e, a1) \63 event_notify((e), ( a1), 0, 0, 0, 0)64 #define event_notify_2(e, a1, a2) \65 event_notify((e), ( a1), (a2), 0, 0, 0)66 #define event_notify_3(e, a1, a2, a3) \67 event_notify((e), ( a1), (a2), (a3), 0, 0)68 #define event_notify_4(e, a1, a2, a3, a4) \69 event_notify((e), ( a1), (a2), (a3), (a4), 0)70 #define event_notify_5(e, a1, a2, a3, a4, a5) \71 event_notify((e), ( a1), (a2), (a3), (a4), (a5))60 #define event_notify_0(e, m) \ 61 event_notify((e), (m), 0, 0, 0, 0, 0) 62 #define event_notify_1(e, m, a1) \ 63 event_notify((e), (m), (a1), 0, 0, 0, 0) 64 #define event_notify_2(e, m, a1, a2) \ 65 event_notify((e), (m), (a1), (a2), 0, 0, 0) 66 #define event_notify_3(e, m, a1, a2, a3) \ 67 event_notify((e), (m), (a1), (a2), (a3), 0, 0) 68 #define event_notify_4(e, m, a1, a2, a3, a4) \ 69 event_notify((e), (m), (a1), (a2), (a3), (a4), 0) 70 #define event_notify_5(e, m, a1, a2, a3, a4, a5) \ 71 event_notify((e), (m), (a1), (a2), (a3), (a4), (a5)) 72 72 73 extern void event_notify(event_type_t, sysarg_t, sysarg_t, sysarg_t,73 extern int event_notify(event_type_t, bool, sysarg_t, sysarg_t, sysarg_t, 74 74 sysarg_t, sysarg_t); 75 76 extern sysarg_t sys_event_subscribe(sysarg_t, sysarg_t); 77 extern sysarg_t sys_event_unmask(sysarg_t); 75 78 76 79 #endif
Note:
See TracChangeset
for help on using the changeset viewer.