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:
parent
132d25e5bf
commit
6ef2c34eb4
2 changed files with 75 additions and 0 deletions
|
@ -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
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue