summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2019-08-20Rationalize some constants in usertestsFrans Kaashoek1-68/+81
2019-08-20Also release buffer on failed copyoutFrans Kaashoek1-1/+3
2019-08-20Release buffer also when copyin failsFrans Kaashoek1-1/+3
2019-08-20512 -> BSIZEFrans Kaashoek1-1/+1
2019-08-19Merge remote-tracking branch 'origin/master' into riscvFrans Kaashoek1-1/+0
2019-08-19Avoid rereading the superblock in bfreeDan Cross1-1/+0
The superblock is read when the first process returns to userspace (via the call to `iinit` from the first invocation of `forkret`, when `first` is still set to 1) and cached in a global; it is treated as immutable from that point on. There is no reason to re-read it in bfree. Removing this call seems to have simply been missed in 8320d61b when this general area was last touched. Remove it now to avoid potential confusion. Signed-off-by: Dan Cross <[email protected]>
2019-08-19A few now unused DOCFrans Kaashoek2-4/+4
2019-08-19dan crossFrans Kaashoek1-10/+11