aboutsummaryrefslogtreecommitdiff
path: root/riscv/mmu.cc
AgeCommit message (Expand)AuthorFilesLines
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
2021-09-08Convert s2xlate() to use sstatusScott Johnson1-2/+2
2021-09-08Convert vsstatus to csr_t familyScott Johnson1-3/+3
2021-09-08Remove unnecessary check of procScott Johnson1-1/+1
2021-09-08Move permissions check into pmpaddr_csr_tScott Johnson1-6/+1
2021-09-08Make pmp_ok return type boolScott Johnson1-1/+1
2021-09-08Move homogeneity detection into pmpaddr_csr_tScott Johnson1-22/+3
2021-09-08Remove unnecessary check for PMP_OFFScott Johnson1-23/+19
2021-09-08Add new method match4()Scott Johnson1-6/+1
2021-09-08Add tor_base_paddr() method to pmpaddrScott Johnson1-6/+2
2021-09-08Add napot_mask() function to simplify callersScott Johnson1-9/+2
2021-09-08Add tor_paddr() method to simplify callersScott Johnson1-2/+2
2021-09-08Convert pmpaddr* to csr_t familyScott Johnson1-4/+4
2021-09-02Use correct CSR for SUM/MXR for VS-mode load/stores (#792)Scott Johnson1-3/+6
2021-08-06Non-leaf PTEs should not have N or PBMT bits set (#764)Daniel Lustig1-2/+2
2021-07-22Non-leaf PTEs with D/A/U==1 are reservedAndrew Waterman1-0/+2
2021-07-22Merge branch 'nonleaf_dau' of https://github.com/daniellustig/riscv-isa-sim i...Andrew Waterman1-0/+2
2021-07-22Non-leaf PTEs with D/A/U==1 are reservedDan Lustig1-0/+2
2021-07-21Fix hypervisor MXR and SUMAndrew Waterman1-8/+10
2021-07-21Fix HLVX permissions checkAndrew Waterman1-15/+13
2021-07-21Simplify (and possibly fix) handling of HLV/HSV TLB accessesAndrew Waterman1-2/+2
2021-07-21HLV/HSV instructions should respect SPVP even in debug modeAndrew Waterman1-1/+1
2021-07-20Priv virtual memory updates (#750)Daniel Lustig1-4/+8
2021-07-16Fix MPRV-related bugAndrew Waterman1-1/+5
2021-03-05Don't make MPRV load/store virtual if MPV=1, MPP=3 (#666)jameshippisley1-1/+1
2021-02-08Zsn has been renamed Svnapot (#641)Daniel Lustig1-1/+1
2020-12-18Check and use proc variable in MMU emulationAnup Patel1-3/+3