aboutsummaryrefslogtreecommitdiff
path: root/bsd-user/arm/target.h
diff options
context:
space:
mode:
Diffstat (limited to 'bsd-user/arm/target.h')
-rw-r--r--bsd-user/arm/target.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/bsd-user/arm/target.h b/bsd-user/arm/target.h
new file mode 100644
index 0000000..419c039
--- /dev/null
+++ b/bsd-user/arm/target.h
@@ -0,0 +1,21 @@
+/*
+ * Intel general target stuff that's common to all i386 details
+ *
+ * Copyright (c) 2022 M. Warner Losh <imp@bsdimp.com>
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
+#ifndef TARGET_H
+#define TARGET_H
+
+/*
+ * arm EABI 'lumps' the registers for 64-bit args.
+ */
+static inline bool regpairs_aligned(void *cpu_env)
+{
+ return true;
+}
+
+#endif /* ! TARGET_H */
+