b67ed0902dUpdate memide to reflect recent changes to fs and buf
Frans Kaashoek
2015-06-27 13:38:03 -04:00
8320d61be5Pick up where i left off in april: - 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.
Frans Kaashoek
2015-06-27 12:39:13 -04:00
de4af193c8One ide command for nsector_per_block generates nsector_per_block interrupts, 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.
Frans Kaashoek
2015-04-10 20:39:40 -04:00
895af77fe6check blockno passed to idestart
Frans Kaashoek
2015-04-10 07:15:06 -04:00
c24ac5d763Disentangle block size from the disk's sector size. Set block size to 1024 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.
Frans Kaashoek
2015-04-03 08:22:02 -04:00
7443b9649aFix missing NUL-terminator in grep
Austin Clements
2015-03-24 20:54:39 -04:00
3d2dedd427fix buf where concurrent fs syscalls race on log entries
Cody Cutler
2015-02-19 11:51:47 -05:00
41f16c2183Increase VM memory when running qemu-memfs
Austin Clements
2014-10-03 09:44:26 -04:00
8e54196355Make kernelmemfs depend on kernel.ld
Austin Clements
2014-10-03 09:43:44 -04:00
86188d9d49newer versions of qemu have different binary names (per Joel Nider <joel@nider.org>)
Frans Kaashoek
2014-07-31 11:08:28 -04:00
ff2783442eCorrect a security bug in copyuvm()
Stephen Tu
2013-03-04 16:16:54 -05:00
241c068066Prevent extra rebuild of fs.img by keeping intermediate object files.
Cam Tenny
2012-10-24 18:52:40 -04:00
c440b5cd97Use static assert instead of _LP64 (thanks Eddie!)
Frans Kaashoek
2012-09-10 21:58:18 -04:00
cf57e525c1Remove -m32 flag from native gcc compiler But check that mkfs.c is building with LP64
Frans Kaashoek
2012-09-07 17:39:04 -04:00
2ae8392a5cmake the book happy
Robert Morris
2012-08-28 14:41:08 -04:00
792d83cad1nits
Robert Morris
2012-08-28 14:11:23 -04:00
c1ee7eb4d3Merge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6
Robert Morris
2012-08-28 12:57:13 -04:00
8960f60b30junk
Robert Morris
2012-08-28 12:57:05 -04:00
951b77f7ecVarious fixes and improvements to printpcs
Austin Clements
2012-08-24 14:51:52 -04:00
020acb4f10For the convenience of students
Frans Kaashoek
2012-08-23 09:35:00 -04:00
6650cc934aUse addr2line (or i386-jos-elf-addr2line, if you cross compile)
Frans Kaashoek
2012-08-22 21:25:19 -04:00
3fb7eceea7Runoff still complaints these lines are too long, but it is now ok on printout
Frans Kaashoek
2012-08-22 21:24:13 -04:00
f3f4b0fd88chmod +x
Frans Kaashoek
2012-08-22 20:54:47 -04:00
c2d393df13Decode getcallerpcs() (thanks to Peter Froehlich)
Frans Kaashoek
2012-08-22 20:51:29 -04:00
95692c4a8cRemove left-over from some logging plan making complete syscalls atomic 0 is not a system call (thanks to Peter Froehlich)
Frans Kaashoek
2012-08-22 20:28:58 -04:00
432acbaf9eMerge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6
Frans Kaashoek
2012-08-22 20:20:17 -04:00
4ce832ddd2Remove unused argument to setupkvm (thanks to Peter Froehlich)
Frans Kaashoek
2012-08-22 20:19:37 -04:00
70c555574aRemove unused argument from lapicinit (thanks to Peter Froehlich)
Frans Kaashoek
2012-08-22 20:13:43 -04:00
b08d16f61dFix from Peter Froehlich
Frans Kaashoek
2012-08-22 20:07:04 -04:00
9d59eb0151Make fetchint and fetchstr use proc instead of taking a struct proc
Austin Clements
2012-02-17 23:20:13 -05:00
12abb1a561don't let dirty blocks be evicted from cache!
Robert Morris
2011-10-14 10:23:23 -04:00
38eee5bca7more FS comment clarification
Robert Morris
2011-10-11 10:11:53 -04:00
a5fbfe418aclarify some FS comments
Robert Morris
2011-10-11 06:41:37 -04:00
03f48901f0Note about the meaning of sheet1 in runoff.spec
Austin Clements
2011-09-05 15:30:14 -04:00
861cc158besources -> sources and text
Frans Kaashoek
2011-09-05 20:56:48 -04:00
5f46b272feShorten history of xv6 Cut section about commentary Add (failing) link to xv6 source section pointing to the text. Delete the incorrect/incomplete list of universities using jos/xv6
Frans Kaashoek
2011-09-05 20:54:25 -04:00