From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:45574) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RgIMb-0000St-DA for qemu-devel@nongnu.org; Thu, 29 Dec 2011 10:57:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RgIMX-0003ej-BF for qemu-devel@nongnu.org; Thu, 29 Dec 2011 10:57:52 -0500 Received: from cantor2.suse.de ([195.135.220.15]:59577 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RgIMX-0003e5-3B for qemu-devel@nongnu.org; Thu, 29 Dec 2011 10:57:49 -0500 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Thu, 29 Dec 2011 16:55:38 +0100 Message-Id: <1325174149-8077-1-git-send-email-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [RFC 00/11] linux-user: Sort out signal handling for MIPS n32 and n64 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , Ehsan Ul Haq , Riku Voipio , Alexander Graf , Brendan Kirby , Khansa Butt , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Aurelien Jarno , Richard Henderson Hello, Here's a suggestion for moving forward with mipsn32 and mips64. For testing add the following to your --target-list: mips-linux-user mipsel-linux-user mipsn32-linux-user mipsn32el-linux-user mips64-linux-user mips64el-linux-user Patches 1-4 are trivial and hopefully uncontroversial preparations that can be cherry-picked right away! The n32 ones are based on a patch by Uli found in openSUSE, the n64 ones are extracted from Khansa's patch series. Patch 5 is a bugfix based on a patch by Khansa/Ehsan. The rest of the patches are in RFC status and attempt to implement rth's suggestion of sharing signal handling between MIPS ABIs. Depending on the issue the final patch brings up, even more code might be shared. Regards, Andreas Cc: Riku Voipio Cc: Aurelien Jarno Cc: Richard Henderson Cc: Khansa Butt Cc: Ehsan Ul Haq Cc: Ulrich Hecht Cc: Brendan Kirby Cc: Peter Maydell Cc: Alexander Graf Andreas F=C3=A4rber (11): linux-user: Add default-configs for mipsn32[el] linux-user: Add default configs for mips64[el] linux-user: Define TARGET_QEMU_ESIGRETURN for mipsn32 linux-user: Define TARGET_QEMU_ESIGRETURN for mips64 linux-user: Fix sa_flags byte swaps for mips linux-user: Unify signal handling for mips linux-user: target_sigcontext for mipsn32 and mips64 linux-user: Share {setup,restore}_sigcontext() for mips ABIs linux-user: Setup/restore sc_acx for mips and mipsn32 linux-user: mipsn32 does not support non-RT signals linux-user: Implement signal handling for mipsn32 default-configs/mips64-linux-user.mak | 1 + default-configs/mips64el-linux-user.mak | 1 + default-configs/mipsn32-linux-user.mak | 1 + default-configs/mipsn32el-linux-user.mak | 1 + linux-user/mips64/syscall.h | 3 + linux-user/mipsn32/syscall.h | 3 + linux-user/signal.c | 348 +++++++++++++++++++++---= ------ 7 files changed, 251 insertions(+), 107 deletions(-) create mode 100644 default-configs/mips64-linux-user.mak create mode 100644 default-configs/mips64el-linux-user.mak create mode 100644 default-configs/mipsn32-linux-user.mak create mode 100644 default-configs/mipsn32el-linux-user.mak --=20 1.7.7