CSR list
Name |
Display Name |
Address Offset |
---|---|---|
|
Machine Status Register |
0x300 |
|
Machine ISA Register |
0x301 |
|
Machine Interrupt Enable Register |
0x304 |
|
Machine Trap Vector Register |
0x305 |
|
Upper 32-bits of Machine Status Register |
0x310 |
|
Machine HW Perf Monitoring Event Selector |
0x323-0x33f |
|
Machine Scratch |
0x340 |
|
Machine Exception Program Counter |
0x341 |
|
Machine Cause |
0x342 |
|
Machine Trap Value |
0x343 |
|
Machine Interrupt Pending |
0x344 |
|
Physical Memory Protection Config 0 |
0x3a0-0x3a3 |
|
Physical Memory Protection Address |
0x3b0-0x3bf |
|
Instruction Cache |
0x7C0 |
|
M-mode Cycle counter |
0xB00 |
|
Machine Instruction Retired counter |
0xB02 |
|
Upper 32-bits of M-mode Cycle counter |
0xB80 |
|
Upper 32-bits of Machine Instruction Retired counter |
0xB82 |
|
Machine HW Performance Monitoring Counter |
0xb03-0xb1f |
|
Upper 32 bits of Machine HW Perf Monitoring Counter |
0xb83-0xb9f |
|
Cycle counter |
0xC00 |
|
Instruction Retired counter |
0xC02 |
|
Upper 32-bits of Cycle counter |
0xC80 |
|
Upper 32-bits of Instruction Retired counter |
0xC82 |
|
Machine Vendor ID |
0xF11 |
|
Machine Architecture ID |
0xF12 |
|
Machine Implementation ID |
0xF13 |
|
Machine HW Thread ID |
0xF14 |