Source-Changes-HG archive

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

[src/pgoyette-compat]: src/sys/kern Update the compat_60 entries to reference...



details:   https://anonhg.NetBSD.org/src/rev/4c5deb573410
branches:  pgoyette-compat
changeset: 321035:4c5deb573410
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Thu Mar 15 23:04:48 2018 +0000

description:
Update the compat_60 entries to reference the compat_60 module.

While here, allow the scheduler-activation syscalls to autoload the
compat_60 module.

diffstat:

 sys/kern/syscalls.master |  22 ++++++++++++++--------
 1 files changed, 14 insertions(+), 8 deletions(-)

diffs (44 lines):

diff -r d3106abc4695 -r 4c5deb573410 sys/kern/syscalls.master
--- a/sys/kern/syscalls.master  Thu Mar 15 22:46:22 2018 +0000
+++ b/sys/kern/syscalls.master  Thu Mar 15 23:04:48 2018 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: syscalls.master,v 1.291.2.1 2018/03/10 05:09:24 pgoyette Exp $
+       $NetBSD: syscalls.master,v 1.291.2.2 2018/03/15 23:04:48 pgoyette Exp $
 
 ;      @(#)syscalls.master     8.2 (Berkeley) 1/13/94
 
@@ -656,13 +656,19 @@
 328    UNIMPL
 329    UNIMPL
 ; SA system calls.
-330    COMPAT_60       { int|sys||sa_register(void *newv, void **oldv, \
+330    COMPAT_60 MODULAR compat_60     \
+                       { int|sys||sa_register(void *newv, void **oldv, \
                                int flags, ssize_t stackinfo_offset); }
-331    COMPAT_60       { int|sys||sa_stacks(int num, stack_t *stacks); }
-332    COMPAT_60       { int|sys||sa_enable(void); }
-333    COMPAT_60       { int|sys||sa_setconcurrency(int concurrency); }
-334    COMPAT_60       { int|sys||sa_yield(void); }
-335    COMPAT_60       { int|sys||sa_preempt(int sa_id); }
+331    COMPAT_60  MODULAR compat_60    \
+                       { int|sys||sa_stacks(int num, stack_t *stacks); }
+332    COMPAT_60  MODULAR compat_60    \
+                       { int|sys||sa_enable(void); }
+333    COMPAT_60  MODULAR compat_60    \
+                       { int|sys||sa_setconcurrency(int concurrency); }
+334    COMPAT_60  MODULAR compat_60    \
+                       { int|sys||sa_yield(void); }
+335    COMPAT_60  MODULAR compat_60    \
+                       { int|sys||sa_preempt(int sa_id); }
 336    OBSOL           sys_sa_unblockyield
 ;
 ; Syscalls 337-339 are reserved for other scheduler activation syscalls.
@@ -878,7 +884,7 @@
                { ssize_t|sys|50|mq_timedreceive(mqd_t mqdes, \
                            char *msg_ptr, size_t msg_len, unsigned *msg_prio, \
                            const struct timespec *abs_timeout); }
-434    COMPAT_60 MODULAR compat \
+434    COMPAT_60 MODULAR compat_60 \
                { int|sys||_lwp_park(const struct timespec *ts, \
                                lwpid_t unpark, const void *hint, \
                                const void *unparkhint); }



Home | Main Index | Thread Index | Old Index