aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/sret.h
AgeCommit message (Expand)AuthorFilesLines
2024-05-23zicflip: fix [ms]ret behaviorChih-Min Chao1-1/+1
2024-03-06Zicfilp: Preserve expected landing pad state on trapsMing-Yi Lai1-1/+5
2023-05-25Refactor set_privilege to subsume set_virtAndrew Waterman1-2/+1
2023-05-25Redo sret to put set_virt/set_privilege togetherScott Johnson1-3/+4
2022-02-27perform hstatus probe/update for sret only when H extension enabled. (#934)Neel Gala1-5/+6
2021-09-24Actually fix SRET clearing MPRVAndrew Waterman1-4/+4
2021-09-24Fix SRET clearing MPRVAndrew Waterman1-2/+2
2021-09-24Clear MPV on MRET and (when V=0) clear SPV on SRETAndrew Waterman1-2/+6
2021-09-08Convert hstatus to csr_t familyScott Johnson1-2/+2
2021-09-08Convert mstatus into csr_t familyScott Johnson1-1/+1
2021-09-08Convert sret to use sstatusScott Johnson1-2/+2
2021-09-08Convert sepc & vsepc to use csr_t familyScott Johnson1-1/+1
2021-06-02pmp: mstatus.mprv should be clear if mpp is not M-modeChih-Min Chao1-0/+2
2020-09-24Correctly respect mstatus.TSRAndrew Waterman1-3/+6
2020-09-21Raise virtual-instruction traps correctly for WFI/SRET/SFENCEAndrew Waterman1-2/+2
2020-07-09Implement hypervisor CSRs read/writeAnup Patel1-2/+9
2019-11-12SRET requires S-modeAndrew Waterman1-0/+1
2017-03-16Simplify interrupt-stack disciplineAndrew Waterman1-1/+1
2017-03-13Implement mstatus.TW, mstatus.TVM, and mstatus.TSRAndrew Waterman1-1/+1
2017-02-01Set xPIE=1 on xRETAndrew Waterman1-1/+1
2016-05-23Add dret.Tim Newsome1-3/+0
2016-05-23Properly save/restore dpc, mcause, mbadaddr.Tim Newsome1-0/+3
2016-04-19Split ERET into URET, SRET, HRET, MRETAndrew Waterman1-13/+6
2016-03-02Fix ERET bugAndrew Waterman1-1/+1
2016-03-02Serialize simulator on ERETAndrew Waterman1-2/+2
2016-03-02WIP on priv spec v1.9Andrew Waterman1-2/+10
2015-03-17Merge [shm]call into ecall, [shm]ret into eretAndrew Waterman1-1/+6
2015-03-12Update to new privileged specAndrew Waterman1-5/+3
2013-11-25Update to new privileged ISAAndrew Waterman1-0/+5