mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:47:44 +00:00
Userland+Tests: Add initial riscv64 support
This commit is contained in:
parent
c6b2a07326
commit
6824d2a788
23 changed files with 262 additions and 34 deletions
|
@ -170,6 +170,8 @@ ErrorOr<Vector<NonnullOwnPtr<DebugInfo::VariableInfo>>> DebugInfo::get_variables
|
|||
ip = regs.rip;
|
||||
#elif ARCH(AARCH64)
|
||||
TODO_AARCH64();
|
||||
#elif ARCH(RISCV64)
|
||||
TODO_RISCV64();
|
||||
#else
|
||||
# error Unknown architecture
|
||||
#endif
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue