summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2019-08-19Merge remote-tracking branch 'origin/master' into riscvFrans Kaashoek1-2/+1
2019-08-19Removed unused `dirlookup` argument in `create`Dan Cross1-2/+1
The `off` argument to `dirlookup` is optional. It was not being used in the `dirlookup` call in `create`, so pass NULL instead and delete the unused local. Signed-off-by: Dan Cross <[email protected]>
2019-08-18Cosmetic cleanup: fsinit reads sb and calls loginit. initialize icacheFrans Kaashoek5-18/+21
in main.c and don't make it disk specific; the icache is shared. This doesn't matter since we have only one disk, but conceptually cleaner and maybe helpful to students for mount lab.
2019-08-17xFrans Kaashoek1-9/+10
2019-08-17Update write up to reflect new test cases.Frans Kaashoek1-5/+21
2019-08-12Draft mount/umount lab as an alternative lab for fs.htmlFrans Kaashoek1-0/+198
fs.html should perhaps be split in small homeworks as in previous years in preparation for lectures and/or as demos during lecture.
2019-08-12Wrap state of disk driver in a struct so that it is easier to supportFrans Kaashoek1-69/+71
several disks (e.g., in a mount lab).
2019-08-05add alarmtest.c to the repositoryRobert Morris2-84/+118
they don't have to modify alarmtest.c, so we can use the original version to test, to make it harder to cheat.
2019-08-03alarm stuffRobert Morris1-69/+57
2019-08-02two notesFrans Kaashoek1-2/+7
2019-08-02Add simple crash recovery assignment to fs labFrans Kaashoek1-109/+215
2019-08-02nitsRobert Morris1-17/+15
2019-08-02some XXX questionsRobert Morris1-4/+23
2019-08-02oops, back to alarm()Robert Morris1-3/+3
2019-08-02Merge branch 'riscv' of g.csail.mit.edu:xv6-dev into riscvRobert Morris1-0/+171
2019-08-02sigalarmRobert Morris1-6/+7
2019-08-02Combine the linux mmap hw with memory-mapped files in xv6 into a separate labFrans Kaashoek1-0/+171
2019-08-02syscall lab nitsRobert Morris3-25/+25
2019-08-02Add uthreadFrans Kaashoek1-53/+216
2019-08-01xFrans Kaashoek2-6/+16
2019-08-01Merge branch 'riscv-bcache' into riscvFrans Kaashoek6-38/+68
2019-08-01fences for startingRobert Morris1-0/+2
2019-08-01First draft of text for mmap assignment.Frans Kaashoek1-1/+105
2019-07-30cut ramdiskRobert Morris1-3/+0
2019-07-30Import big file assignment.Frans Kaashoek1-0/+145