aboutsummaryrefslogtreecommitdiff
path: root/pk
AgeCommit message (Expand)AuthorFilesLines
2017-03-21Allow PK access to user memoryAndrew Waterman1-0/+1
2017-02-22Fix PK bootAndrew Waterman1-3/+6
2017-02-20Don't block for acks on console writesAndrew Waterman3-8/+9
2017-02-17WIP towards ECALL interface for SBIAndrew Waterman2-2/+1
2017-02-15Cleanly separate HTIF code; don't poll keyboard on timer interruptAndrew Waterman1-2/+2
2016-12-06avoid non-standard predefined macrosAndrew Waterman4-4/+4
2016-11-13Add ability to hard-code an initial environmentAndrew Waterman1-2/+18
2016-11-13For RV32, mmap offset is in 4 KiB incrementsAndrew Waterman1-2/+6
2016-11-13Cap pk memory size to 2 GiB for RV32Andrew Waterman1-0/+5
2016-11-13Fix ld.so load address at 4 KiBAndrew Waterman1-6/+10
2016-11-13Add syscall stubs to get through libpthread initializersAndrew Waterman2-0/+4
2016-11-02Acquire write permissions before zeroing page in ELF loaderAndrew Waterman2-2/+6
2016-09-21make sure pages for ELF sections have correct protection (#40)Howard Mao2-2/+20
2016-09-09Add -p flag to pk to disable demand pagingAndrew Waterman3-3/+7
2016-08-16add htif section in linker script, with ALIGNs to prevent MMIO and data from ...Sagar Karandikar1-0/+10
2016-08-10when -s is passed, print time, instret, cycle, and CPIAndrew Waterman3-6/+19
2016-08-09Disallow execution of RVC binaries on non-RVC pkAndrew Waterman2-0/+6
2016-07-29Align pk trap_entry for RVCAndrew Waterman1-0/+1
2016-07-12zero-extend RV32 physical addresses for HTIFAndrew Waterman2-2/+2
2016-07-12Remove uarch countersAndrew Waterman4-51/+0
2016-07-06Udpate to new PTE formatAndrew Waterman1-27/+11
2016-04-30Move DRAM to high addressesAndrew Waterman6-41/+40
2016-04-20pk: proxy chdir syscall to fesvrGarret Kelly1-0/+6
2016-04-06Don't assume existence of uarch countersAndrew Waterman4-50/+46
2016-04-06Use panic, not die, to terminate elf loaderAndrew Waterman1-1/+2
2016-03-09Refactor pk, bbl, machine into separate librariesAndrew Waterman39-4076/+213
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 Waterman12-720/+771
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
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
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