Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/netbsd32 Define compat_16 as valid prefix; define...



details:   https://anonhg.NetBSD.org/src/rev/3b7b1afe6918
branches:  trunk
changeset: 553284:3b7b1afe6918
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Mon Oct 13 18:53:35 2003 +0000

description:
Define compat_16 as valid prefix; define the 1.6 compat sigreturn.

diffstat:

 sys/compat/netbsd32/syscalls.conf   |  4 ++--
 sys/compat/netbsd32/syscalls.master |  9 +++++----
 2 files changed, 7 insertions(+), 6 deletions(-)

diffs (46 lines):

diff -r 6f55d464f911 -r 3b7b1afe6918 sys/compat/netbsd32/syscalls.conf
--- a/sys/compat/netbsd32/syscalls.conf Mon Oct 13 18:50:43 2003 +0000
+++ b/sys/compat/netbsd32/syscalls.conf Mon Oct 13 18:53:35 2003 +0000
@@ -1,10 +1,10 @@
-#      $NetBSD: syscalls.conf,v 1.5 2002/11/01 20:41:17 jdolecek Exp $
+#      $NetBSD: syscalls.conf,v 1.6 2003/10/13 18:53:35 fvdl Exp $
 
 sysnames="netbsd32_syscalls.c"
 sysnumhdr="netbsd32_syscall.h"
 syssw="netbsd32_sysent.c"
 sysarghdr="netbsd32_syscallargs.h"
-compatopts="compat_43 compat_09 compat_10 compat_11 compat_12 compat_13 compat_14"
+compatopts="compat_43 compat_09 compat_10 compat_11 compat_12 compat_13 compat_14 compat_15 compat_16"
 libcompatopts=""
 
 switchname="netbsd32_sysent"
diff -r 6f55d464f911 -r 3b7b1afe6918 sys/compat/netbsd32/syscalls.master
--- a/sys/compat/netbsd32/syscalls.master       Mon Oct 13 18:50:43 2003 +0000
+++ b/sys/compat/netbsd32/syscalls.master       Mon Oct 13 18:53:35 2003 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: syscalls.master,v 1.23 2003/01/18 08:28:26 thorpej Exp $
+       $NetBSD: syscalls.master,v 1.24 2003/10/13 18:53:35 fvdl Exp $
 
 ;      from: NetBSD: syscalls.master,v 1.81 1998/07/05 08:49:50 jonathan Exp
 ;      @(#)syscalls.master     8.2 (Berkeley) 1/13/94
@@ -463,7 +463,7 @@
                            const netbsd32_sigsetp_t set, \
                            netbsd32_sigsetp_t oset); }
 294    STD             { int netbsd32___sigsuspend14(const netbsd32_sigsetp_t set); }
-295    STD             { int netbsd32___sigreturn14(netbsd32_sigcontextp_t sigcntxp); }
+295    COMPAT_16       { int netbsd32___sigreturn14(netbsd32_sigcontextp_t sigcntxp); }
 296    STD             { int netbsd32___getcwd(netbsd32_charp bufp, netbsd32_size_t length); }
 297    STD             { int netbsd32_fchroot(int fd); }
 298    STD             { int netbsd32_fhopen(const netbsd32_fhandlep_t fhp, \
@@ -497,8 +497,9 @@
 ;
 ; Syscalls 307 and 308 are reserved for getcontext and setcontext
 ;
-307    UNIMPL
-308    UNIMPL
+307    STD             { int netbsd32_getcontext(netbsd32_ucontextp ucp); }
+308    STD             { int netbsd32_setcontext(netbsd32_ucontextp ucp, \
+                           uint32_t flags, netbsd32_lwpidp new_lwp); }
 ;
 ; Syscalls 309-339 are reserved for LWP and scheduler activation syscalls.
 ;



Home | Main Index | Thread Index | Old Index