master
h 30 lines 737 Bytes
Raw
1 /*
2 * ARM AArch64 sysarch() system call emulation for bsd-user.
3 *
4 * Copyright (c) 2015 Stacey D. Son
5 *
6 * SPDX-License-Identifier: GPL-2.0-or-later
7 */
8 #ifndef TARGET_ARCH_SYSARCH_H
9 #define TARGET_ARCH_SYSARCH_H
10
11 #include "target_syscall.h"
12 #include "target_arch.h"
13
14 /* See sysarch() in sys/arm64/arm64/sys_machdep.c */
15 static inline abi_long do_freebsd_arch_sysarch(CPUARMState *env, int op,
16 abi_ulong parms)
17 {
18 int ret = -TARGET_EOPNOTSUPP;
19
20 fprintf(stderr, "sysarch");
21 return ret;
22 }
23
24 static inline void do_freebsd_arch_print_sysarch(
25 const struct syscallname *name, abi_long arg1, abi_long arg2,
26 abi_long arg3, abi_long arg4, abi_long arg5, abi_long arg6)
27 {
28 }
29
30 #endif /* TARGET_ARCH_SYSARCH_H */