]> Projects (at) Tadryanom (dot) Me - AdrOS.git/commit
feat: add dmesg command to kernel shell
authorTulio A M Mendes <[email protected]>
Tue, 10 Feb 2026 04:55:15 +0000 (01:55 -0300)
committerTulio A M Mendes <[email protected]>
Tue, 10 Feb 2026 04:55:15 +0000 (01:55 -0300)
commit3309751490abd289d97e5d810509a38f2058ba8f
tree05413f5df48b3fc348bb3933e6e8bf75b01c288f
parent24a96af57b2c86496e8fc59aa7733a1cab5cc11e
feat: add dmesg command to kernel shell

Reads the kernel log ring buffer via klog_read() and prints it
to the UART console, allowing users to review boot messages and
earlier kprintf output — just like Linux's dmesg command.

Passes: make, cppcheck, QEMU smoke test.
src/kernel/shell.c