[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 17/19] bsd-user: Remove host-os.h
From: |
Warner Losh |
Subject: |
[PATCH v2 17/19] bsd-user: Remove host-os.h |
Date: |
Mon, 10 Apr 2023 12:20:54 -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>
---
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 v2 06/19] bsd-user: Remove OpenBSD specific syscall printing, (continued)
- [PATCH v2 06/19] bsd-user: Remove OpenBSD specific syscall printing, Warner Losh, 2023/04/10
- [PATCH v2 07/19] bsd-user: Move system call include to os-syscall.h, Warner Losh, 2023/04/10
- [PATCH v2 08/19] bsd-user: Remove useless mmap definitions, Warner Losh, 2023/04/10
- [PATCH v2 10/19] bsd-user: Implement do_sysctl_kern_getprocs, Warner Losh, 2023/04/10
- [PATCH v2 11/19] bsd-user: Implement do_sysctl_kern_proc_filedesc, Warner Losh, 2023/04/10
- [PATCH v2 09/19] bsd-user: h2g_rusage, Warner Losh, 2023/04/10
- [PATCH v2 12/19] bsd-user: Implement do_sysctl_kern_proc_vmmap, Warner Losh, 2023/04/10
- [PATCH v2 13/19] bsd-user: Implement sysctl kern.proc, except kern.proc.full_path, Warner Losh, 2023/04/10
- [PATCH v2 02/19] bsd-user: Ifdef a few MAP_ constants for NetBSD / OpenBSD., Warner Losh, 2023/04/10
- [PATCH v2 17/19] bsd-user: Remove host-os.h,
Warner Losh <=
- [PATCH v2 19/19] bsd-user: Eliminate USE_ELF_CORE_DUMP, Warner Losh, 2023/04/10
- [PATCH v2 15/19] bsd-user: Add SIGSYS to core dump signals., Warner Losh, 2023/04/10
- [PATCH v2 14/19] bsd-user: Implement core dumps, Warner Losh, 2023/04/10
- [PATCH v2 16/19] bsd-user: Implement SIGSYS on arm, Warner Losh, 2023/04/10
- [PATCH v2 18/19] bsd-user: Update system call list, Warner Losh, 2023/04/10