mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:57:47 +00:00
Kernel/riscv64: Take the memory map from the FDT and dump it
For this the BootInfo struct was made architecture specific
This commit is contained in:
parent
21a21c6a11
commit
d3f6b03733
10 changed files with 368 additions and 119 deletions
|
@ -529,6 +529,7 @@ elseif("${SERENITY_ARCH}" STREQUAL "riscv64")
|
|||
Arch/riscv64/Firmware/ACPI/StaticParsing.cpp
|
||||
|
||||
Arch/riscv64/boot.S
|
||||
Arch/riscv64/CPU.cpp
|
||||
Arch/riscv64/CurrentTime.cpp
|
||||
Arch/riscv64/DebugOutput.cpp
|
||||
Arch/riscv64/Delay.cpp
|
||||
|
@ -575,6 +576,12 @@ set(AK_SOURCES
|
|||
../AK/UUID.cpp
|
||||
)
|
||||
|
||||
set(DT_SOURCES
|
||||
../Userland/Libraries/LibDeviceTree/DeviceTree.cpp
|
||||
../Userland/Libraries/LibDeviceTree/FlattenedDeviceTree.cpp
|
||||
../Userland/Libraries/LibDeviceTree/Validation.cpp
|
||||
)
|
||||
|
||||
set(EDID_SOURCES
|
||||
../Userland/Libraries/LibEDID/DMT.cpp
|
||||
../Userland/Libraries/LibEDID/EDID.cpp
|
||||
|
@ -624,6 +631,7 @@ set(SOURCES
|
|||
${KERNEL_SOURCES}
|
||||
${GENERATED_SOURCES}
|
||||
${AK_SOURCES}
|
||||
${DT_SOURCES}
|
||||
${EDID_SOURCES}
|
||||
${ELF_SOURCES}
|
||||
${VT_SOURCES}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue