From: Mark Corbin<mark.corbin@embecsom.com>
Added implementations for 'set_mcontext' and 'get_ucontext_sigreturn'
functions for RISC-V architecture,
Both functions ensure that the CPU state and user context are properly
managed.
Signed-off-by: Mark Corbin<mark.corbin@embecsom.com>
Signed-off-by: Warner Losh<imp@bsdimp.com>
Signed-off-by: Ajeet Singh<itachis@FreeBSD.org>
Co-authored-by: Warner Losh<imp@bsdimp.com>
---
bsd-user/riscv/signal.c | 54 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)