Re: [PATCH 16/18] bsd-user: Implement 'get_mcontext' for RISC-V

2024-08-02 Thread Richard Henderson
On 8/2/24 18:34, Ajeet Singh wrote: From: Mark Corbin Added the 'get_mcontext' function to extract and populate the RISC-V machine context from the CPU state. This function is used to gather the current state of the general-purpose registers and store it in a 'target_mcontext_' structure. Signe

[PATCH 16/18] bsd-user: Implement 'get_mcontext' for RISC-V

2024-08-02 Thread Ajeet Singh
From: Mark Corbin Added the 'get_mcontext' function to extract and populate the RISC-V machine context from the CPU state. This function is used to gather the current state of the general-purpose registers and store it in a 'target_mcontext_' structure. Signed-off-by: Mark Corbin Signed-off-by: