Implemented syscall dispatch table
authorAndrew Waterman <waterman@parcad.millennium.berkeley.edu>
Fri, 22 Jan 2010 00:30:28 +0000 (16:30 -0800)
committerAndrew Waterman <waterman@parcad.millennium.berkeley.edu>
Fri, 22 Jan 2010 00:30:28 +0000 (16:30 -0800)
commit929e5ed818c0107d72f3b4e34bf0b9fc28f04491
tree6ee04b09ff1d9b85a01315c4bf98f806cc69767a
parent9ba001a3e60d0d6350be13f313cff07654db389a
Implemented syscall dispatch table

...rather than the huge switch statement.  Also fixed a bug
in sys_brk (it's supposed to return the new break; an error
is indicated by retval != newbrk).
kern/include/syscall.h
kern/src/syscall.c
user/parlib/inc/parlib.h
user/parlib/src/newlib_backend.c
user/parlib/src/syscall.c