PowerPC e200 duplicate register definitions
Host environment
- Operating system: Win10
- Architecture: PowerPC
- QEMU flavor: qemu-system-ppc
- QEMU version: 9.2.0
- QEMU command line:
qemu-system-ppc -cpu e200z5
Description of problem
Registers DSRR0 and DSRR1 defined twice in the target/ppc/cpu_init.c:
- in the common
register_BookE_sprs() - and specific
init_proc_e200()
The second case should be removed.
Steps to reproduce
- run
qemu-system-ppc -cpu e200z5 - check output
**
ERROR:../qemu-9.2.0/target/ppc/helper_regs.c:410:_spr_register: assertion failed: (spr->name == ((void *)0))
Bail out! ERROR:../qemu-9.2.0/target/ppc/helper_regs.c:410:_spr_register: assertion failed: (spr->name == ((void *)0))