Changes in uspace/lib/c/generic/irq.c [b7fd2a0:3f74275] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/irq.c
rb7fd2a0 r3f74275 58 58 * @param ucode Top-half pseudocode handler. 59 59 * 60 * @param[out] out_handle IRQ capability handle returned by the kernel. 61 * 60 * @return IRQ capability handle returned by the kernel. 62 61 * @return Error code returned by the kernel. 63 62 * 64 63 */ 65 errno_t ipc_irq_subscribe(int inr, sysarg_t method, const irq_code_t *ucode, 66 cap_handle_t *out_handle) 64 int ipc_irq_subscribe(int inr, sysarg_t method, const irq_code_t *ucode) 67 65 { 68 66 if (ucode == NULL) 69 67 ucode = &default_ucode; 70 68 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); 73 70 } 74 71 … … 80 77 * 81 78 */ 82 errno_t ipc_irq_unsubscribe(cap_handle_t cap)79 int ipc_irq_unsubscribe(int cap) 83 80 { 84 return (errno_t)__SYSCALL1(SYS_IPC_IRQ_UNSUBSCRIBE, cap);81 return __SYSCALL1(SYS_IPC_IRQ_UNSUBSCRIBE, cap); 85 82 } 86 83
Note:
See TracChangeset
for help on using the changeset viewer.