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.
This commit is contained in:
Jeff Johnston
2006-08-30 19:06:48 +00:00
parent 6f91c38b89
commit 52d82ba527
11 changed files with 29 additions and 11 deletions

View File

@@ -52,6 +52,8 @@ Author: Andreas Neukoetter (ti95neuk@de.ibm.com)
#define JSRE_O_SYNC 4096
#define JSRE_O_ASYNC 8192
#define JSRE_POSIX1_SIGNALCODE 0x2101
#define JSRE_CLOSE 2
#define JSRE_FSTAT 4
#define JSRE_LSEEK 9
@@ -152,6 +154,6 @@ typedef struct {
unsigned int ctime;
} jsre_stat_t;
void _send_to_ppe_0x2101 (int opcode, void *data);
void _send_to_ppe (unsigned int signalcode, unsigned int opcode, void *data);
#endif