diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-07-21 19:45:31 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-07-21 19:45:31 +0200 |
commit | 3fce2fb205862b9a06a8e35745e26690f8beed3e (patch) | |
tree | fc88c9eca3ec8908b393ddf8f6c1a78ef2a9e940 /Kernel/Syscall.h | |
parent | be7dcca1a647aa7da2d3b5f0360974644ea3050a (diff) | |
download | serenity-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/Syscall.h')
-rw-r--r-- | Kernel/Syscall.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Kernel/Syscall.h b/Kernel/Syscall.h index a20997eb9c..40a585a959 100644 --- a/Kernel/Syscall.h +++ b/Kernel/Syscall.h @@ -116,7 +116,8 @@ struct timeval; __ENUMERATE_SYSCALL(fchown) \ __ENUMERATE_SYSCALL(halt) \ __ENUMERATE_SYSCALL(reboot) \ - __ENUMERATE_SYSCALL(dump_backtrace) + __ENUMERATE_SYSCALL(dump_backtrace) \ + __ENUMERATE_SYSCALL(dbgputch) namespace Syscall { |