mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:17:35 +00:00
Kernel/riscv64: Add a Timer class for RISC-V
This is a basic Timer class based on the aarch64 RPi Timer. It uses the hart-local timer, as defined by the privileged ISA.
This commit is contained in:
parent
3286a05de1
commit
4292b0ead7
4 changed files with 158 additions and 2 deletions
|
@ -530,6 +530,7 @@ elseif("${SERENITY_ARCH}" STREQUAL "riscv64")
|
|||
Arch/riscv64/SafeMem.cpp
|
||||
Arch/riscv64/SBI.cpp
|
||||
Arch/riscv64/SmapDisabler.cpp
|
||||
Arch/riscv64/Timer.cpp
|
||||
)
|
||||
|
||||
add_compile_options(-fno-stack-protector -fno-sanitize=all)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue