blob: 85caac09f6f83575e8155c7eec37f75a23e6f483 (
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
|
instruction: 0.922
mistranslation: 0.886
device: 0.862
graphic: 0.856
socket: 0.694
semantic: 0.612
network: 0.594
other: 0.557
vnc: 0.329
assembly: 0.121
boot: 0.021
KVM: 0.011
wrong address of pmpaddr13 and pmpaddr14 CSRs
Description of problem:
In qemu\disas\riscv.c lines 2119 & 2120 it seems that there is a confusion about the correct address of the pmpaddr13 and pmpaddr14 CSRs
```
line 2117 case 0x03bb: return "pmpaddr11";
line 2118 case 0x03bc: return "pmpaddr12";
**line 2119 case 0x03bd: return "pmpaddr14"; <--- pmpaddr13 should be here
line 2120 case 0x03be: return "pmpaddr13"; <--- pmpaddr14 should be here**
line 2121 case 0x03bf: return "pmpaddr15";
```
|