diff options
author | Mark Corbin <mark@dibsco.co.uk> | 2024-09-17 01:51:17 +1000 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2024-10-02 15:11:52 +1000 |
commit | e185844fbdf5f4c8cd1f1587aac7a786971d562a (patch) | |
tree | 3e1d0d304c419e6d61fbcdcaf2f5759261f4817b /python/scripts/vendor.py | |
parent | 2931709ed917bf7e0db545bda941625e3c3aee1e (diff) | |
download | qemu-e185844fbdf5f4c8cd1f1587aac7a786971d562a.zip qemu-e185844fbdf5f4c8cd1f1587aac7a786971d562a.tar.gz qemu-e185844fbdf5f4c8cd1f1587aac7a786971d562a.tar.bz2 |
bsd-user: Implement 'get_mcontext' for RISC-V
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@dibsco.co.uk>
Signed-off-by: Ajeet Singh <itachis@FreeBSD.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Co-authored-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20240916155119.14610-16-itachis@FreeBSD.org>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'python/scripts/vendor.py')
0 files changed, 0 insertions, 0 deletions