Kernel/riscv64: Unflatten the DeviceTree

This commit is contained in:
Hediadyoin1 2024-02-14 15:01:21 +01:00 committed by Andrew Kaster
commit 7309427d2f
Notes: sideshowbarker 2024-07-17 14:36:19 +09:00
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