summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-09-17Merge branch 'riscv' of g.csail.mit.edu:xv6-dev into riscvRobert Morris
2019-09-17all of PTE_FLAGSRobert Morris
2019-09-13add `-bios none' to silence qemuXi Wang
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 Morris
2019-09-11error exit status is 1Robert Morris
2019-09-10Support exit status for exit/waitFrans Kaashoek
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 Kaashoek
freerange()
2019-09-08thanks to Anthony CoulterRobert Morris
2019-09-05fix a grep bugRobert Morris
2019-09-04have echo use FD 1 for clarityRobert Morris
2019-09-03sfence.vma in trampoline as wellRobert Morris
2019-09-03fix sfence_vma commentRobert Morris
2019-09-03sfence_vma after satpRobert Morris
2019-08-27user printf(1 -> printf(Robert Morris
2019-08-26cow moved to xv6-riscv-fall19Frans Kaashoek
2019-08-26RISC-V port doesn't borrow this codeFrans Kaashoek
2019-08-23Add major/minor/mkdevFrans Kaashoek
Maybe apply this change to master
2019-08-20Move labs into 6.828 repo. The lab text isn't dependent on specificFrans Kaashoek
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 Kaashoek
2019-08-20Rationalize some constants in usertestsFrans Kaashoek
2019-08-20Also release buffer on failed copyoutFrans Kaashoek
2019-08-20Release buffer also when copyin failsFrans Kaashoek
2019-08-20512 -> BSIZEFrans Kaashoek
2019-08-19Merge remote-tracking branch 'origin/master' into riscvFrans Kaashoek
2019-08-19Avoid rereading the superblock in bfreeDan Cross
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 <cross@gajendra.net>
2019-08-19A few now unused DOCFrans Kaashoek
2019-08-19dan crossFrans Kaashoek
2019-08-19Merge remote-tracking branch 'origin/master' into riscvFrans Kaashoek
2019-08-19Removed unused `dirlookup` argument in `create`Dan Cross
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 <cross@gajendra.net>
2019-08-18Cosmetic cleanup: fsinit reads sb and calls loginit. initialize icacheFrans Kaashoek
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 Kaashoek
2019-08-17Update write up to reflect new test cases.Frans Kaashoek
2019-08-12Draft mount/umount lab as an alternative lab for fs.htmlFrans Kaashoek
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 Kaashoek
several disks (e.g., in a mount lab).
2019-08-05add alarmtest.c to the repositoryRobert Morris
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 Morris
2019-08-02two notesFrans Kaashoek
2019-08-02Add simple crash recovery assignment to fs labFrans Kaashoek
2019-08-02nitsRobert Morris
2019-08-02some XXX questionsRobert Morris
2019-08-02oops, back to alarm()Robert Morris
2019-08-02Merge branch 'riscv' of g.csail.mit.edu:xv6-dev into riscvRobert Morris
2019-08-02sigalarmRobert Morris
2019-08-02Combine the linux mmap hw with memory-mapped files in xv6 into a separate labFrans Kaashoek
2019-08-02syscall lab nitsRobert Morris
2019-08-02Add uthreadFrans Kaashoek
2019-08-01xFrans Kaashoek
2019-08-01Merge branch 'riscv-bcache' into riscvFrans Kaashoek
2019-08-01fences for startingRobert Morris
2019-08-01First draft of text for mmap assignment.Frans Kaashoek