Ignore:
File:
1 edited

Legend:

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

    ra35b458 readaeae8  
    6464 */
    6565errno_t ipc_irq_subscribe(int inr, sysarg_t method, const irq_code_t *ucode,
    66     cap_handle_t *out_handle)
     66    cap_irq_handle_t *out_handle)
    6767{
    6868        if (ucode == NULL)
    6969                ucode = &default_ucode;
    7070
    71         return (errno_t) __SYSCALL4(SYS_IPC_IRQ_SUBSCRIBE, inr, method, (sysarg_t) ucode,
    72             (sysarg_t) out_handle);
     71        return (errno_t) __SYSCALL4(SYS_IPC_IRQ_SUBSCRIBE, inr, method,
     72            (sysarg_t) ucode, (sysarg_t) out_handle);
    7373}
    7474
     
    8080 *
    8181 */
    82 errno_t ipc_irq_unsubscribe(cap_handle_t cap)
     82errno_t ipc_irq_unsubscribe(cap_irq_handle_t cap)
    8383{
    84         return (errno_t) __SYSCALL1(SYS_IPC_IRQ_UNSUBSCRIBE, cap);
     84        return (errno_t) __SYSCALL1(SYS_IPC_IRQ_UNSUBSCRIBE,
     85            CAP_HANDLE_RAW(cap));
    8586}
    8687
Note: See TracChangeset for help on using the changeset viewer.