Changeset 8820544 in mainline for uspace/srv/klog/klog.c
- Timestamp:
- 2014-08-16T00:02:04Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 35b8bfe, 8cd680c
- Parents:
- 83f29e0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/klog/klog.c
r83f29e0 r8820544 40 40 #include <as.h> 41 41 #include <ddi.h> 42 #include <event.h>43 42 #include <errno.h> 44 43 #include <str_error.h> … … 193 192 * 194 193 */ 195 static void notification_received(ipc_callid_t callid, ipc_call_t *call) 194 static void klog_notification_received(ipc_callid_t callid, ipc_call_t *call, 195 void *arg) 196 196 { 197 197 /* … … 205 205 producer(); 206 206 207 event_unmask(EVENT_KLOG);207 async_event_unmask(EVENT_KLOG); 208 208 fibril_mutex_unlock(&mtx); 209 209 } … … 229 229 230 230 prodcons_initialize(&pc); 231 async_set_interrupt_received(notification_received); 232 rc = event_subscribe(EVENT_KLOG, 0); 231 rc = async_event_subscribe(EVENT_KLOG, klog_notification_received, NULL); 233 232 if (rc != EOK) { 234 233 log_msg(LOG_DEFAULT, LVL_ERROR, … … 245 244 246 245 fibril_add_ready(fid); 247 event_unmask(EVENT_KLOG);246 async_event_unmask(EVENT_KLOG); 248 247 249 248 fibril_mutex_lock(&mtx);
Note:
See TracChangeset
for help on using the changeset viewer.