Changeset 15d0046 in mainline for uspace/srv/klog/klog.c


Ignore:
Timestamp:
2014-09-12T13:22:33Z (10 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9b20126
Parents:
8db09e4 (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.
Message:

Merge mainline changes

File:
1 edited

Legend:

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

    r8db09e4 r15d0046  
    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.