Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/klog/klog.c

    r0caa075e r8820544  
    4040#include <as.h>
    4141#include <ddi.h>
    42 #include <event.h>
    4342#include <errno.h>
    4443#include <str_error.h>
     
    193192 *
    194193 */
    195 static void notification_received(ipc_callid_t callid, ipc_call_t *call)
     194static void klog_notification_received(ipc_callid_t callid, ipc_call_t *call,
     195    void *arg)
    196196{
    197197        /*
     
    205205        producer();
    206206       
    207         event_unmask(EVENT_KLOG);
     207        async_event_unmask(EVENT_KLOG);
    208208        fibril_mutex_unlock(&mtx);
    209209}
     
    229229       
    230230        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);
    233232        if (rc != EOK) {
    234233                log_msg(LOG_DEFAULT, LVL_ERROR,
     
    245244       
    246245        fibril_add_ready(fid);
    247         event_unmask(EVENT_KLOG);
     246        async_event_unmask(EVENT_KLOG);
    248247       
    249248        fibril_mutex_lock(&mtx);
Note: See TracChangeset for help on using the changeset viewer.