aboutsummaryrefslogtreecommitdiff
path: root/riscv
AgeCommit message (Expand)AuthorFilesLines
2022-12-09refactor: remove proc parameter from functions of module_tYenHaoChen3-15/+15
2022-12-05Merge pull request #1162 from riscv-software-src/sfenceAndrew Waterman3-4/+5
2022-12-05Merge pull request #1161 from riscv-software-src/snprintfAndrew Waterman1-11/+10
2022-12-05Avoid use of sprintf in trap_tAndrew Waterman1-5/+3
2022-12-05SFENCE.INVAL.IR and SFENCE.W.INVAL are illegal in [V]U modesAndrew Waterman2-0/+3
2022-12-05Simplify implementation of SFENCE.W.INVALAndrew Waterman1-3/+1
2022-12-05Merge pull request #1155 from YenHaoChen/pr-h-not-constScott Johnson4-8/+29
2022-12-05clear mevent.VUINH and mevent.VSINH when misa.H is clearedYenHaoChen1-0/+4
2022-12-05add macro N_HPMCOUNTERS (29)YenHaoChen3-3/+5
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_tYenHaoChen3-5/+20
2022-12-04Make require_novirt macro an expression, not a statementAndrew Waterman1-1/+1
2022-12-04For trap_t::name, return an std::string instead of a C stringAndrew Waterman1-6/+7
2022-12-01Remove unused constructor arg from match_result_tScott Johnson2-4/+4
2022-12-01Remove no-longer-used match_result_t.fireScott Johnson1-3/+1
2022-12-01Use std::optional for detect_trap_match in trigger_t hierarchyScott Johnson2-11/+11
2022-12-01Convert triggers::module_t::detect_trap_match to std::optionalScott Johnson3-7/+7
2022-12-01Remove unnecessary logical-orScott Johnson1-1/+1
2022-12-01Use std::optional for detect_memory_access_match in trigger_t hierarchyScott Johnson2-10/+10
2022-12-01Convert triggers::module_t::detect_memory_access_match to std::optionalScott Johnson3-9/+9
2022-12-01Extract common method for legalizing trigger action fieldScott Johnson2-9/+8
2022-12-01Add noexcept to trigger-matching functionsScott Johnson2-12/+12
2022-12-01Remove no-longer-useful trigger_with_tdata2_tScott Johnson1-7/+4
2022-12-01Move tdata2 into parent classScott Johnson2-10/+7
2022-12-01Merge pull request #1128 from YenHaoChen/pr-itrigger-etriggerScott Johnson8-1041/+1836
2022-12-01triggers: s and u of mcontrol dependents on extension supportYenHaoChen1-2/+2
2022-12-01triggers: legalize mcontrol.actionYenHaoChen1-0/+2
2022-12-01triggers: add debug log of trigger actionYenHaoChen1-0/+7
2022-12-01triggers: refactor: rename memory_access_match() to detect_memory_access_match()YenHaoChen3-8/+8
2022-12-01triggers: add etrigger_tYenHaoChen2-1/+81
2022-12-01triggers: add itrigger_tYenHaoChen3-2/+102
2022-12-01triggers: refactor: add action_t::ACTION_MAXVALYenHaoChen1-1/+2
2022-12-01refactor: let trap_t::cause() be const functionYenHaoChen1-1/+1
2022-12-01triggers: refactor: add take_trigger_action() to processor.h/processor.ccYenHaoChen3-12/+18
2022-12-01triggers: hardware should ignore writes that set dmode to 1 if the previous t...YenHaoChen1-0/+4
2022-12-01triggers: hardware must zero chain in writes that set dmode to 0 if the next ...YenHaoChen2-7/+10
2022-11-30triggers: refactor: remove obsolete checking of debug_mode in disabled_trigge...YenHaoChen1-1/+1
2022-11-30triggers: refactor: use CSR_MCONTROL_DMODE(xlen) instead of MCONTROL_DMODE(xlen)YenHaoChen1-3/+3
2022-11-30triggers: dmode only writable from debug modeYenHaoChen1-0/+6
2022-11-30triggers: refactor: use modern C++ loopYenHaoChen1-5/+5
2022-11-30triggers: refactor: reorder functions in module_t for consistencyYenHaoChen2-33/+33
2022-11-30triggers: make disabled_trigger_t as default triggerYenHaoChen1-1/+1
2022-11-30triggers: refactor: use CSR_TDATA1_TYPE_MCONTROL instead of MCONTROL_TYPE_MAT...YenHaoChen1-2/+2
2022-11-30triggers: refactor: add assertions for mcontrol.type checkingYenHaoChen1-0/+1
2022-11-30triggers: add disabled_trigger_tYenHaoChen2-4/+45
2022-11-30triggers: mcontrol does not support VS and VU modesYenHaoChen1-1/+2
2022-11-30triggers: refactor: remove return value of mcontrol_t::tdata1_write(...) and ...YenHaoChen2-12/+10
2022-11-30triggers: refactor: move dmode checking of tdata2 to module_t for consistencyYenHaoChen1-3/+3
2022-11-30triggers: refactor: let action be part of match_result_tYenHaoChen3-12/+10
2022-11-30triggers: refactor: let match_result_t be a struct with fire and timing varia...YenHaoChen3-29/+31