Module Name: src Committed By: rmind Date: Sun Feb 19 17:08:02 UTC 2012
Modified Files: src/sys/compat/netbsd32: syscalls.master src/sys/kern: syscalls.master Log Message: Make SA calls obsolete (use stubs in kern case, as libc needs them for now). To generate a diff of this commit: cvs rdiff -u -r1.91 -r1.92 src/sys/compat/netbsd32/syscalls.master cvs rdiff -u -r1.254 -r1.255 src/sys/kern/syscalls.master Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/compat/netbsd32/syscalls.master diff -u src/sys/compat/netbsd32/syscalls.master:1.91 src/sys/compat/netbsd32/syscalls.master:1.92 --- src/sys/compat/netbsd32/syscalls.master:1.91 Wed Feb 1 05:40:01 2012 +++ src/sys/compat/netbsd32/syscalls.master Sun Feb 19 17:08:02 2012 @@ -1,4 +1,4 @@ - $NetBSD: syscalls.master,v 1.91 2012/02/01 05:40:01 dholland Exp $ + $NetBSD: syscalls.master,v 1.92 2012/02/19 17:08:02 rmind Exp $ ; from: NetBSD: syscalls.master,v 1.81 1998/07/05 08:49:50 jonathan Exp ; @(#)syscalls.master 8.2 (Berkeley) 1/13/94 @@ -676,15 +676,12 @@ 327 UNIMPL 328 UNIMPL 329 UNIMPL -330 STD { int|netbsd32||sa_register(netbsd32_sa_upcall_t new, \ - netbsd32_sa_upcallp_t old, int flags, \ - netbsd32_ssize_t stackinfo_offset); } -331 STD { int|netbsd32||sa_stacks(int num, \ - netbsd32_stackp_t stacks); } -332 NOARGS { int|sys||sa_enable(void); } -333 STD { int|netbsd32||sa_setconcurrency(int concurrency); } -334 NOARGS { int|sys||sa_yield(void); } -335 STD { int|netbsd32||sa_preempt(int sa_id); } +330 OBSOL netbsd32_sa_register +331 OBSOL netbsd32_sa_stacks +332 OBSOL sa_enable +333 OBSOL netbsd32_sa_setconcurrency +334 OBSOL sa_yield +335 OBSOL netbsd32_sa_preempt 336 OBSOL sys_sa_unblockyield 337 UNIMPL 338 UNIMPL Index: src/sys/kern/syscalls.master diff -u src/sys/kern/syscalls.master:1.254 src/sys/kern/syscalls.master:1.255 --- src/sys/kern/syscalls.master:1.254 Sat Feb 11 23:16:17 2012 +++ src/sys/kern/syscalls.master Sun Feb 19 17:08:02 2012 @@ -1,4 +1,4 @@ - $NetBSD: syscalls.master,v 1.254 2012/02/11 23:16:17 martin Exp $ + $NetBSD: syscalls.master,v 1.255 2012/02/19 17:08:02 rmind Exp $ ; @(#)syscalls.master 8.2 (Berkeley) 1/13/94 @@ -625,15 +625,13 @@ 327 UNIMPL 328 UNIMPL 329 UNIMPL -; SA system calls. -330 STD { int|sys||sa_register(sa_upcall_t new, \ - sa_upcall_t *old, int flags, \ - ssize_t stackinfo_offset); } -331 STD { int|sys||sa_stacks(int num, stack_t *stacks); } +; Obsolete SA system calls. Must remain until libc major version is bumped. +330 STD { int|sys||sa_register(void); } +331 STD { int|sys||sa_stacks(void); } 332 STD { int|sys||sa_enable(void); } -333 STD { int|sys||sa_setconcurrency(int concurrency); } +333 STD { int|sys||sa_setconcurrency(void); } 334 STD { int|sys||sa_yield(void); } -335 STD { int|sys||sa_preempt(int sa_id); } +335 STD { int|sys||sa_preempt(void); } 336 OBSOL sys_sa_unblockyield ; ; Syscalls 337-339 are reserved for other scheduler activation syscalls.