aboutsummaryrefslogtreecommitdiff
path: root/bsd-user/aarch64/target_arch.h
diff options
context:
space:
mode:
authorWarner Losh <imp@bsdimp.com>2024-07-08 00:41:23 +0530
committerWarner Losh <imp@bsdimp.com>2024-07-23 10:50:54 -0600
commit1541d87db24063fcb11b13e6bfb66a193ff9be65 (patch)
treeb0b133e899f5e86d36638a3cb707aedd543d9474 /bsd-user/aarch64/target_arch.h
parent1acce7718bd41a20d3db6323959fedf9c3675ebe (diff)
downloadqemu-1541d87db24063fcb11b13e6bfb66a193ff9be65.zip
qemu-1541d87db24063fcb11b13e6bfb66a193ff9be65.tar.gz
qemu-1541d87db24063fcb11b13e6bfb66a193ff9be65.tar.bz2
bsd-user:Add ARM AArch64 support and capabilities
Added function to access rval2 by accessing the x1 register. Defined ARM AArch64 ELF parameters including mmap and dynamic load addresses. Introduced extensive hardware capability definitions and macros for retrieving hardware capability (hwcap) flags. Implemented function to retrieve ARM AArch64 hardware capabilities using the `GET_FEATURE_ID` macro. Added function to retrieve extended ARM AArch64 hardware capability flags. Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Ajeet Singh <itachis@FreeBSD.org> Signed-off-by: Warner Losh <imp@bsdimp.com> Co-authored-by: Kyle Evans <kevans@FreeBSD.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20240707191128.10509-4-itachis@FreeBSD.org> Signed-off-by: Warner Losh <imp@bsdimp.com>
Diffstat (limited to 'bsd-user/aarch64/target_arch.h')
-rw-r--r--bsd-user/aarch64/target_arch.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bsd-user/aarch64/target_arch.h b/bsd-user/aarch64/target_arch.h
index 27f47de..4815a56 100644
--- a/bsd-user/aarch64/target_arch.h
+++ b/bsd-user/aarch64/target_arch.h
@@ -21,6 +21,7 @@
#define TARGET_ARCH_H
#include "qemu.h"
+#include "target/arm/cpu-features.h"
void target_cpu_set_tls(CPUARMState *env, target_ulong newtls);
target_ulong target_cpu_get_tls(CPUARMState *env);