summaryrefslogtreecommitdiff
path: root/linux-user/syscall_defs.h
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@gmail.com>2009-06-23 19:19:33 +0200
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2009-06-23 19:28:27 +0200
commit21ebeb23b3a0065311433b4f3d07947429c7a6dc (patch)
treeb53074c3b01252b29cb33a98acd147ad78be2263 /linux-user/syscall_defs.h
parenta139aa17515032993bad21415dd55e3033f7c664 (diff)
downloadqemu-21ebeb23b3a0065311433b4f3d07947429c7a6dc.tar.gz
qemu-21ebeb23b3a0065311433b4f3d07947429c7a6dc.tar.bz2
qemu-21ebeb23b3a0065311433b4f3d07947429c7a6dc.zip
microblaze: Support the latest mmu-kernel stat64 ABI.
Microblaze recently changed their ABI. The new is not backwards compatible and there doesn't seem to be a way to distinguish old/new binaries. Let's support the latest ABI for now and hope someone figures out a way to hande both ABI's later. Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'linux-user/syscall_defs.h')
-rw-r--r--linux-user/syscall_defs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h
index acb781f4b6..ac5dbc5be7 100644
--- a/linux-user/syscall_defs.h
+++ b/linux-user/syscall_defs.h
@@ -1231,10 +1231,11 @@ struct __attribute__((__packed__)) target_stat64 {
uint32_t st_uid;
uint32_t st_gid;
uint64_t st_rdev;
- uint32_t __pad2;
+ uint64_t __pad1;
int64_t st_size;
- int32_t st_blksize;
+ int32_t st_blksize;
+ uint32_t __pad2;
int64_t st_blocks; /* Number 512-byte blocks allocated. */
int target_st_atime;