qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [6751] Nop some SPRs on 970fx
@ 2009-03-07 20:54 Blue Swirl
  0 siblings, 0 replies; only message in thread
From: Blue Swirl @ 2009-03-07 20:54 UTC (permalink / raw)
  To: qemu-devel

Revision: 6751
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6751
Author:   blueswir1
Date:     2009-03-07 20:54:03 +0000 (Sat, 07 Mar 2009)
Log Message:
-----------
Nop some SPRs on 970fx

Linux tries to access some SPRs on PPC64 boot. Let's just ignore those
for the 970fx for now to make it happy.

Signed-off-by: Alexander Graf <alex@csgraf.de>

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

Modified: trunk/target-ppc/translate_init.c
===================================================================
--- trunk/target-ppc/translate_init.c	2009-03-07 20:53:18 UTC (rev 6750)
+++ trunk/target-ppc/translate_init.c	2009-03-07 20:54:03 UTC (rev 6751)
@@ -6043,6 +6043,18 @@
                  SPR_NOACCESS, SPR_NOACCESS,
                  &spr_read_hior, &spr_write_hior,
                  0x00000000);
+    spr_register(env, SPR_CTRL, "SPR_CTRL",
+                 SPR_NOACCESS, SPR_NOACCESS,
+                 &spr_read_generic, &spr_write_generic,
+                 0x00000000);
+    spr_register(env, SPR_UCTRL, "SPR_UCTRL",
+                 SPR_NOACCESS, SPR_NOACCESS,
+                 &spr_read_generic, &spr_write_generic,
+                 0x00000000);
+    spr_register(env, SPR_VRSAVE, "SPR_VRSAVE",
+                 &spr_read_generic, &spr_write_generic,
+                 &spr_read_generic, &spr_write_generic,
+                 0x00000000);
 #if !defined(CONFIG_USER_ONLY)
     env->slb_nr = 32;
 #endif

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

only message in thread, other threads:[~2009-03-07 20:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-07 20:54 [Qemu-devel] [6751] Nop some SPRs on 970fx 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).