aboutsummaryrefslogtreecommitdiff
path: root/riscv/mmu.cc
AgeCommit message (Expand)AuthorFilesLines
2023-01-03Respect --[no-]misaligned command-line flagAndrew Waterman1-8/+6
2023-01-03Merge pull request #1200 from riscv-software-src/mmio_pteAndrew Waterman1-18/+5
2023-01-03Pull pte load/store into methods of mmu_tJerry Zhao1-18/+5
2023-01-03Add method to probe which memory regions are reservableJerry Zhao1-4/+9
2023-01-03Specify addresses are physical for simif_t member functionsJerry Zhao1-11/+11
2022-12-23Add mmio_fetch to simif_t to distinguish between fetch/load for mmio accessesJerry Zhao1-1/+9
2022-12-15Add config.h includes directly to source files instead of relying on header c...Jerry Zhao1-0/+1
2022-12-15Rename memif_endianness_t to endianness_tJerry Zhao1-3/+3
2022-12-01Convert triggers::module_t::detect_memory_access_match to std::optionalScott Johnson1-5/+5
2022-12-01triggers: refactor: rename memory_access_match() to detect_memory_access_match()YenHaoChen1-1/+1
2022-11-30triggers: refactor: let action be part of match_result_tYenHaoChen1-4/+3
2022-11-30triggers: refactor: let match_result_t be a struct with fire and timing varia...YenHaoChen1-14/+11
2022-10-25Remove set_target_endianness | add --big-endian flagJerry Zhao1-2/+5
2022-10-19Remove require_alignment flag from loadsAndrew Waterman1-2/+2
2022-10-19Fix imprecise exception on LR to MMIO spaceAndrew Waterman1-1/+5
2022-10-19do memcpy only for actually_store in store_slow_path_intrapageWeiwei Li1-2/+4
2022-10-14In triggers, use optional<data> instead of {has_data, data}Andrew Waterman1-7/+7
2022-10-13Remove unused field matched_t::dataAndrew Waterman1-2/+2
2022-10-06Don't use reexecution as the means to implement trigger-afterAndrew Waterman1-1/+4
2022-10-06Fix endianness bug in fetch triggersAndrew Waterman1-2/+1
2022-10-06DRY in checking triggersAndrew Waterman1-26/+27
2022-10-06Move uncommon-case fetch functionality into fetch_slow_pathAndrew Waterman1-8/+24
2022-10-06Move all uncommon-case store functionality into store_slow_pathAndrew Waterman1-8/+35
2022-10-06Move all uncommon-case load functionality into load_slow_pathAndrew Waterman1-5/+32
2022-10-05Remove unused variable to fix buildAndrew Waterman1-1/+0
2022-10-05Merge pull request #1105 from YenHaoChen/pr-trigger-priorityAndrew Waterman1-8/+17
2022-10-04Suppress most unused variable warningsAndrew Waterman1-1/+1
2022-09-30Check trigger only with actually_storeYenHaoChen1-5/+7
2022-09-30Fix priority of mcontrol trigger store address/data beforeYenHaoChen1-2/+2
2022-09-30Fix priority of mcontrol trigger load address beforeYenHaoChen1-0/+7
2022-09-30Add has_data argument to trigger checking functionsYenHaoChen1-2/+2
2022-05-11Check for reserved PBMT values during tablewalks and fault if foundRyan Buchner1-0/+4
2022-05-11Switch from checking for SVPBMT extension to checking *ENVCFG values during t...Ryan Buchner1-2/+4
2022-05-04Update mmu_t::pmp_ok() for ePMP in case matching region is not foundsoberl@nvidia.com1-1/+5
2022-04-13Adjust indentation in store_slow_path and store_funcRyan Buchner1-9/+9
2022-04-13Skip storing in store_func if actually_store is false, add a fake store at st...Ryan Buchner1-0/+2
2022-04-12Add actually_store tag to store_func and store_slow_pathRyan Buchner1-1/+1
2022-03-30trigger_operation_t -> triggers::operation_tTim Newsome1-2/+2
2021-12-05page fault when PTE_N bit set and not EXT_SVNAPOT (#875)John Ingalls1-0/+4
2021-12-04page fault when PTE_PBMT bits set and not EXT_SVPBMT (#874)John Ingalls1-0/+4
2021-11-29Reindent s2xlate()Scott Johnson1-49/+49
2021-11-29Raise guest page fault if GPA is out of rangeScott Johnson1-0/+5
2021-09-25Convert hgatp to csr_tScott Johnson1-1/+1
2021-09-08Use virtualized_csr_t for satp and vsatpScott Johnson1-1/+1
2021-09-08Convert hstatus to csr_t familyScott Johnson1-1/+1
2021-09-08Add get_const_xlen() as a way to document assumptions of unchanging xlenScott Johnson1-2/+2
2021-09-08Simplify calculation of mxrScott Johnson1-3/+1
2021-09-08Convert sstatus to virtualized_csr_tScott Johnson1-5/+4
2021-09-08Convert mstatus into csr_t familyScott Johnson1-4/+4
2021-09-08Convert mmu_t::walk to use sstatusScott Johnson1-4/+4