Make __proc_save_context_s assume the current_ctx
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 19 Nov 2015 22:13:08 +0000 (14:13 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 8 Dec 2015 20:59:08 +0000 (15:59 -0500)
commit14981cd282055c9ea8abe1ae2540706e7b01268c
treea6859b709b7b0314ebd926f37c174bab93b9663d
parent594c18eab08a7fc94e4e12ba371a1a0b5e965f18
Make __proc_save_context_s assume the current_ctx

All callers of this function pass in the current_ctx.  There's no
reasonable use case where we're trying to save any other context for an
SCP.  If there is a need for that in the future, the function
implementing that will need to deal with finalizing partial user
contexts.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/include/process.h
kern/src/mm.c
kern/src/process.c
kern/src/schedule.c