Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-09-05 | Remove generic debug tests.remove-tests | Tim Newsome | 8 | -486/+1 | |
They live in riscv-tests/debug now, since they also test gdb, and can be used to test other targets besides spike. | |||||
2016-09-02 | Merge pull request #62 from riscv/trigger | Andrew Waterman | 8 | -58/+710 | |
Implement address and data triggers. | |||||
2016-09-02 | Merge branch 'master' into trigger | Tim Newsome | 4 | -76/+344 | |
Conflicts: riscv/encoding.h riscv/processor.cc | |||||
2016-09-02 | Rebuild debug ROM because CSR encoding changed. | Tim Newsome | 1 | -2/+2 | |
2016-09-02 | Support triggers on TLB misses. | Tim Newsome | 3 | -1/+54 | |
2016-09-01 | Theoretically support trigger timing. | Tim Newsome | 3 | -0/+10 | |
2016-08-31 | Rename tdata[0-2] to tdata[1-3]. | Tim Newsome | 2 | -16/+27 | |
Add timing bit (but it doesn't do anything). Implement dmode bit. | |||||
2016-08-31 | Save/restore tselect. Set dmode. | Tim Newsome | 2 | -0/+47 | |
2016-08-29 | Fix indent. | Tim Newsome | 1 | -1/+1 | |
2016-08-29 | Rename tdata0--tdata2 to tdata1--tdata3. | Tim Newsome | 4 | -12/+18 | |
2016-08-26 | Add (degenerate) performance counter facility | Andrew Waterman | 3 | -105/+386 | |
2016-08-25 | Allow reads from tdrdata registers | Andrew Waterman | 1 | -0/+3 | |
2016-08-25 | partially update spike to newer debug spec | Andrew Waterman | 5 | -67/+45 | |
2016-08-25 | Fix spike interactive (-d) mode | Andrew Waterman | 4 | -12/+5 | |
2016-08-22 | remove HWBPCOUNT field of DCSR | Andrew Waterman | 1 | -1/+0 | |
2016-08-22 | Implement address and data triggers. | Tim Newsome | 9 | -62/+633 | |
So far I only have testcases for instruction and data address. Not implemented is the mechanism that lets the debugger prevent a user program from using triggers at all. I'll be adding that soonish. The critical path is unchanged, but my experimenting shows the simulation is slowed down about 8% by this code. Reducing the size of trigger_match() (which is never called during my benchmark) fixes that, but making it not be inlined has no effect. I suspect the slowdown comes from cache alignment or something similar, and on a different CPU or after more code changes the speed will come back. | |||||
2016-08-17 | Allow mstatus.MPP to store bad values; instead, validate on MRET | Andrew Waterman | 3 | -14/+5 | |
Either approach is legal, but this more closely matches Rocket. | |||||
2016-08-16 | remove old rvc directory (#61) | Colin Schmidt | 36 | -133/+0 | |
2016-07-28 | Add support for virtual priv register. (#59) | Tim Newsome | 5 | -6/+25 | |
Users can use this register to inspect and change the privilege level of the core. It doesn't make any assumptions about the actual underlying debug mechanism (as opposed to having the user change DCSR directly, which may not exist in all debug implementations). | |||||
2016-07-22 | Set U bit in misa register | Andrew Waterman | 1 | -0/+1 | |
2016-07-19 | Make address translation work in 32-bit. (#58) | Tim Newsome | 1 | -5/+9 | |
2016-07-13 | Fix single step over csrw instructions. (#57) | Tim Newsome | 1 | -5/+9 | |
csrw instructions instantly return if the PC isn't serialized. Take note of this, and don't enter debug mode until the instruction we just executed actually completed. | |||||
2016-07-12 | Don't treat RVC NOP as illegal instruction | Andrew Waterman | 1 | -1/+1 | |
2016-07-12 | Fix page table walker not respecting valid bit | Andrew Waterman | 1 | -1/+1 | |
2016-07-06 | Update to new PTE format | Andrew Waterman | 5 | -45/+28 | |
2016-07-01 | Remove debug printf that was cluttering up output. | Tim Newsome | 1 | -1/+0 | |
2016-06-29 | Disassemble RVC instructions based on XLEN | Andrew Waterman | 5 | -21/+31 | |
The interpretation of RVC opcodes depends on XLEN, and the disassembler always assumed RV32. h/t Michael Clark | |||||
2016-06-27 | Make gdbserver code work with small Debug RAM. | Tim Newsome | 2 | -20/+37 | |
2016-06-27 | Support debugging 32-bit spike instances. | Tim Newsome | 2 | -143/+415 | |
2016-06-22 | Parameterize debug ROM contents on XLEN | Andrew Waterman | 4 | -28/+81 | |
2016-06-22 | Remove fence.i from debug ROM | Andrew Waterman | 1 | -1/+0 | |
2016-06-22 | Don't use I$ in debug mode | Andrew Waterman | 1 | -3/+4 | |
This avoids the need for fence.i. | |||||
2016-06-22 | Remove legacy HTIF; implement HTIF directly | Andrew Waterman | 9 | -197/+65 | |
2016-06-22 | Fix paddr_bits computation prior to VM setup | Andrew Waterman | 2 | -9/+5 | |
2016-06-17 | Merge sasid into sptbr | Andrew Waterman | 2 | -12/+31 | |
2016-06-09 | Trap on tdrdata registers when tdrselect[XLEN-1]=0 | Andrew Waterman | 1 | -3/+0 | |
2016-06-09 | make check: Fail if the tests failed | Jonathan Neuschäfer | 1 | -2/+4 | |
2016-06-09 | Fix 2 bugs in Debug ROM: (#52) | Tim Newsome | 2 | -10/+12 | |
1. Debug ROM wasn't actually writing 0xffffffff to the last word in Debug RAM after an exception happened. 2. Fix a race where debug interrupts were cleared before that write would have happened, so a debugger (gdbserver.cc in this case) might get the wrong idea about whether an exception happened or not. Why wasn't this wreaking havoc before? | |||||
2016-06-08 | Add degenerate HW breakpoint implementation | Andrew Waterman | 2 | -0/+22 | |
2016-06-03 | Keep DCSR_XDEBUGVER unsigned. | Tim Newsome | 1 | -1/+1 | |
2016-06-03 | Minor usability improvements (#48) | neuschaefer | 2 | -1/+8 | |
* spike_main/disasm.cc: Print unknown CSR numbers in hex * interactive mode: Print "Unknown command" when appropriate | |||||
2016-06-03 | DCSR cause was moved, bug debug ROM wasn't updated | Tim Newsome | 2 | -3/+3 | |
As a result Debug ROM would always take the spontaneous halt code path. This didn't hurt spike since (so far?) the spike debug handler doesn't attempt to do anything quick while code is running. But now the ROM is more correct. | |||||
2016-06-02 | Fix 'make check' when run from build directory. | Tim Newsome | 1 | -2/+2 | |
2016-06-01 | Fix build when not building inside root directory | Andrew Waterman | 1 | -1/+1 | |
2016-06-01 | Add gitignore | Andrew Waterman | 1 | -0/+2 | |
2016-06-01 | Move sethaltnot and cleardebint. | Tim Newsome | 3 | -6/+6 | |
Now it matches Krste's memory map. | |||||
2016-05-24 | New encoding.h for new CSR addresses. | Tim Newsome | 4 | -10/+10 | |
2016-05-24 | Move cleardebint, per spec. | Tim Newsome | 3 | -4/+4 | |
2016-05-23 | Use .word for mret, for now. | Tim Newsome | 1 | -1/+1 | |
The current assembler doesn't seem to know it? | |||||
2016-05-23 | Change DCSR bits to match spec. | Tim Newsome | 3 | -36/+28 | |
Cleaned up debug ROM code a little. |