Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lw3LG-00054c-Nc for qemu-devel@nongnu.org; Mon, 20 Apr 2009 19:56:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lw3LF-00054M-N8 for qemu-devel@nongnu.org; Mon, 20 Apr 2009 19:56:02 -0400 Received: from [199.232.76.173] (port=56968 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lw3LF-00054J-KI for qemu-devel@nongnu.org; Mon, 20 Apr 2009 19:56:01 -0400 Received: from savannah.gnu.org ([199.232.41.3]:37556 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lw3LF-0003X4-9k for qemu-devel@nongnu.org; Mon, 20 Apr 2009 19:56:01 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Lw3LC-0000mZ-8V for qemu-devel@nongnu.org; Mon, 20 Apr 2009 23:55:58 +0000 Received: from pbrook by cvs.savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1Lw3LB-0000mV-SO for qemu-devel@nongnu.org; Mon, 20 Apr 2009 23:55:58 +0000 MIME-Version: 1.0 Errors-To: pbrook Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Paul Brook Message-Id: Date: Mon, 20 Apr 2009 23:55:57 +0000 Subject: [Qemu-devel] [7191] Enable access to SYNCI_Step register in usermode emulation. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Revision: 7191 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=7191 Author: pbrook Date: 2009-04-20 23:55:57 +0000 (Mon, 20 Apr 2009) Log Message: ----------- Enable access to SYNCI_Step register in usermode emulation. Signed-off-by: Paul Brook Modified Paths: -------------- trunk/target-mips/translate.c Modified: trunk/target-mips/translate.c =================================================================== --- trunk/target-mips/translate.c 2009-04-19 10:25:05 UTC (rev 7190) +++ trunk/target-mips/translate.c 2009-04-20 23:55:57 UTC (rev 7191) @@ -8568,6 +8568,8 @@ /* Minimal init */ #if defined(CONFIG_USER_ONLY) env->hflags = MIPS_HFLAG_UM; + /* Enable access to the SYNCI_Step register. */ + env->CP0_HWREna |= (1 << 1); #else if (env->hflags & MIPS_HFLAG_BMASK) { /* If the exception was raised from a delay slot,