kernel/arch/debug: implement for riscv64

Change-Id: Iab5cc9ef4059f968bca03683592d1ec1818a26a2
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4053
Reviewed-by: Alex von Gluck IV <[email protected]>
This commit is contained in:
X512
2021-08-06 15:19:22 +00:00
committed by Alex von Gluck IV
parent 4a32f48e70
commit e013897fcf
3 changed files with 363 additions and 7 deletions
@@ -9,8 +9,17 @@
#include <SupportDefs.h>
struct kernel_args;
struct arch_debug_registers {
};
void WritePC(addr_t pc);
void DoStackTrace(addr_t fp, addr_t pc);
void WriteTrapInfo();
status_t arch_debug_init_early(kernel_args *args);
#endif // _KERNEL_ARCH_RISCV64_DEBUG_H