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

@ -377,6 +377,8 @@ FlatPtr DebugSession::single_step()
regs.rflags |= TRAP_FLAG;
#elif ARCH(AARCH64)
TODO_AARCH64();
#elif ARCH(RISCV64)
TODO_RISCV64();
#else
# error Unknown architecture
#endif
@ -394,6 +396,8 @@ FlatPtr DebugSession::single_step()
regs.rflags &= ~(TRAP_FLAG);
#elif ARCH(AARCH64)
TODO_AARCH64();
#elif ARCH(RISCV64)
TODO_RISCV64();
#else
# error Unknown architecture
#endif