Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Add rump kernel syscall wrapper flag for a bunch of...



details:   https://anonhg.NetBSD.org/src/rev/1f9c5505056c
branches:  trunk
changeset: 327681:1f9c5505056c
user:      pooka <pooka%NetBSD.org@localhost>
date:      Fri Mar 14 00:52:08 2014 +0000

description:
Add rump kernel syscall wrapper flag for a bunch of time-related
syscalls (nanosleep, clock_gettime, etc.).  These are mostly intended
for situations where a rump kernel runs on an OS-less host.

diffstat:

 sys/kern/syscalls.master |  32 ++++++++++++++++----------------
 1 files changed, 16 insertions(+), 16 deletions(-)

diffs (92 lines):

diff -r ca6e011cd26f -r 1f9c5505056c sys/kern/syscalls.master
--- a/sys/kern/syscalls.master  Fri Mar 14 00:06:52 2014 +0000
+++ b/sys/kern/syscalls.master  Fri Mar 14 00:52:08 2014 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: syscalls.master,v 1.266 2013/12/11 09:40:56 pooka Exp $
+       $NetBSD: syscalls.master,v 1.267 2014/03/14 00:52:08 pooka Exp $
 
 ;      @(#)syscalls.master     8.2 (Berkeley) 1/13/94
 
@@ -462,15 +462,15 @@
                            const struct timespec50 *tp); }
 234    COMPAT_50 MODULAR { int|sys||clock_getres(clockid_t clock_id, \
                            struct timespec50 *tp); }
-235    STD             { int|sys||timer_create(clockid_t clock_id, \
+235    STD  RUMP       { int|sys||timer_create(clockid_t clock_id, \
                            struct sigevent *evp, timer_t *timerid); }
-236    STD             { int|sys||timer_delete(timer_t timerid); }
+236    STD  RUMP       { int|sys||timer_delete(timer_t timerid); }
 237    COMPAT_50 MODULAR { int|sys||timer_settime(timer_t timerid, int flags, \
                            const struct itimerspec50 *value, \
                            struct itimerspec50 *ovalue); }
 238    COMPAT_50 MODULAR { int|sys||timer_gettime(timer_t timerid, struct \
                            itimerspec50 *value); }
-239    STD             { int|sys||timer_getoverrun(timer_t timerid); }
+239    STD  RUMP       { int|sys||timer_getoverrun(timer_t timerid); }
 ;
 ; Syscalls 240-269 are reserved for other IEEE Std1003.1b syscalls
 ;
@@ -797,13 +797,13 @@
                            off_t offset, off_t len, int advice); }
 417    STD  RUMP       { int|sys|50|select(int nd, fd_set *in, fd_set *ou, \
                            fd_set *ex, struct timeval *tv); }
-418    STD             { int|sys|50|gettimeofday(struct timeval *tp, \
+418    STD  RUMP       { int|sys|50|gettimeofday(struct timeval *tp, \
                            void *tzp); }
-419    STD             { int|sys|50|settimeofday(const struct timeval *tv, \
+419    STD  RUMP       { int|sys|50|settimeofday(const struct timeval *tv, \
                            const void *tzp); }
 420    STD  RUMP       { int|sys|50|utimes(const char *path, \
                            const struct timeval *tptr); }
-421    STD             { int|sys|50|adjtime(const struct timeval *delta, \
+421    STD  RUMP       { int|sys|50|adjtime(const struct timeval *delta, \
                            struct timeval *olddelta); }
 422    STD  MODULAR    { int|sys|50|lfs_segwait(fsid_t *fsidp, \
                            struct timeval *tv); }
@@ -811,18 +811,18 @@
                            const struct timeval *tptr); }
 424    STD  RUMP       { int|sys|50|lutimes(const char *path, \
                            const struct timeval *tptr); }
-425    STD             { int|sys|50|setitimer(int which, \
+425    STD  RUMP       { int|sys|50|setitimer(int which, \
                            const struct itimerval *itv, \
                            struct itimerval *oitv); }
-426    STD             { int|sys|50|getitimer(int which, \
+426    STD  RUMP       { int|sys|50|getitimer(int which, \
                            struct itimerval *itv); }
-427    STD             { int|sys|50|clock_gettime(clockid_t clock_id, \
+427    STD  RUMP       { int|sys|50|clock_gettime(clockid_t clock_id, \
                            struct timespec *tp); }
-428    STD             { int|sys|50|clock_settime(clockid_t clock_id, \
+428    STD  RUMP       { int|sys|50|clock_settime(clockid_t clock_id, \
                            const struct timespec *tp); }
-429    STD             { int|sys|50|clock_getres(clockid_t clock_id, \
+429    STD  RUMP       { int|sys|50|clock_getres(clockid_t clock_id, \
                            struct timespec *tp); }
-430    STD             { int|sys|50|nanosleep(const struct timespec *rqtp, \
+430    STD  RUMP       { int|sys|50|nanosleep(const struct timespec *rqtp, \
                            struct timespec *rmtp); }
 431    STD             { int|sys|50|__sigtimedwait(const sigset_t *set, \
                            siginfo_t *info, \
@@ -871,10 +871,10 @@
 444    EXCL            ____msgctl50
 #endif
 445    STD             { int|sys|50|getrusage(int who, struct rusage *rusage); }
-446    STD             { int|sys|50|timer_settime(timer_t timerid, \
+446    STD  RUMP       { int|sys|50|timer_settime(timer_t timerid, \
                            int flags, const struct itimerspec *value, \
                            struct itimerspec *ovalue); }
-447    STD             { int|sys|50|timer_gettime(timer_t timerid, struct \
+447    STD  RUMP       { int|sys|50|timer_gettime(timer_t timerid, struct \
                            itimerspec *value); }
 #if defined(NTP) || !defined(_KERNEL_OPT)
 448    STD             { int|sys|50|ntp_gettime(struct ntptimeval *ntvp); }
@@ -938,7 +938,7 @@
                            struct timespec *timeout); }
 476    STD  RUMP       { int|sys||sendmmsg(int s, struct mmsghdr *mmsg, \
                            unsigned int vlen, unsigned int flags); }
-477    STD             { int|sys||clock_nanosleep(clockid_t clock_id, \
+477    STD  RUMP       { int|sys||clock_nanosleep(clockid_t clock_id, \
                            int flags, const struct timespec *rqtp, \
                            struct timespec *rmtp); }
 478    STD             { int|sys|60|_lwp_park(clockid_t clock_id, int flags, \



Home | Main Index | Thread Index | Old Index