summaryrefslogtreecommitdiffstats
path: root/bsd-user/sparc/target_arch_sysarch.h
diff options
context:
space:
mode:
authorWarner Losh2021-08-04 00:50:22 +0200
committerWarner Losh2021-09-07 16:26:52 +0200
commit381c42a186bd231693b4ef55ba5ebcc8eaaef1ba (patch)
tree839de14822b36b611b0b762f6065b4bb7b046498 /bsd-user/sparc/target_arch_sysarch.h
parentMerge remote-tracking branch 'remotes/mjt/tags/patch-fetch' into staging (diff)
downloadqemu-381c42a186bd231693b4ef55ba5ebcc8eaaef1ba.tar.gz
qemu-381c42a186bd231693b4ef55ba5ebcc8eaaef1ba.tar.xz
qemu-381c42a186bd231693b4ef55ba5ebcc8eaaef1ba.zip
bsd-user: remove sparc and sparc64
These are broken here and in the bsd-user fork. They won't be fixed as FreeBSD has dropped support for sparc. If people wish to support this in other BSDs, you're better off starting over than starting from these files. Signed-off-by: Warner Losh <imp@bsdimp.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'bsd-user/sparc/target_arch_sysarch.h')
-rw-r--r--bsd-user/sparc/target_arch_sysarch.h52
1 files changed, 0 insertions, 52 deletions
diff --git a/bsd-user/sparc/target_arch_sysarch.h b/bsd-user/sparc/target_arch_sysarch.h
deleted file mode 100644
index d0b85ef6bb..0000000000
--- a/bsd-user/sparc/target_arch_sysarch.h
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * SPARC sysarch() system call emulation
- *
- * Copyright (c) 2013 Stacey D. Son
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see <http://www.gnu.org/licenses/>.
- */
-
-#ifndef BSD_USER_ARCH_SYSARCH_H_
-#define BSD_USER_ARCH_SYSARCH_H_
-
-#include "target_syscall.h"
-
-static inline abi_long do_freebsd_arch_sysarch(void *env, int op,
- abi_ulong parms)
-{
- int ret = 0;
-
- switch (op) {
- case TARGET_SPARC_SIGTRAMP_INSTALL:
- /* XXX not currently handled */
- case TARGET_SPARC_UTRAP_INSTALL:
- /* XXX not currently handled */
- default:
- ret = -TARGET_EINVAL;
- break;
- }
-
- return ret;
-}
-
-static inline void do_freebsd_arch_print_sysarch(
- const struct syscallname *name, abi_long arg1, abi_long arg2,
- abi_long arg3, abi_long arg4, abi_long arg5, abi_long arg6)
-{
-
- gemu_log("%s(%d, " TARGET_ABI_FMT_lx ", " TARGET_ABI_FMT_lx ", "
- TARGET_ABI_FMT_lx ")", name->name, (int)arg1, arg2, arg3, arg4);
-}
-
-#endif /*!BSD_USER_ARCH_SYSARCH_H_ */