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

Kernel: Add riscv64 assembly startup code

This adds a simple boot.S for RISC-V (64-bit), which clears the BSS and
sets up the processor to be ready for pre_init.cpp (which is not added
yet).
This commit is contained in:
Sönke Holz 2023-08-17 19:04:10 +02:00 committed by Andrew Kaster
parent 132d25e5bf
commit 6ef2c34eb4
2 changed files with 75 additions and 0 deletions

View file

@ -499,6 +499,7 @@ elseif("${SERENITY_ARCH}" STREQUAL "aarch64")
elseif("${SERENITY_ARCH}" STREQUAL "riscv64")
set(KERNEL_SOURCES
${KERNEL_SOURCES}
Arch/riscv64/boot.S
Arch/Processor.cpp
kprintf.cpp
)