Rev 3425 | Rev 3433 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3425 | Rev 3431 | ||
---|---|---|---|
Line 340... | Line 340... | ||
340 | if (rc != 0) { |
340 | if (rc != 0) { |
341 | free(call->buffer); |
341 | free(call->buffer); |
342 | return rc; |
342 | return rc; |
343 | } |
343 | } |
344 | break; |
344 | break; |
- | 345 | #ifdef CONFIG_UDEBUG |
|
345 | case IPC_M_DEBUG_ALL: |
346 | case IPC_M_DEBUG_ALL: |
346 | return udebug_request_preprocess(call, phone); |
347 | return udebug_request_preprocess(call, phone); |
- | 348 | #endif |
|
347 | default: |
349 | default: |
348 | break; |
350 | break; |
349 | } |
351 | } |
350 | return 0; |
352 | return 0; |
351 | } |
353 | } |
Line 886... | Line 888... | ||
886 | * |
888 | * |
887 | * @return Phone id on success, or negative error code. |
889 | * @return Phone id on success, or negative error code. |
888 | */ |
890 | */ |
889 | unative_t sys_ipc_connect_kbox(sysarg64_t *uspace_taskid_arg) |
891 | unative_t sys_ipc_connect_kbox(sysarg64_t *uspace_taskid_arg) |
890 | { |
892 | { |
- | 893 | #ifdef CONFIG_UDEBUG |
|
891 | sysarg64_t taskid_arg; |
894 | sysarg64_t taskid_arg; |
892 | int rc; |
895 | int rc; |
893 | 896 | ||
894 | rc = copy_from_uspace(&taskid_arg, uspace_taskid_arg, sizeof(sysarg64_t)); |
897 | rc = copy_from_uspace(&taskid_arg, uspace_taskid_arg, sizeof(sysarg64_t)); |
895 | if (rc != 0) |
898 | if (rc != 0) |
896 | return (unative_t) rc; |
899 | return (unative_t) rc; |
897 | 900 | ||
898 | printf("sys_ipc_connect_kbox(%lld, %d)\n", taskid_arg.value); |
901 | printf("sys_ipc_connect_kbox(%lld, %d)\n", taskid_arg.value); |
899 | 902 | ||
900 | return ipc_connect_kbox(taskid_arg.value); |
903 | return ipc_connect_kbox(taskid_arg.value); |
- | 904 | #else |
|
- | 905 | return (unative_t) ENOTSUP; |
|
- | 906 | #endif |
|
901 | } |
907 | } |
902 | 908 | ||
903 | /** @} |
909 | /** @} |
904 | */ |
910 | */ |