aboutsummaryrefslogtreecommitdiff
path: root/riscv/csrs.cc
AgeCommit message (Expand)AuthorFilesLines
2023-11-29fix: dcsr.ebreak(v)[su] hardwired to 0 if unsupport corresponding privilege m...YenHaoChen1-4/+4
2023-11-24stimecmp: perform menvcfg.STCE permission check when accessing vstimecmp in H...YenHaoChen1-2/+6
2023-07-26Add Smcntrpmf functionalityAtul Khare1-4/+43
2023-07-25Merge pull request #1383 from rivosinc/sscrind_featureAndrew Waterman1-0/+62
2023-07-25legalize henvcfg.CBIEYenHaoChen1-1/+1
2023-07-25legalize senvcfg.CBIEYenHaoChen1-1/+1
2023-07-25legalize menvcfg.CBIEYenHaoChen1-0/+13
2023-07-19Add Smcsrind/Sscsrind supportAtul Khare1-0/+62
2023-06-01dscr.ebreakh is now dcsr.ebreakv[su]Tim Newsome1-3/+6
2023-05-25Implement dcsr.v and make DRET use itAndrew Waterman1-1/+7
2023-05-25Use more descriptive variable name in dcsr_csr_t::read; make it reg_tAndrew Waterman1-12/+12
2023-05-23Let mstatus.MPP initially be M-mode if unsupporting U-modeYenHaoChen1-0/+1
2023-03-20Implement Smrnmi extensionAndrew Waterman1-0/+20
2023-02-15Disable Zvfh when Zfhmin is disabledWeiwei Li1-1/+1
2023-02-15Disable Zvfh{min} when misa.V is clearedWeiwei Li1-0/+2
2023-02-15Disable Zfh{min} when misa.F is clearedWeiwei Li1-0/+2
2023-02-06Support dynamically disabling misa.C once againAndrew Waterman1-2/+15
2023-02-06Make JVT CSR definition account for dynamically disabling ZcmtAndrew Waterman1-0/+3
2023-01-03Make misa.C read-onlyAndrew Waterman1-6/+1
2022-12-20Check commitlog-enable dynamicallly for csr_t::log_special_writeJerry Zhao1-4/+2
2022-12-15Add config.h includes directly to source files instead of relying on header c...Jerry Zhao1-0/+1
2022-12-15Split decode.h into public decode.h and private decode_macros.hJerry Zhao1-1/+1
2022-12-09triggers: implement tdata3 CSR fieldsYenHaoChen1-2/+2
2022-12-09refactor: add tdata3_csr_t; preparation for CSR textraYenHaoChen1-0/+12
2022-12-09refactor: remove proc parameter from functions of module_tYenHaoChen1-5/+5
2022-12-05clear mevent.VUINH and mevent.VSINH when misa.H is clearedYenHaoChen1-0/+4
2022-12-05add macro N_HPMCOUNTERS (29)YenHaoChen1-1/+1
2022-12-05use extension_enabled('H') instead of extension_enabled_const('H') since misa...YenHaoChen1-1/+1
2022-12-05refactor: add custom CSR class, mevent_csr_tYenHaoChen1-0/+12
2022-11-22Add tinfo register.Tim Newsome1-0/+8
2022-11-17add support for zcmtWeiwei Li1-0/+24
2022-10-04Suppress most unused variable warningsAndrew Waterman1-3/+3
2022-10-04Fix remaining ignored-qualifiers warningAndrew Waterman1-1/+1
2022-09-20Merge pull request #1036 from plctlab/plct-sscofpmf-devAndrew Waterman1-4/+38
2022-08-11Unify PMPCFGx behaviour with PMPADDRx where PMP is disabled (#1068)Greg Chadwick1-0/+10
2022-08-09Fix exception type for accessing (v)stimecmp (#1061)liweiwei901-6/+7
2022-08-09add support for sscofpmf extension v0.5.2Weiwei Li1-4/+38
2022-08-08Merge pull request #831 from plctlab/plct-upstream-zfinxAndrew Waterman1-4/+4
2022-08-08Merge pull request #1059 from plctlab/plct-stateen-fixAndrew Waterman1-30/+20
2022-08-04Add stateen related check for float point instructionsWeiwei Li1-1/+1
2022-08-04Add flags for Zfinx/Zdinx/Zhinx{min}liweiwei1-3/+3
2022-08-03Add Sstc support. (#1057)i2h21-1/+36
2022-08-03Fix exception type for accessing senvcfg/henvcfg/hstateenWeiwei Li1-6/+5
2022-08-03add stateen related check to frm/fflags and then apply to fcsr implicitlyWeiwei Li1-24/+15
2022-07-26Add additional bits to medeleg (#1050)Brendan Sweeney1-0/+6
2022-07-21Merge pull request #1040 from plctlab/plct-priv-devAndrew Waterman1-19/+24
2022-07-21add base verify_permission in counter_proxy_csr_t::verify_permissionsWeiwei Li1-1/+3
2022-07-21add support for time/timeh/htimedelta/htimedeltah csrsWeiwei Li1-0/+19
2022-07-21modify minstret/mcycle/minstreth/mcycleh to reuse rv32_low/high_csr_tWeiwei Li1-25/+9
2022-07-18Merge pull request #1041 from plctlab/plct-new-csrsAndrew Waterman1-11/+15