aboutsummaryrefslogtreecommitdiff
path: root/linux-user/syscall_defs.h
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-02-09 16:49:55 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-02-09 16:49:55 +0000
commitce4defa062c5e6d940f73a1013f8770f23b0f4bf (patch)
tree685dfe397fa69b4ef03be4a197644a4b6daa86f7 /linux-user/syscall_defs.h
parentb88a38324b9cc469d6fffaecacbeb106a248a4cf (diff)
Arm Linux EABI syscall support.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1756 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/syscall_defs.h')
-rw-r--r--linux-user/syscall_defs.h44
1 files changed, 43 insertions, 1 deletions
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h
index 68f7e7f017..c722e3a427 100644
--- a/linux-user/syscall_defs.h
+++ b/linux-user/syscall_defs.h
@@ -924,6 +924,38 @@ struct target_stat64 {
unsigned long long st_ino;
} __attribute__((packed));
+#ifdef TARGET_ARM
+struct target_eabi_stat64 {
+ unsigned long long st_dev;
+ unsigned int __pad1;
+ unsigned long __st_ino;
+ unsigned int st_mode;
+ unsigned int st_nlink;
+
+ unsigned long st_uid;
+ unsigned long st_gid;
+
+ unsigned long long st_rdev;
+ unsigned int __pad2[2];
+
+ long long st_size;
+ unsigned long st_blksize;
+ unsigned int __pad3;
+ unsigned long long st_blocks;
+
+ unsigned long target_st_atime;
+ unsigned long target_st_atime_nsec;
+
+ unsigned long target_st_mtime;
+ unsigned long target_st_mtime_nsec;
+
+ unsigned long target_st_ctime;
+ unsigned long target_st_ctime_nsec;
+
+ unsigned long long st_ino;
+} __attribute__ ((packed));
+#endif
+
#elif defined(TARGET_SPARC)
struct target_stat {
@@ -1298,8 +1330,18 @@ struct target_flock64 {
unsigned long long l_start;
unsigned long long l_len;
int l_pid;
-};
+}__attribute__((packed));
+#ifdef TARGET_ARM
+struct target_eabi_flock64 {
+ short l_type;
+ short l_whence;
+ int __pad;
+ unsigned long long l_start;
+ unsigned long long l_len;
+ int l_pid;
+}__attribute__((packed));
+#endif
/* soundcard defines */
/* XXX: convert them all to arch indepedent entries */