From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33525) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsuWo-0004id-5v for qemu-devel@nongnu.org; Fri, 06 Jun 2014 09:50:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WsuWf-00024n-BM for qemu-devel@nongnu.org; Fri, 06 Jun 2014 09:49:54 -0400 Received: from ignoranthack.me ([199.102.79.106]:50989 helo=mail.ignoranthack.me) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsuWf-00024X-5R for qemu-devel@nongnu.org; Fri, 06 Jun 2014 09:49:45 -0400 From: Sean Bruno Date: Fri, 6 Jun 2014 06:49:30 -0700 Message-Id: <1402062579-28716-1-git-send-email-sbruno@freebsd.org> Subject: [Qemu-devel] [PATCH 0/9 v3] FreeBSD-user: breakout the BSDs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Sean Bruno v3: Fixup subject strings for easier reading (Eric Blake) v2: At the advice of Peter Maydell, break out these patches to inplement new syscalls into substantially smaller, bite sized chunks for review. These patches are based off a tree that Peter has kindly setup at: git://git.linaro.org/people/peter.maydell/qemu-arm.git bsd-user.next I've made clear breaks in what is cleanup and what is new functionality in this changeset. My changes are directly taken from Stacey Son's work on the bsd-user fork of the FreeBSD port of emulators/qemu-devel. My patches are a refactor of his code contained in the commit entititled: bsd-user: move strace OS/arch dependent code to host/arch dirs Sean Bruno (8): No functional changes. GPL v2 attribution update. Cleanup some while space and style fixes. Move struct syscallname into qemu.h Add print_sysctl() to out table of syscalls that are supported. Add print_ioctl() to out table of syscalls that are supported. Add print_sysarch() to out table of syscalls that are supported and support them on all architectures for freebsd. netbsd and openbsd are not implemented but stubbed out. Add __acl_* to the table of syscalls that are supported on FreeBSD Add extattr_* to the table of syscalls that are supported on FreeBSD Add thr_* to the table of syscalls that are supported on FreeBSD Fix socket, fstat, fstatfs, chown syscalls. Add support for missing syscalls to the table on FreeBSD Stacey Son (1): bsd-user: add HOST_VARIANT_DIR for various *BSD dependent code Makefile.target | 3 +- bsd-user/arm/syscall.h | 36 +++++++ bsd-user/arm/syscall.h.orig | 0 bsd-user/arm/target_arch_sysarch.h | 78 +++++++++++++++ bsd-user/freebsd/os-strace.h | 29 ++++++ bsd-user/freebsd/strace.list | 77 +++++++++++++-- bsd-user/i386/syscall.h | 23 +++++ bsd-user/i386/target_arch_sysarch.h | 78 +++++++++++++++ bsd-user/mips/syscall.h | 52 ++++++++++ bsd-user/mips/syscall.h.orig | 0 bsd-user/mips/target_arch_sysarch.h | 69 +++++++++++++ bsd-user/mips64/syscall.h | 53 ++++++++++ bsd-user/mips64/syscall.h.orig | 0 bsd-user/mips64/target_arch_sysarch.h | 69 +++++++++++++ bsd-user/netbsd/os-strace.h | 1 + bsd-user/openbsd/os-strace.h | 1 + bsd-user/qemu.h | 26 +++++ bsd-user/sparc/syscall.h | 29 +++++- bsd-user/sparc/target_arch_sysarch.h | 52 ++++++++++ bsd-user/sparc64/syscall.h | 28 +++++- bsd-user/sparc64/target_arch_sysarch.h | 52 ++++++++++ bsd-user/strace.c | 175 ++++++++++++++++++++++----------- bsd-user/x86_64/syscall.h | 26 ++++- bsd-user/x86_64/target_arch_sysarch.h | 76 ++++++++++++++ configure | 11 +++ 25 files changed, 975 insertions(+), 69 deletions(-) create mode 100644 bsd-user/arm/syscall.h create mode 100644 bsd-user/arm/syscall.h.orig create mode 100644 bsd-user/arm/target_arch_sysarch.h create mode 100644 bsd-user/freebsd/os-strace.h create mode 100644 bsd-user/i386/target_arch_sysarch.h create mode 100644 bsd-user/mips/syscall.h create mode 100644 bsd-user/mips/syscall.h.orig create mode 100644 bsd-user/mips/target_arch_sysarch.h create mode 100644 bsd-user/mips64/syscall.h create mode 100644 bsd-user/mips64/syscall.h.orig create mode 100644 bsd-user/mips64/target_arch_sysarch.h create mode 100644 bsd-user/netbsd/os-strace.h create mode 100644 bsd-user/openbsd/os-strace.h create mode 100644 bsd-user/sparc/target_arch_sysarch.h create mode 100644 bsd-user/sparc64/target_arch_sysarch.h create mode 100644 bsd-user/x86_64/target_arch_sysarch.h -- 1.9.3