summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2019-07-30cut ramdiskRobert Morris
2019-07-30Import big file assignment.Frans Kaashoek
2019-07-30xFrans Kaashoek
2019-07-30Track in buf if disk "owns" bufferFrans Kaashoek
2019-07-30An easier version of bcache assignmentFrans Kaashoek
2019-07-30Make pin/unpin explicitFrans Kaashoek
2019-07-30The driver should free descriptors, not interrupt handler. ThisFrans Kaashoek
avoids handler freeing descriptors before driver sees that the request has completed.
2019-07-29Remove B_DIRTYFrans Kaashoek
Use refcnt to pin blocks into the cache Replace flags/B_VALID with a boolean field valid Use info[id].status to signal completion of disk interrupt Pass a read/write flag to virtio_disk_rw