sys_change_vcore() (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 12 Oct 2011 00:06:56 +0000 (17:06 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:36:08 +0000 (17:36 -0700)
commit488edf7a64e504990ee8d6a4c40dc10bdf18db70
treecdf122723263d82e5423f7269fb16210de6ce49e
parente7e72bd2e5c8d1cf7d8fbe64436fff959fbd4e29
sys_change_vcore() (XCC)

Syscall, allowing a process's vcore to change into another unmapped
vcore.  Be sure to only call this on vcores that have a stack set up for
them, and not some random vcore.

__startcore() and proc_change_to_vcore() both have some common
functionality.  __startcore() wasn't changed: its lower half just became
the helper.

Reinstall your kernel headers (bits/syscall.h).
kern/include/process.h
kern/include/ros/bits/syscall.h
kern/src/process.c
kern/src/syscall.c
tests/mhello.c
user/parlib/include/parlib.h
user/parlib/syscall.c