Skip to content

Commit 73c0c90

Browse files
committed
target/ppc: Fix e200 duplicate SPRs
DSRR0/1 registers are in the BookE ISA not e200 specific, so remove the duplicate e200 register definitions. Cc: Roman Kapl <[email protected]> Cc: [email protected] Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2768 Fixes: 0e3bf48 ("ppc: add DBCR based debugging") Signed-off-by: Nicholas Piggin <[email protected]>
1 parent 8defe9d commit 73c0c90

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

target/ppc/cpu_init.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2744,14 +2744,6 @@ static void init_proc_e200(CPUPPCState *env)
27442744
SPR_NOACCESS, SPR_NOACCESS,
27452745
&spr_read_generic, &spr_write_generic,
27462746
0x00000000); /* TOFIX */
2747-
spr_register(env, SPR_BOOKE_DSRR0, "DSRR0",
2748-
SPR_NOACCESS, SPR_NOACCESS,
2749-
&spr_read_generic, &spr_write_generic,
2750-
0x00000000);
2751-
spr_register(env, SPR_BOOKE_DSRR1, "DSRR1",
2752-
SPR_NOACCESS, SPR_NOACCESS,
2753-
&spr_read_generic, &spr_write_generic,
2754-
0x00000000);
27552747

27562748
init_tlbs_emb(env);
27572749
init_excp_e200(env, 0xFFFF0000UL);

0 commit comments

Comments
 (0)