proc_restartcore() only used for current_tf, etc
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 19 Nov 2010 15:42:28 +0000 (07:42 -0800)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:56 +0000 (17:35 -0700)
commita6290182d64b8903e45a2e6fed256976581f6270
tree0a6d550e9f0e8373f2ef69030708f5e08112ca42
parent07c915a68068e6915e33fbd9a602e4d952c1d6d1
proc_restartcore() only used for current_tf, etc

It has been like this for a while, with the exception of proc_run()'s _S
case.  With the usage of cur_tf as a ptr, this works out well.  This is
also the place to intercept the "returning twice" problem.
kern/arch/i686/trap.c
kern/arch/sparc/trap.c
kern/include/process.h
kern/src/process.c
kern/src/smp.c