- Timestamp:
- 2010-04-29T08:34:29Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cfe7716
- Parents:
- 5af21c5
- Location:
- uspace
- Files:
-
- 3 edited
-
app/trace/syscalls.c (modified) (1 diff)
-
lib/libc/generic/ddi.c (modified) (1 diff)
-
lib/libc/include/ddi.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/trace/syscalls.c
r5af21c5 r953bc1ef 74 74 [SYS_IOSPACE_ENABLE] = { "iospace_enable", 1, V_ERRNO }, 75 75 [SYS_PREEMPT_CONTROL] = { "preempt_control", 1, V_ERRNO }, 76 [SYS_INTERRUPT_ENABLE] = { "interrupt_enable", 2, V_ERRNO }, 76 77 77 78 [SYS_SYSINFO_VALID] = { "sysinfo_valid", 2, V_HASH }, -
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 * -
uspace/lib/libc/include/ddi.h
r5af21c5 r953bc1ef 43 43 extern int preemption_control(int); 44 44 extern int pio_enable(void *, size_t, void **); 45 extern int interrupt_enable(int, int); 45 46 46 47 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
