Commit Graph

9 Commits

Author SHA1 Message Date
Jeff Johnston 7f48e8a8b3 2008-07-17 Ken Werner <ken.werner@de.ibm.com>
* spu/syscalls.c: Check and set the errno value.
2008-07-17 19:04:26 +00:00
Jeff Johnston a0050b64fc 2007-05-23 Patrick Mansfield <patmans@us.ibm.com>
* spu/syscalls.c: Change __send_to_ppe to return the result stored
        in stored in slot 0 of the data, rather than have each assisted
        call retrieve the value.
        * spu/jsre.h: Remove the now unused syscall_out_t.
        * spu/access.c: Use the __send_to_ppe result instead of the slot 0
        value, remove unused syscall_out_t variable.
        * spu/close.c: Ditto.
        * spu/dup.c: Ditto.
        * spu/fstat.c: Ditto.
        * spu/ftruncate.c: Ditto.
        * spu/gettimeofday.c: Ditto.
        * spu/lseek.c: Ditto.
        * spu/open.c: Ditto.
        * spu/read.c: Ditto.
        * spu/stat.c: Ditto.
        * spu/unlink.c: Ditto.
        * spu/write.c: Ditto.
2007-05-23 21:39:54 +00:00
Jeff Johnston c6e05f0d08 2007-04-04 Patrick Mansfield <patmans@us.ibm.com>
* spu/syscalls.c: Rename _send_to_ppe __send_to_ppe, and set errno
        on return from the offload call.
        * spu/jsre.h: Include sys/syscall.h for the send_to_ppe prototype.
        * spu/access.c: Call __send_to_ppe instead of _send_to_ppe, and
        remove the setting of errno.
        * spu/close.c: Ditto.
        * spu/dup.c: Ditto.
        * spu/fstat.c: Ditto.
        * spu/ftruncate.c: Ditto.
        * spu/gettimeofday.c: Ditto.
        * spu/lseek.c: Ditto.
        * spu/open.c: Ditto.
        * spu/read.c: Ditto.
        * spu/stat.c: Ditto.
        * spu/unlink.c: Ditto.
        * spu/write.c: Ditto.
2007-04-04 20:59:38 +00:00
Jeff Johnston bdc75f5bf1 2007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
* spu/syscalls.c: Replace vector with __vector.
2007-01-19 23:50:55 +00:00
Jeff Johnston 729c0e6506 2006-11-22 Luca Barbato <lu_zero@gentoo.org>
* spu/syscalls.c: Include spu_intrinsics.h to provide vector keyword.
2006-11-22 21:20:31 +00:00
Jeff Johnston 52d82ba527 2006-08-30 Kazunori Asayama <asayama@sm.sony.co.jp>
* spu/syscalls.c: Add a new argument to _send_to_ppe() to
        specify signal code.
        * spu/jsre.h: Update declaration of _send_to_ppe().
        * spu/close.c: Replace _send_to_ppe_0x2101() by _send_to_ppe().
        * spu/fstat.c: Ditto.
        * spu/lseek.c: Ditto.
        * spu/open.c: Ditto.
        * spu/read.c: Ditto.
        * spu/stat.c: Ditto.
        * spu/unlink.c: Ditto.
        * spu/write.c: Ditto.
2006-08-30 19:06:48 +00:00
Jeff Johnston 1fa66a83d1 2006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
* spu/Makefile.in: Add new object files.
        * spu/syscalls.c: Move each system call to individual file.
        * spu/jsre.h: Add declaration of _send_to_ppe_0x2101().
        * spu/close.c: New file. Moved from spu/syscalls.c.
        * spu/fstat.c: Likewise.
        * spu/getpid.c: Likewise.
        * spu/isatty.c: Likewise.
        * spu/kill.c: Likewise.
        * spu/lseek.c: Likewise.
        * spu/open.c: Likewise.
        * spu/read.c: Likewise.
        * spu/stat.c: Likewise.
        * spu/unlink.c: Likewise.
        * spu/write.c: Likewise.
2006-08-23 16:13:24 +00:00
Jeff Johnston 1641d724b8 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
* spu/jsre.h(JSRE_STAT): New define.
        (syscall_stat_t): New type.
        * spu/syscalls.c(stat): New syscall.
2006-08-16 21:45:53 +00:00
Jeff Johnston 0486bb7f0d 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
*  configure.in: Add spu support.
        *  configure: Regenerated.
        *  spu/Makefile.in: New file.
        *  spu/aclocal.m4: Ditto.
        *  spu/configure: Ditto.
        *  spu/configure.in: Ditto.
        *  spu/crt0.c: Ditto.
        *  spu/exit.c: Ditto.
        *  spu/init.c: Ditto.
        *  spu/jsre.h: Ditto.
        *  spu/sbrk.c: Ditto.
        *  spu/syscalls.c: Ditto.
2006-08-16 21:15:03 +00:00