Repository URL to install this package:
Version:
9.0~240925-3.fc42 ▾
|
; The format of the input file:
; each device definition begins with a line like this:
;
; .devicename
;
; lines beginning with a space are ignored.
; comment lines should be started with ';' character.
;
; the default device is specified at the start of the file
;
; .default device_name
;
; all lines non conforming to the format are passed to the callback function
;
; csr conversion from number to name are define in this way:
; CSRNAME CSRNUMBER CSRCOMMENT
.default RISCV
.RISCV
; https://github.com/riscv/riscv-isa-manual/releases/download/Ratified-IMFDQC-and-Priv-v1.11/riscv-privileged-20190608.pdf
; RISCV Privilegied
;User Trap Setup
ustatus 0x000 User status register
uie 0x004 User interrupt-enable register
utvec 0x005 User trap handler base address
;User Trap Handling
uscratch 0x040 Scratch register for user trap handlers
uepc 0x041 User exception program counter
ucause 0x042 User trap cause
utval 0x043 User bad address or instruction
uip 0x044 User interrupt pending
;User Floating-Point CSRs
fflags 0x001 Floating-Point Accrued Exceptions
frm 0x002 Floating-Point Dynamic Rounding Mode
fcsr 0x003 Floating-Point Control and Status Register (frm + fflags)
;User Cryptography CSR
seed 0x015 Seed
;User Vector CSRs
vstart 0x008 Vector start position
vxsat 0x009 Fixed-Point Saturate Flag
vxrm 0x00A Fixed-Point Rounding Mode
vcsr 0x00F Vector control and status register
vl 0xC20 Vector length
vtype 0xC21 Vector data type register
vlenb 0xC22 VLEN/8(vector register length in bytes)
;User Counter/Timers
cycle 0xC00 Cycle counter for RDCYCLE instruction
time 0xC01 Timer for RDTIME instruction
instret 0xC02 Instructions-retired counter for RDINSTRET instruction
hpmcounter3 0xC03 Performance-monitoring counter
hpmcounter4 0xC04 Performance-monitoring counter
hpmcounter5 0xC05 Performance-monitoring counter
hpmcounter6 0xC06 Performance-monitoring counter
hpmcounter7 0xC07 Performance-monitoring counter
hpmcounter8 0xC08 Performance-monitoring counter
hpmcounter9 0xC09 Performance-monitoring counter
hpmcounter10 0xC0A Performance-monitoring counter
hpmcounter11 0xC0B Performance-monitoring counter
hpmcounter12 0xC0C Performance-monitoring counter
hpmcounter13 0xC0D Performance-monitoring counter
hpmcounter14 0xC0E Performance-monitoring counter
hpmcounter15 0xC0F Performance-monitoring counter
hpmcounter16 0xC10 Performance-monitoring counter
hpmcounter17 0xC11 Performance-monitoring counter
hpmcounter18 0xC12 Performance-monitoring counter
hpmcounter19 0xC13 Performance-monitoring counter
hpmcounter20 0xC14 Performance-monitoring counter
hpmcounter21 0xC15 Performance-monitoring counter
hpmcounter22 0xC16 Performance-monitoring counter
hpmcounter23 0xC17 Performance-monitoring counter
hpmcounter24 0xC18 Performance-monitoring counter
hpmcounter25 0xC19 Performance-monitoring counter
hpmcounter26 0xC1A Performance-monitoring counter
hpmcounter27 0xC1B Performance-monitoring counter
hpmcounter28 0xC1C Performance-monitoring counter
hpmcounter29 0xC1D Performance-monitoring counter
hpmcounter30 0xC1E Performance-monitoring counter
hpmcounter31 0xC1F Performance-monitoring counter
cycleh 0xC80 Upper 32 bits of cycle, RV32I only
timeh 0xC81 Upper 32 bits of time, RV32I only
instreth 0xC82 Upper 32 bits of instret, RV32I only
hpmcounter3h 0xC83 Upper 32 bits of hpmcounter3, RV32I only
hpmcounter4h 0xC84 Upper 32 bits of hpmcounter4, RV32I only
hpmcounter5h 0xC85 Upper 32 bits of hpmcounter5, RV32I only
hpmcounter6h 0xC86 Upper 32 bits of hpmcounter6, RV32I only
hpmcounter7h 0xC87 Upper 32 bits of hpmcounter7, RV32I only
hpmcounter8h 0xC88 Upper 32 bits of hpmcounter8, RV32I only
hpmcounter9h 0xC89 Upper 32 bits of hpmcounter9, RV32I only
hpmcounter10h 0xC8A Upper 32 bits of hpmcounter10, RV32I only
hpmcounter11h 0xC8B Upper 32 bits of hpmcounter11, RV32I only
hpmcounter12h 0xC8C Upper 32 bits of hpmcounter12, RV32I only
hpmcounter13h 0xC8D Upper 32 bits of hpmcounter13, RV32I only
hpmcounter14h 0xC8E Upper 32 bits of hpmcounter14, RV32I only
hpmcounter15h 0xC8F Upper 32 bits of hpmcounter15, RV32I only
hpmcounter16h 0xC90 Upper 32 bits of hpmcounter16, RV32I only
hpmcounter17h 0xC91 Upper 32 bits of hpmcounter17, RV32I only
hpmcounter18h 0xC92 Upper 32 bits of hpmcounter18, RV32I only
hpmcounter19h 0xC93 Upper 32 bits of hpmcounter19, RV32I only
hpmcounter20h 0xC94 Upper 32 bits of hpmcounter20, RV32I only
hpmcounter21h 0xC95 Upper 32 bits of hpmcounter21, RV32I only
hpmcounter22h 0xC96 Upper 32 bits of hpmcounter22, RV32I only
hpmcounter23h 0xC97 Upper 32 bits of hpmcounter23, RV32I only
hpmcounter24h 0xC98 Upper 32 bits of hpmcounter24, RV32I only
hpmcounter25h 0xC99 Upper 32 bits of hpmcounter25, RV32I only
hpmcounter26h 0xC9A Upper 32 bits of hpmcounter26, RV32I only
hpmcounter27h 0xC9B Upper 32 bits of hpmcounter27, RV32I only
hpmcounter28h 0xC9C Upper 32 bits of hpmcounter28, RV32I only
hpmcounter29h 0xC9D Upper 32 bits of hpmcounter29, RV32I only
hpmcounter30h 0xC9E Upper 32 bits of hpmcounter30, RV32I only
hpmcounter31h 0xC9F Upper 32 bits of hpmcounter31, RV32I only
;Supervisor Trap Setup
sstatus 0x100 Supervisor status register
sedeleg 0x102 Supervisor exception delegation register
sideleg 0x103 Supervisor interrupt delegation register
sie 0x104 Supervisor interrupt-enable register
stvec 0x105 Supervisor trap handler base address
scounteren 0x106 Supervisor counter enable
sstateen0 0x10C Supervisor State Enable 0
sstateen1 0x10D Supervisor State Enable 1
sstateen2 0x10E Supervisor State Enable 2
sstateen3 0x10F Supervisor State Enable 3
;Supervisor Configuration
senvcfg 0x10A Supervisor environment configuration register
scountovf 0xDA0 Supervisor Count Overflow
;Supervisor Trap Handling
sscratch 0x140 Scratch register for supervisor trap handlers
sepc 0x141 Supervisor exception program counter
scause 0x142 Supervisor trap cause
stval 0x143 Supervisor bad address or instruction
sip 0x144 Supervisor interrupt pending
;Supervisor Protection and Translation
satp 0x180 Supervisor address translation and protection
;Debug/Trace Registers
scontext 0x5A8 Supervisor-mode context register
;Supervisor Counter/Timer Registers
stimecmp 0x14D Supervisor Timer Register
stimecmph 0x15D Upper 32 bits of stimecmp, RV32 only
;Hypervisor Trap Setup
hstatus 0x600 Hypervisor status register
hedeleg 0x602 Hypervisor exception delegation register
hideleg 0x603 Hypervisor interrupt delegation register
hie 0x604 Hypervisor interrupt-enable register
hcounteren 0x606 Hypervisor counter enable
hgeie 0x607 Hypervisor guest external interrupt-enable register
hstateen0 0x60C Hypervisor State Enable 0
hstateen1 0x60D Hypervisor State Enable 1
hstateen2 0x60E Hypervisor State Enable 2
hstateen3 0x60F Hypervisor State Enable 3
hstateen0h 0x61C Upper 32 bits of mstateen0, RV32 only
hstateen01 0x61D Upper 32 bits of mstateen1, RV32 only
hstateen02 0x61E Upper 32 bits of mstateen2, RV32 only
hstateen03 0x61F Upper 32 bits of mstateen3, RV32 only
;Hypervisor Trap Handling
htval 0x643 Hypervisor bad guest physical address
hip 0x644 Hypervisor interrupt pending
hvip 0x645 Hypervisor virtual interrupt pending
htinst 0x64A Hypervisor trap instruction (transformed)
hgeip 0xE12 Hypervisor guest external interrupt pending
;Hypervisor Configuration
henvcfg 0x60A Hypervisor environment configuration register
henvcfgh 0x61A Additional hypervisor env. conf. register, RV32 only
;Hypervisor Protection and Translation
hgatp 0x680 Hypervisor guest address translation and protection
;
;Debug/Trace Registers
hcontext 0x6A8 Hypervisor-mode context register
;
;Hypervisor Counter/Timer Virtualization Registers
vstimecmp 0x24D Virtual Supervisor Timer Register
vstimecmph 0x25D Upper 32 bits of vstimecmp, RV32 only
htimedelta 0x605 Delta for VS/VU-mode timer
htimedeltah 0x615 Upper 32 bits of htimedelta, HSXLEN=32 only
;Virtual Supervisor Register
vsstatus 0x200 Virtual supervisor status register
vsie 0x204 Virtual supervisor interrupt-enable register
vstvec 0x205 Virtual supervisor trap handler base address
vsscratch 0x240 Virtual supervisor scratch register
vsepc 0x241 Virtual supervisor exception program counter
vscause 0x242 Virtual supervisor trap cause
vstval 0x243 Virtual supervisor bad address or instruction
vsip 0x244 Virtual supervisor interrupt pending
vsatp 0x280 Virtual supervisor address translation and protection
;Machine Information Registers
mvendorid 0xF11 Vendor ID
marchid 0xF12 Architecture ID
mimpid 0xF13 Implementation ID
mhartid 0xF14 Hardware thread ID
mconfigptr 0xF15 Pointer to configuration data structure
;Machine Trap Setup
mstatus 0x300 Machine status register
misa 0x301 ISA and extensions
medeleg 0x302 Machine exception delegation register
mideleg 0x303 Machine interrupt delegation register
mie 0x304 Machine interrupt-enable register
mtvec 0x305 Machine trap-handler base address
mcounteren 0x306 Machine counter enable
mstateen0 0x30C Machine State Enable 0
mstateen1 0x30D Machine State Enable 1
mstateen2 0x30E Machine State Enable 2
mstateen3 0x30F Machine State Enable 3
mstatush 0x310 Additional machine status register, RV32 only
mstateen0h 0x31C Upper 32 bits of mstateen0, RV32 only
mstateen01 0x31D Upper 32 bits of mstateen1, RV32 only
mstateen02 0x31E Upper 32 bits of mstateen2, RV32 only
mstateen03 0x31F Upper 32 bits of mstateen3, RV32 only
;Machine Trap Handling
mscratch 0x340 Scratch register for machine trap handlers
mepc 0x341 Machine exception program counter
mcause 0x342 Machine trap cause
mtval 0x343 Machine bad address or instruction
mip 0x344 Machine interrupt pending
mtinst 0x34A Machine trap instruction (transformed)
mtval2 0x34B Machine bad guest physical address
;Machine Configuration
menvcfg 0x30A Machine environment configuration register
menvcfgh 0x31A Additional machine env. conf. register, RV32 only
mseccfg 0x747 Machine security configuration register
mseccfgh 0x757 Additional machine security conf. register, RV32 only
;Machine Memory Protection
pmpcfg0 0x3A0 Physical memory protection configuration
pmpcfg1 0x3A1 Physical memory protection configuration, RV32 only
pmpcfg2 0x3A2 Physical memory protection configuration
pmpcfg3 0x3A3 Physical memory protection configuration, RV32 only
pmpcfg4 0x3A4 Physical memory protection configuration
pmpcfg5 0x3A5 Physical memory protection configuration, RV32 only
pmpcfg6 0x3A6 Physical memory protection configuration
pmpcfg7 0x3A7 Physical memory protection configuration, RV32 only
pmpcfg8 0x3A8 Physical memory protection configuration
pmpcfg9 0x3A9 Physical memory protection configuration, RV32 only
pmpcfg10 0x3AA Physical memory protection configuration
pmpcfg11 0x3AB Physical memory protection configuration, RV32 only
pmpcfg12 0x3AC Physical memory protection configuration
pmpcfg13 0x3AD Physical memory protection configuration, RV32 only
pmpcfg14 0x3AE Physical memory protection configuration
pmpcfg15 0x3AF Physical memory protection configuration, RV32 only
pmpaddr0 0x3B0 Physical memory protection address register
pmpaddr1 0x3B1 Physical memory protection address register
pmpaddr2 0x3B2 Physical memory protection address register
pmpaddr3 0x3B3 Physical memory protection address register
pmpaddr4 0x3B4 Physical memory protection address register
pmpaddr5 0x3B5 Physical memory protection address register
pmpaddr6 0x3B6 Physical memory protection address register
pmpaddr7 0x3B7 Physical memory protection address register
pmpaddr8 0x3B8 Physical memory protection address register
pmpaddr9 0x3B9 Physical memory protection address register
pmpaddr10 0x3BA Physical memory protection address register
pmpaddr11 0x3BB Physical memory protection address register
pmpaddr12 0x3BC Physical memory protection address register
pmpaddr13 0x3BD Physical memory protection address register
pmpaddr14 0x3BE Physical memory protection address register
pmpaddr15 0x3BF Physical memory protection address register
pmpaddr16 0x3C0 Physical memory protection address register
pmpaddr17 0x3C1 Physical memory protection address register
pmpaddr18 0x3C2 Physical memory protection address register
pmpaddr19 0x3C3 Physical memory protection address register
pmpaddr20 0x3C4 Physical memory protection address register
pmpaddr21 0x3C5 Physical memory protection address register
pmpaddr22 0x3C6 Physical memory protection address register
pmpaddr23 0x3C7 Physical memory protection address register
pmpaddr24 0x3C8 Physical memory protection address register
pmpaddr25 0x3C9 Physical memory protection address register
pmpaddr26 0x3CA Physical memory protection address register
pmpaddr27 0x3CB Physical memory protection address register
pmpaddr28 0x3CC Physical memory protection address register
pmpaddr29 0x3CD Physical memory protection address register
pmpaddr30 0x3CE Physical memory protection address register
pmpaddr31 0x3CF Physical memory protection address register
pmpaddr32 0x3D0 Physical memory protection address register
pmpaddr33 0x3D1 Physical memory protection address register
pmpaddr34 0x3D2 Physical memory protection address register
pmpaddr35 0x3D3 Physical memory protection address register
pmpaddr36 0x3D4 Physical memory protection address register
pmpaddr37 0x3D5 Physical memory protection address register
pmpaddr38 0x3D6 Physical memory protection address register
pmpaddr39 0x3D7 Physical memory protection address register
pmpaddr40 0x3D8 Physical memory protection address register
pmpaddr41 0x3D9 Physical memory protection address register
pmpaddr42 0x3DA Physical memory protection address register
pmpaddr43 0x3DB Physical memory protection address register
pmpaddr44 0x3DC Physical memory protection address register
pmpaddr45 0x3DD Physical memory protection address register
pmpaddr46 0x3DE Physical memory protection address register
pmpaddr47 0x3DF Physical memory protection address register
pmpaddr48 0x3E0 Physical memory protection address register
pmpaddr49 0x3E1 Physical memory protection address register
pmpaddr50 0x3E2 Physical memory protection address register
pmpaddr51 0x3E3 Physical memory protection address register
pmpaddr52 0x3E4 Physical memory protection address register
pmpaddr53 0x3E5 Physical memory protection address register
pmpaddr54 0x3E6 Physical memory protection address register
pmpaddr55 0x3E7 Physical memory protection address register
pmpaddr56 0x3E8 Physical memory protection address register
pmpaddr57 0x3E9 Physical memory protection address register
pmpaddr58 0x3EA Physical memory protection address register
pmpaddr59 0x3EB Physical memory protection address register
pmpaddr60 0x3EC Physical memory protection address register
pmpaddr61 0x3ED Physical memory protection address register
pmpaddr62 0x3EE Physical memory protection address register
pmpaddr63 0x3EF Physical memory protection address register
;Machine Counter/Timers
mcycle 0xB00 Machine cycle counter
minstret 0xB02 Machine instructions-retired counter
mhpmcounter3 0xB03 Machine performance-monitoring counter
mhpmcounter4 0xB04 Machine performance-monitoring counter
mhpmcounter5 0xB05 Machine performance-monitoring counter
mhpmcounter6 0xB06 Machine performance-monitoring counter
mhpmcounter7 0xB07 Machine performance-monitoring counter
mhpmcounter8 0xB08 Machine performance-monitoring counter
mhpmcounter9 0xB09 Machine performance-monitoring counter
mhpmcounter10 0xB0A Machine performance-monitoring counter
mhpmcounter11 0xB0B Machine performance-monitoring counter
mhpmcounter12 0xB0C Machine performance-monitoring counter
mhpmcounter13 0xB0D Machine performance-monitoring counter
mhpmcounter14 0xB0E Machine performance-monitoring counter
mhpmcounter15 0xB0F Machine performance-monitoring counter
mhpmcounter16 0xB10 Machine performance-monitoring counter
mhpmcounter17 0xB11 Machine performance-monitoring counter
mhpmcounter18 0xB12 Machine performance-monitoring counter
mhpmcounter19 0xB13 Machine performance-monitoring counter
mhpmcounter20 0xB14 Machine performance-monitoring counter
mhpmcounter21 0xB15 Machine performance-monitoring counter
mhpmcounter22 0xB16 Machine performance-monitoring counter
mhpmcounter23 0xB17 Machine performance-monitoring counter
mhpmcounter24 0xB18 Machine performance-monitoring counter
mhpmcounter25 0xB19 Machine performance-monitoring counter
mhpmcounter26 0xB1A Machine performance-monitoring counter
mhpmcounter27 0xB1B Machine performance-monitoring counter
mhpmcounter28 0xB1C Machine performance-monitoring counter
mhpmcounter29 0xB1D Machine performance-monitoring counter
mhpmcounter30 0xB1E Machine performance-monitoring counter
mhpmcounter31 0xB1F Machine performance-monitoring counter
mcycleh 0xB80 Upper 32 bits of mcycle, RV32I only
minstreth 0xB82 Upper 32 bits of minstret, RV32I only
mhpmcounter3h 0xB83 Upper 32 bits of mhpmcounter3, RV32I only
mhpmcounter4h 0xB84 Upper 32 bits of mhpmcounter4, RV32I only
mhpmcounter5h 0xB85 Upper 32 bits of mhpmcounter5, RV32I only
mhpmcounter6h 0xB86 Upper 32 bits of mhpmcounter6, RV32I only
mhpmcounter7h 0xB87 Upper 32 bits of mhpmcounter7, RV32I only
mhpmcounter8h 0xB88 Upper 32 bits of mhpmcounter8, RV32I only
mhpmcounter9h 0xB89 Upper 32 bits of mhpmcounter9, RV32I only
mhpmcounter10h 0xB8A Upper 32 bits of mhpmcounter10, RV32I only
mhpmcounter11h 0xB8B Upper 32 bits of mhpmcounter11, RV32I only
mhpmcounter12h 0xB8C Upper 32 bits of mhpmcounter12, RV32I only
mhpmcounter13h 0xB8D Upper 32 bits of mhpmcounter13, RV32I only
mhpmcounter14h 0xB8E Upper 32 bits of mhpmcounter14, RV32I only
mhpmcounter15h 0xB8F Upper 32 bits of mhpmcounter15, RV32I only
mhpmcounter16h 0xB90 Upper 32 bits of mhpmcounter16, RV32I only
mhpmcounter17h 0xB91 Upper 32 bits of mhpmcounter17, RV32I only
mhpmcounter18h 0xB92 Upper 32 bits of mhpmcounter18, RV32I only
mhpmcounter19h 0xB93 Upper 32 bits of mhpmcounter19, RV32I only
mhpmcounter20h 0xB94 Upper 32 bits of mhpmcounter20, RV32I only
mhpmcounter21h 0xB95 Upper 32 bits of mhpmcounter21, RV32I only
mhpmcounter22h 0xB96 Upper 32 bits of mhpmcounter22, RV32I only
mhpmcounter23h 0xB97 Upper 32 bits of mhpmcounter23, RV32I only
mhpmcounter24h 0xB98 Upper 32 bits of mhpmcounter24, RV32I only
mhpmcounter25h 0xB99 Upper 32 bits of mhpmcounter25, RV32I only
mhpmcounter26h 0xB9A Upper 32 bits of mhpmcounter26, RV32I only
mhpmcounter27h 0xB9B Upper 32 bits of mhpmcounter27, RV32I only
mhpmcounter28h 0xB9C Upper 32 bits of mhpmcounter28, RV32I only
mhpmcounter29h 0xB9D Upper 32 bits of mhpmcounter29, RV32I only
mhpmcounter30h 0xB9E Upper 32 bits of mhpmcounter30, RV32I only
mhpmcounter31h 0xB9F Upper 32 bits of mhpmcounter31, RV32I only
;Machine Counter Setup
mcountinhibit 0x320 Machine counter-inhibit register
mhpmevent3 0x323 Machine performance-monitoring event selector
mhpmevent4 0x324 Machine performance-monitoring event selector
mhpmevent5 0x325 Machine performance-monitoring event selector
mhpmevent6 0x326 Machine performance-monitoring event selector
mhpmevent7 0x327 Machine performance-monitoring event selector
mhpmevent8 0x328 Machine performance-monitoring event selector
mhpmevent9 0x329 Machine performance-monitoring event selector
mhpmevent10 0x32A Machine performance-monitoring event selector
mhpmevent11 0x32B Machine performance-monitoring event selector
mhpmevent12 0x32C Machine performance-monitoring event selector
mhpmevent13 0x32D Machine performance-monitoring event selector
mhpmevent14 0x32E Machine performance-monitoring event selector
mhpmevent15 0x32F Machine performance-monitoring event selector
mhpmevent16 0x330 Machine performance-monitoring event selector
mhpmevent17 0x331 Machine performance-monitoring event selector
mhpmevent18 0x332 Machine performance-monitoring event selector
mhpmevent19 0x333 Machine performance-monitoring event selector
mhpmevent20 0x334 Machine performance-monitoring event selector
mhpmevent21 0x335 Machine performance-monitoring event selector
mhpmevent22 0x336 Machine performance-monitoring event selector
mhpmevent23 0x337 Machine performance-monitoring event selector
mhpmevent24 0x338 Machine performance-monitoring event selector
mhpmevent25 0x339 Machine performance-monitoring event selector
mhpmevent26 0x33A Machine performance-monitoring event selector
mhpmevent27 0x33B Machine performance-monitoring event selector
mhpmevent28 0x33C Machine performance-monitoring event selector
mhpmevent29 0x33D Machine performance-monitoring event selector
mhpmevent30 0x33E Machine performance-monitoring event selector
mhpmevent31 0x33F Machine performance-monitoring event selector
mhpmevent3h 0x723 Upper 32 bits of mhpmevent3, RV32 only
mhpmevent4h 0x724 Upper 32 bits of mhpmevent4, RV32 only
mhpmevent5h 0x725 Upper 32 bits of mhpmevent5, RV32 only
mhpmevent6h 0x726 Upper 32 bits of mhpmevent6, RV32 only
mhpmevent7h 0x727 Upper 32 bits of mhpmevent7, RV32 only
mhpmevent8h 0x728 Upper 32 bits of mhpmevent8, RV32 only
mhpmevent9h 0x729 Upper 32 bits of mhpmevent9, RV32 only
mhpmevent10h 0x72A Upper 32 bits of mhpmevent10, RV32 only
mhpmevent11h 0x72B Upper 32 bits of mhpmevent11, RV32 only
mhpmevent12h 0x72C Upper 32 bits of mhpmevent12, RV32 only
mhpmevent13h 0x72D Upper 32 bits of mhpmevent13, RV32 only
mhpmevent14h 0x72E Upper 32 bits of mhpmevent14, RV32 only
mhpmevent15h 0x72F Upper 32 bits of mhpmevent15, RV32 only
mhpmevent16h 0x730 Upper 32 bits of mhpmevent16, RV32 only
mhpmevent17h 0x731 Upper 32 bits of mhpmevent17, RV32 only
mhpmevent18h 0x732 Upper 32 bits of mhpmevent18, RV32 only
mhpmevent19h 0x733 Upper 32 bits of mhpmevent19, RV32 only
mhpmevent20h 0x734 Upper 32 bits of mhpmevent20, RV32 only
mhpmevent21h 0x735 Upper 32 bits of mhpmevent21, RV32 only
mhpmevent22h 0x736 Upper 32 bits of mhpmevent22, RV32 only
mhpmevent23h 0x737 Upper 32 bits of mhpmevent23, RV32 only
mhpmevent24h 0x738 Upper 32 bits of mhpmevent24, RV32 only
mhpmevent25h 0x739 Upper 32 bits of mhpmevent25, RV32 only
mhpmevent26h 0x73A Upper 32 bits of mhpmevent26, RV32 only
mhpmevent27h 0x73B Upper 32 bits of mhpmevent27, RV32 only
mhpmevent28h 0x73C Upper 32 bits of mhpmevent28, RV32 only
mhpmevent29h 0x73D Upper 32 bits of mhpmevent29, RV32 only
mhpmevent30h 0x73E Upper 32 bits of mhpmevent30, RV32 only
mhpmevent31h 0x73F Upper 32 bits of mhpmevent31, RV32 only
;Debug/Trace Registers (shared with Debug Mode)
tselect 0x7A0 Debug/Trace trigger register select
tdata1 0x7A1 First Debug/Trace trigger data register
tdata2 0x7A2 Second Debug/Trace trigger data register
tdata3 0x7A3 Third Debug/Trace trigger data register
mcontext 0x7A8 Machine-mode context register
;Debug Mode Registers
dcsr 0x7B0 Debug control and status register
dpc 0x7B1 Debug PC
dscratch0 0x7B2 Debug scratch register 0
dscratch1 0x7B3 Debug scratch register 1