mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 16:15:10 +00: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
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