haiku/headers/os/arch/riscv64/arch_debugger.h
X512 de8c1bcc32 kernel/arch/user_debugger: implement for risv64
Change-Id: I9cdf7a6a5b66cdd83133485f98067ce9a5fb819d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4058
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2021-08-06 15:42:49 +00:00

18 lines
340 B
C

/*
* Copyright 2009-2019, Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _ARCH_RISCV64_DEBUGGER_H
#define _ARCH_RISCV64_DEBUGGER_H
struct riscv64_debug_cpu_state {
uint64 x[31];
uint64 pc;
double f[32];
uint64 fcsr;
} __attribute__((aligned(8)));
#endif // _ARCH_RISCV64_DEBUGGER_H