Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys Make SA calls obsolete (use stubs in kern case, as libc ...
details: https://anonhg.NetBSD.org/src/rev/46d66bcebc08
branches: trunk
changeset: 777457:46d66bcebc08
user: rmind <rmind%NetBSD.org@localhost>
date: Sun Feb 19 17:08:02 2012 +0000
description:
Make SA calls obsolete (use stubs in kern case, as libc needs them for now).
diffstat:
sys/compat/netbsd32/syscalls.master | 17 +++++++----------
sys/kern/syscalls.master | 14 ++++++--------
2 files changed, 13 insertions(+), 18 deletions(-)
diffs (61 lines):
diff -r bbfbf6921c91 -r 46d66bcebc08 sys/compat/netbsd32/syscalls.master
--- a/sys/compat/netbsd32/syscalls.master Sun Feb 19 17:00:57 2012 +0000
+++ b/sys/compat/netbsd32/syscalls.master Sun Feb 19 17:08:02 2012 +0000
@@ -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
diff -r bbfbf6921c91 -r 46d66bcebc08 sys/kern/syscalls.master
--- a/sys/kern/syscalls.master Sun Feb 19 17:00:57 2012 +0000
+++ b/sys/kern/syscalls.master Sun Feb 19 17:08:02 2012 +0000
@@ -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.
Home |
Main Index |
Thread Index |
Old Index