On 8/24/24 14:56, Ajeet Singh wrote:
From: Mark Corbin<m...@dibsco.co.uk>
Implemented functions for setting up and initializing threads in the
RISC-V architecture.
The 'target_thread_set_upcall' function sets up the stack pointer,
program counter, and function argument for new threads.
The 'target_thread_init' function initializes thread registers based on
the provided image information.
Signed-off-by: Mark Corbin<m...@dibsco.co.uk>
Signed-off-by: Ajeet Singh<itac...@freebsd.org>
Co-authored-by: Jessica Clarke<jrt...@jrtc27.com>
Co-authored-by: Kyle Evans<kev...@freebsd.org>
---
bsd-user/riscv/target_arch_thread.h | 47 +++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
create mode 100644 bsd-user/riscv/target_arch_thread.h
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~