aboutsummaryrefslogtreecommitdiff
path: root/system/arch_init.c
diff options
context:
space:
mode:
authorStacey Son <sson@FreeBSD.org>2024-07-08 00:41:21 +0530
committerWarner Losh <imp@bsdimp.com>2024-07-23 10:50:54 -0600
commit8cbb4fc12e1d10182cbab93f234510bc616594ca (patch)
treec2c86c26a723c4dd29f156c50007c4df23098faa /system/arch_init.c
parent3cce8bd4d737f2ca688bbdcb92cd5cc683245bbd (diff)
downloadqemu-8cbb4fc12e1d10182cbab93f234510bc616594ca.zip
qemu-8cbb4fc12e1d10182cbab93f234510bc616594ca.tar.gz
qemu-8cbb4fc12e1d10182cbab93f234510bc616594ca.tar.bz2
bsd-user:Add CPU initialization and management functions
Added function to initialize ARM CPU and check if it supports 64-bit mode. Implemented CPU loop function to handle exceptions and emulate execution of instructions. Added function to clone CPU state to create a new thread. Included AArch64 specific CPU functions for bsd-user to set and receive thread-local-storage value from the tpidr_el0 register. Introduced structure for storing CPU register states for BSD-USER. Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Ajeet Singh <itachis@FreeBSD.org> Co-authored-by: Kyle Evans <kevans@freebsd.org> Co-authored-by: Sean Bruno <sbruno@freebsd.org> Co-authored-by: Jessica Clarke <jrtc27@jrtc27.com> Reviewed-by: Warner Losh <imp@bsdimp.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20240707191128.10509-2-itachis@FreeBSD.org> Signed-off-by: Warner Losh <imp@bsdimp.com>
Diffstat (limited to 'system/arch_init.c')
0 files changed, 0 insertions, 0 deletions