[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-ppc] [PATCH for-1.5] ppc: do not register IABR SPR twice for 6

From: Hervé Poussineau
Subject: Re: [Qemu-ppc] [PATCH for-1.5] ppc: do not register IABR SPR twice for 603e
Date: Mon, 20 May 2013 20:17:47 +0200
User-agent: Thunderbird (Windows/20090812)

This should be IMO committed to stable, as it fixes a crash with qemu-system-ppc -M prep -cpu 603e


Hervé Poussineau a écrit :
IABR SPR is already registered in gen_spr_603(), called from init_proc_603E().

Signed-off-by: Hervé Poussineau <address@hidden>
 target-ppc/translate_init.c |    5 -----
 1 file changed, 5 deletions(-)

diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c
index 6feb62a..248d3e0 100644
--- a/target-ppc/translate_init.c
+++ b/target-ppc/translate_init.c
@@ -4980,11 +4980,6 @@ static void init_proc_603E (CPUPPCState *env)
                  SPR_NOACCESS, SPR_NOACCESS,
                  &spr_read_generic, &spr_write_generic,
-    /* XXX : not implemented */
-    spr_register(env, SPR_IABR, "IABR",
-                 SPR_NOACCESS, SPR_NOACCESS,
-                 &spr_read_generic, &spr_write_generic,
-                 0x00000000);
     /* Memory management */
     gen_6xx_7xx_soft_tlb(env, 64, 2);

reply via email to

[Prev in Thread] Current Thread [Next in Thread]