[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 15/15] bsd-user: Add target.h for aarch64.
From: |
Warner Losh |
Subject: |
[PULL 15/15] bsd-user: Add target.h for aarch64. |
Date: |
Wed, 24 Jul 2024 16:04:48 -0600 |
For aarch64, it's a 64-bit API, so there's no pairing of registers for
64-bit values.
Signed-off-by: Warner Losh <imp@bsdimp.com>
---
bsd-user/aarch64/target.h | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 bsd-user/aarch64/target.h
diff --git a/bsd-user/aarch64/target.h b/bsd-user/aarch64/target.h
new file mode 100644
index 00000000000..702aeb7fc57
--- /dev/null
+++ b/bsd-user/aarch64/target.h
@@ -0,0 +1,20 @@
+/*
+ * Aarch64 general target stuff that's common to all aarch details
+ *
+ * Copyright (c) 2022 M. Warner Losh <imp@bsdimp.com>
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
+#ifndef TARGET_H
+#define TARGET_H
+
+/*
+ * aaarch64 ABI does not 'lump' the registers for 64-bit args.
+ */
+static inline bool regpairs_aligned(void *cpu_env)
+{
+ return false;
+}
+
+#endif /* TARGET_H */
--
2.45.1
- [PULL 09/15] bsd-user: Simplify the implementation of execve, (continued)
- [PULL 09/15] bsd-user: Simplify the implementation of execve, Warner Losh, 2024/07/24
- [PULL 05/15] bsd-user:Add get_mcontext function for ARM AArch64, Warner Losh, 2024/07/24
- [PULL 03/15] bsd-user:Add ARM AArch64 support and capabilities, Warner Losh, 2024/07/24
- [PULL 06/15] bsd-user:Add setup_sigframe_arch function for ARM AArch64, Warner Losh, 2024/07/24
- [PULL 07/15] bsd-user:Add set_mcontext function for ARM AArch64, Warner Losh, 2024/07/24
- [PULL 10/15] bsd-user: Hard wire aarch64 to be 4k pages only, Warner Losh, 2024/07/24
- [PULL 11/15] bsd-user: Sync fork_start/fork_end with linux-user, Warner Losh, 2024/07/24
- [PULL 12/15] bsd-user: Define TARGET_SIGSTACK_ALIGN and use it to round stack, Warner Losh, 2024/07/24
- [PULL 14/15] bsd-user: Add aarch64 build to tree, Warner Losh, 2024/07/24
- [PULL 13/15] bsd-user: Make compile for non-linux user-mode stuff, Warner Losh, 2024/07/24
- [PULL 15/15] bsd-user: Add target.h for aarch64.,
Warner Losh <=
- Re: [PULL 00/15] Bsd user for 9.1 patches, Richard Henderson, 2024/07/24