diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2011-02-20 14:47:48 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2011-02-20 14:47:48 +0100 |
commit | 0899965f6841ff96fcfe1fd766e95216af96b33e (patch) | |
tree | 9ad1eb89378f50ff13bae169dfa6b1303d6b8813 /linux-user/syscall_defs.h | |
parent | 64d7e9a421fea0ac50b44541f5521de455e7cd5d (diff) | |
parent | 80f5ce758ac277e76c016dd7c0b246e40d4fca2d (diff) |
Merge branch 'linux-user-for-upstream' of git://gitorious.org/qemu-maemo/qemu
* 'linux-user-for-upstream' of git://gitorious.org/qemu-maemo/qemu:
linux-user: correct core dump format
linux-user: Define target alignment size
linux-user: Support the epoll syscalls
linux-user: in linux-user/strace.c, tswap() is useless
linux-user: add rmdir() strace
Diffstat (limited to 'linux-user/syscall_defs.h')
-rw-r--r-- | linux-user/syscall_defs.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h index 4742ac0272..702652cb9e 100644 --- a/linux-user/syscall_defs.h +++ b/linux-user/syscall_defs.h @@ -2206,3 +2206,16 @@ struct target_mq_attr { #define FUTEX_CLOCK_REALTIME 256 #define FUTEX_CMD_MASK ~(FUTEX_PRIVATE_FLAG | FUTEX_CLOCK_REALTIME) +#ifdef CONFIG_EPOLL +typedef union target_epoll_data { + abi_ulong ptr; + abi_ulong fd; + uint32_t u32; + uint64_t u64; +} target_epoll_data_t; + +struct target_epoll_event { + uint32_t events; + target_epoll_data_t data; +}; +#endif |