Source-Changes-HG archive

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

[src/trunk]: src/sys/rump omstart



details:   https://anonhg.NetBSD.org/src/rev/be36eea5c7d3
branches:  trunk
changeset: 762527:be36eea5c7d3
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue Feb 22 14:09:35 2011 +0000

description:
omstart

diffstat:

 sys/rump/include/rump/rump_syscalls.h     |    2 +-
 sys/rump/librump/rumpkern/rump_syscalls.c |  326 +++++++++++++++---------------
 2 files changed, 164 insertions(+), 164 deletions(-)

diffs (truncated from 1476 to 300 lines):

diff -r f0efb1362a83 -r be36eea5c7d3 sys/rump/include/rump/rump_syscalls.h
--- a/sys/rump/include/rump/rump_syscalls.h     Tue Feb 22 14:08:58 2011 +0000
+++ b/sys/rump/include/rump/rump_syscalls.h     Tue Feb 22 14:09:35 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_syscalls.h,v 1.46 2011/02/22 14:06:30 pooka Exp $ */
+/* $NetBSD: rump_syscalls.h,v 1.47 2011/02/22 14:09:35 pooka Exp $ */
 
 /*
  * System call protos in rump namespace.
diff -r f0efb1362a83 -r be36eea5c7d3 sys/rump/librump/rumpkern/rump_syscalls.c
--- a/sys/rump/librump/rumpkern/rump_syscalls.c Tue Feb 22 14:08:58 2011 +0000
+++ b/sys/rump/librump/rumpkern/rump_syscalls.c Tue Feb 22 14:09:35 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_syscalls.c,v 1.68 2011/02/22 14:06:29 pooka Exp $ */
+/* $NetBSD: rump_syscalls.c,v 1.69 2011/02/22 14:09:35 pooka Exp $ */
 
 /*
  * System call vector and marshalling for rump.
@@ -8,7 +8,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump_syscalls.c,v 1.68 2011/02/22 14:06:29 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_syscalls.c,v 1.69 2011/02/22 14:09:35 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/fstypes.h>
@@ -84,7 +84,7 @@
                if (sizeof(ssize_t) > sizeof(register_t))
                        rv = *(ssize_t *)retval;
                else
-                       rv = (ssize_t)*retval;
+                       rv = *retval;
        }
        return rv;
 }
@@ -109,7 +109,7 @@
                if (sizeof(ssize_t) > sizeof(register_t))
                        rv = *(ssize_t *)retval;
                else
-                       rv = (ssize_t)*retval;
+                       rv = *retval;
        }
        return rv;
 }
@@ -134,7 +134,7 @@
                if (sizeof(int) > sizeof(register_t))
                        rv = *(int *)retval;
                else
-                       rv = (int)*retval;
+                       rv = *retval;
        }
        return rv;
 }
@@ -157,7 +157,7 @@
                if (sizeof(int) > sizeof(register_t))
                        rv = *(int *)retval;
                else
-                       rv = (int)*retval;
+                       rv = *retval;
        }
        return rv;
 }
@@ -181,7 +181,7 @@
                if (sizeof(int) > sizeof(register_t))
                        rv = *(int *)retval;
                else
-                       rv = (int)*retval;
+                       rv = *retval;
        }
        return rv;
 }
@@ -204,7 +204,7 @@
                if (sizeof(int) > sizeof(register_t))
                        rv = *(int *)retval;
                else
-                       rv = (int)*retval;
+                       rv = *retval;
        }
        return rv;
 }
@@ -227,7 +227,7 @@
                if (sizeof(int) > sizeof(register_t))
                        rv = *(int *)retval;
                else
-                       rv = (int)*retval;
+                       rv = *retval;
        }
        return rv;
 }
@@ -250,7 +250,7 @@
                if (sizeof(int) > sizeof(register_t))
                        rv = *(int *)retval;
                else
-                       rv = (int)*retval;
+                       rv = *retval;
        }
        return rv;
 }
@@ -275,7 +275,7 @@
                if (sizeof(int) > sizeof(register_t))
                        rv = *(int *)retval;
                else
-                       rv = (int)*retval;
+                       rv = *retval;
        }
        return rv;
 }
@@ -299,7 +299,7 @@
                if (sizeof(int) > sizeof(register_t))
                        rv = *(int *)retval;
                else
-                       rv = (int)*retval;
+                       rv = *retval;
        }
        return rv;
 }
@@ -324,7 +324,7 @@
                if (sizeof(int) > sizeof(register_t))
                        rv = *(int *)retval;
                else
-                       rv = (int)*retval;
+                       rv = *retval;
        }
        return rv;
 }
@@ -341,7 +341,7 @@
        if (sizeof(pid_t) > sizeof(register_t))
                rv = *(pid_t *)retval;
        else
-               rv = (pid_t)*retval;
+               rv = *retval;
        return rv;
 }
 rsys_alias(sys_getpid_with_ppid,rump_enosys)
@@ -364,7 +364,7 @@
                if (sizeof(int) > sizeof(register_t))
                        rv = *(int *)retval;
                else
-                       rv = (int)*retval;
+                       rv = *retval;
        }
        return rv;
 }
@@ -387,7 +387,7 @@
                if (sizeof(int) > sizeof(register_t))
                        rv = *(int *)retval;
                else
-                       rv = (int)*retval;
+                       rv = *retval;
        }
        return rv;
 }
@@ -404,7 +404,7 @@
        if (sizeof(uid_t) > sizeof(register_t))
                rv = *(uid_t *)retval;
        else
-               rv = (uid_t)*retval;
+               rv = *retval;
        return rv;
 }
 rsys_alias(sys_getuid_with_euid,rump_enosys)
@@ -420,7 +420,7 @@
        if (sizeof(uid_t) > sizeof(register_t))
                rv = *(uid_t *)retval;
        else
-               rv = (uid_t)*retval;
+               rv = *retval;
        return rv;
 }
 rsys_alias(sys_geteuid,rump_enosys)
@@ -444,7 +444,7 @@
                if (sizeof(ssize_t) > sizeof(register_t))
                        rv = *(ssize_t *)retval;
                else
-                       rv = (ssize_t)*retval;
+                       rv = *retval;
        }
        return rv;
 }
@@ -469,7 +469,7 @@
                if (sizeof(ssize_t) > sizeof(register_t))
                        rv = *(ssize_t *)retval;
                else
-                       rv = (ssize_t)*retval;
+                       rv = *retval;
        }
        return rv;
 }
@@ -497,7 +497,7 @@
                if (sizeof(ssize_t) > sizeof(register_t))
                        rv = *(ssize_t *)retval;
                else
-                       rv = (ssize_t)*retval;
+                       rv = *retval;
        }
        return rv;
 }
@@ -522,7 +522,7 @@
                if (sizeof(int) > sizeof(register_t))
                        rv = *(int *)retval;
                else
-                       rv = (int)*retval;
+                       rv = *retval;
        }
        return rv;
 }
@@ -547,7 +547,7 @@
                if (sizeof(int) > sizeof(register_t))
                        rv = *(int *)retval;
                else
-                       rv = (int)*retval;
+                       rv = *retval;
        }
        return rv;
 }
@@ -572,7 +572,7 @@
                if (sizeof(int) > sizeof(register_t))
                        rv = *(int *)retval;
                else
-                       rv = (int)*retval;
+                       rv = *retval;
        }
        return rv;
 }
@@ -596,7 +596,7 @@
                if (sizeof(int) > sizeof(register_t))
                        rv = *(int *)retval;
                else
-                       rv = (int)*retval;
+                       rv = *retval;
        }
        return rv;
 }
@@ -620,7 +620,7 @@
                if (sizeof(int) > sizeof(register_t))
                        rv = *(int *)retval;
                else
-                       rv = (int)*retval;
+                       rv = *retval;
        }
        return rv;
 }
@@ -644,7 +644,7 @@
                if (sizeof(int) > sizeof(register_t))
                        rv = *(int *)retval;
                else
-                       rv = (int)*retval;
+                       rv = *retval;
        }
        return rv;
 }
@@ -671,7 +671,7 @@
        if (sizeof(pid_t) > sizeof(register_t))
                rv = *(pid_t *)retval;
        else
-               rv = (pid_t)*retval;
+               rv = *retval;
        return rv;
 }
 rsys_alias(sys_getppid,rump_enosys)
@@ -693,7 +693,7 @@
                if (sizeof(int) > sizeof(register_t))
                        rv = *(int *)retval;
                else
-                       rv = (int)*retval;
+                       rv = *retval;
        }
        return rv;
 }
@@ -710,7 +710,7 @@
        if (sizeof(gid_t) > sizeof(register_t))
                rv = *(gid_t *)retval;
        else
-               rv = (gid_t)*retval;
+               rv = *retval;
        return rv;
 }
 rsys_alias(sys_getegid,rump_enosys)
@@ -726,7 +726,7 @@
        if (sizeof(gid_t) > sizeof(register_t))
                rv = *(gid_t *)retval;
        else
-               rv = (gid_t)*retval;
+               rv = *retval;
        return rv;
 }
 rsys_alias(sys_getgid_with_egid,rump_enosys)
@@ -749,7 +749,7 @@
                if (sizeof(int) > sizeof(register_t))
                        rv = *(int *)retval;
                else
-                       rv = (int)*retval;
+                       rv = *retval;
        }
        return rv;
 }
@@ -772,7 +772,7 @@
                if (sizeof(int) > sizeof(register_t))
                        rv = *(int *)retval;



Home | Main Index | Thread Index | Old Index