1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 01:07:44 +00:00

Kernel/riscv64: Get the kernel command line from the device tree

This also hides the fdt dump by default now,
it can be activated by adding `dump_fdt` to the kernel command line
This commit is contained in:
Hendiadyoin1 2024-02-11 15:32:27 +01:00 committed by Andrew Kaster
parent 51b841b4b2
commit 3941277940
3 changed files with 15 additions and 3 deletions

View file

@ -24,6 +24,7 @@ extern BootInfo s_boot_info;
ErrorOr<void> unflatten_fdt();
void dump_fdt();
ErrorOr<StringView> get_command_line_from_fdt();
}
namespace DeviceTree {