diff options
author | Mark Corbin <mark@dibsco.co.uk> | 2024-09-17 01:51:11 +1000 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2024-10-02 15:11:52 +1000 |
commit | 9aae5dcd04e705299601f1f85f617a448f4ad713 (patch) | |
tree | 386fafe40909cd553627ecd3a61fad35194135f8 /python/scripts | |
parent | 207e80c94004b2d3b059c31fe760dbbaf27723f5 (diff) | |
download | qemu-9aae5dcd04e705299601f1f85f617a448f4ad713.zip qemu-9aae5dcd04e705299601f1f85f617a448f4ad713.tar.gz qemu-9aae5dcd04e705299601f1f85f617a448f4ad713.tar.bz2 |
bsd-user: Add RISC-V thread setup and initialization support
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 <mark@dibsco.co.uk>
Signed-off-by: Ajeet Singh <itachis@FreeBSD.org>
Co-authored-by: Jessica Clarke <jrtc27@jrtc27.com>
Co-authored-by: Kyle Evans <kevans@FreeBSD.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20240916155119.14610-10-itachis@FreeBSD.org>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'python/scripts')
0 files changed, 0 insertions, 0 deletions