The NetBSD Project

CVS log for src/sys/kern/makesyscalls.sh

[BACK] Up to [cvs.NetBSD.org] / src / sys / kern

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.187: download - view: text, markup, annotated - select for diffs
Fri Jul 28 18:19:01 2023 UTC (16 months, 1 week ago) by christos
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.186: preferred, colored
Changes since revision 1.186: +2 -1 lines
Add epoll(2) from Theodore Preduta as part of GSoC 2023

Revision 1.186: download - view: text, markup, annotated - select for diffs
Thu Oct 21 11:01:03 2021 UTC (3 years, 1 month ago) by andvar
Branches: MAIN
CVS tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.185: preferred, colored
Changes since revision 1.185: +2 -2 lines
s/optiona]/optional]/

Revision 1.183.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 17 17:26:20 2021 UTC (3 years, 7 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.183: preferred, colored; next MAIN 1.184: preferred, colored
Changes since revision 1.183: +12 -3 lines
Sync with HEAD.

Revision 1.185: download - view: text, markup, annotated - select for diffs
Wed Apr 14 02:45:40 2021 UTC (3 years, 7 months ago) by christos
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.184: preferred, colored
Changes since revision 1.184: +5 -5 lines
use the first element of the array instead

Revision 1.184: download - view: text, markup, annotated - select for diffs
Tue Apr 13 22:45:32 2021 UTC (3 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.183: preferred, colored
Changes since revision 1.183: +12 -3 lines
Elide [NUM] in arguments for systrace, use the first address of the array
and cast to intptr_t instead.

Revision 1.182.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:29:00 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.182: preferred, colored; next MAIN 1.183: preferred, colored
Changes since revision 1.182: +2 -2 lines
Sync with HEAD.

Revision 1.183: download - view: text, markup, annotated - select for diffs
Wed Feb 17 06:25:10 2021 UTC (3 years, 9 months ago) by rillig
Branches: MAIN
CVS tags: thorpej-futex-base
Branch point for: thorpej-cfargs
Diff to: previous 1.182: preferred, colored
Changes since revision 1.182: +2 -2 lines
makesyscalls.sh: fix typo in comment

Revision 1.182: download - view: text, markup, annotated - select for diffs
Tue Sep 29 02:58:53 2020 UTC (4 years, 2 months ago) by msaitoh
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.181: preferred, colored
Changes since revision 1.181: +2 -2 lines
s/occurence/occurrence/

Revision 1.181: download - view: text, markup, annotated - select for diffs
Thu Jun 11 03:25:35 2020 UTC (4 years, 5 months ago) by dholland
Branches: MAIN
Diff to: previous 1.180: preferred, colored
Changes since revision 1.180: +27 -1 lines
Don't output things in awk hash order. Sort first.

Revision 1.180: download - view: text, markup, annotated - select for diffs
Thu Jun 11 02:21:26 2020 UTC (4 years, 5 months ago) by dholland
Branches: MAIN
Diff to: previous 1.179: preferred, colored
Changes since revision 1.179: +3 -3 lines
fix awk-induced bug (using wrong variable, getting away with it by luck)

Revision 1.179: download - view: text, markup, annotated - select for diffs
Tue Jun 9 04:48:45 2020 UTC (4 years, 5 months ago) by dholland
Branches: MAIN
Diff to: previous 1.178: preferred, colored
Changes since revision 1.178: +7 -2 lines
Update wrong and obsolete comments.

... when you change the set of syscalls.conf keywords this thing
recognizes, updating the documentation too (which AFAIK is limited to
the comment in here) is always helpful ...

Revision 1.178: download - view: text, markup, annotated - select for diffs
Tue Jun 2 16:45:42 2020 UTC (4 years, 6 months ago) by kamil
Branches: MAIN
Diff to: previous 1.177: preferred, colored
Changes since revision 1.177: +6 -4 lines
Respect syscall aliases in the rump code

With this change rump_sys_*() matches *() from the usually libc entry point.

Revision 1.177: download - view: text, markup, annotated - select for diffs
Tue Jun 2 13:49:15 2020 UTC (4 years, 6 months ago) by kamil
Branches: MAIN
Diff to: previous 1.176: preferred, colored
Changes since revision 1.176: +2 -2 lines
Synchronize struct name in rump_syscalls.c and syscallargs.h

Whenever a syscall has alias name, the struct sys_ names shall be the same.

Revision 1.169.10.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:05:04 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.169.10.1: preferred, colored; branchpoint 1.169: preferred, colored; next MAIN 1.170: preferred, colored
Changes since revision 1.169.10.1: +29 -36 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.176: download - view: text, markup, annotated - select for diffs
Sat Nov 9 22:05:50 2019 UTC (5 years ago) by jdolecek
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Diff to: previous 1.175: preferred, colored
Changes since revision 1.175: +2 -2 lines
do not try to rm sysautoload when it's not actually used for given compat;
script tried to rm /dev/null which failed

Revision 1.175: download - view: text, markup, annotated - select for diffs
Sun Oct 13 22:31:19 2019 UTC (5 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.174: preferred, colored
Changes since revision 1.174: +2 -2 lines
cast nullop though void *

Revision 1.174: download - view: text, markup, annotated - select for diffs
Wed Oct 9 01:43:00 2019 UTC (5 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.173: preferred, colored
Changes since revision 1.173: +18 -9 lines
- cast through void * for rump
- don't generate bogus filenames /dev/null.bottom etc.

Revision 1.173: download - view: text, markup, annotated - select for diffs
Tue Jun 18 16:24:17 2019 UTC (5 years, 5 months ago) by christos
Branches: MAIN
CVS tags: netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9
Diff to: previous 1.172: preferred, colored
Changes since revision 1.172: +13 -29 lines
include #ifdefs in the syscalls autoload file and make it standalone.
XXX: This needs to be re-thought

Revision 1.169.10.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:09:03 2019 UTC (5 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.169: preferred, colored
Changes since revision 1.169: +34 -5 lines
Sync with HEAD

Revision 1.169.8.1: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:56:42 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.169: preferred, colored; next MAIN 1.170: preferred, colored
Changes since revision 1.169: +34 -5 lines
Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.172: download - view: text, markup, annotated - select for diffs
Sun Aug 26 11:53:28 2018 UTC (6 years, 3 months ago) by kre
Branches: MAIN
CVS tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, isaki-audio2-base, isaki-audio2
Diff to: previous 1.171: preferred, colored
Changes since revision 1.171: +9 -3 lines

Refactor the numeric validity check just added, so the error
messages can be (easily) done better.

Revision 1.171: download - view: text, markup, annotated - select for diffs
Sun Aug 26 11:48:00 2018 UTC (6 years, 3 months ago) by kre
Branches: MAIN
Diff to: previous 1.170: preferred, colored
Changes since revision 1.170: +12 -9 lines

Validate that the configuration parameters that are supposed to
be numeric are in fact numeric, and then have the awk script use
them as awk numbers, rather than strings, so awk isn't doing string
comparisons on numbers (where "1024" < 2).

This has no effect with current configuratons, but would if anyone
had ever attempted to configure a system with nsysent >= 1000

Revision 1.170: download - view: text, markup, annotated - select for diffs
Fri Aug 10 21:44:59 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.169: preferred, colored
Changes since revision 1.169: +23 -3 lines
Allow syscall_establish() to install new syscalls when the existing
entry-point is either sys_nomodule or sys_nosys.  Update the
makesyscalls.sh script to create a const array of bits to allow
syscall_disestablish() to properly restore the original entry-point.
Update all the initializers of struct emul to initialize the pointer
to the bit array struct emul.

XXX Regen of all files created by makesyscalls.sh will come soon,
XXX followed by a kernel version bump (since struct emul is being
XXX modified).

This commit should address PR kern/45781 and also removes the need
for the work-around for that PR in file

	sys/arch/usermode/modules/syscallemu/syscallemu.c

Revision 1.125.2.5: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:38:45 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.125.2.4: preferred, colored; next MAIN 1.126: preferred, colored
Changes since revision 1.125.2.4: +202 -49 lines
update from HEAD

Revision 1.145.4.7: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:53:07 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.145.4.6: preferred, colored; branchpoint 1.145: preferred, colored; next MAIN 1.146: preferred, colored
Changes since revision 1.145.4.6: +5 -1 lines
Sync with HEAD

Revision 1.168.6.1: download - view: text, markup, annotated - select for diffs
Thu May 11 02:58:40 2017 UTC (7 years, 6 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.168: preferred, colored; next MAIN 1.169: preferred, colored
Changes since revision 1.168: +5 -1 lines
Sync with HEAD

Revision 1.169: download - view: text, markup, annotated - select for diffs
Wed May 10 06:08:56 2017 UTC (7 years, 6 months ago) by riastradh
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, phil-wifi-base, pgoyette-compat-base, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek
Branch point for: phil-wifi, pgoyette-compat
Diff to: previous 1.168: preferred, colored
Changes since revision 1.168: +5 -1 lines
Forward-declare `struct lwp' so we can use `struct lwp *' here.

Revision 1.164.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:47 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.164.2.1: preferred, colored; branchpoint 1.164: preferred, colored; next MAIN 1.165: preferred, colored
Changes since revision 1.164.2.1: +4 -3 lines
Sync with HEAD

Revision 1.145.4.6: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:56 2017 UTC (7 years, 9 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.145.4.5: preferred, colored; branchpoint 1.145: preferred, colored
Changes since revision 1.145.4.5: +4 -3 lines
Sync with HEAD

Revision 1.168: download - view: text, markup, annotated - select for diffs
Sun Jan 15 17:00:59 2017 UTC (7 years, 10 months ago) by christos
Branches: MAIN
CVS tags: prg-localcount2-base1, prg-localcount2-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, nick-nhusb-base-20170204, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: prg-localcount2
Diff to: previous 1.167: preferred, colored
Changes since revision 1.167: +4 -3 lines
put linux_handler_t in the right place.

Revision 1.167: download - view: text, markup, annotated - select for diffs
Sun Jan 15 15:18:52 2017 UTC (7 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.166: preferred, colored
Changes since revision 1.166: +2 -2 lines
need intptr_t cast for linux_handler_t

Revision 1.166: download - view: text, markup, annotated - select for diffs
Fri Jan 13 06:11:27 2017 UTC (7 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.165: preferred, colored
Changes since revision 1.165: +2 -2 lines
const police!

Revision 1.145.4.5: download - view: text, markup, annotated - select for diffs
Mon Dec 5 10:55:26 2016 UTC (8 years ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.145.4.4: preferred, colored; branchpoint 1.145: preferred, colored
Changes since revision 1.145.4.4: +8 -4 lines
Sync with HEAD

Revision 1.164.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 4 14:49:17 2016 UTC (8 years, 1 month ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.164: preferred, colored
Changes since revision 1.164: +8 -4 lines
Sync with HEAD

Revision 1.165: download - view: text, markup, annotated - select for diffs
Fri Oct 28 23:44:32 2016 UTC (8 years, 1 month ago) by christos
Branches: MAIN
CVS tags: pgoyette-localcount-20170107, pgoyette-localcount-20161104, nick-nhusb-base-20161204
Diff to: previous 1.164: preferred, colored
Changes since revision 1.164: +8 -4 lines
Fix arg64 computation for compat_netbsd32

Revision 1.145.4.4: download - view: text, markup, annotated - select for diffs
Sat Mar 19 11:30:31 2016 UTC (8 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.145.4.3: preferred, colored; branchpoint 1.145: preferred, colored
Changes since revision 1.145.4.3: +2 -2 lines
Sync with HEAD

Revision 1.164: download - view: text, markup, annotated - select for diffs
Tue Jan 26 23:46:37 2016 UTC (8 years, 10 months ago) by pooka
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.163: preferred, colored
Changes since revision 1.163: +2 -2 lines
fix typo in previous

Revision 1.163: download - view: text, markup, annotated - select for diffs
Tue Jan 26 23:44:58 2016 UTC (8 years, 10 months ago) by pooka
Branches: MAIN
Diff to: previous 1.162: preferred, colored
Changes since revision 1.162: +2 -2 lines
"rump_private" -> <rump-sys/kern.h>

Revision 1.145.4.3: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:10:05 2015 UTC (8 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.145.4.2: preferred, colored; branchpoint 1.145: preferred, colored
Changes since revision 1.145.4.2: +34 -8 lines
Sync with HEAD (as of 26th Dec)

Revision 1.162: download - view: text, markup, annotated - select for diffs
Tue Dec 1 00:58:29 2015 UTC (9 years ago) by pgoyette
Branches: MAIN
CVS tags: nick-nhusb-base-20151226
Diff to: previous 1.161: preferred, colored
Changes since revision 1.161: +4 -4 lines
Rename "autoloadprefix" variable to "emulname" - suggested by christos@

Revision 1.161: download - view: text, markup, annotated - select for diffs
Tue Dec 1 00:25:58 2015 UTC (9 years ago) by pgoyette
Branches: MAIN
Diff to: previous 1.160: preferred, colored
Changes since revision 1.160: +4 -2 lines
Only cast to (void) if the type is NOERR

Revision 1.160: download - view: text, markup, annotated - select for diffs
Mon Nov 30 23:27:27 2015 UTC (9 years ago) by pgoyette
Branches: MAIN
Diff to: previous 1.159: preferred, colored
Changes since revision 1.159: +2 -2 lines
And now fix the actual syntax error.  :(

Revision 1.159: download - view: text, markup, annotated - select for diffs
Mon Nov 30 23:25:54 2015 UTC (9 years ago) by pgoyette
Branches: MAIN
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +2 -2 lines
Fix typo

Revision 1.158: download - view: text, markup, annotated - select for diffs
Mon Nov 30 23:24:14 2015 UTC (9 years ago) by pgoyette
Branches: MAIN
Diff to: previous 1.157: preferred, colored
Changes since revision 1.157: +2 -2 lines
Cast rsys_syscall() to (void) to appease coverity.

Revision 1.157: download - view: text, markup, annotated - select for diffs
Mon Nov 30 23:17:40 2015 UTC (9 years ago) by pgoyette
Branches: MAIN
Diff to: previous 1.156: preferred, colored
Changes since revision 1.156: +2 -2 lines
Rename sc_auto to sc_autoload at suggestion of christos@

Revision 1.156: download - view: text, markup, annotated - select for diffs
Mon Nov 30 23:00:14 2015 UTC (9 years ago) by pgoyette
Branches: MAIN
Diff to: previous 1.155: preferred, colored
Changes since revision 1.155: +2 -2 lines
Eliminate stray \t in the syscalls_autoload.c output file.

Revision 1.155: download - view: text, markup, annotated - select for diffs
Mon Nov 30 22:47:19 2015 UTC (9 years ago) by pgoyette
Branches: MAIN
Diff to: previous 1.154: preferred, colored
Changes since revision 1.154: +7 -5 lines
Make the list of syscalls which can trigger a module autoload an
attribute of each emulation, rather than having a single global
list which applies only to the default emulation.

This changes 'struct emul' so

        Welcome to 7.99.23 !

Revision 1.154: download - view: text, markup, annotated - select for diffs
Thu Sep 24 14:30:52 2015 UTC (9 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +26 -4 lines
create an array of altsyscallnames, which are the syscall names that the
libc api uses. For example syscallnames[293] = "__sigprocmask14",
altsyscallnames[293] = "sigprocmask". This is so that things like dtrace
can use the system call names everyone uses. The array is sparse; if the
names were the same (or for compat names) they are not copied and the array
has NULL for them.

Revision 1.145.4.2: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:21 2015 UTC (9 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.145.4.1: preferred, colored; branchpoint 1.145: preferred, colored
Changes since revision 1.145.4.1: +48 -3 lines
Sync with HEAD

Revision 1.153: download - view: text, markup, annotated - select for diffs
Sat May 9 10:57:04 2015 UTC (9 years, 6 months ago) by pooka
Branches: MAIN
CVS tags: nick-nhusb-base-20150921, nick-nhusb-base-20150606
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +2 -1 lines
fix to work for syscalls.conf without sysautoload

reported by Justin('s buildbot)

Revision 1.152: download - view: text, markup, annotated - select for diffs
Sat May 9 05:51:26 2015 UTC (9 years, 6 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +46 -2 lines
Teach makesyscalls.sh how to auto-generate the list of syscalls that
can be resolved by module auto-load.

Update syscalls.master to identify the specific module that contains
the auto-loadable code for each syscall.

Revision 1.145.4.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:20 2015 UTC (9 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +117 -44 lines
Sync with HEAD

Revision 1.151: download - view: text, markup, annotated - select for diffs
Sun Mar 8 20:31:53 2015 UTC (9 years, 8 months ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20150406
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +4 -1 lines
Don't forget to assign the new rump variables.

Revision 1.150: download - view: text, markup, annotated - select for diffs
Sun Mar 8 17:49:08 2015 UTC (9 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +3 -3 lines
kill empty line

Revision 1.149: download - view: text, markup, annotated - select for diffs
Sun Mar 8 15:07:05 2015 UTC (9 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.148: preferred, colored
Changes since revision 1.148: +6 -2 lines
Don't blindly tack ./ in front of the config file; breaks when we pass a full
path one.

Revision 1.148: download - view: text, markup, annotated - select for diffs
Sat Mar 7 21:49:56 2015 UTC (9 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +6 -6 lines
make sure we print the fillers.

Revision 1.147: download - view: text, markup, annotated - select for diffs
Sat Mar 7 20:39:11 2015 UTC (9 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +35 -39 lines
Use modern initializers, so we can skip the 0 ones.

Revision 1.146: download - view: text, markup, annotated - select for diffs
Sat Mar 7 16:38:07 2015 UTC (9 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +81 -11 lines
Adjust for systrace based on the FreeBSD code:
- create new file systrace_args.c that use used to convert the syscall
  arguments to an array, and functions that print the types of the
  entry and return arguments.
- call the systrace probe from the trace_enter and trace_exit functions

Revision 1.125.2.4: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:04:29 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.125.2.3: preferred, colored
Changes since revision 1.125.2.3: +92 -62 lines
Rebase to HEAD as of a few days ago.

Revision 1.139.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:55:58 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.139: preferred, colored; next MAIN 1.140: preferred, colored
Changes since revision 1.139: +74 -54 lines
Rebase.

Revision 1.145: download - view: text, markup, annotated - select for diffs
Thu Jul 24 11:58:45 2014 UTC (10 years, 4 months ago) by pooka
Branches: MAIN
CVS tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Branch point for: nick-nhusb
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +35 -11 lines
Ensure that symbols are aliased to standard names when
using RUMP_KERNEL_IS_LIBC.

For example configure scripts do not always include headers, and if select
is visible as a __RENAME'd __select50 instead of select, configure will
not find it.

before:
=== snip ===
checking for gethostbyname... yes
checking for socket... no
checking for socket in -lsocket... no
=== snip ===

after:
=== snip ===
checking for gethostbyname... yes
checking for socket... yes
checking for main in -linet6... no
=== snip ===

Another option would be to enable the libc compat bits, and it probably
will be done at some point, but this is easier and more self-contained
for now.

Revision 1.144: download - view: text, markup, annotated - select for diffs
Wed Jul 23 11:41:34 2014 UTC (10 years, 4 months ago) by pooka
Branches: MAIN
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +4 -3 lines
In the RUMP_KERNEL_IS_LIBC case, account for WEAKASM, i.e. create a
_sys_foo strong alias, and _foo and foo weak aliases.  This actually
treats all syscalls as WEAKASM, but it's probably(?) harmless, and saves
us from manual work a la libc.  Fixes at least pthread_cancelstub.

Revision 1.119.2.4: download - view: text, markup, annotated - select for diffs
Thu May 22 11:41:03 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.119.2.3: preferred, colored; branchpoint 1.119: preferred, colored; next MAIN 1.120: preferred, colored
Changes since revision 1.119.2.3: +64 -54 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.143: download - view: text, markup, annotated - select for diffs
Sun May 18 21:25:44 2014 UTC (10 years, 6 months ago) by justin
Branches: MAIN
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +4 -2 lines
Fix prototype of last arg of rump_sys_mknod to dev_t not uint32_t

Discussed with pooka@
See also https://github.com/rumpkernel/buildrump.sh/issues/53

Revision 1.128.6.2: download - view: text, markup, annotated - select for diffs
Sun May 18 17:46:07 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.128.6.1: preferred, colored; branchpoint 1.128: preferred, colored; next MAIN 1.129: preferred, colored
Changes since revision 1.128.6.1: +64 -57 lines
sync with head

Revision 1.142: download - view: text, markup, annotated - select for diffs
Sun Apr 27 14:50:23 2014 UTC (10 years, 7 months ago) by pooka
Branches: MAIN
CVS tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +16 -4 lines
Eliminate weak symbols from rump kernel syscall handlers, part 2:

Generate a file (rump.sysmap) which can be used to autogenerate the
syscall loaders.  The file contains syscall handler names and numbers.

Also store "libc" side syscall names in rump.sysmap to help with
the rumprun build process.

Revision 1.141: download - view: text, markup, annotated - select for diffs
Sun Apr 27 14:29:53 2014 UTC (10 years, 7 months ago) by pooka
Branches: MAIN
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +17 -37 lines
Eliminate weak symbols from rump kernel syscall handlers, part 1:

Initialize all non-modular syscalls to enosys and expect them to be
filled at boottime.  Do not create the now-unnecessary weak aliases.

Modular syscalls work as before.

Revision 1.140: download - view: text, markup, annotated - select for diffs
Wed Apr 9 23:50:45 2014 UTC (10 years, 7 months ago) by pooka
Branches: MAIN
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +6 -5 lines
properly handle forward declarations for pointerpointer arguments

Revision 1.139: download - view: text, markup, annotated - select for diffs
Mon Dec 9 21:12:45 2013 UTC (10 years, 11 months ago) by pooka
Branches: MAIN
CVS tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +2 -2 lines
one newline is enough

Revision 1.138: download - view: text, markup, annotated - select for diffs
Mon Dec 9 21:11:15 2013 UTC (10 years, 11 months ago) by pooka
Branches: MAIN
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +2 -1 lines
need string.h now for !_KERNEL

Revision 1.137: download - view: text, markup, annotated - select for diffs
Mon Dec 9 19:18:52 2013 UTC (10 years, 11 months ago) by pooka
Branches: MAIN
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +2 -1 lines
Initialize the syscall "frame" to 0 before setting parameters.
Otherwise things which treat syscall parameters as register_t (like
ktrace) will encounter garbage for parameters which are of smaller size
than register_t.  Using memset is probably not the most optimal way,
but oh well.

Revision 1.136: download - view: text, markup, annotated - select for diffs
Mon Dec 9 16:32:06 2013 UTC (10 years, 11 months ago) by pooka
Branches: MAIN
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +4 -1 lines
Echo generated file names so that you can just copypaste & cvs ci
without having to resort to the blazingly fast help of cvs diff.

Revision 1.135: download - view: text, markup, annotated - select for diffs
Mon Dec 9 16:27:15 2013 UTC (10 years, 11 months ago) by pooka
Branches: MAIN
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +3 -3 lines
Rump kernels now use sy_invoke(), which initializes the return
value registers, so no need to do it individually in each wrapper.

Revision 1.134: download - view: text, markup, annotated - select for diffs
Tue Oct 8 11:47:57 2013 UTC (11 years, 1 month ago) by njoly
Branches: MAIN
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +2 -2 lines
Note that sysalign checks for dev_t/time_t alignment too.

Revision 1.133: download - view: text, markup, annotated - select for diffs
Tue Sep 10 17:40:54 2013 UTC (11 years, 2 months ago) by pooka
Branches: MAIN
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +2 -2 lines
"rumpuser_port.h" -> <rump/rumpuser_port.h>

Revision 1.132: download - view: text, markup, annotated - select for diffs
Tue Sep 3 21:28:24 2013 UTC (11 years, 3 months ago) by pooka
Branches: MAIN
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +10 -1 lines
If RUMP_KERNEL_IS_LIBC is defined, alias the rump kernel syscalls to libc
syscall stub symbol names.  This allows running standalone programs in
OS-less environments such as directly on a Xen DomU backed only by a
libc and a rump kernel.

Revision 1.131: download - view: text, markup, annotated - select for diffs
Tue Sep 3 20:54:03 2013 UTC (11 years, 3 months ago) by pooka
Branches: MAIN
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +23 -10 lines
Autogenerate rump_syscalls.c into the correct namespace, i.e. it no
longer needs to go through rename in the build.

Revision 1.130: download - view: text, markup, annotated - select for diffs
Tue Sep 3 19:55:13 2013 UTC (11 years, 3 months ago) by pooka
Branches: MAIN
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +3 -16 lines
Don't autogenerate the wrapper that is called from the rump kernel
local syscall entry points.  The wrapper is now so big that it doesn't
get inlined (original intent for having it close to the entry points),
and autogenerating a regular function just loses in flexibility.

Revision 1.128.6.1: download - view: text, markup, annotated - select for diffs
Wed Aug 28 23:59:35 2013 UTC (11 years, 3 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +1 -5 lines
sync with head

Revision 1.129: download - view: text, markup, annotated - select for diffs
Thu Aug 15 21:16:13 2013 UTC (11 years, 3 months ago) by pooka
Branches: MAIN
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +1 -5 lines
type compat header list doesn't need to be autogenerated

Revision 1.125.2.3: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:18:58 2013 UTC (11 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.125.2.2: preferred, colored
Changes since revision 1.125.2.2: +11 -4 lines
resync from head

Revision 1.128: download - view: text, markup, annotated - select for diffs
Thu Mar 7 19:17:46 2013 UTC (11 years, 9 months ago) by pooka
Branches: MAIN
CVS tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +11 -4 lines
make rump kernel syscalls through curproc->p_emul instead of rump_sysent

Revision 1.125.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:29:52 2013 UTC (11 years, 9 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.125.2.1: preferred, colored
Changes since revision 1.125.2.1: +4 -1 lines
resync with head

Revision 1.119.2.3: download - view: text, markup, annotated - select for diffs
Wed Jan 23 00:06:21 2013 UTC (11 years, 10 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.119.2.2: preferred, colored; branchpoint 1.119: preferred, colored
Changes since revision 1.119.2.2: +4 -1 lines
sync with head

Revision 1.127: download - view: text, markup, annotated - select for diffs
Thu Jan 17 21:30:30 2013 UTC (11 years, 10 months ago) by pooka
Branches: MAIN
CVS tags: yamt-pagecache-base8
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +4 -1 lines
Include rumpuser_port.h in rump_syscalls.c when compiled for librumpclient

Revision 1.125.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:02:43 2012 UTC (12 years ago) by tls
Branches: tls-maxphys
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +2 -1 lines
Resync to 2012-11-19 00:00:00 UTC

Revision 1.119.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:22:32 2012 UTC (12 years, 1 month ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.119.2.1: preferred, colored; branchpoint 1.119: preferred, colored
Changes since revision 1.119.2.1: +30 -6 lines
sync with head

Revision 1.126: download - view: text, markup, annotated - select for diffs
Thu Sep 20 17:46:21 2012 UTC (12 years, 2 months ago) by pooka
Branches: MAIN
CVS tags: yamt-pagecache-base7, yamt-pagecache-base6
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +2 -1 lines
alias rump_sysent to sysent, since the linux compat code wants to
access it (it calls ptrace, so 0 practical impact here, though).

Revision 1.125: download - view: text, markup, annotated - select for diffs
Fri Aug 3 18:08:01 2012 UTC (12 years, 4 months ago) by matt
Branches: MAIN
Branch point for: tls-maxphys
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +9 -1 lines
If any argument of a syscall is a pointer, set SYCALL_ARG_PTR as a flag.

Revision 1.124: download - view: text, markup, annotated - select for diffs
Fri Aug 3 11:31:33 2012 UTC (12 years, 4 months ago) by pooka
Branches: MAIN
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +20 -4 lines
Make librumpclient compile and work on Linux.  This is accomplished by:

1) avoid "NetBSD'isms" in the rumpclient sources
2) do not require the knowledge of unnecessary weird_t's in syscallargs.h
   for rumpclient

Revision 1.123: download - view: text, markup, annotated - select for diffs
Fri Jul 20 18:19:09 2012 UTC (12 years, 4 months ago) by pooka
Branches: MAIN
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +2 -2 lines
pretty pretty print

Revision 1.122: download - view: text, markup, annotated - select for diffs
Fri Jul 20 18:17:26 2012 UTC (12 years, 4 months ago) by pooka
Branches: MAIN
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +2 -1 lines
unrevert part of 1.119 which should not have been reverted (sys/socket.h)

Revision 1.121: download - view: text, markup, annotated - select for diffs
Fri Jul 20 16:44:33 2012 UTC (12 years, 4 months ago) by pooka
Branches: MAIN
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +3 -5 lines
revert 1.119.  theoretically there should be no issue, and i couldn't
find one in practice either, except including rump_syscalls.h from
non-NetBSD now works.

ok christos

Revision 1.119.6.1: download - view: text, markup, annotated - select for diffs
Sat Jun 2 11:09:33 2012 UTC (12 years, 6 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.119: preferred, colored; next MAIN 1.120: preferred, colored
Changes since revision 1.119: +8 -2 lines
sync to latest -current.

Revision 1.119.2.1: download - view: text, markup, annotated - select for diffs
Wed May 23 10:08:11 2012 UTC (12 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +8 -2 lines
sync with head.

Revision 1.120: download - view: text, markup, annotated - select for diffs
Sat May 5 19:37:37 2012 UTC (12 years, 7 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base5, jmcneill-usbmp-base10
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +8 -2 lines
Add a new type of syscall "EXTERN" which is meant for modules that live
outside the tree (in pkgsrc). Use it to define afssys (210) which has
been reserved for years, and make it autoload the "openafs" module.

Revision 1.119: download - view: text, markup, annotated - select for diffs
Sun Jun 26 16:42:42 2011 UTC (13 years, 5 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +4 -3 lines
* Arrange for interfaces that create new file descriptors to be able to
  set close-on-exec on creation (http://udrepper.livejournal.com/20407.html).

    - Add F_DUPFD_CLOEXEC to fcntl(2).
    - Add MSG_CMSG_CLOEXEC to recvmsg(2) for unix file descriptor passing.
    - Add dup3(2) syscall with a flags argument for O_CLOEXEC, O_NONBLOCK.
    - Add pipe2(2) syscall with a flags argument for O_CLOEXEC, O_NONBLOCK.
    - Add flags SOCK_CLOEXEC, SOCK_NONBLOCK to the socket type parameter
      for socket(2) and socketpair(2).
    - Add new paccept(2) syscall that takes an additional sigset_t to alter
      the sigmask temporarily and a flags argument to set SOCK_CLOEXEC,
      SOCK_NONBLOCK.
    - Add new mode character 'e' to fopen(3) and popen(3) to open pipes
      and file descriptors for close on exec.
    - Add new kqueue1(2) syscall with a new flags argument to open the
      kqueue file descriptor with O_CLOEXEC, O_NONBLOCK.

* Fix the system calls that take socklen_t arguments to actually do so.

* Don't include userland header files (signal.h) from system header files
  (rump_syscallargs.h).

* Bump libc version for the new syscalls.

Revision 1.117.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:20:20 2011 UTC (13 years, 5 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.117: preferred, colored; next MAIN 1.118: preferred, colored
Changes since revision 1.117: +2 -1 lines
Catchup with rmind-uvmplock merge.

Revision 1.94.2.4: download - view: text, markup, annotated - select for diffs
Sun Jun 12 00:24:29 2011 UTC (13 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.94.2.3: preferred, colored; branchpoint 1.94: preferred, colored; next MAIN 1.95: preferred, colored
Changes since revision 1.94.2.3: +1 -0 lines
sync with head

Revision 1.108.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:09:33 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.108: preferred, colored; next MAIN 1.109: preferred, colored
Changes since revision 1.108: +163 -51 lines
Sync with HEAD.

Revision 1.118: download - view: text, markup, annotated - select for diffs
Sun Jun 5 14:13:53 2011 UTC (13 years, 6 months ago) by njoly
Branches: MAIN
CVS tags: rmind-uvmplock-nbase, rmind-uvmplock-base
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +2 -1 lines
Create empty temporary rumphdr.types file if missing; to avoid error
messages for compat syscalls files regen.

Revision 1.94.2.3: download - view: text, markup, annotated - select for diffs
Thu Apr 21 01:42:09 2011 UTC (13 years, 7 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.94.2.2: preferred, colored; branchpoint 1.94: preferred, colored
Changes since revision 1.94.2.2: +4 -2 lines
sync with head

Revision 1.117: download - view: text, markup, annotated - select for diffs
Tue Mar 8 18:29:49 2011 UTC (13 years, 9 months ago) by pooka
Branches: MAIN
CVS tags: cherry-xenmp-base
Branch point for: cherry-xenmp
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +5 -3 lines
Include syscall.h and syscallargs.h from <srcsys> instead of <sys>
in the RUMP_CLIENT case.  This makes librumpclient compile against
-current sources regardless of host.

inspired by Taylor R Campbell

Revision 1.94.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:55:17 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.94.2.1: preferred, colored; branchpoint 1.94: preferred, colored
Changes since revision 1.94.2.1: +198 -56 lines
sync with head

Revision 1.109.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 15:10:39 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.109: preferred, colored; next MAIN 1.110: preferred, colored
Changes since revision 1.109: +40 -17 lines
Sync with HEAD

Revision 1.116: download - view: text, markup, annotated - select for diffs
Tue Feb 22 14:08:58 2011 UTC (13 years, 9 months ago) by pooka
Branches: MAIN
CVS tags: bouyer-quota2-nbase
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +2 -3 lines
Get rid of one explicit typecast in previous and let the compiler
figure it out.

Revision 1.115: download - view: text, markup, annotated - select for diffs
Tue Feb 22 14:05:20 2011 UTC (13 years, 9 months ago) by pooka
Branches: MAIN
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +30 -12 lines
Redo the register_t casting, but include a provision to make the
case where sizeof(rv) < sizeof(register_t) work.  Hopefully it
works now everywhere.  Only tests will show ...

Revision 1.114: download - view: text, markup, annotated - select for diffs
Tue Feb 22 13:04:22 2011 UTC (13 years, 9 months ago) by pooka
Branches: MAIN
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +2 -4 lines
revert previous fix.  it's not 100% correct and some compilers setups
complain about the generated code.

pointed out by mrg

Revision 1.113: download - view: text, markup, annotated - select for diffs
Tue Feb 22 10:33:12 2011 UTC (13 years, 9 months ago) by pooka
Branches: MAIN
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +5 -3 lines
Use the whole contents of rval instead of just rval[0] for rump
syscall return.  Fixes at least lseek() on various architectures
in various ways.

Revision 1.112: download - view: text, markup, annotated - select for diffs
Mon Feb 21 23:30:12 2011 UTC (13 years, 9 months ago) by pooka
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +4 -7 lines
S'no way bro!

Return the correct return value from NOERR, which is retval
instead of error.

Revision 1.111: download - view: text, markup, annotated - select for diffs
Mon Feb 21 23:20:19 2011 UTC (13 years, 9 months ago) by pooka
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +20 -9 lines
Add syscall type NOERR which signals that a system call is STD but
does not return an errno the usual way.  The main use case is to
fix the posix_fadvise() rump stub (yes, posix_fadvise is a bit
special... bologna).

The list of NOERR syscalls currently matches the libc NOERR list
(and the libc Makefile can in the future be autogenerated from this
info).

Problem spotted by, *shocker*, the automated test runs, specifically
the posix_fadvise test.

Revision 1.110: download - view: text, markup, annotated - select for diffs
Mon Feb 21 11:29:53 2011 UTC (13 years, 9 months ago) by pooka
Branches: MAIN
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +3 -5 lines
Make sure we don't expose any errno set as a side-effect of us
executing the system call.  Some software ignores the return value
and looks only at errno.

Revision 1.109: download - view: text, markup, annotated - select for diffs
Mon Jan 17 16:16:54 2011 UTC (13 years, 10 months ago) by pooka
Branches: MAIN
CVS tags: bouyer-quota2-base
Branch point for: bouyer-quota2
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +122 -36 lines
Rework how syscall compat is handled for rump syscalls.  The old
one had the problem of bypassing the syscall layer and doing a
function call into the kernel directly.  Therefore there was no
way for users of librumpclient to specify compat.  The new model
pushes the compat handling in the kernel and leaves only the task
of selecting the right syscall number to the client.

This change also introduces a stable ABI for rump syscalls, i.e.
it is possible to use the same syscall client library both on NetBSD
5.0 and -current and get the syscalls resolved to the right place
depending on the ABI at the time the client binary is compiled.

A list of what to be called when will have to maintained separately
simply because this information is not available in syscalls.master
-- in the case of the normal kernel we always want to resolve a
newly linked syscall to the latest version, whereas in rump we
might want to resolve a syscall to a -current kernel to the 5.0
compat call (because our client namespace is 5.0).  This information
in maintained in rump_syscalls_compat.h with the current format:

/* time_t change */
#if !__NetBSD_Prereq__(5,99,7)
#define RUMP_SYS_RENAME_STAT rump___sysimpl_stat30
....

If no compat override is given, a syscall resolves automatically
to the latest version of the syscall.

Also, this change autogenerates forward declarations for all syscall
types where it is possible (i.e. ones without typedef insanity).
This makes it possible to include rump_syscalls.h without including
rump.h.

Revision 1.108: download - view: text, markup, annotated - select for diffs
Thu Dec 30 20:09:53 2010 UTC (13 years, 11 months ago) by pooka
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +4 -3 lines
Include system call name in comment even for unimplemented syscalls
in rump_syscalls.c.

Revision 1.107: download - view: text, markup, annotated - select for diffs
Thu Dec 30 16:49:24 2010 UTC (13 years, 11 months ago) by pooka
Branches: MAIN
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +7 -5 lines
Mark syscalls not supported by a rump kernel with SYCALL_NOSYS, as
pure function pointer comparison brings weak alias confusion (weak
aliases are necessary for static linkage).

Revision 1.106: download - view: text, markup, annotated - select for diffs
Thu Dec 30 13:38:10 2010 UTC (13 years, 11 months ago) by pooka
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +5 -5 lines
whitespace polish in rump_syscalls.c

Revision 1.105: download - view: text, markup, annotated - select for diffs
Thu Dec 30 11:54:50 2010 UTC (13 years, 11 months ago) by pooka
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +3 -2 lines
snafu in previous: extra printf arg

Revision 1.104: download - view: text, markup, annotated - select for diffs
Thu Dec 30 11:42:53 2010 UTC (13 years, 11 months ago) by pooka
Branches: MAIN
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +2 -1 lines
Fill syscallnames up to nsysent so that n<nsysent has a non-hyperspace
string mapping.

Revision 1.103: download - view: text, markup, annotated - select for diffs
Wed Nov 17 21:47:11 2010 UTC (14 years ago) by pooka
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +7 -3 lines
Skip one extra function in the rump syscall local path and use
sy_call() directly from rump_syscalls.c.

Revision 1.93.2.4: download - view: text, markup, annotated - select for diffs
Sat Nov 6 08:08:43 2010 UTC (14 years, 1 month ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.93.2.3: preferred, colored; branchpoint 1.93: preferred, colored; next MAIN 1.94: preferred, colored
Changes since revision 1.93.2.3: +33 -13 lines
Sync with HEAD.

Revision 1.102: download - view: text, markup, annotated - select for diffs
Thu Nov 4 20:50:29 2010 UTC (14 years, 1 month ago) by pooka
Branches: MAIN
CVS tags: uebayasi-xip-base4
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +31 -11 lines
Create rump_syscalls.c in two flavours: one which can be compiled
standalone as the clientside and one which expects to be compiled
into the rump kernel.

Revision 1.101: download - view: text, markup, annotated - select for diffs
Thu Nov 4 17:02:34 2010 UTC (14 years, 1 month ago) by pooka
Branches: MAIN
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +2 -2 lines
apply "shut up, lint" for syscallargs.h

Revision 1.100: download - view: text, markup, annotated - select for diffs
Mon Nov 1 16:21:29 2010 UTC (14 years, 1 month ago) by pooka
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +2 -2 lines
Align comment column in output, no functional change.

Revision 1.93.2.3: download - view: text, markup, annotated - select for diffs
Fri Oct 22 07:22:27 2010 UTC (14 years, 1 month ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.93.2.2: preferred, colored; branchpoint 1.93: preferred, colored
Changes since revision 1.93.2.2: +7 -4 lines
Sync with HEAD (-D20101022).

Revision 1.69.2.5: download - view: text, markup, annotated - select for diffs
Sat Oct 9 03:32:31 2010 UTC (14 years, 1 month ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.69.2.4: preferred, colored; branchpoint 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69.2.4: +8 -5 lines
sync with head

Revision 1.99: download - view: text, markup, annotated - select for diffs
Mon Aug 30 10:24:04 2010 UTC (14 years, 3 months ago) by pooka
Branches: MAIN
CVS tags: yamt-nfs-mp-base11, uebayasi-xip-base3
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +8 -5 lines
Use the generally more useful funcalias for rump syscalls.

Revision 1.93.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:47:29 2010 UTC (14 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.93.2.1: preferred, colored; branchpoint 1.93: preferred, colored
Changes since revision 1.93.2.1: +11 -7 lines
Sync with HEAD.

Revision 1.69.2.4: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:54:41 2010 UTC (14 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.69.2.3: preferred, colored; branchpoint 1.69: preferred, colored
Changes since revision 1.69.2.3: +17 -10 lines
sync with head.

Revision 1.98: download - view: text, markup, annotated - select for diffs
Mon Jul 19 15:25:47 2010 UTC (14 years, 4 months ago) by pooka
Branches: MAIN
CVS tags: yamt-nfs-mp-base10, uebayasi-xip-base2
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +2 -1 lines
Include <rump/rump_syscalls_compat.h> from rump_syscalls.h.  This
file will contain compat defs which are not autogenerated.

Revision 1.94.2.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:17:57 2010 UTC (14 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +16 -10 lines
sync with head

Revision 1.97: download - view: text, markup, annotated - select for diffs
Mon May 17 12:35:20 2010 UTC (14 years, 6 months ago) by njoly
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +8 -5 lines
Add multiple inclusion protection to rump_syscalls.h.

Revision 1.96: download - view: text, markup, annotated - select for diffs
Tue May 11 20:09:46 2010 UTC (14 years, 6 months ago) by pooka
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +4 -4 lines
_RUMPKERNEL -> _KERNEL

Revision 1.93.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:44:11 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +8 -3 lines
Sync with HEAD.

Revision 1.95: download - view: text, markup, annotated - select for diffs
Tue Apr 27 10:57:46 2010 UTC (14 years, 7 months ago) by pooka
Branches: MAIN
CVS tags: uebayasi-xip-base1
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +6 -3 lines
Use sys_nomodule for modular rump system calls so that they can be
autoloaded.

Revision 1.69.2.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:18 2010 UTC (14 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.69.2.2: preferred, colored; branchpoint 1.69: preferred, colored
Changes since revision 1.69.2.2: +82 -20 lines
sync with head

Revision 1.94: download - view: text, markup, annotated - select for diffs
Tue Mar 2 19:33:12 2010 UTC (14 years, 9 months ago) by pooka
Branches: MAIN
CVS tags: yamt-nfs-mp-base9
Branch point for: rmind-uvmplock
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +3 -1 lines
Make is possible to add extra output at the top of syscallargs.h.
Use this feature to stick sys/mount.h in there.

Revision 1.93: download - view: text, markup, annotated - select for diffs
Tue Jan 5 15:23:32 2010 UTC (14 years, 11 months ago) by skrll
Branches: MAIN
CVS tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +3 -2 lines
Check for dev_t and time_t arguments and mark them as 64bit.

Revision 1.92: download - view: text, markup, annotated - select for diffs
Sun Dec 13 04:47:45 2009 UTC (14 years, 11 months ago) by matt
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +17 -1 lines
Pullup from matt-nb5-mips64.

For each syscall, add a flag for the return value or an argument indicating
that it is a 64-bit argument.  Also include the number of 64-bit arguments.
In theory this could get most of the code in compat/netbsd32/netbsd32_netbsd.c
but not at the moment due to multiply defined structures.

Revision 1.91: download - view: text, markup, annotated - select for diffs
Thu Nov 26 17:23:48 2009 UTC (15 years ago) by pooka
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +2 -2 lines
typo in comment (it actually breaks the script totally.  i wish
more typos in comments were as effective)

Revision 1.90: download - view: text, markup, annotated - select for diffs
Thu Nov 26 17:19:54 2009 UTC (15 years ago) by pooka
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +53 -14 lines
Add rump support for the special handling required by pipe(2).

Revision 1.89: download - view: text, markup, annotated - select for diffs
Thu Nov 26 16:34:24 2009 UTC (15 years ago) by pooka
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +6 -5 lines
Instead of a single register_t as the retval of rump syscalls,
use an array of two.  No functional change ... yet.

Revision 1.88: download - view: text, markup, annotated - select for diffs
Tue Oct 13 21:54:29 2009 UTC (15 years, 1 month ago) by pooka
Branches: MAIN
CVS tags: jym-xensuspend-nbase
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +6 -3 lines
For varargs syscalls, create rump prototypes which match the regular
system call counterparts, e.g.:
open(const char *, int, mode_t) -> open(const char *, int, ...)

Revision 1.73.8.1: download - view: text, markup, annotated - select for diffs
Sat Aug 22 00:12:23 2009 UTC (15 years, 3 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb4-mips64-k7-u2a-k9b
Diff to: previous 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73: +17 -1 lines
Add info about what arguments and return values are explicity 64bit
(quad_t, off_t) and store that info in sy_flags.

Revision 1.81.2.2: download - view: text, markup, annotated - select for diffs
Thu Jul 23 23:32:35 2009 UTC (15 years, 4 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.81.2.1: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81.2.1: +17 -7 lines
Sync with HEAD.

Revision 1.69.2.2: download - view: text, markup, annotated - select for diffs
Sat May 16 10:41:48 2009 UTC (15 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.69.2.1: preferred, colored; branchpoint 1.69: preferred, colored
Changes since revision 1.69.2.1: +17 -7 lines
sync with head

Revision 1.87: download - view: text, markup, annotated - select for diffs
Fri May 15 15:51:27 2009 UTC (15 years, 6 months ago) by pooka
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, jymxensuspend-base
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +14 -6 lines
Use argname PAD to signal that an argument is used only for padding
and not part of the C interface.  Use this information for rump
syscalls to generate syscall interfaces without the extra parameter.

Revision 1.86: download - view: text, markup, annotated - select for diffs
Fri May 15 14:52:47 2009 UTC (15 years, 6 months ago) by pooka
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +4 -2 lines
In addition to off_t alignment, check for dev_t and time_t too
(we don't currently have any syscalls passing time_t, though)

Revision 1.81.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:21:57 2009 UTC (15 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +51 -10 lines
Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.69.2.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:13:47 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +143 -38 lines
sync with head.

Revision 1.73.2.3: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:37:00 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.73.2.2: preferred, colored; branchpoint 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73.2.2: +8 -5 lines
Sync with HEAD.

Revision 1.85: download - view: text, markup, annotated - select for diffs
Sun Mar 29 07:56:19 2009 UTC (15 years, 8 months ago) by pooka
Branches: MAIN
CVS tags: yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jym-xensuspend-base
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +4 -1 lines
Include some headers to make rump_syscalls.h self-contained.
(not strictly correct wrt portability, but there are bigger fish
to saltgrill in that area)

Revision 1.84: download - view: text, markup, annotated - select for diffs
Wed Mar 18 17:27:04 2009 UTC (15 years, 8 months ago) by pooka
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +5 -5 lines
Rename rump argument marshalling structure variable to "callarg" to
avoid collision with system calls which use "arg".

Revision 1.73.2.2: download - view: text, markup, annotated - select for diffs
Tue Mar 3 18:32:56 2009 UTC (15 years, 9 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.73.2.1: preferred, colored; branchpoint 1.73: preferred, colored
Changes since revision 1.73.2.1: +61 -17 lines
Sync with HEAD.

Revision 1.83: download - view: text, markup, annotated - select for diffs
Fri Feb 20 17:56:36 2009 UTC (15 years, 9 months ago) by pooka
Branches: MAIN
CVS tags: nick-hppapmap-base2
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +45 -7 lines
Instead of linking rump system call entry points directly to the
backend, perform all calls through a syscall table.  This makes it
possible to make system calls to non-local rump kernels.
(requires a bit support code.  it's written but quite messy currently)

Revision 1.82: download - view: text, markup, annotated - select for diffs
Sat Feb 14 16:21:23 2009 UTC (15 years, 9 months ago) by pooka
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +2 -2 lines
cosmetic: don't print empty line at end of init_sysent.c

Revision 1.81: download - view: text, markup, annotated - select for diffs
Fri Jan 23 19:29:38 2009 UTC (15 years, 10 months ago) by pooka
Branches: MAIN
Branch point for: jym-xensuspend
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +1 -2 lines
Remove debug print -- this is what happens when there's several
hours between implementation and commit.

Revision 1.80: download - view: text, markup, annotated - select for diffs
Fri Jan 23 19:27:18 2009 UTC (15 years, 10 months ago) by pooka
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +18 -11 lines
Remove the "int *error" parameter from rump syscalls.  Instead use
rumpuser_seterrno() to set the errno for the caller.  This makes
the difference between real and rump syscalls way less intrusive
in calling code.

Revision 1.73.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:19:39 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +60 -13 lines
Sync with HEAD.

Revision 1.63.6.4: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:29:19 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.63.6.3: preferred, colored; branchpoint 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63.6.3: +65 -14 lines
Sync with HEAD.

Revision 1.79: download - view: text, markup, annotated - select for diffs
Wed Jan 14 19:40:30 2009 UTC (15 years, 10 months ago) by pooka
Branches: MAIN
CVS tags: mjf-devfs2-base
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +8 -8 lines
Generate local prototypes in rump_syscalls.c and disallow using
the rump_syscalls.h interface from inside the rump kernel.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Tue Jan 13 22:27:44 2009 UTC (15 years, 10 months ago) by pooka
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +48 -9 lines
Convert the syscalls.master to a format from which it is easier
to parse and generate the compat name and basename (e.g. __stat50
and stat).  Use this to autogenerate __RENAME()'s to the rump_syscalls
header so that they can be called e.g. rump_sys_socket() instead
of rump_sys___socket30().

Revision 1.77: download - view: text, markup, annotated - select for diffs
Tue Jan 13 16:29:19 2009 UTC (15 years, 10 months ago) by pooka
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +2 -2 lines
Print delimiters around expected string in parse error message.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Tue Jan 13 16:25:43 2009 UTC (15 years, 10 months ago) by pooka
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +2 -2 lines
fix error message: expecting (, not )

Revision 1.69.8.2: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:15:08 2008 UTC (15 years, 11 months ago) by haad
Branches: haad-dm
Diff to: previous 1.69.8.1: preferred, colored; branchpoint 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69.8.1: +11 -3 lines
Update haad-dm branch to haad-dm-base2.

Revision 1.75: download - view: text, markup, annotated - select for diffs
Sun Nov 16 18:40:13 2008 UTC (16 years ago) by pooka
Branches: MAIN
CVS tags: haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +2 -2 lines
<rump/rump_syscalls.h>, not "rump_syscalls.h"

Revision 1.74: download - view: text, markup, annotated - select for diffs
Wed Nov 12 14:29:31 2008 UTC (16 years ago) by ad
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +10 -2 lines
Atomic insertion/removal of groups of system call vectors at runtime with
a basic facility for rollback.

Proposed on tech-kern@.

Revision 1.69.8.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:17:28 2008 UTC (16 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +25 -14 lines
Sync with HEAD.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Mon Oct 13 18:16:33 2008 UTC (16 years, 1 month ago) by pooka
Branches: MAIN
CVS tags: netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, matt-nb5-mips64
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +4 -2 lines
Fix previous: weak symbols work so much better if they are exported
from the object as weak symbols...

There's also something to be said about "cosmetic" tweaks after
testing, but I do think I'll bother.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Mon Oct 13 16:25:12 2008 UTC (16 years, 1 month ago) by pooka
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +7 -5 lines
Weak alias all rump system calls to rump_enosys()

Revision 1.63.6.3: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:40:53 2008 UTC (16 years, 2 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.63.6.2: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.6.2: +17 -10 lines
Sync with HEAD.

Revision 1.69.4.2: download - view: text, markup, annotated - select for diffs
Wed Sep 24 16:38:56 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.69.4.1: preferred, colored; branchpoint 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69.4.1: +3 -2 lines
Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.

Revision 1.69.4.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:31:43 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +16 -10 lines
Sync with wrstuden-revivesa-base-2.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Sun Sep 7 19:27:58 2008 UTC (16 years, 3 months ago) by pooka
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +3 -2 lines
For rumpsyscalls, properly return -1 in case of error.

Revision 1.69.6.1: download - view: text, markup, annotated - select for diffs
Mon Jul 28 14:37:36 2008 UTC (16 years, 4 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +16 -10 lines
Sync with head.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Wed Jul 23 21:17:25 2008 UTC (16 years, 4 months ago) by apb
Branches: MAIN
CVS tags: wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +16 -10 lines
Avoid using \$ in an awk script.  Instead, store '$NetBSD$'
in an awk variable and interpolate it where needed.

Based on the patch by Martin Husemann in PR 38766.

Revision 1.63.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:24:10 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.63.6.1: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.6.1: +0 -4 lines
Sync with HEAD.

Revision 1.68.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:35:09 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.68: preferred, colored; next MAIN 1.69: preferred, colored
Changes since revision 1.68: +1 -5 lines
sync with head.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Thu Apr 24 11:51:19 2008 UTC (16 years, 7 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, yamt-nfs-mp-base, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: yamt-nfs-mp, wrstuden-revivesa, simonb-wapbl, haad-dm
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +1 -5 lines
- Retire SYCALL_MPSAFE. With the exceptions of darwin and irix emulations,
  all system calls are now MPSAFE.
- Remove unneeded acquire/release of kernel_lock.

Revision 1.63.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:43:03 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +87 -4 lines
Sync with HEAD.

Revision 1.58.4.7: download - view: text, markup, annotated - select for diffs
Mon Mar 24 09:39:02 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.58.4.6: preferred, colored; branchpoint 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58.4.6: +6 -9 lines
sync with head.

Revision 1.63.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:16:14 2008 UTC (16 years, 8 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63: +84 -3 lines
sync with head.

Revision 1.59.46.2: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:05:00 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.59.46.1: preferred, colored; branchpoint 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59.46.1: +92 -3 lines
sync with HEAD

Revision 1.68: download - view: text, markup, annotated - select for diffs
Sat Mar 22 15:11:01 2008 UTC (16 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, ad-socklock-base1
Branch point for: yamt-pf42
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +4 -2 lines
bring some stuff from time_t=64...
- add sysalign parameter to syscalls.conf
- add compat_50

Revision 1.67: download - view: text, markup, annotated - select for diffs
Tue Mar 18 12:36:15 2008 UTC (16 years, 8 months ago) by njoly
Branches: MAIN
CVS tags: matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +3 -8 lines
Handle rumpcalls/rumpcallshdr differently by always defining a default
value, which can be overwritten with syscalls.conf defines (just like
sys_nosys).

This fix a problem where rump awk variables are set to 0 value,
leading to the creation of an unexpected file with that name.

ok by pooka.

Revision 1.58.4.6: download - view: text, markup, annotated - select for diffs
Mon Mar 17 09:15:33 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.58.4.5: preferred, colored; branchpoint 1.58: preferred, colored
Changes since revision 1.58.4.5: +81 -2 lines
sync with head.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Tue Mar 11 22:50:10 2008 UTC (16 years, 8 months ago) by pooka
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +80 -1 lines
Generate syscalls entry points which can be called directly without
going through a syscall trap.  These are currently useful for rumps.
As all the standard syscalls are not compiled into librump, mark
relevant ones with RUMP in syscalls.master.  To do e.g. a mkdir
"system call" from a rump, one would call

  rump_sys_mkdir("/dir", mode, &eval);

where the last value represents something to store errno into.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Mon Mar 10 14:06:46 2008 UTC (16 years, 8 months ago) by njoly
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +2 -2 lines
Do not hardcode sys_stub to the string "sys_nosys" for the not ignored
case. Just use the corresponding variable instead, to allow emulation
to use their own defined value.

Revision 1.58.4.5: download - view: text, markup, annotated - select for diffs
Wed Feb 27 08:36:56 2008 UTC (16 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.58.4.4: preferred, colored; branchpoint 1.58: preferred, colored
Changes since revision 1.58.4.4: +10 -3 lines
sync with head.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Sun Feb 24 12:51:42 2008 UTC (16 years, 9 months ago) by martin
Branches: MAIN
CVS tags: hpcarm-cleanup-base
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +10 -3 lines
Add a new syscall type IGNORED which just calls nullop (always succeeds
and does nothing).

Revision 1.59.52.3: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:06:46 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.59.52.2: preferred, colored; branchpoint 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59.52.2: +9 -1 lines
Sync with HEAD.

Revision 1.58.4.4: download - view: text, markup, annotated - select for diffs
Mon Feb 4 09:24:15 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.58.4.3: preferred, colored; branchpoint 1.58: preferred, colored
Changes since revision 1.58.4.3: +9 -1 lines
sync with head.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Mon Jan 28 10:31:37 2008 UTC (16 years, 10 months ago) by yamt
Branches: MAIN
CVS tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base
Branch point for: mjf-devfs2, keiichi-mipv6
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +9 -1 lines
check off_t alignment.

Revision 1.58.4.3: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:46:16 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.58.4.2: preferred, colored; branchpoint 1.58: preferred, colored
Changes since revision 1.58.4.2: +21 -13 lines
sync with head

Revision 1.59.46.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:56:13 2008 UTC (16 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +79 -85 lines
sync with HEAD

Revision 1.61.6.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:56:05 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61: +21 -13 lines
Sync with HEAD

Revision 1.59.52.2: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:46:05 2007 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.59.52.1: preferred, colored; branchpoint 1.59: preferred, colored
Changes since revision 1.59.52.1: +21 -13 lines
Sync with HEAD.

Revision 1.61.2.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:57:13 2007 UTC (16 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61: +21 -13 lines
Sync with head.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Thu Dec 20 23:03:10 2007 UTC (16 years, 11 months ago) by dsl
Branches: MAIN
CVS tags: vmlocking2-base3, matt-armv6-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +21 -13 lines
Convert all the system call entry points from:
    int foo(struct lwp *l, void *v, register_t *retval)
to:
    int foo(struct lwp *l, const struct foo_args *uap, register_t *retval)
Fixup compat code to not write into 'uap' and (in some cases) to actually
pass a correctly formatted 'uap' structure with the right name to the
next routine.
A few 'compat' routines that just call standard ones have been deleted.
All the 'compat' code compiles (along with the kernels required to test
build it).
98% done by automated scripts.

Revision 1.59.52.1: download - view: text, markup, annotated - select for diffs
Mon Nov 19 00:48:46 2007 UTC (17 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +67 -81 lines
Sync with HEAD.

Revision 1.58.4.2: download - view: text, markup, annotated - select for diffs
Thu Nov 15 11:44:47 2007 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.58.4.1: preferred, colored; branchpoint 1.58: preferred, colored
Changes since revision 1.58.4.1: +67 -81 lines
sync with head.

Revision 1.59.50.1: download - view: text, markup, annotated - select for diffs
Tue Nov 13 16:02:15 2007 UTC (17 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +67 -81 lines
Sync with HEAD

Revision 1.59.44.1: download - view: text, markup, annotated - select for diffs
Sun Nov 11 16:48:06 2007 UTC (17 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +67 -81 lines
Sync with HEAD.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Sat Nov 10 13:22:11 2007 UTC (17 years ago) by dsl
Branches: MAIN
CVS tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: vmlocking2, bouyer-xeni386
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +15 -18 lines
Support "NOARGS INDIR" for compat_mach.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Fri Nov 9 14:54:13 2007 UTC (17 years ago) by dsl
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +57 -68 lines
Generate normal prototypes (etc) for INDIR calls (sys_syscall and sys___syscall)
just flag the entries as SYCALL_INDIRECT.

Revision 1.58.4.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:09:38 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +7 -4 lines
sync with head.

Revision 1.53.2.5: download - view: text, markup, annotated - select for diffs
Sun Dec 11 10:29:12 2005 UTC (18 years, 11 months ago) by christos
Branches: ktrace-lwp
Diff to: previous 1.53.2.4: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53.2.4: +7 -4 lines
Sync with head.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Sat Dec 3 17:04:36 2005 UTC (19 years ago) by christos
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, reinoud-bufcleanup, post-newlock2-merge, peter-altq-base, peter-altq, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, mjf-ufs-trans-base, mjf-ufs-trans, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, ktrace-lwp-base, jmcneill-base, hpcarm-cleanup, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: mjf-devfs, matt-armv6, jmcneill-pm, bouyer-xenamd64
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +7 -4 lines
protect sys/syscall.h properly against multiple inclusion and make the
names of the protection macros consistent.

Revision 1.57.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:29:24 2005 UTC (19 years, 7 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +2 -1 lines
sync with -current

Revision 1.57.6.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:36:12 2005 UTC (19 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +2 -1 lines
sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.53.2.4: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:51:59 2005 UTC (19 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.53.2.3: preferred, colored
Changes since revision 1.53.2.3: +2 -1 lines
Sync with HEAD.

Hi Perry!

Revision 1.58: download - view: text, markup, annotated - select for diffs
Sat Feb 26 23:32:31 2005 UTC (19 years, 9 months ago) by perry
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-km-base4, yamt-km-base3, thorpej-vnode-attr-base, thorpej-vnode-attr, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +2 -1 lines
get rid of trailing spaces in the "created from" line (constructed by
stripping the $s from $NetBSD$ in the source file.)

Revision 1.53.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:35:11 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.53.2.2: preferred, colored
Changes since revision 1.53.2.2: +1 -1 lines
Fix the sync with head I botched.

Revision 1.53.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:53:03 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.53.2.1: preferred, colored
Changes since revision 1.53.2.1: +5 -5 lines
Sync with HEAD.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Sun Sep 12 11:24:15 2004 UTC (20 years, 2 months ago) by jdolecek
Branches: MAIN
CVS tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +5 -5 lines
use 'have_toupper' variable for awk toupper() function existence test, rather
than 'isgawk' - e.g. nawk has toupper() too

Revision 1.53.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:52:54 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +27 -22 lines
Sync with HEAD

Revision 1.56: download - view: text, markup, annotated - select for diffs
Sat Jul 31 00:55:51 2004 UTC (20 years, 4 months ago) by lukem
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +2 -2 lines
Rename LIBCOMPAT* -> SYSLIBCOMPAT*, now that <bsd.own.mk> provides LIBCOMPAT.
Fixes kernel link problem noted by Sebastien Erard.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Tue Sep 30 20:34:28 2003 UTC (21 years, 2 months ago) by christos
Branches: MAIN
CVS tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +8 -5 lines
Keep track of which prototypes we declared already so that we don't
declare them again.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Thu Sep 11 13:59:49 2003 UTC (21 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +19 -17 lines
- print comment in compat syscalls too.
- print ifdef's in the header files.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Sat Jan 18 10:06:32 2003 UTC (21 years, 10 months ago) by thorpej
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +2 -2 lines
Merge the nathanw_sa branch.

Revision 1.50.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:59:59 2002 UTC (22 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +7 -3 lines
Sync kqueue branch with -current.

Revision 1.45.2.5: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:16:39 2001 UTC (23 years ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.45.2.4: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.2.4: +7 -3 lines
Catch up to -current.

Revision 1.50.6.1: download - view: text, markup, annotated - select for diffs
Mon Nov 12 21:18:51 2001 UTC (23 years ago) by thorpej
Branches: thorpej-mips-cache
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +7 -3 lines
Sync the thorpej-mips-cache branch with -current.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Mon Nov 12 14:57:02 2001 UTC (23 years ago) by lukem
Branches: MAIN
CVS tags: thorpej-mips-cache-base, newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, ifpoll-base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, fvdl_fs64_base, eeh-devprop-base, eeh-devprop
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -1 lines
add RCSID to generated .c files

Revision 1.51: download - view: text, markup, annotated - select for diffs
Tue Oct 30 21:52:27 2001 UTC (23 years, 1 month ago) by manu
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +5 -3 lines
Made syscallargs.h lint-friendly, so that it can be included in libc sources
more easily.

Revision 1.45.2.4: download - view: text, markup, annotated - select for diffs
Fri Aug 24 00:11:33 2001 UTC (23 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.45.2.3: preferred, colored
Changes since revision 1.45.2.3: +2 -2 lines
Catch up with -current.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Sun Jul 8 19:08:48 2001 UTC (23 years, 5 months ago) by wiz
Branches: MAIN
CVS tags: thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-mips-cache, kqueue
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -2 lines
Fix last commit: It's ">", not "<", in this case. Okay'd by christos.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Sun Jul 8 18:57:50 2001 UTC (23 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -2 lines
add verbiage to error

Revision 1.45.2.3: download - view: text, markup, annotated - select for diffs
Thu Jun 21 20:06:57 2001 UTC (23 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.45.2.2: preferred, colored
Changes since revision 1.45.2.2: +6 -6 lines
Catch up to -current.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Wed May 30 11:27:46 2001 UTC (23 years, 6 months ago) by mrg
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -3 lines
use _KERNEL_OPT not _KERNEL&&|_LKM

Revision 1.35.12.1: download - view: text, markup, annotated - select for diffs
Tue May 1 08:53:00 2001 UTC (23 years, 7 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +13 -9 lines
Pull up revision 1.46 (via patch, requested by jdolecek):
  Make it possible to use a different function for unimplemented
  syscalls than sys_nosys(), so that the Linux emulation can avoid
  posting SIGSYS and instead just return ENOSYS.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Fri Apr 27 06:07:27 2001 UTC (23 years, 7 months ago) by lukem
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +4 -4 lines
put TAB after #defines

Revision 1.35.2.7: download - view: text, markup, annotated - select for diffs
Sat Apr 21 17:46:29 2001 UTC (23 years, 7 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.35.2.6: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.2.6: +15 -11 lines
Sync with HEAD

Revision 1.45.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 9 01:57:55 2001 UTC (23 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.45.2.1: preferred, colored
Changes since revision 1.45.2.1: +15 -11 lines
Catch up with -current.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri Mar 30 16:56:36 2001 UTC (23 years, 8 months ago) by jdolecek
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +15 -11 lines
Make it possible to use different function for unimplemented syscalls
than sys_nosys().

Revision 1.45.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 5 22:49:43 2001 UTC (23 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -2 lines
Initial commit of scheduler activations and lightweight process support.

Revision 1.35.2.6: download - view: text, markup, annotated - select for diffs
Sun Feb 11 19:16:47 2001 UTC (23 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.35.2.5: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.2.5: +11 -6 lines
Sync with HEAD.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sat Jan 27 07:21:43 2001 UTC (23 years, 10 months ago) by thorpej
Branches: MAIN
Branch point for: nathanw_sa
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +11 -6 lines
Add a "sy_flags" to struct sysent, define a SYCALL_MPSAFE
system call flag (indicating that the kernel lock does not
need to be acquired when entering the kernel on that syscall).

Revision 1.35.2.5: download - view: text, markup, annotated - select for diffs
Fri Jan 5 17:36:40 2001 UTC (23 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.35.2.4: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.2.4: +6 -1 lines
Sync with HEAD

Revision 1.44: download - view: text, markup, annotated - select for diffs
Mon Jan 1 16:41:43 2001 UTC (23 years, 11 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +7 -2 lines
Avoid generating duplicate SYS_* defines to *syscall.h - is possible
for kern/syscalls.master's sys_getpid()/sys_getpid_with_ppid().
This fixes kern/11853 by Bernd Ernesti.

Revision 1.35.2.4: download - view: text, markup, annotated - select for diffs
Wed Dec 13 15:50:21 2000 UTC (23 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.35.2.3: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.2.3: +46 -33 lines
Sync with HEAD (for UBC fixes).

Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Dec 12 17:32:45 2000 UTC (23 years, 11 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +5 -1 lines
if the third argument in syscall.conf matches [a-z0-9_], use it as
a function alias instead of the function name in { ... }

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat Dec 9 05:41:12 2000 UTC (24 years ago) by mycroft
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -2 lines
s/unimplemented/filler/

Revision 1.41: download - view: text, markup, annotated - select for diffs
Sat Dec 9 05:33:27 2000 UTC (24 years ago) by mycroft
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -2 lines
Add another const.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Sat Dec 9 05:27:08 2000 UTC (24 years ago) by mycroft
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +43 -34 lines
Couple of changes:
* Make the syscallnames[] table const.
* Add a separator between the #include section and the syscalls section, so
  that #if/#else/#endif can be handled differently in the two.
* Add support for rounding up the size of the sysent table.

Revision 1.35.2.3: download - view: text, markup, annotated - select for diffs
Fri Dec 8 09:13:56 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.35.2.2: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.2.2: +9 -0 lines
Sync with HEAD.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Wed Nov 29 22:09:05 2000 UTC (24 years ago) by jdolecek
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +10 -1 lines
recognize ^if and ^endif in input master syscall file specially - output it
like #if and #endif to sysdcl; this can be used to insert ifdefs
to generated *sysent.c

Revision 1.35.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 22 16:05:24 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.35.2.1: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.2.1: +2 -2 lines
Sync with HEAD.

Revision 1.35.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 18:09:06 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +9 -9 lines
Update thorpej_scsipi to -current as of a month ago

Revision 1.38: download - view: text, markup, annotated - select for diffs
Mon Nov 13 21:32:16 2000 UTC (24 years ago) by jdolecek
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -2 lines
change the type of *syscallnames[] array to 'const char * const foo[]'

Revision 1.37: download - view: text, markup, annotated - select for diffs
Fri Aug 18 19:33:30 2000 UTC (24 years, 3 months ago) by cgd
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +6 -6 lines
tweak white space around generated NetBSD rcs ids

Revision 1.36: download - view: text, markup, annotated - select for diffs
Fri Aug 18 19:14:33 2000 UTC (24 years, 3 months ago) by cgd
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +4 -4 lines
nuke __P for generated syscall prototypes and sy_call_t

Revision 1.35: download - view: text, markup, annotated - select for diffs
Fri Aug 20 19:07:31 1999 UTC (25 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase
Branch point for: thorpej_scsipi, netbsd-1-5
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +12 -12 lines
Clean up some whitespace issues in the generated syscallargs.h file.

Revision 1.33.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 01:24:03 1999 UTC (25 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +4 -2 lines
Sync w/ -current.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Jun 9 04:25:30 1999 UTC (25 years, 6 months ago) by christos
Branches: MAIN
CVS tags: chs-ubc2-base
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +4 -2 lines
Add EXCL keyword as described in tech_kern, and fix comments. Make the
vtrace syscall UNIMPL because it is.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Feb 17 18:17:10 1999 UTC (25 years, 9 months ago) by christos
Branches: MAIN
CVS tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: chs-ubc2
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2 lines
Now that shell has been fixed so that ". filename" does not look at . if .
is not in the path add ./ to the files.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Thu Feb 11 09:32:01 1999 UTC (25 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +4 -2 lines
Print the line that caused the error message. Unfortunately the line
numbers reported by awk are not useful, because the \$ preprocessing
by sed...

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Jan 3 04:25:26 1999 UTC (25 years, 11 months ago) by erh
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +4 -1 lines
Protect the syscallargs header file with a define.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Oct 3 19:21:11 1998 UTC (26 years, 2 months ago) by eeh
Branches: MAIN
CVS tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +22 -3 lines
Fix big-endian syscall args.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Sep 13 04:57:24 1998 UTC (26 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +7 -2 lines
Emit syscall numbers for COMPAT_xx syscalls, too.

Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 1 02:13:00 1998 UTC (26 years, 9 months ago) by fvdl
Branches: netbsd, CSRG
CVS tags: lite-2
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +351 -157 lines
Import 4.4BSD-Lite2

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 1 02:09:44 1998 UTC (26 years, 9 months ago) by fvdl
Branches: netbsd, CSRG
CVS tags: lite-1, date-03-may-96
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +8 -8 lines
Import 4.4BSD-Lite for reference

Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu Feb 19 03:30:24 1998 UTC (26 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: eeh-paddr_t-base, eeh-paddr_t
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +8 -2 lines
Argh, protect userland from includes in the syscall names file.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Feb 18 23:14:55 1998 UTC (26 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +14 -10 lines
Put #include directives in the system call names file, too, so we can
generate dependencies on optional system calls.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri Jan 9 06:17:51 1998 UTC (26 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +1 -2 lines
Oops, thinko

Revision 1.25: download - view: text, markup, annotated - select for diffs
Fri Jan 9 06:07:26 1998 UTC (26 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +6 -1 lines
Put RCS IDs in generated files, in the right place.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Jan 8 00:16:25 1998 UTC (26 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +1 -5 lines
Back out RCS ID related changes.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Jan 5 18:19:35 1998 UTC (26 years, 11 months ago) by perry
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +5 -5 lines
ugh. escape rcs tags so that the script doesn't get messed up.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Jan 5 18:09:44 1998 UTC (26 years, 11 months ago) by perry
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +5 -1 lines
put RCS ids in the output files. Not essential, but useful.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Dec 22 06:45:14 1996 UTC (27 years, 11 months ago) by cgd
Branches: MAIN
CVS tags: thorpej-signal-base, thorpej-signal, thorpej-setroot, netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, mrg-vm-swap, marc-pcmcia-bp, marc-pcmcia-base, marc-pcmcia, is-newarp-before-merge, is-newarp-base, is-newarp, bouyer-scsipi
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +16 -10 lines
* Don't actually output args structure definitions for INDIR syscalls (typo).
* Don't output prototypes for INDIR syscalls (since they always show up as
  sys_nosys() in the syscall table).
* Add "indir" to the comment for INDIR syscalls in the syscalls table, so
  it's more obvious why they call sys_nosys().

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Dec 22 06:33:46 1996 UTC (27 years, 11 months ago) by cgd
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2 lines
update copyright date

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Dec 22 06:33:16 1996 UTC (27 years, 11 months ago) by cgd
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +87 -36 lines
* remember (i.e. don't throw away) system call return types.
* Deal with multi-word system call return types (i.e. foo *, or
  struct foo *, or struct foo, etc.).
* Add a new class of system calls "INDIR" (for "indirect"), which
  is to be used to represent indirect syscalls like syscall() and
  __syscall() which are implemented in MD code and which don't want
  args structures defined.  (The old way of declaring this type of
  syscalls still works.)
* Allow system calls to be marked as having a variable number of
  arguments, by inserting "..." (no trailing comma) before the
  first hf the optional arguments in the syscall definition.  Because
  of the way syscall arguments are handled by MI code, _ALL_ syscall
  arguments must actually be included in the definition, i.e.
  "optional" arguments are either "are there or aren't," i.e. these
  aren't really varargs functions.  Therefore, for normal syscalls,
  there _must_ be arguments listed after the "...".  For INDIR
  syscalls, which really do have a variable number of arguments and
  which aren't handled via the normal mechanism, that requirement is
  not in force.
* output primitive (machine-parsable) syscall descriptions as comments
  in <sys/syscall.h>.  These can be used to easily build real function
  prototypes, or to build stub functions for use by lint.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Mar 15 01:25:12 1996 UTC (28 years, 8 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +19 -3 lines
support nested #if/#else/#endif sets, to allow ULTRIX compat code to handle
Mips ULTRIX and VAX ULTRIX from the same syscall table.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Oct 7 06:28:31 1995 UTC (29 years, 2 months ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +22 -38 lines
Prefix names of system call implementation functions with `sys_'.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Sep 19 21:28:56 1995 UTC (29 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +16 -10 lines
Emit prototypes for system call functions and append them to the
`syscallargs' header file.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Apr 22 19:43:02 1995 UTC (29 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -5 lines
- new copyargs routine.
- use emul_xxx
- deprecate nsysent; use constant SYS_MAXSYSCALL instead.
- deprecate ep_setup
- call sendsig and setregs indirectly.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Oct 28 23:14:46 1994 UTC (30 years, 1 month ago) by cgd
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +6 -5 lines
minor cleanup; get output format right.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Oct 20 23:22:38 1994 UTC (30 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
Fix typo in description of syscallarg.h.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Oct 20 04:37:09 1994 UTC (30 years, 1 month ago) by cgd
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +32 -2 lines
one minor mod...

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Oct 20 04:23:02 1994 UTC (30 years, 1 month ago) by cgd
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +347 -179 lines
update for new syscall args description mechanism

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Jun 30 16:43:01 1994 UTC (30 years, 5 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -4 lines
fix up for new ID format, and consistency

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Jun 29 06:32:53 1994 UTC (30 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +6 -5 lines
New RCS ID's, take two.  they're more aesthecially pleasant, and use 'NetBSD'

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed May 18 04:15:51 1994 UTC (30 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +7 -13 lines
Update from 4.4-Lite.  No important differences.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue May 17 00:01:00 1994 UTC (30 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +25 -3 lines
add support for 'NCOMPAT' to deal with NetBSD compat defines

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Mar 18 19:18:07 1994 UTC (30 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -3 lines
Standardize #includes.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Jun 7 19:52:40 1993 UTC (31 years, 6 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-0-9-patch-001, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9, magnum-base, magnum
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +5 -4 lines
add support for terry lambert's loadable kernel modules.
needs a bit of cleanup, but overall: SLICK!

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu May 20 16:17:38 1993 UTC (31 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +10 -4 lines
do something better with version strings for created files,
also inclusion protect syscall.h

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu May 20 02:57:57 1993 UTC (31 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
kill the "chmod 444" of the syscall-dependent files.  makes running
makesyscalls.sh again somewhat more difficult than necessary, sometimes.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu May 20 02:54:49 1993 UTC (31 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -1 lines
add $Id$ strings, and clean up file headers where necessary

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Apr 6 10:37:11 1993 UTC (31 years, 8 months ago) by glass
Branches: MAIN
CVS tags: netbsd-alpha-1, netbsd-0-8
added 'makesyscalls.sh' from BNR/2.  Edit only 'syscalls.master'
recreates init_sysent.c syscalls.c ../sys/syscall.h which should
then be checked back in.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>