aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-04-06Use panic, not die, to terminate elf loaderAndrew Waterman1-1/+2
2016-03-22fix multilib build error. it's type casting related.SeungRyeol Lee1-1/+1
2016-03-10Misc improvementsAndrew Waterman2-6/+8
2016-03-10Make num_harts a uintptr_tAndrew Waterman2-4/+4
Making it a uint32_t is a false economy.
2016-03-10Update encodingAndrew Waterman1-6/+12
2016-03-10Remove dead codeAndrew Waterman2-3/+0
2016-03-10Set time comparator correctly on RV32Andrew Waterman1-4/+9
The old code truncated the upper 32 bits, and even if it got that right, it would have generated spurious interrupts.
2016-03-09Factor emulation routines into multiple filesAndrew Waterman7-207/+233
2016-03-09Refactor pk, bbl, machine into separate librariesAndrew Waterman62-559/+960
Yuck.
2016-03-05Fix ifdef guard on FCSR instructionsAndrew Waterman1-1/+1
2016-03-05get rid of struct mainvarsAndrew Waterman4-30/+33
2016-03-05Disentangle PK and BBL a bitAndrew Waterman21-218/+226
2016-03-04Begin refactoring emulation codeAndrew Waterman13-721/+772
2016-03-03Don't request KB interrupt til first call to sbi_console_getcharAndrew Waterman3-9/+6
2016-03-03Simplify boot codeAndrew Waterman8-53/+31
2016-03-02fix medeleg typoAndrew Waterman1-1/+2
2016-03-01Use new counter-enable CSRsAndrew Waterman4-5/+54
2016-03-01Use RV configuration string instead of device treeAndrew Waterman6-136/+202
2016-03-01Fix vsnprintf infinite loopAndrew Waterman2-7/+9
2016-02-29WIP on priv spec v1.9Andrew Waterman3-34/+49
2016-02-28Remove SBI HTIF support; add console_getcharAndrew Waterman9-155/+84
2016-02-28New definitions of misa/marchid/mvendoridAndrew Waterman3-22/+25
2016-02-23Use simpler, less-general IPI interfaceAndrew Waterman2-54/+44
No need for active messages in this context.
2016-02-23simplify pk atomics and add atomic_orAndrew Waterman1-10/+8
2016-02-19fix commentAndrew Waterman1-1/+1
2016-02-19Add SBI calls for remote I$/TLB flushesAndrew Waterman7-6/+110
2016-02-19sptbr now holds a PPN, not an addressAndrew Waterman2-3/+3
2016-02-19WIP on priv spec v1.9Andrew Waterman9-200/+167
2016-02-19Cap main memory size at 2 GiB for RV32Andrew Waterman1-0/+3
This works around HTIF limitations and can later be removed.
2016-02-19Remove sbi_printk macroAndrew Waterman1-6/+0
2016-02-19S-mode shouldn't ever see misaligned load trapsAndrew Waterman1-9/+1
2016-02-19Rely on __riscv_muldiv and __riscv_hard_float macrosAndrew Waterman1-4/+8
2016-02-19Fix MULW/DIVW/etc. emulation codeAndrew Waterman3-6/+14
2016-02-19Remove --disable-atomics flag; rely on -march setting insteadAndrew Waterman4-24/+1
2016-02-19WIP on priv spec v1.9Andrew Waterman12-607/+346
2016-02-19Simplify status register reloading in pkAndrew Waterman1-8/+4
2016-02-19Avoid needless IRQ enable/disableAndrew Waterman1-2/+3
2016-02-19Add SBI calls for IRQ mask/unmaskAndrew Waterman4-0/+33
2016-02-19Fix struct stat size mismatch for RV32Andrew Waterman4-6/+55
2016-02-19Remove incorrect code supporting ELF32 on RV64 and vice-versaAndrew Waterman6-54/+25
This is technically possible by running an RV32 supervisor on an RV64 machine, but the M-mode and S-mode code would need to be compiled and linked separately.
2016-01-18add renameat syscallColin Schmidt2-0/+14
2016-01-12Write 1 to MIPI, not 0Andrew Waterman1-1/+1
2015-11-28Change boot procedure to not rely on IPIsAndrew Waterman4-18/+32
That procedure doesn't work correctly if hart 0 comes out of reset while hart 1 is still in reset.
2015-11-25Don't rely on arpa/inet.h; newlib doesn't provide itAndrew Waterman1-1/+2
2015-11-18Merge pull request #15 from darius-bluespec/fix-disable-fp-emulationAndrew Waterman1-0/+20
Fix --disable-fp-emulation.
2015-11-18Merge pull request #14 from darius-bluespec/fix-disable-atomicsAndrew Waterman2-4/+4
Fix macros for emulating atomic operations (--disable-atomics).
2015-11-18Merge pull request #13 from darius-bluespec/bbl-include-configAndrew Waterman1-0/+1
Add missing #include for config.h
2015-11-18Fix --disable-fp-emulation.Darius Rad1-0/+20
2015-11-18Fix macros for emulating atomic operations (--disable-atomics).Darius Rad2-4/+4
2015-11-18Add missing #include for config.hDarius Rad1-0/+1