Changeset 0fe52ef in mainline
- Timestamp:
- 2011-08-19T16:23:33Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 45059d6b
- Parents:
- 649f087
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
abi/include/ipc/event.h
r649f087 r0fe52ef 36 36 #define ABI_IPC_EVENT_H_ 37 37 38 /** Global events */ 38 39 typedef enum event_type { 39 40 /** New data available in kernel log */ -
kernel/generic/src/console/console.c
r649f087 r0fe52ef 248 248 } 249 249 250 void klog_update(void *e )250 void klog_update(void *event) 251 251 { 252 252 if (!atomic_get(&klog_inited)) -
kernel/generic/src/ipc/event.c
r649f087 r0fe52ef 81 81 } 82 82 83 void event_task_init(task_t *t )83 void event_task_init(task_t *task) 84 84 { 85 85 for (unsigned int i = EVENT_END; i < EVENT_TASK_END; i++) 86 event_initialize(evno2event(i, t ));86 event_initialize(evno2event(i, task)); 87 87 } 88 88 … … 130 130 } 131 131 132 void event_task_set_unmask_callback(task_t *t , event_task_type_t evno,132 void event_task_set_unmask_callback(task_t *task, event_task_type_t evno, 133 133 event_callback_t callback) 134 134 { … … 136 136 ASSERT(evno < EVENT_TASK_END); 137 137 138 _event_set_unmask_callback(evno2event(evno, t ), callback);138 _event_set_unmask_callback(evno2event(evno, task), callback); 139 139 } 140 140 … … 213 213 /** Send per-task kernel notification event 214 214 * 215 * @param t 215 * @param task Destination task. 216 216 * @param evno Event type. 217 217 * @param mask Mask further notifications after a successful … … 231 231 * 232 232 */ 233 int event_task_notify(task_t *t , event_task_type_t evno, bool mask, sysarg_t a1,234 sysarg_t a 2, sysarg_t a3, sysarg_t a4, sysarg_t a5)233 int event_task_notify(task_t *task, event_task_type_t evno, bool mask, 234 sysarg_t a1, sysarg_t a2, sysarg_t a3, sysarg_t a4, sysarg_t a5) 235 235 { 236 236 ASSERT(evno >= (int) EVENT_END); 237 237 ASSERT(evno < EVENT_TASK_END); 238 238 239 return event_enqueue(evno2event(evno, t ), mask, a1, a2, a3, a4, a5);239 return event_enqueue(evno2event(evno, task), mask, a1, a2, a3, a4, a5); 240 240 } 241 241 -
uspace/lib/c/generic/loader.c
r649f087 r0fe52ef 263 263 264 264 int i; 265 for (i = 0; files[i]; i++) 266 ; 265 for (i = 0; files[i]; i++); 267 266 268 267 ipc_call_t answer; -
uspace/lib/c/generic/loc.c
r649f087 r0fe52ef 315 315 /** Register new service. 316 316 * 317 * @param fqsn 318 * @param sid 317 * @param fqsn Fully qualified service name 318 * @param sid Output: ID of new service 319 319 * 320 320 */ -
uspace/srv/vfs/vfs.c
r649f087 r0fe52ef 53 53 #define NAME "vfs" 54 54 55 enum { 56 VFS_TASK_STATE_CHANGE 57 }; 58 55 59 static void vfs_connection(ipc_callid_t iid, ipc_call_t *icall, void *arg) 56 60 { … … 134 138 */ 135 139 } 136 137 enum {138 VFS_TASK_STATE_CHANGE139 };140 140 141 141 static void notification_received(ipc_callid_t callid, ipc_call_t *call)
Note:
See TracChangeset
for help on using the changeset viewer.