Cleaned up the return values for all system calls.
authorKevin Klues <klueska@cs.berkeley.edu>
Sat, 30 May 2009 09:55:06 +0000 (02:55 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Fri, 5 Jun 2009 01:16:42 +0000 (18:16 -0700)
commit4959dc29c4f70e8f847a99e559fded5e079fcc47
treea1d2fa3dde074dfc2001e0a6c19abef5bab56ae8
parent2a903053ecf33664ab88d06a5fed9eff8846a51c
Cleaned up the return values for all system calls.

Defined a type intreg_t and uintreg_t to denote values stored into variables in a platform
independent manner.  This type is now returned by the top level syscall handler, with the
semantics of its meaning needing to be interpreted by the caller upon its return.  Also cleaned
up a bit of newlib backends handling of the standard stream file descriptors.
15 files changed:
include/arch/types.h
include/ros/syscall.h
kern/src/Makefrag
kern/src/manager.c
kern/src/syscall.c
user/apps/parlib/matrix.c [new file with mode: 0644]
user/apps/parlib/my_ls.c [new file with mode: 0755]
user/apps/parlib/open_read.c
user/parlib/inc/parlib.h
user/parlib/src/debug.c
user/parlib/src/newlib_backend.c
user/parlib/src/syscall.c
user/roslib/inc/lib.h
user/roslib/inc/stdio.h
user/roslib/src/syscall.c