Pipes (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Mon, 19 Aug 2013 22:07:33 +0000 (15:07 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 19 Aug 2013 22:31:22 +0000 (15:31 -0700)
commit4201597b6bdd5650528dd48b73714b674f514710
tree4319c95b41e112f8d5cf7bad39ff1115a8da0628
parenteea69ddbf5f8b254968cc5393be813945ae8a66a
Pipes (XCC)

Basic pipe functionality, using the old VFS.  Should be able to handle
multiple readers and writers, though I haven't tested that yet.

These pipes aren't rooted in the VFS yet, though we could extend them to
handle named pipes reasonably easily.

Rebuild your toolchain and any program that would use pipe (busybox).
kern/include/ros/bits/syscall.h
kern/include/vfs.h
kern/src/syscall.c
kern/src/vfs.c
tools/compilers/gcc-glibc/glibc-2.14.1-ros/sysdeps/ros/pipe.c [new file with mode: 0644]
tools/compilers/gcc-glibc/glibc-2.14.1-ros/sysdeps/ros/pipe2.c [new file with mode: 0644]