qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [6637] Turn MMU off on reset
@ 2009-02-21 17:29 Blue Swirl
  0 siblings, 0 replies; only message in thread
From: Blue Swirl @ 2009-02-21 17:29 UTC (permalink / raw)
  To: qemu-devel

Revision: 6637
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6637
Author:   blueswir1
Date:     2009-02-21 17:29:14 +0000 (Sat, 21 Feb 2009)

Log Message:
-----------
Turn MMU off on reset

Modified Paths:
--------------
    trunk/target-ppc/helper.c

Modified: trunk/target-ppc/helper.c
===================================================================
--- trunk/target-ppc/helper.c	2009-02-21 11:13:51 UTC (rev 6636)
+++ trunk/target-ppc/helper.c	2009-02-21 17:29:14 UTC (rev 6637)
@@ -2735,12 +2735,12 @@
     msr |= (target_ulong)1 << MSR_VR; /* Allow altivec usage */
     msr |= (target_ulong)1 << MSR_SPE; /* Allow SPE usage */
     msr |= (target_ulong)1 << MSR_PR;
-    env->msr = msr & env->msr_mask;
 #else
     env->nip = env->hreset_vector | env->excp_prefix;
     if (env->mmu_model != POWERPC_MMU_REAL)
         ppc_tlb_invalidate_all(env);
 #endif
+    env->msr = msr & env->msr_mask;
     hreg_compute_hflags(env);
     env->reserve = (target_ulong)-1ULL;
     /* Be sure no exception or interrupt is pending */

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

only message in thread, other threads:[~2009-02-21 17:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-21 17:29 [Qemu-devel] [6637] Turn MMU off on reset Blue Swirl

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).