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

Kernel/riscv64: Add assembly trap handler

This trap handler can't handle traps from userspace yet.
This commit is contained in:
Sönke Holz 2024-01-19 19:22:56 +01:00 committed by Andrew Kaster
parent df21d435eb
commit cec20908a5
3 changed files with 140 additions and 1 deletions

View file

@ -545,6 +545,7 @@ elseif("${SERENITY_ARCH}" STREQUAL "riscv64")
Arch/riscv64/SBI.cpp
Arch/riscv64/SmapDisabler.cpp
Arch/riscv64/Timer.cpp
Arch/riscv64/trap_handler.S
)
# NOTE: These files cannot use a stack protector and sanitizers, as these will cause accesses to global variables to be inserted