1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:07:45 +00:00

Kernel/riscv64: Add basic SBI support

This commit is contained in:
Sönke Holz 2023-09-02 22:52:30 +02:00 committed by Andrew Kaster
parent 84777fbe62
commit 9bd3c542b4
3 changed files with 339 additions and 1 deletions

View file

@ -499,9 +499,11 @@ elseif("${SERENITY_ARCH}" STREQUAL "aarch64")
elseif("${SERENITY_ARCH}" STREQUAL "riscv64")
set(KERNEL_SOURCES
${KERNEL_SOURCES}
Arch/riscv64/boot.S
Arch/Processor.cpp
kprintf.cpp
Arch/riscv64/boot.S
Arch/riscv64/SBI.cpp
)
add_compile_options(-fno-stack-protector -fno-sanitize=all)