Ignore:
Timestamp:
2014-08-16T00:02:04Z (10 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
35b8bfe, 8cd680c
Parents:
83f29e0
Message:

support for kernel notification multiplexing in the async framework

  • rename SYS_EVENT_* and SYS_IRQ_* syscalls to unify the terminology
  • add SYS_IPC_EVENT_UNSUBSCRIBE
  • remove IRQ handler multiplexing from DDF, the generic mechanism replaces it (unfortunatelly the order of arguments used by interrupt_handler_t needs to be permutated to align with the async framework conventions)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/s3c24xx_ts/s3c24xx_ts.c

    r83f29e0 r8820544  
    7272static void s3c24xx_ts_connection(ipc_callid_t iid, ipc_call_t *icall,
    7373    void *arg);
    74 static void s3c24xx_ts_irq_handler(ipc_callid_t iid, ipc_call_t *call);
     74static void s3c24xx_ts_irq_handler(ipc_callid_t iid, ipc_call_t *call, void *);
    7575static void s3c24xx_ts_pen_down(s3c24xx_ts_t *ts);
    7676static void s3c24xx_ts_pen_up(s3c24xx_ts_t *ts);
     
    138138            (void *) ts->paddr, inr);
    139139
    140         async_set_interrupt_received(s3c24xx_ts_irq_handler);
    141         irq_register(inr, device_assign_devno(), 0, &ts_irq_code);
     140        async_irq_subscribe(inr, device_assign_devno(), s3c24xx_ts_irq_handler,
     141            NULL, &ts_irq_code);
    142142
    143143        s3c24xx_ts_wait_for_int_mode(ts, updn_down);
     
    204204
    205205/** Handle touchscreen interrupt */
    206 static void s3c24xx_ts_irq_handler(ipc_callid_t iid, ipc_call_t *call)
     206static void s3c24xx_ts_irq_handler(ipc_callid_t iid, ipc_call_t *call,
     207    void *arg)
    207208{
    208209        ts_updn_t updn;
Note: See TracChangeset for help on using the changeset viewer.