Syscalls now can take six arguments (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 12 Nov 2010 05:56:43 +0000 (21:56 -0800)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:56 +0000 (17:35 -0700)
commitd1e6b3e0fb6d27646fba5be07e9520497f4051d6
tree90f0202079f7789506f00c65d083e20ad7258131
parentdd0b3abb22080d4f11a509c588140589da3365f1
Syscalls now can take six arguments (XCC)

Rebuild your cross compiler.

This also cleans up argument naming.  Specifically, we 0-index the
syscall arguments, like good little C programmers.

If someone feels productive, they can make variants (or macro magic) to
cut down on the number of arguments getting passed around for syscalls
that we know only need a few args (in userspace).
46 files changed:
kern/arch/i686/ros/syscall.h
kern/arch/sparc/ros/syscall.h
kern/include/ros/syscall.h
kern/include/syscall.h
kern/src/arsc.c
kern/src/syscall.c
tests/syscall_speed.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/_exit.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/access.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/chdir.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/chmod.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/close.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/execve.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/fcntl.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/fork.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/fxstat.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/getcwd.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/gettimeofday.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/i386/tls.h
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/kill.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/link.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/lseek.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/lxstat.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/mkdir.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/mmap.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/mprotect.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/munmap.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/open.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/read.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/readlink.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/rmdir.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/sched_yield.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/setgid.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/setuid.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/symlink.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/syscall.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/tcgetattr.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/tcsetattr.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/umask.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/unlink.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/waitpid.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/write.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/xstat.c
user/include/sparc/vcore.h
user/include/vcore.h
user/parlib/syscall.c