blob: 8a69cb4d5fd0108adea5e91318b425a0206d206b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
graphic: 0.943
device: 0.894
instruction: 0.856
semantic: 0.795
socket: 0.660
mistranslation: 0.570
boot: 0.541
vnc: 0.513
other: 0.511
network: 0.494
assembly: 0.300
KVM: 0.109
PowerPC e200 duplicate register definitions
Description of problem:
Registers DSRR0 and DSRR1 defined twice in the `target/ppc/cpu_init.c`:
- in the common [`register_BookE_sprs()`](https://gitlab.com/qemu-project/qemu/-/blob/master/target/ppc/cpu_init.c#L740-748)
- and specific [`init_proc_e200()`](https://gitlab.com/qemu-project/qemu/-/blob/master/target/ppc/cpu_init.c#L2735-2742)
The second case should be removed.
Steps to reproduce:
1. run `qemu-system-ppc -cpu e200z5`
2. 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))
```
|