summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-11-14Update URL for 2014kehao951-1/+1
2015-08-12Fixed broken build on Arch LinuxAyan Shafqat1-0/+2
2015-06-30coding style (per Jeremías Feltan <[email protected]>)Frans Kaashoek2-7/+7
2015-06-27Update memide to reflect recent changes to fs and bufFrans Kaashoek1-2/+3
2015-06-27Pick up where i left off in april:Frans Kaashoek7-45/+47
- move log into metadata part of disk, so that marking that the log's blocks are in use falls out for free - superblock describes the whole disk (sizes and offets) - sizes and offsets are computed in one place (mkfs) and the rest of the code refers to the superblock for these values, instead of recomputing them.
2015-04-10One ide command for nsector_per_block generates nsector_per_block interrupts,Frans Kaashoek1-1/+1
instead of 1. ideintr() should wait for nsector_per_block interrupts before waking up the reader; now it wakes up the reader after 1 interrupt, which apparently means that the first sector is available of the command instead of all. For now keep BSIZE to 512.
2015-04-10check blockno passed to idestartFrans Kaashoek3-9/+9
2015-04-03Disentangle block size from the disk's sector size. Set block size to 1024 ↵Frans Kaashoek11-86/+91
to show that they can be different. Clean up mkfs, simplifying specifying fs parameters, remove some redundancy between fs and mkfs, and fix disk layout bugs. Call blocks in the file system blocks instead of sectors. Passes usertests for different block sizes.
2015-03-24Fix missing NUL-terminator in grepAustin Clements1-1/+2
Currently, grep read()s into a buffer and then uses the buffer as a string. Since there's no NUL-terminator, this can cause it to falsely identify line breaks and matches from leftover data on earlier lines and, if a line fills up the entire buffer, to read past the end of the buffer. Fix this by NUL-terminating any data returned by read(). Thanks to Keiichi Watanabe for the report.
2015-02-19fix buf where concurrent fs syscalls race on log entriesCody Cutler1-0/+2
2014-10-03Increase VM memory when running qemu-memfsAustin Clements1-1/+1
Presumably because of the pre-loaded file system, the default RAM is insufficient when running kernelmemfs
2014-10-03Make kernelmemfs depend on kernel.ldAustin Clements1-1/+1
2014-10-03Fix kernelmemfs linkingAustin Clements1-1/+1
Commit 9aa0337d introduced a linker script for linking the kernel image, but only changed the kernel target to use it. kernelmemfs was still using the old linker command line arguments, which weren't sufficient.
2014-09-23ggdb -> gdwarf-2 for gcc4.8Frans Kaashoek1-1/+1
2014-09-12whoops. forgot date.hCody Cutler1-0/+8
2014-09-12cmosgetdate() for system-call homeworkCody Cutler4-3/+72
the day of reckoning has come for the debug port "Shutdown" hack. instead of mucking with ACPI or using a new hack, the student will now write sys_date() using the cmosgetdate() helper.
2014-09-08Oops (thanks David Lawrence)Frans Kaashoek1-1/+1
2014-08-29no need to generate postscript versionFrans Kaashoek1-2/+2
2014-08-29Nice layout for a printout of the codeFrans Kaashoek7-5/+20
2014-08-29Ack all bug reports and patches. Is this all of them?Frans Kaashoek1-2/+4
2014-08-28update for 2014Frans Kaashoek1-6/+3
2014-08-28xxRobert Morris2-2/+2
2014-08-28Merge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6Robert Morris10-163/+215
2014-08-28write log blocks from cache only at end of transactionRobert Morris1-7/+21
2014-08-28nitsRobert Morris1-24/+10
2014-08-28i think this is a working concurrent logging schemeRobert Morris5-95/+113
2014-08-27a start at concurrent FS system callsRobert Morris6-61/+95
2014-08-27commentsRobert Morris2-2/+2
2014-08-04every iput() and namei() must be inside a transactionRobert Morris6-17/+145
2014-08-04use acquire/release to force order for pid=np->pid;np->state=RUNNINGRobert Morris3-11/+19
for bug reported by [email protected] and [email protected]
2014-07-31newer versions of qemu have different binary names (per Joel Nider ↵Frans Kaashoek1-2/+4
<[email protected]>)
2013-03-04Correct a security bug in copyuvm()Stephen Tu2-2/+4
copyuvm() should not allow new copied pages to inherit more permissions than the original pages.
2012-10-24Prevent extra rebuild of fs.img by keeping intermediate object files.Cam Tenny1-0/+6
2012-09-10Use static assert instead of _LP64 (thanks Eddie!)Frans Kaashoek1-3/+4
2012-09-07Remove -m32 flag from native gcc compilerFrans Kaashoek2-1/+5
But check that mkfs.c is building with LP64
2012-08-28make the book happyRobert Morris1-2/+2
2012-08-28nitsRobert Morris2-12/+12
2012-08-28Merge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6Robert Morris9-16/+27
2012-08-28junkRobert Morris3-5/+5
2012-08-24Various fixes and improvements to printpcsAustin Clements1-8/+11
Search for an addr2line that supports elf32-i386. Don't print the path of addr2line as a side-effect of which. Don't uselessly pipe "grep '^ '" to addr2line's stdin. Enable as many pretty-printing and otherwise helpful options as possible (this makes the output *much* more pleasant on modern addr2lines).
2012-08-23For the convenience of studentsFrans Kaashoek1-0/+11
2012-08-22Use addr2line (or i386-jos-elf-addr2line, if you cross compile)Frans Kaashoek1-48/+0
2012-08-22Runoff still complaints these lines are too long, but it is now ok on printoutFrans Kaashoek1-4/+4
2012-08-22chmod +xFrans Kaashoek1-0/+0
2012-08-22Decode getcallerpcs() (thanks to Peter Froehlich)Frans Kaashoek1-0/+48
2012-08-22Remove left-over from some logging plan making complete syscalls atomicFrans Kaashoek2-4/+1
0 is not a system call (thanks to Peter Froehlich)
2012-08-22Merge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6Frans Kaashoek6-17/+28
2012-08-22Remove unused argument to setupkvm (thanks to Peter Froehlich)Frans Kaashoek4-4/+4
2012-08-22Remove unused argument from lapicinit (thanks to Peter Froehlich)Frans Kaashoek3-4/+4
2012-08-22Fix from Peter FroehlichFrans Kaashoek1-1/+1