Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CvkUF-00007T-OJ for qemu-devel@nongnu.org; Mon, 31 Jan 2005 17:57:40 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CvkUC-00005t-UP for qemu-devel@nongnu.org; Mon, 31 Jan 2005 17:57:37 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CvkUC-00005c-Nh for qemu-devel@nongnu.org; Mon, 31 Jan 2005 17:57:36 -0500 Received: from [212.238.201.82] (helo=xi.wantstofly.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CvkHI-0004EV-IN for qemu-devel@nongnu.org; Mon, 31 Jan 2005 17:44:16 -0500 Date: Mon, 31 Jan 2005 23:44:14 +0100 From: Lennert Buytenhek Subject: Re: [Qemu-devel] Armv5 target Message-ID: <20050131224414.GA28203@xi.wantstofly.org> References: <200501312019.45282.paul@codesourcery.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200501312019.45282.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, On Mon, Jan 31, 2005 at 08:19:44PM +0000, Paul Brook wrote: > The attached patch implements the full armv5te user mode instruction set. Thanks for persisting on this! You posted this patch on 20040802 -- is it still needed? cheers, Lennert Index: cpu-exec.c =================================================================== RCS file: /cvsroot/qemu/qemu/cpu-exec.c,v retrieving revision 1.38 diff -u -p -r1.38 cpu-exec.c --- cpu-exec.c 14 Jul 2004 17:20:55 -0000 1.38 +++ cpu-exec.c 2 Aug 2004 00:24:46 -0000 @@ -718,6 +719,10 @@ static inline int handle_cpu_signal(unsi int is_write, sigset_t *old_set, void *puc) { + /* XXX: locking issue */ + if (is_write && page_unprotect(address, pc, puc)) { + return 1; + } /* XXX: do more */ return 0; }