diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-13 21:08:55 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-13 21:08:55 +0000 |
commit | eeb438c1b84468e8faa7e69bec86b78b45f2347f (patch) | |
tree | 1be1d952cb59b20b4db94289e24ed7eb4aa2dfa4 /linux-user/syscall.c | |
parent | 1c54ff97bbde07f4a05dfae719ff2d1d13911265 (diff) | |
download | qemu-eeb438c1b84468e8faa7e69bec86b78b45f2347f.zip qemu-eeb438c1b84468e8faa7e69bec86b78b45f2347f.tar.gz qemu-eeb438c1b84468e8faa7e69bec86b78b45f2347f.tar.bz2 |
linux-user: implement msg* syscalls
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5484 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/syscall.c')
-rw-r--r-- | linux-user/syscall.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 7e67093..cf0834f 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -4829,6 +4829,27 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1, ret = do_ipc(arg1, arg2, arg3, arg4, arg5, arg6); break; #endif + +#ifdef TARGET_NR_msgctl + case TARGET_NR_msgctl: + ret = do_msgctl(arg1, arg2, arg3); + break; +#endif +#ifdef TARGET_NR_msgget + case TARGET_NR_msgget: + ret = get_errno(msgget(arg1, arg2)); + break; +#endif +#ifdef TARGET_NR_msgrcv + case TARGET_NR_msgrcv: + ret = do_msgrcv(arg1, arg2, arg3, arg4, arg5); + break; +#endif +#ifdef TARGET_NR_msgsnd + case TARGET_NR_msgsnd: + ret = do_msgsnd(arg1, arg2, arg3, arg4); + break; +#endif case TARGET_NR_fsync: ret = get_errno(fsync(arg1)); break; |