mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 15:57:36 +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
|
@ -50,6 +50,9 @@ Backtrace::Backtrace(Reader const& coredump, const ELF::Core::ThreadInfo& thread
|
|||
#elif ARCH(AARCH64)
|
||||
auto start_bp = m_thread_info.regs.x[29];
|
||||
auto start_ip = m_thread_info.regs.pc;
|
||||
#elif ARCH(RISCV64)
|
||||
auto start_bp = m_thread_info.regs.x[7];
|
||||
auto start_ip = m_thread_info.regs.pc;
|
||||
#else
|
||||
# error Unknown architecture
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue