PPC: 440: Emulate DCBR0
The DCBR0 register on 440 is used to implement system reset. The same register is used on 405 as well, so just reuse the code. Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
5232fa59b1
commit
e598a9c56b
@ -1498,7 +1498,7 @@ static void gen_spr_BookE (CPUPPCState *env, uint64_t ivor_mask)
|
||||
/* XXX : not implemented */
|
||||
spr_register(env, SPR_BOOKE_DBCR0, "DBCR0",
|
||||
SPR_NOACCESS, SPR_NOACCESS,
|
||||
&spr_read_generic, &spr_write_generic,
|
||||
&spr_read_generic, &spr_write_40x_dbcr0,
|
||||
0x00000000);
|
||||
/* XXX : not implemented */
|
||||
spr_register(env, SPR_BOOKE_DBCR1, "DBCR1",
|
||||
|
Loading…
Reference in New Issue
Block a user