From 9273c16434316a8ab60dc78ee65a03e68031203a Mon Sep 17 00:00:00 2001 From: Kimplul Date: Fri, 29 Apr 2022 17:38:41 +0300 Subject: continue building base for irq handling --- arch/riscv64/include/regs.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 arch/riscv64/include/regs.h (limited to 'arch/riscv64/include/regs.h') diff --git a/arch/riscv64/include/regs.h b/arch/riscv64/include/regs.h new file mode 100644 index 0000000..699af8b --- /dev/null +++ b/arch/riscv64/include/regs.h @@ -0,0 +1,9 @@ +#ifndef APOS_RISCV_REGS_H +#define APOS_RISCV_REGS_H + +struct riscv_regs { + long ra, sp, gp, tp, t0, t1, t2, s0, s1, a0, a1, a2, a3, a4, a5, a6, a7, + s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, t3, t4, t5, t6; +}; + +#endif /* APOS_RISCV_REGS_H */ -- cgit v1.3