summaryrefslogtreecommitdiffstats
path: root/libgloss/spu/jsre.h
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2006-08-16 21:45:53 +0000
committerJeff Johnston <jjohnstn@redhat.com>2006-08-16 21:45:53 +0000
commit1641d724b8817ec2d68d06e6674cd56f3c01360b (patch)
treedc5e519f88c4addbee05abffe042ff6e63619bd9 /libgloss/spu/jsre.h
parent734e8414355b9e4c3c95ccfc9c72aa813d83d89a (diff)
downloadcygnal-1641d724b8817ec2d68d06e6674cd56f3c01360b.tar.gz
cygnal-1641d724b8817ec2d68d06e6674cd56f3c01360b.tar.bz2
cygnal-1641d724b8817ec2d68d06e6674cd56f3c01360b.zip
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.
Diffstat (limited to 'libgloss/spu/jsre.h')
-rw-r--r--libgloss/spu/jsre.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libgloss/spu/jsre.h b/libgloss/spu/jsre.h
index ab7ba17e2..5f575577b 100644
--- a/libgloss/spu/jsre.h
+++ b/libgloss/spu/jsre.h
@@ -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
{