Proactively clears current_tf
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 5 Nov 2010 23:37:16 +0000 (16:37 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:56 +0000 (17:35 -0700)
commit8baf44e4c4526ce5992a71fbf48fa95f4e0cfa8b
treec59b380f3b9c3c4f472ee6d6c92a960f0ea7d743
parent8170dace141df54a22f7a536bbd87a95d1e941cc
Proactively clears current_tf

We don't want this accidentally left valid when we are done with it
(reasons will be clearer in later patches).

Also changes abandon_core() to just abandon, but not implicitly
smp_idle().
kern/src/kthread.c
kern/src/process.c
kern/src/resource.c
kern/src/smp.c