Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-10-04 | Fixed -Wnon-virtual-dtor warnings | Jerin Joy | 1 | -0/+2 | |
Signed-off-by: Jerin Joy <joy@rivosinc.com> | |||||
2022-05-19 | Move ebreak* logic from take_trap into instructions. (#1006) | Tim Newsome | 1 | -0/+5 | |
Now that logic only affects ebreak instructions, and does not affect triggers that also cause a trap to be taken. Fixes #725. Although like Paul, I don't have a test for this case. Introduce trap_debug_mode so so ebreak instructions can force entry into debug mode. | |||||
2022-03-17 | Inline trap_t methods so they can be used in fesvr code | Andrew Waterman | 1 | -2/+9 | |
2021-11-04 | Add gva field to trap_breakpoint | Scott Johnson | 1 | -1/+7 | |
So I can fix breakpoints next to properly report gva. | |||||
2021-11-04 | Add gva field to insn_trap_t | Scott Johnson | 1 | -3/+5 | |
Since breakpoint will need it soon. | |||||
2021-07-17 | ext-h: handle mis-aligned exception for guest world | Chih-Min Chao | 1 | -9/+3 | |
It has been discussed that mis-aligned exception needs to update mstata.GVA ref: https://github.com/riscv/riscv-isa-manual/issues/673 Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com> | |||||
2020-11-27 | Fix hstatus.GVA and mstatus.GVA updation | Anup Patel | 1 | -6/+18 | |
The hstatus.GVA and mstatus.GVA should be set only when guest virtual address is written to stval or mtval CSRs at time of taking trap. This patch update access, page fault, and guest page fault trap classes so that we can pass gva flag correct from source of the trap. Signed-off-by: Anup Patel <anup.patel@wdc.com> | |||||
2020-08-03 | op: hyperviosr: fix exception code and name | Chih-Min Chao | 1 | -1/+1 | |
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com> | |||||
2020-07-08 | Extend trap classes to pass more information | Anup Patel | 1 | -5/+37 | |
With hypervisor extension, we have more CSRs providing trap related information. We extend existing trap classes to pass additional trap information required by hypervisor extension. Signed-off-by: Anup Patel <anup.patel@wdc.com> | |||||
2020-03-20 | ebreak should write mtval with 0, not pc | Andrew Waterman | 1 | -1/+1 | |
Resolves #426 The relevant passage in the spec does not mention software breakpoints as one of the cases that cause mtval to be set to a nonzero value: https://github.com/riscv/riscv-isa-manual/blob/274893e2f0365f904829bbb60fd05cc01d2bfb11/src/machine.tex#L2202 | |||||
2017-11-27 | Rename badaddr to tval | Andrew Waterman | 1 | -8/+8 | |
2017-11-27 | Set tval to 0 on traps with no specified tval | Andrew Waterman | 1 | -1/+1 | |
Simply not writing the register was not a conformant implementation. | |||||
2017-03-27 | Set badaddr=0 on illegal instruction traps | Andrew Waterman | 1 | -1/+1 | |
2017-03-27 | On EBREAK, set badaddr to pc | Andrew Waterman | 1 | -1/+1 | |
2017-03-27 | Separate page faults from physical memory access exceptions | Andrew Waterman | 1 | -3/+6 | |
2016-03-02 | WIP on priv spec v1.9 | Andrew Waterman | 1 | -7/+9 | |
2015-05-09 | Upgrade to privileged architecture 1.7 | Andrew Waterman | 1 | -2/+5 | |
2015-03-17 | Merge [shm]call into ecall, [shm]ret into eret | Andrew Waterman | 1 | -4/+2 | |
2015-03-12 | Use hcall instead of mcall | Andrew Waterman | 1 | -0/+1 | |
2015-03-12 | Update to new privileged spec | Andrew Waterman | 1 | -4/+2 | |
Sorry, everyone. | |||||
2014-12-04 | Set badvaddr on instruction page faults | Andrew Waterman | 1 | -2/+2 | |
This supports distinguishing the EPC (the address of the first byte of the faulting instruction) from the address of the page fault (potentially some bytes later). | |||||
2014-08-25 | clean up warnings from clang | Scott Beamer | 1 | -1/+1 | |
2014-01-21 | Use auto-generated trap cause numbers | Andrew Waterman | 1 | -13/+12 | |
2013-11-05 | correctly trap when SR_EA is disabled | Yunsup Lee | 1 | -0/+1 | |
2013-10-17 | add hwacha exception support | Yunsup Lee | 1 | -3/+1 | |
2013-08-11 | Instructions are no longer member functions | Andrew Waterman | 1 | -26/+49 | |
2013-03-25 | add BSD license | Andrew Waterman | 1 | -0/+2 | |
2012-03-24 | new supervisor mode | Andrew Waterman | 1 | -8/+1 | |
2011-11-11 | Changed supervisor mode | Andrew Waterman | 1 | -11/+9 | |
- initial PC is 0x2000 - PCRs renumbered - clearing IPIs now requires a write to a different PCR - IRQs are each given their own cause # | |||||
2011-06-19 | temporary undoing of renaming | Andrew Waterman | 1 | -0/+44 | |
2011-06-12 | [sim] renamed to riscv-isa-run | Andrew Waterman | 1 | -43/+0 | |
2011-05-28 | [fesvr,xcc,sim] fixed multicore sim for akaros | Andrew Waterman | 1 | -0/+2 | |
2011-05-18 | [opcodes,pk,sim] add more vector traps (for #banks, illegal instructions) | Yunsup Lee | 1 | -3/+3 | |
2011-04-12 | [sim,pk] fixed minor pk bugs and trap codes | Andrew Waterman | 1 | -1/+2 | |
2011-04-09 | [sim] add vector traps to vector instructions | Yunsup Lee | 1 | -1/+1 | |
2011-04-09 | [sim,pk] reorganized status register | Andrew Waterman | 1 | -1/+1 | |
2011-03-25 | [xcc,pk,opcodes,sim] updated encoding/insn names | Andrew Waterman | 1 | -1/+2 | |
2011-02-04 | [sim,pk] added interrupt-pending field to cause reg | Andrew Waterman | 1 | -1/+1 | |
2010-09-10 | [sim, pk] cleaned up exception vectors and FP exc flags | Andrew Waterman | 1 | -5/+5 | |
2010-08-04 | [xcc,pk,sim] Added first part of FP support | Andrew Waterman | 1 | -0/+8 | |
In particular, FP loads, stores, and moves now work. | |||||
2010-07-18 | Reorganized directory structure | Andrew Waterman | 1 | -0/+31 | |
Moved cross-compiler to /xcc/ rather than / Added ISA sim in /sim/ Added Proxy Kernel in /pk/ (to be cleaned up) Added opcode map to /opcodes/ (ditto) Added documentation to /doc/ |