From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KokGC-0006eF-LT for qemu-devel@nongnu.org; Sat, 11 Oct 2008 15:36:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KokGA-0006dj-Km for qemu-devel@nongnu.org; Sat, 11 Oct 2008 15:36:19 -0400 Received: from [199.232.76.173] (port=43894 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KokGA-0006dg-Ge for qemu-devel@nongnu.org; Sat, 11 Oct 2008 15:36:18 -0400 Received: from savannah.gnu.org ([199.232.41.3]:47055 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 1KokGA-000090-7U for qemu-devel@nongnu.org; Sat, 11 Oct 2008 15:36:18 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1KokG9-0006Y4-KP for qemu-devel@nongnu.org; Sat, 11 Oct 2008 19:36:17 +0000 Received: from edgar_igl by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1KokG9-0006Xz-D0 for qemu-devel@nongnu.org; Sat, 11 Oct 2008 19:36:17 +0000 MIME-Version: 1.0 Errors-To: edgar_igl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: "Edgar E. Iglesias" Message-Id: Date: Sat, 11 Oct 2008 19:36:17 +0000 Subject: [Qemu-devel] [5462] CRIS: Initialize the arch version preg to v32. 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 Revision: 5462 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5462 Author: edgar_igl Date: 2008-10-11 19:36:17 +0000 (Sat, 11 Oct 2008) Log Message: ----------- CRIS: Initialize the arch version preg to v32. Modified Paths: -------------- trunk/target-cris/translate.c Modified: trunk/target-cris/translate.c =================================================================== --- trunk/target-cris/translate.c 2008-10-11 19:32:21 UTC (rev 5461) +++ trunk/target-cris/translate.c 2008-10-11 19:36:17 UTC (rev 5462) @@ -3411,6 +3411,7 @@ memset(env, 0, offsetof(CPUCRISState, breakpoints)); tlb_flush(env, 1); + env->pregs[PR_VR] = 32; #if defined(CONFIG_USER_ONLY) /* start in user mode with interrupts enabled. */ env->pregs[PR_CCS] |= U_FLAG | I_FLAG;