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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269
|
.macro csr val
csrr a0,\val
.endm
# 1.9.1 registers
csr ustatus
csr uie
csr utvec
csr uscratch
csr uepc
csr ucause
csr ubadaddr
csr uip
csr fflags
csr frm
csr fcsr
csr cycle
csr time
csr instret
csr hpmcounter3
csr hpmcounter4
csr hpmcounter5
csr hpmcounter6
csr hpmcounter7
csr hpmcounter8
csr hpmcounter9
csr hpmcounter10
csr hpmcounter11
csr hpmcounter12
csr hpmcounter13
csr hpmcounter14
csr hpmcounter15
csr hpmcounter16
csr hpmcounter17
csr hpmcounter18
csr hpmcounter19
csr hpmcounter20
csr hpmcounter21
csr hpmcounter22
csr hpmcounter23
csr hpmcounter24
csr hpmcounter25
csr hpmcounter26
csr hpmcounter27
csr hpmcounter28
csr hpmcounter29
csr hpmcounter30
csr hpmcounter31
csr cycleh
csr timeh
csr instreth
csr hpmcounter3h
csr hpmcounter4h
csr hpmcounter5h
csr hpmcounter6h
csr hpmcounter7h
csr hpmcounter8h
csr hpmcounter9h
csr hpmcounter10h
csr hpmcounter11h
csr hpmcounter12h
csr hpmcounter13h
csr hpmcounter14h
csr hpmcounter15h
csr hpmcounter16h
csr hpmcounter17h
csr hpmcounter18h
csr hpmcounter19h
csr hpmcounter20h
csr hpmcounter21h
csr hpmcounter22h
csr hpmcounter23h
csr hpmcounter24h
csr hpmcounter25h
csr hpmcounter26h
csr hpmcounter27h
csr hpmcounter28h
csr hpmcounter29h
csr hpmcounter30h
csr hpmcounter31h
csr sstatus
csr sedeleg
csr sideleg
csr sie
csr stvec
csr sscratch
csr sepc
csr scause
csr sbadaddr
csr sip
csr sptbr
csr hstatus
csr hedeleg
csr hideleg
csr hie
csr htvec
csr hscratch
csr hepc
csr hcause
csr hbadaddr
csr hip
csr mvendorid
csr marchid
csr mimpid
csr mhartid
csr mstatus
csr misa
csr medeleg
csr mideleg
csr mie
csr mtvec
csr mscratch
csr mepc
csr mcause
csr mbadaddr
csr mip
csr mbase
csr mbound
csr mibase
csr mibound
csr mdbase
csr mdbound
csr mcycle
csr minstret
csr mhpmcounter3
csr mhpmcounter4
csr mhpmcounter5
csr mhpmcounter6
csr mhpmcounter7
csr mhpmcounter8
csr mhpmcounter9
csr mhpmcounter10
csr mhpmcounter11
csr mhpmcounter12
csr mhpmcounter13
csr mhpmcounter14
csr mhpmcounter15
csr mhpmcounter16
csr mhpmcounter17
csr mhpmcounter18
csr mhpmcounter19
csr mhpmcounter20
csr mhpmcounter21
csr mhpmcounter22
csr mhpmcounter23
csr mhpmcounter24
csr mhpmcounter25
csr mhpmcounter26
csr mhpmcounter27
csr mhpmcounter28
csr mhpmcounter29
csr mhpmcounter30
csr mhpmcounter31
csr mcycleh
csr minstreth
csr mhpmcounter3h
csr mhpmcounter4h
csr mhpmcounter5h
csr mhpmcounter6h
csr mhpmcounter7h
csr mhpmcounter8h
csr mhpmcounter9h
csr mhpmcounter10h
csr mhpmcounter11h
csr mhpmcounter12h
csr mhpmcounter13h
csr mhpmcounter14h
csr mhpmcounter15h
csr mhpmcounter16h
csr mhpmcounter17h
csr mhpmcounter18h
csr mhpmcounter19h
csr mhpmcounter20h
csr mhpmcounter21h
csr mhpmcounter22h
csr mhpmcounter23h
csr mhpmcounter24h
csr mhpmcounter25h
csr mhpmcounter26h
csr mhpmcounter27h
csr mhpmcounter28h
csr mhpmcounter29h
csr mhpmcounter30h
csr mhpmcounter31h
csr mucounteren
csr mscounteren
csr mhcounteren
csr mhpmevent3
csr mhpmevent4
csr mhpmevent5
csr mhpmevent6
csr mhpmevent7
csr mhpmevent8
csr mhpmevent9
csr mhpmevent10
csr mhpmevent11
csr mhpmevent12
csr mhpmevent13
csr mhpmevent14
csr mhpmevent15
csr mhpmevent16
csr mhpmevent17
csr mhpmevent18
csr mhpmevent19
csr mhpmevent20
csr mhpmevent21
csr mhpmevent22
csr mhpmevent23
csr mhpmevent24
csr mhpmevent25
csr mhpmevent26
csr mhpmevent27
csr mhpmevent28
csr mhpmevent29
csr mhpmevent30
csr mhpmevent31
csr tselect
csr tdata1
csr tdata2
csr tdata3
csr dcsr
csr dpc
csr dscratch
# 1.10 registers
csr utval
csr scounteren
csr stval
csr satp
csr mcounteren
csr mtval
csr pmpcfg0
csr pmpcfg1
csr pmpcfg2
csr pmpcfg3
csr pmpaddr0
csr pmpaddr1
csr pmpaddr2
csr pmpaddr3
csr pmpaddr4
csr pmpaddr5
csr pmpaddr6
csr pmpaddr7
csr pmpaddr8
csr pmpaddr9
csr pmpaddr10
csr pmpaddr11
csr pmpaddr12
csr pmpaddr13
csr pmpaddr14
csr pmpaddr15
|