summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2019-07-30xFrans Kaashoek1-2/+16
2019-07-30Track in buf if disk "owns" bufferFrans Kaashoek2-3/+5
2019-07-30An easier version of bcache assignmentFrans Kaashoek1-7/+11
2019-07-30Make pin/unpin explicitFrans Kaashoek3-2/+20
2019-07-30The driver should free descriptors, not interrupt handler. ThisFrans Kaashoek1-3/+3
avoids handler freeing descriptors before driver sees that the request has completed.
2019-07-29Remove B_DIRTYFrans Kaashoek5-27/+19
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
2019-07-29checkpointFrans Kaashoek1-5/+40
2019-07-29Merge branch 'riscv' of g.csail.mit.edu:xv6-dev into riscvFrans Kaashoek2-12/+27
2019-07-28separate out timer init code for clarityRobert Morris1-10/+24
2019-07-28xxxRobert Morris1-2/+3
2019-07-28Merge branch 'riscv' of g.csail.mit.edu:xv6-dev into riscvFrans Kaashoek3-26/+11
2019-07-28Merge branch 'riscv' of g.csail.mit.edu:xv6-dev into riscvRobert Morris2-1/+91
2019-07-28argptr no longer needed, since copyin checksRobert Morris3-26/+11