aboutsummaryrefslogtreecommitdiff
path: root/pk
AgeCommit message (Expand)AuthorFilesLines
2023-05-01pk: fix __do_brk when new addr is not feasible (#295)xukl2-7/+3
2022-08-05Specify text section in rest_of_boot_loader definitionAndrew Waterman1-1/+3
2022-04-30Fix a file leak in function `at_kfd` (#276)MaxXing1-1/+3
2022-04-11Handle unimplemented syscalls gracefullyAndrew Waterman1-11/+1
2022-04-08Stub out sysinfo syscallAndrew Waterman2-0/+2
2022-02-08Fix local variable register usage for ra (#268)Fangrui Song1-2/+1
2022-01-28pk: thwart an attempt from the compiler to optimizeSaleem Abdulrasool1-1/+2
2022-01-09fix file leakAndrew Waterman1-1/+1
2021-08-27pk: correct the handling of SYS_getcwd (#250)Saleem Abdulrasool1-1/+1
2021-05-18Add __early_pgalloc_align; refactor __early_alloc to use itAndrew Waterman1-3/+11
2021-05-18Fix range checkAndrew Waterman1-2/+3
2021-05-07pk: make breakpoints fatalAndrew Waterman1-2/+1
2021-05-05replace `spbtr` with `satp` (#241)Saleem Abdulrasool1-1/+1
2021-05-05replace `sbadaddr` with `stval` (#243)Saleem Abdulrasool1-1/+1
2021-04-28pk: Fix __clear_cache() compilation issue with recent compilers (#240)Christoph Müllner1-1/+2
2021-03-29pk: vm cleanups; use narrower TLB flushesAndrew Waterman1-9/+15
2021-03-29pk: remove vestigial trapframe_t::insn fieldAndrew Waterman4-14/+1
2021-03-29M-mode code doesn't need access to pk's page tableAndrew Waterman1-0/+2
2021-03-29pk: correctly restore sstatus.SUM in strcpy_from_userAndrew Waterman1-3/+7
2021-03-26pk: support printk before file initAndrew Waterman2-4/+3
2021-03-26pk: don't init files until VM setup is completeAndrew Waterman1-2/+2
2021-03-25pk: refactor vm free list managementAndrew Waterman4-61/+115
2021-03-25pk: support >2 GiB of user memory for RV64Andrew Waterman7-34/+76
2021-03-25Add some missing syscall stubsAndrew Waterman2-0/+10
2021-03-25pk: avoid assertion failures on brk syscallsAndrew Waterman1-3/+5
2021-03-25pk: avoid out-of-memory errorsAndrew Waterman2-50/+107
2021-03-25pk: remove linear VA mapping constraintAndrew Waterman1-46/+83
2021-03-25pk: only access user memory through explicit accessorsAndrew Waterman9-77/+278
2021-03-25Add `statx` syscall (#234)huaixv3-0/+23
2020-11-29Remove unused file_stat, copy_stat functionsAndrew Waterman4-28/+0
2020-11-29Remove use of copy_stat() from sys_fstat and sys_lstat (#228)Marcus Comstedt1-2/+4
2020-11-23use MEM_START, not DRAM_BASE, for pk mappingsAndrew Waterman2-3/+3
2020-11-17Remove use of copy_stat() from sys_fstatatMarcus Comstedt1-1/+1
2020-11-11pk: Fix pushing of argc to match linux kernel behaviourMarcus Comstedt1-3/+3
2020-03-16Fix CPI calcualtion for -s option (#192)davidmetz1-1/+1
2020-01-13Enable vector unit if present (continuation of 77a5df569451571d608650a34183d5...Andrew Waterman1-1/+1
2019-10-23Add --help (#179)Luís Marques1-14/+35
2019-10-22Implement dup3 syscall (#162)Luís Marques4-0/+32
2019-10-22Make performance counters always 64 bits wide (#178)Luís Marques4-18/+77
2019-10-01Only accept statically linked binaries (#176)Luís Marques2-0/+4
2019-06-11configure: Add option to set physical memory start addressGabriel L. Somlo1-1/+1
2019-05-09Allow up to 2 KiB of argumentsAndrew Waterman1-1/+4
2019-03-24Fix build with newer newlibAndrew Waterman2-2/+3
2019-02-28Stub out madvise syscall (#145)Luís Marques2-0/+2
2019-01-04Implement clock_gettime syscall (#139)Luís Marques1-1/+10
2019-01-04Page-align the writable data sectionAndrew Waterman1-1/+2
2019-01-04Clean up linker scripts a bitAndrew Waterman1-4/+1
2018-08-06Add some exception handling functions to s-mode to handle exception return fr...wxjstz1-0/+28
2018-07-09Properly license all nontrivial filesAndrew Waterman7-0/+14
2018-04-24Enable FPU in PK, regardless of FPU presenceAndrew Waterman1-1/+1