[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 17/20] bsd-user: Remove host-os.h
From: |
Warner Losh |
Subject: |
[PATCH v3 17/20] bsd-user: Remove host-os.h |
Date: |
Tue, 11 Apr 2023 11:09:52 -0600 |
It only defines the default system call scheme to use. However, that
feature was removed in a941a16f6f52.
Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
---
bsd-user/freebsd/host-os.h | 25 -------------------------
bsd-user/main.c | 1 -
bsd-user/netbsd/host-os.h | 25 -------------------------
bsd-user/openbsd/host-os.h | 25 -------------------------
4 files changed, 76 deletions(-)
delete mode 100644 bsd-user/freebsd/host-os.h
delete mode 100644 bsd-user/netbsd/host-os.h
delete mode 100644 bsd-user/openbsd/host-os.h
diff --git a/bsd-user/freebsd/host-os.h b/bsd-user/freebsd/host-os.h
deleted file mode 100644
index 40cae72ec9a..00000000000
--- a/bsd-user/freebsd/host-os.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * FreeBSD host dependent code and definitions
- *
- * 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 HOST_OS_H
-#define HOST_OS_H
-
-#define HOST_DEFAULT_BSD_TYPE target_freebsd
-
-#endif /* HOST_OS_H */
diff --git a/bsd-user/main.c b/bsd-user/main.c
index 89f225dead2..ba23b74d679 100644
--- a/bsd-user/main.c
+++ b/bsd-user/main.c
@@ -46,7 +46,6 @@
#include "qemu/guest-random.h"
#include "gdbstub/user.h"
-#include "host-os.h"
#include "target_arch_cpu.h"
int singlestep;
diff --git a/bsd-user/netbsd/host-os.h b/bsd-user/netbsd/host-os.h
deleted file mode 100644
index 7c14b1ea780..00000000000
--- a/bsd-user/netbsd/host-os.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * NetBSD host dependent code and definitions
- *
- * 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 HOST_OS_H
-#define HOST_OS_H
-
-#define HOST_DEFAULT_BSD_TYPE target_netbsd
-
-#endif /* HOST_OS_H */
diff --git a/bsd-user/openbsd/host-os.h b/bsd-user/openbsd/host-os.h
deleted file mode 100644
index b9222335d46..00000000000
--- a/bsd-user/openbsd/host-os.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * OpenBSD host dependent code and definitions
- *
- * 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 HOST_OS_H
-#define HOST_OS_H
-
-#define HOST_DEFAULT_BSD_TYPE target_openbsd
-
-#endif /* HOST_OS_H */
--
2.40.0
- [PATCH v3 05/20] bsd-user: Remove NetBSD specific syscall printing, (continued)
- [PATCH v3 05/20] bsd-user: Remove NetBSD specific syscall printing, Warner Losh, 2023/04/11
- [PATCH v3 03/20] bsd-user: Cleanup style., Warner Losh, 2023/04/11
- [PATCH v3 09/20] bsd-user: h2g_rusage, Warner Losh, 2023/04/11
- [PATCH v3 13/20] bsd-user: Implement sysctl kern.proc, except kern.proc.full_path, Warner Losh, 2023/04/11
- [PATCH v3 14/20] bsd-user: Implement core dumps, Warner Losh, 2023/04/11
- [PATCH v3 16/20] bsd-user: Implement SIGSYS on arm, Warner Losh, 2023/04/11
- [PATCH v3 20/20] bsd-user: Eliminate USE_ELF_CORE_DUMP, Warner Losh, 2023/04/11
- [PATCH v3 15/20] bsd-user: Add SIGSYS to core dump signals., Warner Losh, 2023/04/11
- [PATCH v3 08/20] bsd-user: Remove useless mmap definitions, Warner Losh, 2023/04/11
- [PATCH v3 10/20] bsd-user: Implement do_sysctl_kern_getprocs, Warner Losh, 2023/04/11
- [PATCH v3 17/20] bsd-user: Remove host-os.h,
Warner Losh <=
- [PATCH v3 07/20] bsd-user: Move system call include to os-syscall.h, Warner Losh, 2023/04/11
- [PATCH v3 18/20] bsd-user: Automatically generate syscall_nr.h, Warner Losh, 2023/04/11
- [PATCH v3 19/20] bsd-user: remove syscall_nr.h, Warner Losh, 2023/04/11
- [PATCH v3 11/20] bsd-user: Implement do_sysctl_kern_proc_filedesc, Warner Losh, 2023/04/11