2019-04-04 17:06:27 +03:00
|
|
|
/*
|
|
|
|
* Copyright 2010, Ingo Weinhold, ingo_weinhold@gmx.de.
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
#ifndef _KERNEL_ARCH_RISCV64_DEBUG_H
|
|
|
|
#define _KERNEL_ARCH_RISCV64_DEBUG_H
|
|
|
|
|
|
|
|
|
|
|
|
#include <SupportDefs.h>
|
|
|
|
|
|
|
|
|
2021-06-06 16:26:13 +03:00
|
|
|
struct kernel_args;
|
|
|
|
|
2019-04-04 17:06:27 +03:00
|
|
|
struct arch_debug_registers {
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2021-06-06 16:26:13 +03:00
|
|
|
void WritePC(addr_t pc);
|
|
|
|
void DoStackTrace(addr_t fp, addr_t pc);
|
|
|
|
void WriteTrapInfo();
|
|
|
|
|
|
|
|
status_t arch_debug_init_early(kernel_args *args);
|
|
|
|
|
|
|
|
|
2019-04-04 17:06:27 +03:00
|
|
|
#endif // _KERNEL_ARCH_RISCV64_DEBUG_H
|