mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:27:43 +00:00
Kernel/riscv64: Implement debug_output
and change cmdline to use it
Just implementing `debug_output` (and adding "serial_debug" to the cmdline) makes the kernel print its first assertion failure!
This commit is contained in:
parent
dfce2f6341
commit
959f2c0342
2 changed files with 6 additions and 2 deletions
|
@ -216,6 +216,8 @@ extern "C" [[noreturn]] UNMAP_AFTER_INIT void init([[maybe_unused]] BootInfo con
|
|||
multiboot_modules_count = 0;
|
||||
// FIXME: Read the /chosen/bootargs property.
|
||||
kernel_cmdline = RPi::Mailbox::the().query_kernel_command_line(s_command_line_buffer);
|
||||
#elif ARCH(RISCV64)
|
||||
kernel_cmdline = "serial_debug"sv;
|
||||
#endif
|
||||
|
||||
setup_serial_debug();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue