Rev 3042 | Rev 3425 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3042 | Rev 3424 | ||
---|---|---|---|
Line 873... | Line 873... | ||
873 | ipc_irq_unregister(&TASK->answerbox, inr, devno); |
873 | ipc_irq_unregister(&TASK->answerbox, inr, devno); |
874 | 874 | ||
875 | return 0; |
875 | return 0; |
876 | } |
876 | } |
877 | 877 | ||
878 | #include <console/klog.h> |
878 | #include <console/console.h> |
879 | 879 | ||
880 | /** |
880 | /** |
881 | * Syscall connect to a task by id. |
881 | * Syscall connect to a task by id. |
882 | * |
882 | * |
883 | * @return Phone id on success, or negative error code. |
883 | * @return Phone id on success, or negative error code. |
Line 889... | Line 889... | ||
889 | 889 | ||
890 | rc = copy_from_uspace(&taskid_arg, uspace_taskid_arg, sizeof(sysarg64_t)); |
890 | rc = copy_from_uspace(&taskid_arg, uspace_taskid_arg, sizeof(sysarg64_t)); |
891 | if (rc != 0) |
891 | if (rc != 0) |
892 | return (unative_t) rc; |
892 | return (unative_t) rc; |
893 | 893 | ||
894 | klog_printf("sys_ipc_connect_kbox(%lld, %d)", taskid_arg.value); |
894 | printf("sys_ipc_connect_kbox(%lld, %d)\n", taskid_arg.value); |
895 | 895 | ||
896 | return ipc_connect_kbox(taskid_arg.value); |
896 | return ipc_connect_kbox(taskid_arg.value); |
897 | } |
897 | } |
898 | 898 | ||
899 | /** @} |
899 | /** @} |