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.
This commit is contained in:
Jeff Johnston
2007-05-23 21:39:54 +00:00
parent 9a3ec8622b
commit a0050b64fc
15 changed files with 45 additions and 79 deletions

View File

@ -165,13 +165,6 @@ typedef struct
unsigned int pad1[ 3 ];
} syscall_stat_t;
typedef struct
{
unsigned int rc;
unsigned int pad0[ 2 ];
unsigned int err;
} syscall_out_t;
typedef struct {
unsigned int dev;
unsigned int ino;