Changeset 8820544 in mainline for uspace/lib/c/generic/ddi.c


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/lib/c/generic/ddi.c

    r83f29e0 r8820544  
    312312}
    313313
    314 /** Register IRQ notification.
    315  *
    316  * @param inr    IRQ number.
    317  * @param devno  Device number of the device generating inr.
    318  * @param method Use this method for notifying me.
    319  * @param ucode  Top-half pseudocode handler.
    320  *
    321  * @return Value returned by the kernel.
    322  *
    323  */
    324 int irq_register(int inr, int devno, int method, const irq_code_t *ucode)
    325 {
    326         return __SYSCALL4(SYS_IRQ_REGISTER, inr, devno, method,
    327             (sysarg_t) ucode);
    328 }
    329 
    330 /** Unregister IRQ notification.
    331  *
    332  * @param inr   IRQ number.
    333  * @param devno Device number of the device generating inr.
    334  *
    335  * @return Value returned by the kernel.
    336  *
    337  */
    338 int irq_unregister(int inr, int devno)
    339 {
    340         return __SYSCALL2(SYS_IRQ_UNREGISTER, inr, devno);
    341 }
    342 
    343314/** @}
    344315 */
Note: See TracChangeset for help on using the changeset viewer.