qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [5462] CRIS: Initialize the arch version preg to v32.
@ 2008-10-11 19:36 Edgar E. Iglesias
  0 siblings, 0 replies; only message in thread
From: Edgar E. Iglesias @ 2008-10-11 19:36 UTC (permalink / raw)
  To: qemu-devel

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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-11 19:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-11 19:36 [Qemu-devel] [5462] CRIS: Initialize the arch version preg to v32 Edgar E. Iglesias

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).