Support for proc_create and proc_run from KFS
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 17 Jul 2009 21:42:59 +0000 (14:42 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 17 Jul 2009 21:42:59 +0000 (14:42 -0700)
commit2f3affedb0280136403d040acd748a5ab68394de
treed805b15c99b2a3482bd2ea478e4fcff9c3c2d4ae
parent502c4ee6a8fade6a1e8627b9c8bc66c37f8c5bcd
Support for proc_create and proc_run from KFS

Userspace can create processes and run them (a two-phase deal) from
files stored as binary blobs at the end of the kernel (KFS).  Eventually
will have some sort of VFS support.  You can also list and run these
programs from the kernel monitor.  KFS entries need to be statically
specified in kern/src/Makefrag and kern/src/kfs.c.  Fixed various other
issues with environments (parent id, page table changes) and some other
things in the process.
16 files changed:
include/env.h
include/kfs.h [new file with mode: 0644]
include/monitor.h
include/ros/env.h
include/ros/error.h
kern/src/Makefrag
kern/src/env.c
kern/src/kfs.c [new file with mode: 0644]
kern/src/manager.c
kern/src/monitor.c
kern/src/pmap.c
kern/src/syscall.c
user/apps/roslib/hello.c
user/apps/roslib/spawn.c [new file with mode: 0644]
user/roslib/inc/syswrapper.h
user/roslib/src/syswrapper.c