Changeset 6b10dab in mainline for uspace/lib/c/generic/ipc.c
- Timestamp:
- 2010-12-14T15:26:36Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- dd8d5a7
- Parents:
- 96b02eb9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/ipc.c
r96b02eb9 r6b10dab 38 38 */ 39 39 /** @file 40 */ 40 */ 41 41 42 42 #include <ipc/ipc.h> … … 845 845 } 846 846 847 #include <kernel/syscall/sysarg64.h>848 847 /** Connect to a task specified by id. 848 * 849 849 */ 850 850 int ipc_connect_kbox(task_id_t id) 851 851 { 852 sysarg64_t arg; 853 854 arg.value = (unsigned long long) id; 855 852 #ifdef __32_BITS__ 853 sysarg64_t arg = (sysarg64_t) id; 856 854 return __SYSCALL1(SYS_IPC_CONNECT_KBOX, (sysarg_t) &arg); 857 } 858 855 #endif 856 857 #ifdef __64_BITS__ 858 return __SYSCALL1(SYS_IPC_CONNECT_KBOX, (sysarg_t) id); 859 #endif 860 } 861 859 862 /** @} 860 863 */
Note:
See TracChangeset
for help on using the changeset viewer.