Fixes sparc syscall interface (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 14 Apr 2011 22:28:45 +0000 (15:28 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:36:01 +0000 (17:36 -0700)
commitcfc3b9d9ce1798e2251a6d550105c62eebe17d95
tree698d170dd46cb25529f775d90429ba769d42f040
parente8ba0e0dd202b179abcf127f8bc31467b96bb91c
Fixes sparc syscall interface (XCC)

Sparc wasn't passing the actual syscall*.  This also fixes up the ghetto
numbering (a0 in userspace being a1 in the kernel), as well as trimming
ros_arch_syscall down to the two needed parameters.

You ought to rebuild your sparc cross compiler.
kern/arch/sparc/ros/syscall.h
kern/arch/sparc/trap.c