Userland+Tests: Add initial riscv64 support

This commit is contained in:
Sönke Holz 2023-09-18 12:56:39 +02:00 committed by Andrew Kaster
commit 6824d2a788
Notes: sideshowbarker 2024-07-17 03:59:29 +09:00
23 changed files with 262 additions and 34 deletions

View file

@ -193,6 +193,9 @@ void DebugSession::run(DesiredInitialDebugeeState initial_debugee_state, Callbac
#elif ARCH(AARCH64)
FlatPtr current_instruction;
TODO_AARCH64();
#elif ARCH(RISCV64)
FlatPtr current_instruction;
TODO_RISCV64();
#else
# error Unknown architecture
#endif
@ -217,6 +220,9 @@ void DebugSession::run(DesiredInitialDebugeeState initial_debugee_state, Callbac
#elif ARCH(AARCH64)
FlatPtr current_ebp;
TODO_AARCH64();
#elif ARCH(RISCV64)
FlatPtr current_ebp;
TODO_RISCV64();
#else
# error Unknown architecture
#endif
@ -266,6 +272,9 @@ void DebugSession::run(DesiredInitialDebugeeState initial_debugee_state, Callbac
#elif ARCH(AARCH64)
(void)breakpoint_addr;
TODO_AARCH64();
#elif ARCH(RISCV64)
(void)breakpoint_addr;
TODO_RISCV64();
#else
# error Unknown architecture
#endif