Implement a proper block layer with partition support.
authorBen Pfaff <blp@cs.stanford.edu>
Wed, 12 Nov 2008 06:19:01 +0000 (22:19 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Wed, 12 Nov 2008 06:19:01 +0000 (22:19 -0800)
commita03618133f7df0954802a470a4bee7674f7aed45
tree9622fad73deaa59b839945457d0c13677fd6c579
parentbb940d21474958a1d8ee2abffdcb6bac27918398
Implement a proper block layer with partition support.

This is in preparation for introducing new block devices, in
particular USB storage-based block devices so that Pintos can boot
from USB memory sticks on notebook and desktop PCs.

This block layer was inspired by one from Anthony Romano
<chz@vt.edu> but it has been extensively (perhaps entirely) rewritten.
Thus, bugs must certainly be blamed on the committer.
48 files changed:
doc/bibliography.texi
doc/filesys.texi
doc/installation.texi
doc/intro.texi
doc/reference.texi
doc/threads.texi
doc/userprog.texi
doc/vm.texi
src/Makefile.build
src/devices/block.c [new file with mode: 0644]
src/devices/block.h [new file with mode: 0644]
src/devices/disk.c [deleted file]
src/devices/disk.h [deleted file]
src/devices/ide.c [new file with mode: 0644]
src/devices/ide.h [new file with mode: 0644]
src/devices/partition.c [new file with mode: 0644]
src/devices/partition.h [new file with mode: 0644]
src/devices/shutdown.c
src/filesys/Make.vars
src/filesys/directory.c
src/filesys/directory.h
src/filesys/filesys.c
src/filesys/filesys.h
src/filesys/free-map.c
src/filesys/free-map.h
src/filesys/fsutil.c
src/filesys/inode.c
src/filesys/inode.h
src/lib/kernel/list.h
src/lib/stdio.c
src/lib/stdio.h
src/tests/Make.tests
src/tests/filesys/extended/Make.tests
src/tests/userprog/Make.tests
src/threads/Make.vars
src/threads/init.c
src/threads/init.h
src/threads/kernel.lds.S
src/threads/loader.S
src/threads/loader.h
src/threads/palloc.c
src/threads/start.S
src/userprog/Make.vars
src/utils/Pintos.pm [new file with mode: 0644]
src/utils/pintos
src/utils/pintos-mkdisk
src/utils/pintos-set-cmdline [new file with mode: 0644]
src/vm/Make.vars