haiku/headers/private/kernel/arch/riscv64/arch_debug.h
X512 e013897fcf 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 <kallisti5@unixzen.com>
2021-08-06 15:19:22 +00:00

26 lines
454 B
C

/*
* 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>
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