Changeset e9d15d9 in mainline for uspace/lib/c/generic/async.c
- Timestamp:
- 2017-08-18T21:15:26Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 24abb85d
- Parents:
- 1c85bae
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/async.c
r1c85bae re9d15d9 1027 1027 * @param ucode Top-half pseudocode handler. 1028 1028 * 1029 * @return Zero on success or a negative error code. 1029 * @return IRQ capability on success. 1030 * @return Negative error code. 1030 1031 * 1031 1032 */ … … 1056 1057 /** Unsubscribe from IRQ notification. 1057 1058 * 1058 * @param inr IRQ number. 1059 * @param devno Device number of the device generating inr. 1059 * @param cap IRQ capability. 1060 1060 * 1061 1061 * @return Zero on success or a negative error code. 1062 1062 * 1063 1063 */ 1064 int async_irq_unsubscribe(int inr, int devno)1064 int async_irq_unsubscribe(int cap) 1065 1065 { 1066 1066 // TODO: Remove entry from hash table 1067 1067 // to avoid memory leak 1068 1068 1069 return ipc_irq_unsubscribe( inr, devno);1069 return ipc_irq_unsubscribe(cap); 1070 1070 } 1071 1071
Note:
See TracChangeset
for help on using the changeset viewer.