qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Richard Henderson
Subject: Re: [PATCH 16/18] bsd-user: Implement 'get_mcontext' for RISC-V
Date: Fri, 2 Aug 2024 23:47:22 +1000
User-agent: Mozilla Thunderbird

On 8/2/24 18:34, Ajeet Singh wrote:
From: Mark Corbin<mark.corbin@embecsom.com>

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<mark.corbin@embecsom.com>
Signed-off-by: Ajeet Singh<itachis@FreeBSD.org>
Signed-off-by: Warner Losh<imp@bsdimp.com>
Co-authored-by: Warner Losh<imp@bsdimp.com>
---
  bsd-user/riscv/signal.c | 53 +++++++++++++++++++++++++++++++++++++++++
  1 file changed, 53 insertions(+)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]