From 57b3bc3b9c24683c5514c7a55af6eb6fcee43bd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Thu, 13 Nov 2003 22:08:30 +0000 Subject: [PATCH] Added _kern_debug_output() syscall. Fixed warning about missing user_strlcpy() prototype. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5354 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/core/debug.c | 1 + src/kernel/core/syscalls.c | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/kernel/core/debug.c b/src/kernel/core/debug.c index b41fa7bcbb..bcb7ecb478 100644 --- a/src/kernel/core/debug.c +++ b/src/kernel/core/debug.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include diff --git a/src/kernel/core/syscalls.c b/src/kernel/core/syscalls.c index ca79426496..3c20901a8c 100644 --- a/src/kernel/core/syscalls.c +++ b/src/kernel/core/syscalls.c @@ -423,6 +423,10 @@ syscall_dispatcher(unsigned long call_num, void *arg_buffer, uint64 *call_ret) case SYSCALL_GETENV: *call_ret = user_getenv((const char *)arg0, (char **)arg1); break; + case SYSCALL_DEBUG_OUTPUT: + _user_debug_output((const char *)arg0); + break; + case SYSCALL_GET_THREAD_INFO: *call_ret = user_get_thread_info((thread_id)arg0, (thread_info *)arg1); break;