mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 01:51:03 +09:00
Expose the kernel log buffer through /proc/dmesg.
Also add a /bin/dmesg program for convenience.
This commit is contained in:
parent
442351a5f8
commit
7455f5ea42
Notes:
sideshowbarker
2024-07-19 15:55:35 +09:00
Author: https://github.com/awesomekling
Commit: 7455f5ea42
8 changed files with 77 additions and 0 deletions
|
@ -52,6 +52,7 @@ void Console::put_char(char ch)
|
|||
//if (ch != 27)
|
||||
IO::out8(0xe9, ch);
|
||||
#endif
|
||||
m_logbuffer.enqueue(ch);
|
||||
if (m_implementation)
|
||||
m_implementation->on_sysconsole_receive(ch);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue