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.
This commit is contained in:
Jeff Johnston
2006-08-16 21:45:53 +00:00
parent 734e841435
commit 1641d724b8
3 changed files with 57 additions and 12 deletions

View File

@ -57,6 +57,7 @@ Author: Andreas Neukoetter (ti95neuk@de.ibm.com)
#define JSRE_LSEEK 9
#define JSRE_OPEN 15
#define JSRE_READ 16
#define JSRE_STAT 23
#define JSRE_UNLINK 24
#define JSRE_WRITE 27
@ -120,6 +121,13 @@ typedef struct
unsigned int pad1[ 3 ];
} syscall_fstat_t;
typedef struct
{
unsigned int pathname;
unsigned int pad0[ 3 ];
unsigned int ptr;
unsigned int pad1[ 3 ];
} syscall_stat_t;
typedef struct
{