1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:27:35 +00:00

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
parent c6b2a07326
commit 6824d2a788
23 changed files with 262 additions and 34 deletions

View file

@ -48,6 +48,9 @@ static void handle_print_registers(PtraceRegisters const& regs)
#elif ARCH(AARCH64)
(void)regs;
TODO_AARCH64();
#elif ARCH(RISCV64)
(void)regs;
TODO_RISCV64();
#else
# error Unknown architecture
#endif
@ -251,6 +254,9 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
#elif ARCH(AARCH64)
const FlatPtr ip = 0; // FIXME
TODO_AARCH64();
#elif ARCH(RISCV64)
const FlatPtr ip = 0; // FIXME
TODO_RISCV64();
#else
# error Unknown architecture
#endif