]> 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)
commit406b73b6a36e30c0be7ae1cdee1d4e7db0008358
tree98b97c285c45887145bc81e65bf8b273071cd19c
parentbedfd909ba58d6f7ca1c3f36b7d48c61d8cde291
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