Make errno and return value work for async syscalls.
authorDavid Zhu <yuzhu@cs.berkeley.edu>
Wed, 11 Aug 2010 06:08:23 +0000 (23:08 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:51 +0000 (17:35 -0700)
commit811eaa25fc93de855fee660d02bf46e538b8eac7
tree27141253751cf692ab4be138a8e0594db50576f8
parentc504ad883d302a1f6a8879f545c85790fb12963e
Make errno and return value work for async syscalls.

Added a level of indirection so that sparc/i386/async call can
change where to put errno and return value at run time.
Widespread seterrno changes forthcoming after merge.
15 files changed:
kern/arch/i686/env.c
kern/arch/i686/trap.c
kern/arch/sparc/trap.c
kern/include/process.h
kern/include/ros/ring_syscall.h
kern/include/smp.h
kern/include/syscall.h
kern/src/arsc.c
kern/src/elf.c
kern/src/kfs.c
kern/src/mm.c
kern/src/resource.c
kern/src/syscall.c
kern/src/umem.c
kern/src/vfs.c