From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxmYf-0003qM-MS for qemu-devel@nongnu.org; Thu, 19 Jun 2014 20:20:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WxmYY-0007Qw-2P for qemu-devel@nongnu.org; Thu, 19 Jun 2014 20:19:57 -0400 Received: from ignoranthack.me ([199.102.79.106]:58578 helo=mail.ignoranthack.me) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxmYX-0007QV-Ry for qemu-devel@nongnu.org; Thu, 19 Jun 2014 20:19:49 -0400 Received: from alice.hsd1.ca.comcast.net. (c-50-131-5-126.hsd1.ca.comcast.net [50.131.5.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id 576101936DE for ; Fri, 20 Jun 2014 00:19:47 +0000 (UTC) From: Sean Bruno Date: Thu, 19 Jun 2014 17:19:44 -0700 Message-Id: <1403223588-58739-1-git-send-email-sbruno@freebsd.org> Subject: [Qemu-devel] [PATCH 0/4] bsd-user: Update Queue List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This patchset brings us a couple of steps closer to the FreeBSD Development tree, Stacey Son's bsd-user branch and qemu-devel port maintained out of tree. These patches are designed to begin to break apart the architectures in bsd-user for the upcoming new arch support patches. Patch 1/4 of this set is a reset of Patch 5/10 from the last bsd-user update push. It addresses Peter Maydell's commentary about missing and redundant code for print_sysarch and the build breakage for netbsd and openbsd bsd-user programs. Patch 4/4 of this set includes Patch 10/10 from the last bsd-user update push. It includes the code that uses the #define vaules as to avoid the possibility of commiting dead code. Sean Bruno (2): bsd-user: Implement new syscall print_sysarch and add strace support bsd-user: Rename struct linux_binprm to struct bsd_binprm Stacey Son (2): bsd-user: move arch/OS dependent code out of main.c bsd-user: move arch/OS dependent code out of syscall.c bsd-user/Makefile.objs | 2 +- bsd-user/bsdload.c | 170 ++++-- bsd-user/elfload.c | 11 +- bsd-user/freebsd/host_os.h | 46 ++ bsd-user/freebsd/os-strace.h | 29 + bsd-user/freebsd/os-sys.c | 285 ++++++++++ bsd-user/freebsd/strace.list | 2 +- bsd-user/freebsd/target_os_stack.h | 157 ++++++ bsd-user/freebsd/target_os_vmparam.h | 23 + bsd-user/i386/syscall.h | 23 + bsd-user/i386/target_arch.h | 13 + bsd-user/i386/target_arch_cpu.c | 79 +++ bsd-user/i386/target_arch_cpu.h | 300 +++++++++++ bsd-user/i386/target_arch_sigtramp.h | 11 + bsd-user/i386/target_arch_sysarch.h | 78 +++ bsd-user/i386/target_arch_vmparam.h | 28 + bsd-user/i386/target_signal.h | 6 - bsd-user/main.c | 927 +++++++------------------------- bsd-user/mmap.c | 2 +- bsd-user/netbsd/host_os.h | 31 ++ bsd-user/netbsd/os-strace.h | 29 + bsd-user/netbsd/os-sys.c | 46 ++ bsd-user/netbsd/target_os_stack.h | 33 ++ bsd-user/netbsd/target_os_vmparam.h | 23 + bsd-user/openbsd/host_os.h | 31 ++ bsd-user/openbsd/os-strace.h | 29 + bsd-user/openbsd/os-sys.c | 46 ++ bsd-user/openbsd/target_os_stack.h | 33 ++ bsd-user/openbsd/target_os_vmparam.h | 23 + bsd-user/qemu.h | 50 +- bsd-user/sparc/syscall.h | 29 +- bsd-user/sparc/target_arch.h | 11 + bsd-user/sparc/target_arch_cpu.c | 113 ++++ bsd-user/sparc/target_arch_cpu.h | 158 ++++++ bsd-user/sparc/target_arch_sigtramp.h | 11 + bsd-user/sparc/target_arch_sysarch.h | 52 ++ bsd-user/sparc/target_arch_vmparam.h | 37 ++ bsd-user/sparc/target_signal.h | 5 - bsd-user/sparc64/syscall.h | 28 +- bsd-user/sparc64/target_arch.h | 11 + bsd-user/sparc64/target_arch_cpu.c | 118 ++++ bsd-user/sparc64/target_arch_cpu.h | 191 +++++++ bsd-user/sparc64/target_arch_sigtramp.h | 11 + bsd-user/sparc64/target_arch_sysarch.h | 52 ++ bsd-user/sparc64/target_arch_vmparam.h | 37 ++ bsd-user/sparc64/target_signal.h | 5 - bsd-user/strace.c | 10 + bsd-user/syscall.c | 210 +------- bsd-user/x86_64/syscall.h | 26 +- bsd-user/x86_64/target_arch.h | 13 + bsd-user/x86_64/target_arch_cpu.c | 79 +++ bsd-user/x86_64/target_arch_cpu.h | 322 +++++++++++ bsd-user/x86_64/target_arch_sigtramp.h | 11 + bsd-user/x86_64/target_arch_sysarch.h | 76 +++ bsd-user/x86_64/target_arch_vmparam.h | 28 + bsd-user/x86_64/target_signal.h | 5 - 56 files changed, 3207 insertions(+), 1008 deletions(-) create mode 100644 bsd-user/freebsd/host_os.h create mode 100644 bsd-user/freebsd/os-strace.h create mode 100644 bsd-user/freebsd/os-sys.c create mode 100644 bsd-user/freebsd/target_os_stack.h create mode 100644 bsd-user/freebsd/target_os_vmparam.h create mode 100644 bsd-user/i386/target_arch.h create mode 100644 bsd-user/i386/target_arch_cpu.c create mode 100644 bsd-user/i386/target_arch_cpu.h create mode 100644 bsd-user/i386/target_arch_sigtramp.h create mode 100644 bsd-user/i386/target_arch_sysarch.h create mode 100644 bsd-user/i386/target_arch_vmparam.h create mode 100644 bsd-user/netbsd/host_os.h create mode 100644 bsd-user/netbsd/os-strace.h create mode 100644 bsd-user/netbsd/os-sys.c create mode 100644 bsd-user/netbsd/target_os_stack.h create mode 100644 bsd-user/netbsd/target_os_vmparam.h create mode 100644 bsd-user/openbsd/host_os.h create mode 100644 bsd-user/openbsd/os-strace.h create mode 100644 bsd-user/openbsd/os-sys.c create mode 100644 bsd-user/openbsd/target_os_stack.h create mode 100644 bsd-user/openbsd/target_os_vmparam.h create mode 100644 bsd-user/sparc/target_arch.h create mode 100644 bsd-user/sparc/target_arch_cpu.c create mode 100644 bsd-user/sparc/target_arch_cpu.h create mode 100644 bsd-user/sparc/target_arch_sigtramp.h create mode 100644 bsd-user/sparc/target_arch_sysarch.h create mode 100644 bsd-user/sparc/target_arch_vmparam.h create mode 100644 bsd-user/sparc64/target_arch.h create mode 100644 bsd-user/sparc64/target_arch_cpu.c create mode 100644 bsd-user/sparc64/target_arch_cpu.h create mode 100644 bsd-user/sparc64/target_arch_sigtramp.h create mode 100644 bsd-user/sparc64/target_arch_sysarch.h create mode 100644 bsd-user/sparc64/target_arch_vmparam.h create mode 100644 bsd-user/x86_64/target_arch.h create mode 100644 bsd-user/x86_64/target_arch_cpu.c create mode 100644 bsd-user/x86_64/target_arch_cpu.h create mode 100644 bsd-user/x86_64/target_arch_sigtramp.h create mode 100644 bsd-user/x86_64/target_arch_sysarch.h create mode 100644 bsd-user/x86_64/target_arch_vmparam.h -- 2.0.0