Changeset eadaeae8 in mainline for uspace/lib/c/generic/irq.c
- Timestamp:
- 2018-03-21T20:58:49Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3be9d10
- Parents:
- 874381a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/irq.c
r874381a readaeae8 64 64 */ 65 65 errno_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) 67 67 { 68 68 if (ucode == NULL) 69 69 ucode = &default_ucode; 70 70 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); 73 73 } 74 74 … … 80 80 * 81 81 */ 82 errno_t ipc_irq_unsubscribe(cap_ handle_t cap)82 errno_t ipc_irq_unsubscribe(cap_irq_handle_t cap) 83 83 { 84 return (errno_t) __SYSCALL1(SYS_IPC_IRQ_UNSUBSCRIBE, cap); 84 return (errno_t) __SYSCALL1(SYS_IPC_IRQ_UNSUBSCRIBE, 85 CAP_HANDLE_RAW(cap)); 85 86 } 86 87
Note:
See TracChangeset
for help on using the changeset viewer.