aboutsummaryrefslogtreecommitdiff
path: root/python/scripts/vendor.py
diff options
context:
space:
mode:
authorMark Corbin <mark@dibsco.co.uk>2024-09-17 01:51:16 +1000
committerAlistair Francis <alistair.francis@wdc.com>2024-10-02 15:11:52 +1000
commit2931709ed917bf7e0db545bda941625e3c3aee1e (patch)
tree6c10b91727e70b9d2f1a27f7cbb2cb967c18a5f3 /python/scripts/vendor.py
parent07e26711201e8374bf86d24b6803de36dad123ee (diff)
downloadqemu-2931709ed917bf7e0db545bda941625e3c3aee1e.zip
qemu-2931709ed917bf7e0db545bda941625e3c3aee1e.tar.gz
qemu-2931709ed917bf7e0db545bda941625e3c3aee1e.tar.bz2
bsd-user: Implement RISC-V signal trampoline setup functions
Added functions for setting up the RISC-V signal trampoline and signal frame: 'set_sigtramp_args()': Configures the RISC-V CPU state with arguments for the signal handler. It sets up the registers with the signal number,pointers to the signal info and user context, the signal handler address, and the signal frame pointer. 'setup_sigframe_arch()': Initializes the signal frame with the current machine context.This function copies the context from the CPU state to the signal frame, preparing it for the signal handler. 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-15-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