mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
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. :^)
This commit is contained in:
parent
be7dcca1a6
commit
3fce2fb205
Notes:
sideshowbarker
2024-07-19 13:05:56 +09:00
Author: https://github.com/awesomekling
Commit: 3fce2fb205
6 changed files with 18 additions and 15 deletions
|
@ -2716,3 +2716,9 @@ int Process::sys$dump_backtrace()
|
|||
dump_backtrace();
|
||||
return 0;
|
||||
}
|
||||
|
||||
int Process::sys$dbgputch(u8 ch)
|
||||
{
|
||||
IO::out8(0xe9, ch);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue