Changeset 3d77747 in mainline
- Timestamp:
- 2006-04-22T18:05:25Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 34c4d69
- Parents:
- 1c7da86
- Location:
- libc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libc/generic/ddi.c
r1c7da86 r3d77747 83 83 return __SYSCALL1(SYS_ENABLE_IOSPACE, (sysarg_t) &arg); 84 84 } 85 86 /** Interrupt control 87 * 88 * @param enable 1 - enable interrupts, 0 - disable interrupts 89 */ 90 int interrupt_control(int enable) 91 { 92 return __SYSCALL1(SYS_INT_CONTROL, (sysarg_t) enable); 93 } -
libc/include/ddi.h
r1c7da86 r3d77747 34 34 extern int map_physmem(task_id_t id, void *pf, void *vp, unsigned long pages, int writable); 35 35 extern int enable_iospace(task_id_t id, void *ioaddr, unsigned long size); 36 extern int interrupt_control(int enable); 36 37 37 38 #endif
Note:
See TracChangeset
for help on using the changeset viewer.