diff options
Diffstat (limited to 'libgloss/spu/jsre.h')
-rw-r--r-- | libgloss/spu/jsre.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/libgloss/spu/jsre.h b/libgloss/spu/jsre.h index 2bf0be0..4b95618 100644 --- a/libgloss/spu/jsre.h +++ b/libgloss/spu/jsre.h @@ -62,6 +62,10 @@ Author: Andreas Neukoetter (ti95neuk@de.ibm.com) #define JSRE_STAT 23 #define JSRE_UNLINK 24 #define JSRE_WRITE 27 +#define JSRE_FTRUNCATE 28 +#define JSRE_ACCESS 29 +#define JSRE_DUP 30 +#define JSRE_TIME 31 typedef struct { @@ -111,6 +115,34 @@ typedef struct typedef struct { + unsigned int file; + unsigned int pad0[ 3 ]; + unsigned int length; + unsigned int pad1[ 3 ]; +} syscall_ftruncate_t; + +typedef struct +{ + unsigned int pathname; + unsigned int pad0[ 3 ]; + unsigned int mode; + unsigned int pad1[ 3 ]; +} syscall_access_t; + +typedef struct +{ + unsigned int oldfd; + unsigned int pad0[ 3 ]; +} syscall_dup_t; + +typedef struct +{ + unsigned int time; + unsigned int pad0[ 3 ]; +} syscall_time_t; + +typedef struct +{ unsigned int pathname; unsigned int pad0[ 3 ]; } syscall_unlink_t; |