Changeset 8e7c9fe in mainline for uspace/srv/klog/klog.c
- Timestamp:
- 2014-09-12T03:45:25Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c53b58e
- Parents:
- 3eb0c85 (diff), 105d8d6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/klog/klog.c
r3eb0c85 r8e7c9fe 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.