aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-08-07Fixed README to match the riscv-tools build script install location.Christopher Celio1-1/+1
2014-08-06readmeYunsup Lee2-37/+20
2014-06-25Let timer interrupt stay set on pk start (IP[7]).Christopher Celio1-3/+0
Otherwise, the HW will trip the timer interrupt 4B cycles later and thus not match spike.
2014-06-13Changes to allow spike & RTL behavior to better match each other.Christopher Celio4-3/+10
- EI turned off on sys_exit. - IM/IP cleared on start. - badvaddr only saved to tf on page faults.
2014-06-12Handle options before vm_init is calledAndrew Waterman1-15/+29
This prevents ptbr etc. from being accessed when -p is passed.
2014-06-12Fix file reference counting bug in physical address modeAndrew Waterman1-2/+2
2014-06-12Add file reference counting sanity checkAndrew Waterman1-1/+2
2014-06-03Turn off interrupts when talking to hostAndrew Waterman2-2/+16
2014-05-27Allow mmap to map new segments larger than 1 page on top of existing ↵Colin Schmidt4-6/+44
mappings and add mprotect syscall
2014-05-22remove debug print statementsColin Schmidt1-4/+0
2014-05-22determine the address for an mmap before setuping the vmrColin Schmidt1-11/+10
2014-05-22Add several syscalls, and move syscall header file from newlibColin Schmidt7-20/+218
syscalls added (openat, access, accessat, faccessat, etc.)
2014-05-22Support mmapping files whose length is not divisible by pgsizeAndrew Waterman1-3/+4
2014-05-06fixes vm leak. pages that faulted never decref'd their vmr so it wasn't reusedScott Beamer1-0/+1
2014-04-29PK now advances past breakpoint.Christopher Celio1-0/+1
2014-04-27Use atomic_cas instead of __sync_bool_compare_and_swapAndrew Waterman1-5/+5
2014-04-03Sync encoding.h with opcodesStephen Twigg1-3/+15
2014-03-11New FP encodingAndrew Waterman1-42/+42
2014-03-06Add fclass.{s|d} instructionsAndrew Waterman9-5/+84
2014-03-02Renumber uarch CSRs into custom CSR spaceYunsup Lee1-16/+16
2014-02-10Revert to old AUIPC definitionAndrew Waterman1-4/+2
2014-02-06commit missing definitions for uarch countersYunsup Lee1-0/+56
2014-02-04Abandon MIPS convention for indicating syscall errors in register a3Andrew Waterman12-121/+154
2014-01-17Minor cleanupAndrew Waterman1-10/+4
2014-01-13Assume pc-relative addressingAndrew Waterman4-32/+34
2014-01-13Speed up glibc initAndrew Waterman2-0/+2
2013-12-14Respect rounding mode for FP -> Int conversionsAndrew Waterman1-8/+8
2013-12-14Add -p flag: force physical memory addressingAndrew Waterman4-10/+17
2013-12-14Remove redundant initializationAndrew Waterman1-1/+0
2013-12-13Add times syscallAndrew Waterman1-12/+37
2013-11-25Update to new privileged ISAAndrew Waterman18-500/+674
2013-11-21fix slli/slliw encoding bugYunsup Lee1-2/+2
2013-11-13Add gettimeofday syscallAndrew Waterman1-0/+12
2013-11-05sync pcr.h, correctly name SR_EAYunsup Lee3-37/+16
2013-10-29Update ISA encoding in emulation routinesAndrew Waterman2-24/+23
2013-09-24Fix rv32 bugAndrew Waterman1-1/+1
2013-09-23expanding instructions to match the way it is called by build.sh in riscv-toolsScott Beamer1-2/+2
2013-09-21Update ISA encodingAndrew Waterman1-298/+294
2013-09-11Add pk flag -s to print out statsAndrew Waterman1-4/+22
(the only stat is cycle count)
2013-09-11Update opcodesAndrew Waterman1-60/+62
2013-09-11Add some syscallsAndrew Waterman4-2/+121
2013-08-19Don't clobber the ELF headers!Andrew Waterman1-0/+1
2013-08-18Limit program size to simplify RV32Andrew Waterman1-1/+1
2013-08-18Renumber PCRs; refer to them with new ASM syntaxAndrew Waterman5-63/+64
2013-08-18Rename MTFSR/MFFSR to FSSR/FRSRAndrew Waterman1-2/+2
2013-08-18Use macro instead of function for save_tfAndrew Waterman1-5/+4
2013-08-18Use new ABI register namesAndrew Waterman1-1/+1
2013-07-28use FATC, not PTBR, to flush addr translationsAndrew Waterman1-1/+1
2013-07-26New supervisor modeAndrew Waterman7-334/+76
2013-07-19Remove extraneous printkAndrew Waterman1-1/+0