qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [5484] linux-user: implement msg* syscalls


From: Aurelien Jarno
Subject: [Qemu-devel] [5484] linux-user: implement msg* syscalls
Date: Mon, 13 Oct 2008 21:08:55 +0000

Revision: 5484
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5484
Author:   aurel32
Date:     2008-10-13 21:08:55 +0000 (Mon, 13 Oct 2008)

Log Message:
-----------
linux-user: implement msg* syscalls

Signed-off-by: Kirill A. Shutemov <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>

Modified Paths:
--------------
    trunk/linux-user/syscall.c

Modified: trunk/linux-user/syscall.c
===================================================================
--- trunk/linux-user/syscall.c  2008-10-13 21:08:44 UTC (rev 5483)
+++ trunk/linux-user/syscall.c  2008-10-13 21:08:55 UTC (rev 5484)
@@ -4829,6 +4829,27 @@
        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;






reply via email to

[Prev in Thread] Current Thread [Next in Thread]