summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-11-06grind: run parallel system calls foreverRobert Morris3-5/+170
2019-10-29mention LRU list a bit more in comments.Robert Morris1-3/+5
2019-10-28usertests -c to repeat tests foreverRobert Morris1-16/+80
detect memory leaks no more "already ran user tests"
2019-10-27fix a potential memory leakRobert Morris2-3/+3
2019-10-27nitsRobert Morris6-10/+12
2019-10-21Clean up linker scriptAnish Athalye2-12/+27
This patch does the following: - Add .text.* to the .text section in the output - Add an assertion that the trampoline does not overflow a page - Add the .rodata section - Make .sdata and .sdata.* (which is for small data) be absorbed into the .data section, because we don't need to distinguish between them; this prevents .sdata from appearing in the output - Make the analogous change for .srodata and .sbss - Make all the data sections 16-byte aligned This patch also updates the .editorconfig for *.ld files.
2019-10-16nitsRobert Morris2-3/+3
2019-10-08Fix ulib's memmove to handle overlap when src<dstAnish Athalye1-2/+9
2019-10-08Add implementations of memcmp and memcpy to ulibAnish Athalye2-0/+22
This is necessary because gcc may generate calls to memcmp, memset, memcpy, and memmove when compiling with -nostdlib.
2019-10-03delete alarmtest from riscvRobert Morris1-106/+0
2019-10-03updated alarmtestRobert Morris6-25/+32
2019-09-30Add editorconfigAnish Athalye1-0/+19
2019-09-30Make QEMU memory size match PHYSTOPAnish Athalye1-1/+1
2019-09-24no buf->qnextRobert Morris1-1/+0
2019-09-23fix major validationXi Wang1-0/+4
fileread/filewrite should validate major to avoid buffer overflows or bogus function pointers.
2019-09-23story is more complex than I thought.Robert Morris1-8/+11
2019-09-23bug fix: reparent() sometimes deadlockedRobert Morris2-31/+71
bug fix: exit() sometimes released a different parent lock than it acquired usertests
2019-09-21Stress copyin for the full allocated page (good for lazy lab).Frans Kaashoek1-1/+1
2019-09-21don't leak memory if exec() arguments are invalid.Robert Morris2-4/+27
2019-09-21Refactor big sbrk test in smaller, easier-to-understand testsFrans Kaashoek1-21/+44
2019-09-20Not much: factor sbrksimple from big sbrktestFrans Kaashoek1-11/+21
2019-09-20don't leak a file system block if the buf argument to write is invalidRobert Morris2-2/+46
and a usertest
2019-09-20yet another sbrk() bug fix, and usertestRobert Morris2-4/+24
2019-09-20don't panic if a program frees all its memory with sbrk().Robert Morris3-4/+45
if a program sbrk()'s to a non-page-boundary, don't free that page. corresponding usertests.
2019-09-20more incorrect cast to uintRobert Morris2-5/+8
2019-09-20fix a potential kernel crashRobert Morris2-1/+17
add a regression test for it
2019-09-20nitsRobert Morris2-2/+1
2019-09-19print name at start of testFrans Kaashoek1-3/+4
2019-09-19a commentFrans Kaashoek1-1/+3
2019-09-19make exec test self containedFrans Kaashoek1-11/+62
2019-09-19Standarize the way tests are run and report errorsFrans Kaashoek1-437/+381
Support running one test, by specifying the name as a command argument to usertests
2019-09-17Merge branch 'riscv' of g.csail.mit.edu:xv6-dev into riscvRobert Morris1-1/+3
2019-09-17all of PTE_FLAGSRobert Morris3-5/+5
2019-09-13add `-bios none' to silence qemuXi Wang1-1/+3
QEMU 4.1+ emits warnings if -bios is not given, as newer versions will load the OpenSBI firmware in this case. Pass `-bios none' to avoid this issue.
2019-09-12set architecture riscv:rv64 -- fix gdb trampoline disassembly, thanks jonathanRobert Morris2-5/+5
2019-09-11error exit status is 1Robert Morris11-210/+210
2019-09-10Support exit status for exit/waitFrans Kaashoek22-297/+319
One test case for returning a exit status Passes usertests, but haven't used it to simplify tests
2019-09-08Make the end variable be really at the end of bss, and delete + 4096 in ↵Frans Kaashoek2-3/+2
freerange()
2019-09-08thanks to Anthony CoulterRobert Morris1-1/+1
2019-09-05fix a grep bugRobert Morris1-2/+0
2019-09-04have echo use FD 1 for clarityRobert Morris1-2/+8
2019-09-03sfence.vma in trampoline as wellRobert Morris2-5/+7
2019-09-03fix sfence_vma commentRobert Morris1-4/+1
2019-09-03sfence_vma after satpRobert Morris1-1/+1
2019-08-27user printf(1 -> printf(Robert Morris18-336/+352
2019-08-26cow moved to xv6-riscv-fall19Frans Kaashoek2-197/+0
2019-08-26RISC-V port doesn't borrow this codeFrans Kaashoek1-6/+0
2019-08-23Add major/minor/mkdevFrans Kaashoek1-0/+3
Maybe apply this change to master
2019-08-20Move labs into 6.828 repo. The lab text isn't dependent on specificFrans Kaashoek8-1816/+0
xv6 code. Lab submission instructions etc. are likely going to be more MIT 6.828 specific.
2019-08-20validateint doesn't test something interesting on RISC-V; delete it.Frans Kaashoek1-25/+1