Split env_run into proc_startcore, early work
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 30 Jul 2009 19:51:04 +0000 (12:51 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 30 Jul 2009 19:51:04 +0000 (12:51 -0700)
commitd0dd276b4bf5fc89d735986f94db646f342ec8a2
treed4dcdb06339272b18e923a43234c746832dadd07
parent6f3af0600ab3f56b29a20a479f7644e7ee95174d
Split env_run into proc_startcore, early work

Lots of TODOs and gotchas in here, esp related to kernel stacks,
bundling process context, and process state.  I'm fairly confident the
lcr3 and refcnting is okay.  It probably isn't.  (TODO).
include/env.h
include/process.h
kern/src/env.c
kern/src/pmap.c
kern/src/process.c
kern/src/syscall.c
kern/src/trap.c