Changeset 953bc1ef in mainline for uspace/lib/libc/generic/ddi.c
- Timestamp:
- 2010-04-29T08:34:29Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cfe7716
- Parents:
- 5af21c5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/generic/ddi.c
r5af21c5 r953bc1ef 105 105 } 106 106 107 /** Enable/disable interrupt. 108 * 109 * @param irq the interrupt. 110 * @param enable 1 - enable interrupt, 0 - disable interrupt. 111 * 112 * @return Zero on success, negative error code otherwise. 113 */ 114 int interrupt_enable(int irq, int enable) 115 { 116 return __SYSCALL2(SYS_INTERRUPT_ENABLE, (sysarg_t) irq, (sysarg_t) enable); 117 } 118 107 119 /** Enable PIO for specified I/O range. 108 120 *
Note:
See TracChangeset
for help on using the changeset viewer.