summaryrefslogtreecommitdiff
path: root/Kernel/Process.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-07-21 19:45:31 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-07-21 19:45:31 +0200
commit3fce2fb205862b9a06a8e35745e26690f8beed3e (patch)
treefc88c9eca3ec8908b393ddf8f6c1a78ef2a9e940 /Kernel/Process.h
parentbe7dcca1a647aa7da2d3b5f0360974644ea3050a (diff)
downloadserenity-3fce2fb205862b9a06a8e35745e26690f8beed3e.zip
Kernel+LibC: Add a dbgputch() syscall and use it for userspace dbgprintf().
The "stddbg" stream was a cute idea but we never ended up using it in practice, so let's simplify this and implement userspace dbgprintf() on top of a simple dbgputch() syscall instead. This makes debugging LibC startup a little bit easier. :^)
Diffstat (limited to 'Kernel/Process.h')
-rw-r--r--Kernel/Process.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/Process.h b/Kernel/Process.h
index 674b12f41f..eb603f9f77 100644
--- a/Kernel/Process.h
+++ b/Kernel/Process.h
@@ -104,6 +104,7 @@ public:
void die();
void finalize();
+ int sys$dbgputch(u8);
int sys$dump_backtrace();
int sys$gettid();
int sys$donate(int tid);