Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/irq.c

    rb7fd2a0 r3f74275  
    5858 * @param ucode  Top-half pseudocode handler.
    5959 *
    60  * @param[out] out_handle  IRQ capability handle returned by the kernel.
    61  *
     60 * @return IRQ capability handle returned by the kernel.
    6261 * @return Error code returned by the kernel.
    6362 *
    6463 */
    65 errno_t ipc_irq_subscribe(int inr, sysarg_t method, const irq_code_t *ucode,
    66     cap_handle_t *out_handle)
     64int ipc_irq_subscribe(int inr, sysarg_t method, const irq_code_t *ucode)
    6765{
    6866        if (ucode == NULL)
    6967                ucode = &default_ucode;
    7068       
    71         return (errno_t) __SYSCALL4(SYS_IPC_IRQ_SUBSCRIBE, inr, method, (sysarg_t) ucode,
    72             (sysarg_t) out_handle);
     69        return __SYSCALL3(SYS_IPC_IRQ_SUBSCRIBE, inr, method, (sysarg_t) ucode);
    7370}
    7471
     
    8077 *
    8178 */
    82 errno_t ipc_irq_unsubscribe(cap_handle_t cap)
     79int ipc_irq_unsubscribe(int cap)
    8380{
    84         return (errno_t) __SYSCALL1(SYS_IPC_IRQ_UNSUBSCRIBE, cap);
     81        return __SYSCALL1(SYS_IPC_IRQ_UNSUBSCRIBE, cap);
    8582}
    8683
Note: See TracChangeset for help on using the changeset viewer.