/dev/stdout support via a devfs
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 24 Aug 2010 00:03:50 +0000 (17:03 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:52 +0000 (17:35 -0700)
commitef09faa645134730f3f47b72bb944ba108e398ea
tree695e15c20d2fcf6a7513cfd53fc0c0c38b5328fc
parent0d6ddfc456ad9779d661679b6e9e83e7327c20df
/dev/stdout support via a devfs

It's not a real FS - just KFS entries that have their f_op overriden.
It's a nice helper so processes can treat the stds as files.  /dev/stdin
is there, but doesn't do anything yet.
kern/include/devfs.h [new file with mode: 0644]
kern/include/kfs.h
kern/src/Makefrag
kern/src/devfs.c [new file with mode: 0644]
kern/src/init.c
kern/src/process.c
kern/src/syscall.c
kern/src/vfs.c
tests/file_test.c
tests/hello.c