Commit Graph

4 Commits

Author SHA1 Message Date
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 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