blob: 806053a298cc0b385d98262aca4f2eeb0e76339c (
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
|
device: 0.862
graphic: 0.856
socket: 0.694
semantic: 0.612
network: 0.594
other: 0.557
debug: 0.515
performance: 0.450
vnc: 0.329
PID: 0.200
permissions: 0.199
files: 0.188
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";
```
|