8ca0f03d0c
* Working under qemu smp 1,2+ * Working on SiFive Unmatched * x86_64 efi not broken by smp_boot_other_cpus change Change-Id: I32ebc17913e46ed082be9ade8f56448bbf12f16e Reviewed-on: https://review.haiku-os.org/c/haiku/+/4705 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
27 lines
482 B
C
27 lines
482 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 iframe;
|
|
|
|
struct arch_debug_registers {
|
|
};
|
|
|
|
|
|
void WritePC(addr_t pc);
|
|
void DoStackTrace(addr_t fp, addr_t pc);
|
|
void WriteTrapInfo(iframe* frame);
|
|
|
|
status_t arch_debug_init_early(kernel_args *args);
|
|
|
|
|
|
#endif // _KERNEL_ARCH_RISCV64_DEBUG_H
|