Changeset 057d21a in mainline
- Timestamp:
- 2009-08-21T07:22:38Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8619f25
- Parents:
- 6c4a56f
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/ipc/sysipc.h
r6c4a56f r057d21a 52 52 unative_t sys_ipc_wait_for_call(ipc_data_t *calldata, uint32_t usec, 53 53 int nonblocking); 54 unative_t sys_ipc_poke(void); 54 55 unative_t sys_ipc_forward_fast(unative_t callid, unative_t phoneid, 55 56 unative_t method, unative_t arg1, unative_t arg2, int mode); -
kernel/generic/include/syscall/syscall.h
r6c4a56f r057d21a 66 66 SYS_IPC_FORWARD_SLOW, 67 67 SYS_IPC_WAIT, 68 SYS_IPC_POKE, 68 69 SYS_IPC_HANGUP, 69 70 SYS_IPC_REGISTER_IRQ, -
kernel/generic/src/ipc/sysipc.c
r6c4a56f r057d21a 44 44 #include <ipc/ipcrsc.h> 45 45 #include <ipc/kbox.h> 46 #include <synch/waitq.h> 46 47 #include <udebug/udebug_ipc.h> 47 48 #include <arch/interrupt.h> … … 1051 1052 } 1052 1053 1054 /** Interrupt one thread from sys_ipc_wait_for_call(). */ 1055 unative_t sys_ipc_poke(void) 1056 { 1057 waitq_unsleep(&TASK->answerbox.wq); 1058 return EOK; 1059 } 1060 1053 1061 /** Connect an IRQ handler to a task. 1054 1062 * -
kernel/generic/src/syscall/syscall.c
r6c4a56f r057d21a 137 137 (syshandler_t) sys_ipc_forward_slow, 138 138 (syshandler_t) sys_ipc_wait_for_call, 139 (syshandler_t) sys_ipc_poke, 139 140 (syshandler_t) sys_ipc_hangup, 140 141 (syshandler_t) sys_ipc_register_irq, -
uspace/lib/libc/generic/ipc.c
r6c4a56f r057d21a 565 565 } 566 566 567 /** Interrupt one thread of this task from waiting for IPC. */ 568 void ipc_poke(void) 569 { 570 __SYSCALL0(SYS_IPC_POKE); 571 } 572 567 573 /** Ask destination to do a callback connection. 568 574 * -
uspace/lib/libc/include/ipc/ipc.h
r6c4a56f r057d21a 192 192 extern ipc_callid_t ipc_wait_cycle(ipc_call_t *, uint32_t, int); 193 193 extern ipc_callid_t ipc_wait_for_call_timeout(ipc_call_t *, uint32_t); 194 extern void ipc_poke(void); 194 195 195 196 static inline ipc_callid_t ipc_wait_for_call(ipc_call_t *data)
Note:
See TracChangeset
for help on using the changeset viewer.