1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:28:12 +00:00

Kernel/riscv64: Unflatten the DeviceTree

This commit is contained in:
Hediadyoin1 2024-02-14 15:01:21 +01:00 committed by Andrew Kaster
parent d3f6b03733
commit 7309427d2f
3 changed files with 26 additions and 1 deletions

View file

@ -288,7 +288,8 @@ extern "C" [[noreturn]] UNMAP_AFTER_INIT void init([[maybe_unused]] BootInfo con
ACPI::initialize();
#if ARCH(RISCV64)
// FIXME: Unflatten the device tree and use it for device discovery
MUST(unflatten_fdt());
dump_fdt();
#endif