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:
@@ -44,7 +44,7 @@ fstat (int file, struct stat *pstat)
|
||||
sys.file = file;
|
||||
sys.ptr = ( unsigned int )&pjstat;
|
||||
|
||||
_send_to_ppe_0x2101 (JSRE_FSTAT, &sys);
|
||||
_send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_FSTAT, &sys);
|
||||
|
||||
pstat->st_dev = pjstat.dev;
|
||||
pstat->st_ino = pjstat.ino;
|
||||
|
Reference in New Issue
Block a user