| Name | Address | Description |
|---|
marchid | 0xF12 | Architecture ID |
mcause | 0x342 | Machine trap cause |
mconfigptr | 0xF15 | Pointer to configuration data structure |
mcontext | 0x7A8 | Machine-mode context register |
mcounteren | 0x306 | Machine counter enable |
mcountinhibit | 0x320 | Machine counter-inhibit register |
mctrctl | 0x34E | Machine Control Transfer Records Control Register |
mcycle | 0xB00 | Machine cycle counter |
mcyclecfg | 0x321 | Machine cycle counter configuration register |
mcyclecfgh | 0x721 | Upper 32 bits of mcyclecfg, RV32 only |
mcycleh | 0xB80 | Upper 32 bits of mcycle, RV32 only |
medeleg | 0x302 | Machine exception delegation register |
medelegh | 0x312 | Upper 32 bits of medeleg, RV32 only |
menvcfg | 0x30A | Machine environment configuration register |
menvcfgh | 0x31A | Upper 32 bits of menvcfg, RV32 only |
mepc | 0x341 | Machine exception program counter |
mhartid | 0xF14 | Hardware thread ID |
mhpmcounter3 | 0xB03 | Machine performance-monitoring counter |
mhpmcounter3h | 0xB83 | Upper 32 bits of mhpmcounter3, RV32 only |
mhpmcounter4 | 0xB04 | Machine performance-monitoring counter |
mhpmcounter4h | 0xB84 | Upper 32 bits of mhpmcounter4, RV32 only |
mhpmcounter5 | 0xB05 | Machine performance-monitoring counter |
mhpmcounter5h | 0xB85 | Upper 32 bits of mhpmcounter5, RV32 only |
mhpmcounter6 | 0xB06 | Machine performance-monitoring counter |
mhpmcounter6h | 0xB86 | Upper 32 bits of mhpmcounter6, RV32 only |
mhpmcounter7 | 0xB07 | Machine performance-monitoring counter |
mhpmcounter7h | 0xB87 | Upper 32 bits of mhpmcounter7, RV32 only |
mhpmcounter8 | 0xB08 | Machine performance-monitoring counter |
mhpmcounter8h | 0xB88 | Upper 32 bits of mhpmcounter8, RV32 only |
mhpmcounter9 | 0xB09 | Machine performance-monitoring counter |
mhpmcounter9h | 0xB89 | Upper 32 bits of mhpmcounter9, RV32 only |
mhpmcounter10 | 0xB0A | Machine performance-monitoring counter |
mhpmcounter10h | 0xB8A | Upper 32 bits of mhpmcounter10, RV32 only |
mhpmcounter11 | 0xB0B | Machine performance-monitoring counter |
mhpmcounter11h | 0xB8B | Upper 32 bits of mhpmcounter11, RV32 only |
mhpmcounter12 | 0xB0C | Machine performance-monitoring counter |
mhpmcounter12h | 0xB8C | Upper 32 bits of mhpmcounter12, RV32 only |
mhpmcounter13 | 0xB0D | Machine performance-monitoring counter |
mhpmcounter13h | 0xB8D | Upper 32 bits of mhpmcounter13, RV32 only |
mhpmcounter14 | 0xB0E | Machine performance-monitoring counter |
mhpmcounter14h | 0xB8E | Upper 32 bits of mhpmcounter14, RV32 only |
mhpmcounter15 | 0xB0F | Machine performance-monitoring counter |
mhpmcounter15h | 0xB8F | Upper 32 bits of mhpmcounter15, RV32 only |
mhpmcounter16 | 0xB10 | Machine performance-monitoring counter |
mhpmcounter16h | 0xB90 | Upper 32 bits of mhpmcounter16, RV32 only |
mhpmcounter17 | 0xB11 | Machine performance-monitoring counter |
mhpmcounter17h | 0xB91 | Upper 32 bits of mhpmcounter17, RV32 only |
mhpmcounter18 | 0xB12 | Machine performance-monitoring counter |
mhpmcounter18h | 0xB92 | Upper 32 bits of mhpmcounter18, RV32 only |
mhpmcounter19 | 0xB13 | Machine performance-monitoring counter |
mhpmcounter19h | 0xB93 | Upper 32 bits of mhpmcounter19, RV32 only |
mhpmcounter20 | 0xB14 | Machine performance-monitoring counter |
mhpmcounter20h | 0xB94 | Upper 32 bits of mhpmcounter20, RV32 only |
mhpmcounter21 | 0xB15 | Machine performance-monitoring counter |
mhpmcounter21h | 0xB95 | Upper 32 bits of mhpmcounter21, RV32 only |
mhpmcounter22 | 0xB16 | Machine performance-monitoring counter |
mhpmcounter22h | 0xB96 | Upper 32 bits of mhpmcounter22, RV32 only |
mhpmcounter23 | 0xB17 | Machine performance-monitoring counter |
mhpmcounter23h | 0xB97 | Upper 32 bits of mhpmcounter23, RV32 only |
mhpmcounter24 | 0xB18 | Machine performance-monitoring counter |
mhpmcounter24h | 0xB98 | Upper 32 bits of mhpmcounter24, RV32 only |
mhpmcounter25 | 0xB19 | Machine performance-monitoring counter |
mhpmcounter25h | 0xB99 | Upper 32 bits of mhpmcounter25, RV32 only |
mhpmcounter26 | 0xB1A | Machine performance-monitoring counter |
mhpmcounter26h | 0xB9A | Upper 32 bits of mhpmcounter26, RV32 only |
mhpmcounter27 | 0xB1B | Machine performance-monitoring counter |
mhpmcounter27h | 0xB9B | Upper 32 bits of mhpmcounter27, RV32 only |
mhpmcounter28 | 0xB1C | Machine performance-monitoring counter |
mhpmcounter28h | 0xB9C | Upper 32 bits of mhpmcounter28, RV32 only |
mhpmcounter29 | 0xB1D | Machine performance-monitoring counter |
mhpmcounter29h | 0xB9D | Upper 32 bits of mhpmcounter29, RV32 only |
mhpmcounter30 | 0xB1E | Machine performance-monitoring counter |
mhpmcounter30h | 0xB9E | Upper 32 bits of mhpmcounter30, RV32 only |
mhpmcounter31 | 0xB1F | Machine performance-monitoring counter |
mhpmcounter31h | 0xB9F | Upper 32 bits of mhpmcounter31, RV32 only |
mhpmevent3 | 0x323 | Machine performance-monitoring event selector |
mhpmevent3h | 0x723 | Upper 32 bits of mhpmevent3, RV32 only |
mhpmevent4 | 0x324 | Machine performance-monitoring event selector |
mhpmevent4h | 0x724 | Upper 32 bits of mhpmevent4, RV32 only |
mhpmevent5 | 0x325 | Machine performance-monitoring event selector |
mhpmevent5h | 0x725 | Upper 32 bits of mhpmevent5, RV32 only |
mhpmevent6 | 0x326 | Machine performance-monitoring event selector |
mhpmevent6h | 0x726 | Upper 32 bits of mhpmevent6, RV32 only |
mhpmevent7 | 0x327 | Machine performance-monitoring event selector |
mhpmevent7h | 0x727 | Upper 32 bits of mhpmevent7, RV32 only |
mhpmevent8 | 0x328 | Machine performance-monitoring event selector |
mhpmevent8h | 0x728 | Upper 32 bits of mhpmevent8, RV32 only |
mhpmevent9 | 0x329 | Machine performance-monitoring event selector |
mhpmevent9h | 0x729 | Upper 32 bits of mhpmevent9, RV32 only |
mhpmevent10 | 0x32A | Machine performance-monitoring event selector |
mhpmevent10h | 0x72A | Upper 32 bits of mhpmevent10, RV32 only |
mhpmevent11 | 0x32B | Machine performance-monitoring event selector |
mhpmevent11h | 0x72B | Upper 32 bits of mhpmevent11, RV32 only |
mhpmevent12 | 0x32C | Machine performance-monitoring event selector |
mhpmevent12h | 0x72C | Upper 32 bits of mhpmevent12, RV32 only |
mhpmevent13 | 0x32D | Machine performance-monitoring event selector |
mhpmevent13h | 0x72D | Upper 32 bits of mhpmevent13, RV32 only |
mhpmevent14 | 0x32E | Machine performance-monitoring event selector |
mhpmevent14h | 0x72E | Upper 32 bits of mhpmevent14, RV32 only |
mhpmevent15 | 0x32F | Machine performance-monitoring event selector |
mhpmevent15h | 0x72F | Upper 32 bits of mhpmevent15, RV32 only |
mhpmevent16 | 0x330 | Machine performance-monitoring event selector |
mhpmevent16h | 0x730 | Upper 32 bits of mhpmevent16, RV32 only |
mhpmevent17 | 0x331 | Machine performance-monitoring event selector |
mhpmevent17h | 0x731 | Upper 32 bits of mhpmevent17, RV32 only |
mhpmevent18 | 0x332 | Machine performance-monitoring event selector |
mhpmevent18h | 0x732 | Upper 32 bits of mhpmevent18, RV32 only |
mhpmevent19 | 0x333 | Machine performance-monitoring event selector |
mhpmevent19h | 0x733 | Upper 32 bits of mhpmevent19, RV32 only |
mhpmevent20 | 0x334 | Machine performance-monitoring event selector |
mhpmevent20h | 0x734 | Upper 32 bits of mhpmevent20, RV32 only |
mhpmevent21 | 0x335 | Machine performance-monitoring event selector |
mhpmevent21h | 0x735 | Upper 32 bits of mhpmevent21, RV32 only |
mhpmevent22 | 0x336 | Machine performance-monitoring event selector |
mhpmevent22h | 0x736 | Upper 32 bits of mhpmevent22, RV32 only |
mhpmevent23 | 0x337 | Machine performance-monitoring event selector |
mhpmevent23h | 0x737 | Upper 32 bits of mhpmevent23, RV32 only |
mhpmevent24 | 0x338 | Machine performance-monitoring event selector |
mhpmevent24h | 0x738 | Upper 32 bits of mhpmevent24, RV32 only |
mhpmevent25 | 0x339 | Machine performance-monitoring event selector |
mhpmevent25h | 0x739 | Upper 32 bits of mhpmevent25, RV32 only |
mhpmevent26 | 0x33A | Machine performance-monitoring event selector |
mhpmevent26h | 0x73A | Upper 32 bits of mhpmevent26, RV32 only |
mhpmevent27 | 0x33B | Machine performance-monitoring event selector |
mhpmevent27h | 0x73B | Upper 32 bits of mhpmevent27, RV32 only |
mhpmevent28 | 0x33C | Machine performance-monitoring event selector |
mhpmevent28h | 0x73C | Upper 32 bits of mhpmevent28, RV32 only |
mhpmevent29 | 0x33D | Machine performance-monitoring event selector |
mhpmevent29h | 0x73D | Upper 32 bits of mhpmevent29, RV32 only |
mhpmevent30 | 0x33E | Machine performance-monitoring event selector |
mhpmevent30h | 0x73E | Upper 32 bits of mhpmevent30, RV32 only |
mhpmevent31 | 0x33F | Machine performance-monitoring event selector |
mhpmevent31h | 0x73F | Upper 32 bits of mhpmevent31, RV32 only |
mideleg | 0x303 | Machine interrupt delegation register |
midelegh | 0x313 | Upper 32 bits of mideleg, RV32 only |
mie | 0x304 | Machine interrupt-enable register |
mieh | 0x314 | Upper 32 bits of mie, RV32 only |
mimpid | 0xF13 | Implementation ID |
minstret | 0xB02 | Machine instructions-retired counter |
minstretcfg | 0x322 | Machine instret counter configuration register |
minstretcfgh | 0x722 | Upper 32 bits of minstretcfg, RV32 only |
minstreth | 0xB82 | Upper 32 bits of minstret, RV32 only |
mintstatus | 0x346 | |
mip | 0x344 | Machine interrupt pending |
miph | 0x354 | Upper 32 bits of mip, RV32 only |
mireg | 0x351 | Machine indirect register alias |
mireg2 | 0x352 | Machine indirect register alias 2 |
mireg3 | 0x353 | Machine indirect register alias 3 |
mireg4 | 0x355 | Machine indirect register alias 4 |
mireg5 | 0x356 | Machine indirect register alias 5 |
mireg6 | 0x357 | Machine indirect register alias 6 |
misa | 0x301 | ISA and extensions |
miselect | 0x350 | Machine indirect register select |
mncause | 0x742 | Resumable NMI cause |
mnepc | 0x741 | Resumable NMI program counter |
mnscratch | 0x740 | Resumable NMI scratch register |
mnstatus | 0x744 | Resumable NMI status |
mnxti | 0x345 | |
mpmpdeleg | 0x316 | |
mscontext | 0x7AA | Machine Supervisor Context |
mscratch | 0x340 | Machine scratch register |
mscratchcsw | 0x348 | |
mscratchcswl | 0x349 | |
mseccfg | 0x747 | Machine security configuration register |
mseccfgh | 0x757 | Upper 32 bits of mseccfg, RV32 only |
mstateen0 | 0x30C | Machine State Enable 0 Register |
mstateen0h | 0x31C | Upper 32 bits of Machine State Enable 0 Register, RV32 only |
mstateen1 | 0x30D | Machine State Enable 1 Register |
mstateen1h | 0x31D | Upper 32 bits of Machine State Enable 1 Register, RV32 only |
mstateen2 | 0x30E | Machine State Enable 2 Register |
mstateen2h | 0x31E | Upper 32 bits of Machine State Enable 2 Register, RV32 only |
mstateen3 | 0x30F | Machine State Enable 3 Register |
mstateen3h | 0x31F | Upper 32 bits of Machine State Enable 3 Register, RV32 only |
mstatus | 0x300 | Machine status register |
mstatush | 0x310 | Upper 32 bits of mstatus, RV32 only |
mtinst | 0x34A | Machine trap instruction (transformed) |
mtopei | 0x35C | Machine top external interrupt |
mtopi | 0xFB0 | Machine top interrupt |
mtval | 0x343 | Machine trap value |
mtval2 | 0x34B | Machine second trap value |
mtvec | 0x305 | Machine trap-handler base address |
mtvt | 0x307 | |
mtype | 0xC23 | |
mvendorid | 0xF11 | Vendor ID |
mvien | 0x308 | Machine virtual interrupt enables |
mvienh | 0x318 | Upper 32 bits of mvien, RV32 only |
mvip | 0x309 | Machine virtual interrupt-pending bits |
mviph | 0x319 | Upper 32 bits of mvip, RV32 only |