Syscall return paths cleaned up
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 19 Nov 2010 18:16:54 +0000 (10:16 -0800)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:56 +0000 (17:35 -0700)
commit665e943ef2c1188e5718ad0a5be699c9b991a518
tree1b9c846d5162a9927b3b2ac00437509db48a68d4
parenta6290182d64b8903e45a2e6fed256976581f6270
Syscall return paths cleaned up

The first syscall will return naturally via proc_restartcore() (which
does nothing if the core was already restarted and there is no
current_tf).

This also disables batching for now (not that anyone uses it, or the
asynchrony for that matter).  In the future, we can use kmsgs
(carefully) for batched syscalls, being careful of the *tf passed around
in the kmsg functions...
kern/arch/i686/trap.c
kern/arch/sparc/trap.c
kern/include/smp.h
kern/include/syscall.h
kern/src/smp.c
kern/src/syscall.c