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


Default branch: MAIN


Revision 1.187 / (download) - annotate - [select for diffs], Fri Jul 28 18:19:01 2023 UTC (8 months, 2 weeks ago) by christos
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.186: +2 -1 lines
Diff to previous 1.186 (colored)

Add epoll(2) from Theodore Preduta as part of GSoC 2023

Revision 1.186 / (download) - annotate - [select for diffs], Thu Oct 21 11:01:03 2021 UTC (2 years, 5 months ago) by andvar
Branch: 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
Changes since 1.185: +2 -2 lines
Diff to previous 1.185 (colored)

s/optiona]/optional]/

Revision 1.183.2.1 / (download) - annotate - [select for diffs], Sat Apr 17 17:26:20 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.183: +12 -3 lines
Diff to previous 1.183 (colored) next main 1.184 (colored)

Sync with HEAD.

Revision 1.185 / (download) - annotate - [select for diffs], Wed Apr 14 02:45:40 2021 UTC (3 years ago) by christos
Branch: 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
Changes since 1.184: +5 -5 lines
Diff to previous 1.184 (colored)

use the first element of the array instead

Revision 1.184 / (download) - annotate - [select for diffs], Tue Apr 13 22:45:32 2021 UTC (3 years ago) by christos
Branch: MAIN
Changes since 1.183: +12 -3 lines
Diff to previous 1.183 (colored)

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) - annotate - [select for diffs], Sat Apr 3 22:29:00 2021 UTC (3 years ago) by thorpej
Branch: thorpej-futex
Changes since 1.182: +2 -2 lines
Diff to previous 1.182 (colored) next main 1.183 (colored)

Sync with HEAD.

Revision 1.183 / (download) - annotate - [select for diffs], Wed Feb 17 06:25:10 2021 UTC (3 years, 1 month ago) by rillig
Branch: MAIN
CVS Tags: thorpej-futex-base
Branch point for: thorpej-cfargs
Changes since 1.182: +2 -2 lines
Diff to previous 1.182 (colored)

makesyscalls.sh: fix typo in comment

Revision 1.182 / (download) - annotate - [select for diffs], Tue Sep 29 02:58:53 2020 UTC (3 years, 6 months ago) by msaitoh
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.181: +2 -2 lines
Diff to previous 1.181 (colored)

s/occurence/occurrence/

Revision 1.181 / (download) - annotate - [select for diffs], Thu Jun 11 03:25:35 2020 UTC (3 years, 10 months ago) by dholland
Branch: MAIN
Changes since 1.180: +27 -1 lines
Diff to previous 1.180 (colored)

Don't output things in awk hash order. Sort first.

Revision 1.180 / (download) - annotate - [select for diffs], Thu Jun 11 02:21:26 2020 UTC (3 years, 10 months ago) by dholland
Branch: MAIN
Changes since 1.179: +3 -3 lines
Diff to previous 1.179 (colored)

fix awk-induced bug (using wrong variable, getting away with it by luck)

Revision 1.179 / (download) - annotate - [select for diffs], Tue Jun 9 04:48:45 2020 UTC (3 years, 10 months ago) by dholland
Branch: MAIN
Changes since 1.178: +7 -2 lines
Diff to previous 1.178 (colored)

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) - annotate - [select for diffs], Tue Jun 2 16:45:42 2020 UTC (3 years, 10 months ago) by kamil
Branch: MAIN
Changes since 1.177: +6 -4 lines
Diff to previous 1.177 (colored)

Respect syscall aliases in the rump code

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

Revision 1.177 / (download) - annotate - [select for diffs], Tue Jun 2 13:49:15 2020 UTC (3 years, 10 months ago) by kamil
Branch: MAIN
Changes since 1.176: +2 -2 lines
Diff to previous 1.176 (colored)

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) - annotate - [select for diffs], Mon Apr 13 08:05:04 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.169.10.1: +29 -36 lines
Diff to previous 1.169.10.1 (colored) to branchpoint 1.169 (colored) next main 1.170 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.176 / (download) - annotate - [select for diffs], Sat Nov 9 22:05:50 2019 UTC (4 years, 5 months ago) by jdolecek
Branch: 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
Changes since 1.175: +2 -2 lines
Diff to previous 1.175 (colored)

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) - annotate - [select for diffs], Sun Oct 13 22:31:19 2019 UTC (4 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.174: +2 -2 lines
Diff to previous 1.174 (colored)

cast nullop though void *

Revision 1.174 / (download) - annotate - [select for diffs], Wed Oct 9 01:43:00 2019 UTC (4 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.173: +18 -9 lines
Diff to previous 1.173 (colored)

- cast through void * for rump
- don't generate bogus filenames /dev/null.bottom etc.

Revision 1.173 / (download) - annotate - [select for diffs], Tue Jun 18 16:24:17 2019 UTC (4 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-9-base, 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
Changes since 1.172: +13 -29 lines
Diff to previous 1.172 (colored)

include #ifdefs in the syscalls autoload file and make it standalone.
XXX: This needs to be re-thought

Revision 1.169.10.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:09:03 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.169: +34 -5 lines
Diff to previous 1.169 (colored)

Sync with HEAD

Revision 1.169.8.1 / (download) - annotate - [select for diffs], Thu Sep 6 06:56:42 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.169: +34 -5 lines
Diff to previous 1.169 (colored) next main 1.170 (colored)

Sync with HEAD

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

Revision 1.172 / (download) - annotate - [select for diffs], Sun Aug 26 11:53:28 2018 UTC (5 years, 7 months ago) by kre
Branch: 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
Changes since 1.171: +9 -3 lines
Diff to previous 1.171 (colored)


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

Revision 1.171 / (download) - annotate - [select for diffs], Sun Aug 26 11:48:00 2018 UTC (5 years, 7 months ago) by kre
Branch: MAIN
Changes since 1.170: +12 -9 lines
Diff to previous 1.170 (colored)


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) - annotate - [select for diffs], Fri Aug 10 21:44:59 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: MAIN
Changes since 1.169: +23 -3 lines
Diff to previous 1.169 (colored)

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) - annotate - [select for diffs], Sun Dec 3 11:38:45 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.125.2.4: +202 -49 lines
Diff to previous 1.125.2.4 (colored) next main 1.126 (colored)

update from HEAD

Revision 1.145.4.7 / (download) - annotate - [select for diffs], Mon Aug 28 17:53:07 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.145.4.6: +5 -1 lines
Diff to previous 1.145.4.6 (colored) to branchpoint 1.145 (colored) next main 1.146 (colored)

Sync with HEAD

Revision 1.168.6.1 / (download) - annotate - [select for diffs], Thu May 11 02:58:40 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: prg-localcount2
Changes since 1.168: +5 -1 lines
Diff to previous 1.168 (colored) next main 1.169 (colored)

Sync with HEAD

Revision 1.169 / (download) - annotate - [select for diffs], Wed May 10 06:08:56 2017 UTC (6 years, 11 months ago) by riastradh
Branch: 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-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
Changes since 1.168: +5 -1 lines
Diff to previous 1.168 (colored)

Forward-declare `struct lwp' so we can use `struct lwp *' here.

Revision 1.164.2.2 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:47 2017 UTC (7 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.164.2.1: +4 -3 lines
Diff to previous 1.164.2.1 (colored) to branchpoint 1.164 (colored) next main 1.165 (colored)

Sync with HEAD

Revision 1.145.4.6 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:56 2017 UTC (7 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.145.4.5: +4 -3 lines
Diff to previous 1.145.4.5 (colored) to branchpoint 1.145 (colored)

Sync with HEAD

Revision 1.168 / (download) - annotate - [select for diffs], Sun Jan 15 17:00:59 2017 UTC (7 years, 2 months ago) by christos
Branch: 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
Changes since 1.167: +4 -3 lines
Diff to previous 1.167 (colored)

put linux_handler_t in the right place.

Revision 1.167 / (download) - annotate - [select for diffs], Sun Jan 15 15:18:52 2017 UTC (7 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.166: +2 -2 lines
Diff to previous 1.166 (colored)

need intptr_t cast for linux_handler_t

Revision 1.166 / (download) - annotate - [select for diffs], Fri Jan 13 06:11:27 2017 UTC (7 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.165: +2 -2 lines
Diff to previous 1.165 (colored)

const police!

Revision 1.145.4.5 / (download) - annotate - [select for diffs], Mon Dec 5 10:55:26 2016 UTC (7 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.145.4.4: +8 -4 lines
Diff to previous 1.145.4.4 (colored) to branchpoint 1.145 (colored)

Sync with HEAD

Revision 1.164.2.1 / (download) - annotate - [select for diffs], Fri Nov 4 14:49:17 2016 UTC (7 years, 5 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.164: +8 -4 lines
Diff to previous 1.164 (colored)

Sync with HEAD

Revision 1.165 / (download) - annotate - [select for diffs], Fri Oct 28 23:44:32 2016 UTC (7 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107, pgoyette-localcount-20161104, nick-nhusb-base-20161204
Changes since 1.164: +8 -4 lines
Diff to previous 1.164 (colored)

Fix arg64 computation for compat_netbsd32

Revision 1.145.4.4 / (download) - annotate - [select for diffs], Sat Mar 19 11:30:31 2016 UTC (8 years ago) by skrll
Branch: nick-nhusb
Changes since 1.145.4.3: +2 -2 lines
Diff to previous 1.145.4.3 (colored) to branchpoint 1.145 (colored)

Sync with HEAD

Revision 1.164 / (download) - annotate - [select for diffs], Tue Jan 26 23:46:37 2016 UTC (8 years, 2 months ago) by pooka
Branch: 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
Changes since 1.163: +2 -2 lines
Diff to previous 1.163 (colored)

fix typo in previous

Revision 1.163 / (download) - annotate - [select for diffs], Tue Jan 26 23:44:58 2016 UTC (8 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.162: +2 -2 lines
Diff to previous 1.162 (colored)

"rump_private" -> <rump-sys/kern.h>

Revision 1.145.4.3 / (download) - annotate - [select for diffs], Sun Dec 27 12:10:05 2015 UTC (8 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.145.4.2: +34 -8 lines
Diff to previous 1.145.4.2 (colored) to branchpoint 1.145 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.162 / (download) - annotate - [select for diffs], Tue Dec 1 00:58:29 2015 UTC (8 years, 4 months ago) by pgoyette
Branch: MAIN
CVS Tags: nick-nhusb-base-20151226
Changes since 1.161: +4 -4 lines
Diff to previous 1.161 (colored)

Rename "autoloadprefix" variable to "emulname" - suggested by christos@

Revision 1.161 / (download) - annotate - [select for diffs], Tue Dec 1 00:25:58 2015 UTC (8 years, 4 months ago) by pgoyette
Branch: MAIN
Changes since 1.160: +4 -2 lines
Diff to previous 1.160 (colored)

Only cast to (void) if the type is NOERR

Revision 1.160 / (download) - annotate - [select for diffs], Mon Nov 30 23:27:27 2015 UTC (8 years, 4 months ago) by pgoyette
Branch: MAIN
Changes since 1.159: +2 -2 lines
Diff to previous 1.159 (colored)

And now fix the actual syntax error.  :(

Revision 1.159 / (download) - annotate - [select for diffs], Mon Nov 30 23:25:54 2015 UTC (8 years, 4 months ago) by pgoyette
Branch: MAIN
Changes since 1.158: +2 -2 lines
Diff to previous 1.158 (colored)

Fix typo

Revision 1.158 / (download) - annotate - [select for diffs], Mon Nov 30 23:24:14 2015 UTC (8 years, 4 months ago) by pgoyette
Branch: MAIN
Changes since 1.157: +2 -2 lines
Diff to previous 1.157 (colored)

Cast rsys_syscall() to (void) to appease coverity.

Revision 1.157 / (download) - annotate - [select for diffs], Mon Nov 30 23:17:40 2015 UTC (8 years, 4 months ago) by pgoyette
Branch: MAIN
Changes since 1.156: +2 -2 lines
Diff to previous 1.156 (colored)

Rename sc_auto to sc_autoload at suggestion of christos@

Revision 1.156 / (download) - annotate - [select for diffs], Mon Nov 30 23:00:14 2015 UTC (8 years, 4 months ago) by pgoyette
Branch: MAIN
Changes since 1.155: +2 -2 lines
Diff to previous 1.155 (colored)

Eliminate stray \t in the syscalls_autoload.c output file.

Revision 1.155 / (download) - annotate - [select for diffs], Mon Nov 30 22:47:19 2015 UTC (8 years, 4 months ago) by pgoyette
Branch: MAIN
Changes since 1.154: +7 -5 lines
Diff to previous 1.154 (colored)

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) - annotate - [select for diffs], Thu Sep 24 14:30:52 2015 UTC (8 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.153: +26 -4 lines
Diff to previous 1.153 (colored)

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) - annotate - [select for diffs], Sat Jun 6 14:40:21 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.145.4.1: +48 -3 lines
Diff to previous 1.145.4.1 (colored) to branchpoint 1.145 (colored)

Sync with HEAD

Revision 1.153 / (download) - annotate - [select for diffs], Sat May 9 10:57:04 2015 UTC (8 years, 11 months ago) by pooka
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921, nick-nhusb-base-20150606
Changes since 1.152: +2 -1 lines
Diff to previous 1.152 (colored)

fix to work for syscalls.conf without sysautoload

reported by Justin('s buildbot)

Revision 1.152 / (download) - annotate - [select for diffs], Sat May 9 05:51:26 2015 UTC (8 years, 11 months ago) by pgoyette
Branch: MAIN
Changes since 1.151: +46 -2 lines
Diff to previous 1.151 (colored)

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) - annotate - [select for diffs], Mon Apr 6 15:18:20 2015 UTC (9 years ago) by skrll
Branch: nick-nhusb
Changes since 1.145: +117 -44 lines
Diff to previous 1.145 (colored)

Sync with HEAD

Revision 1.151 / (download) - annotate - [select for diffs], Sun Mar 8 20:31:53 2015 UTC (9 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406
Changes since 1.150: +4 -1 lines
Diff to previous 1.150 (colored)

Don't forget to assign the new rump variables.

Revision 1.150 / (download) - annotate - [select for diffs], Sun Mar 8 17:49:08 2015 UTC (9 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.149: +3 -3 lines
Diff to previous 1.149 (colored)

kill empty line

Revision 1.149 / (download) - annotate - [select for diffs], Sun Mar 8 15:07:05 2015 UTC (9 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.148: +6 -2 lines
Diff to previous 1.148 (colored)

Don't blindly tack ./ in front of the config file; breaks when we pass a full
path one.

Revision 1.148 / (download) - annotate - [select for diffs], Sat Mar 7 21:49:56 2015 UTC (9 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.147: +6 -6 lines
Diff to previous 1.147 (colored)

make sure we print the fillers.

Revision 1.147 / (download) - annotate - [select for diffs], Sat Mar 7 20:39:11 2015 UTC (9 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.146: +35 -39 lines
Diff to previous 1.146 (colored)

Use modern initializers, so we can skip the 0 ones.

Revision 1.146 / (download) - annotate - [select for diffs], Sat Mar 7 16:38:07 2015 UTC (9 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.145: +81 -11 lines
Diff to previous 1.145 (colored)

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) - annotate - [select for diffs], Wed Aug 20 00:04:29 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.125.2.3: +92 -62 lines
Diff to previous 1.125.2.3 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.139.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:55:58 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.139: +74 -54 lines
Diff to previous 1.139 (colored) next main 1.140 (colored)

Rebase.

Revision 1.145 / (download) - annotate - [select for diffs], Thu Jul 24 11:58:45 2014 UTC (9 years, 8 months ago) by pooka
Branch: 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
Changes since 1.144: +35 -11 lines
Diff to previous 1.144 (colored)

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) - annotate - [select for diffs], Wed Jul 23 11:41:34 2014 UTC (9 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.143: +4 -3 lines
Diff to previous 1.143 (colored)

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) - annotate - [select for diffs], Thu May 22 11:41:03 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.119.2.3: +64 -54 lines
Diff to previous 1.119.2.3 (colored) to branchpoint 1.119 (colored) next main 1.120 (colored)

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) - annotate - [select for diffs], Sun May 18 21:25:44 2014 UTC (9 years, 10 months ago) by justin
Branch: MAIN
Changes since 1.142: +4 -2 lines
Diff to previous 1.142 (colored)

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) - annotate - [select for diffs], Sun May 18 17:46:07 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.128.6.1: +64 -57 lines
Diff to previous 1.128.6.1 (colored) to branchpoint 1.128 (colored) next main 1.129 (colored)

sync with head

Revision 1.142 / (download) - annotate - [select for diffs], Sun Apr 27 14:50:23 2014 UTC (9 years, 11 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base
Changes since 1.141: +16 -4 lines
Diff to previous 1.141 (colored)

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) - annotate - [select for diffs], Sun Apr 27 14:29:53 2014 UTC (9 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.140: +17 -37 lines
Diff to previous 1.140 (colored)

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) - annotate - [select for diffs], Wed Apr 9 23:50:45 2014 UTC (10 years ago) by pooka
Branch: MAIN
Changes since 1.139: +6 -5 lines
Diff to previous 1.139 (colored)

properly handle forward declarations for pointerpointer arguments

Revision 1.139 / (download) - annotate - [select for diffs], Mon Dec 9 21:12:45 2013 UTC (10 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.138: +2 -2 lines
Diff to previous 1.138 (colored)

one newline is enough

Revision 1.138 / (download) - annotate - [select for diffs], Mon Dec 9 21:11:15 2013 UTC (10 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.137: +2 -1 lines
Diff to previous 1.137 (colored)

need string.h now for !_KERNEL

Revision 1.137 / (download) - annotate - [select for diffs], Mon Dec 9 19:18:52 2013 UTC (10 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.136: +2 -1 lines
Diff to previous 1.136 (colored)

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) - annotate - [select for diffs], Mon Dec 9 16:32:06 2013 UTC (10 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.135: +4 -1 lines
Diff to previous 1.135 (colored)

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) - annotate - [select for diffs], Mon Dec 9 16:27:15 2013 UTC (10 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.134: +3 -3 lines
Diff to previous 1.134 (colored)

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) - annotate - [select for diffs], Tue Oct 8 11:47:57 2013 UTC (10 years, 6 months ago) by njoly
Branch: MAIN
Changes since 1.133: +2 -2 lines
Diff to previous 1.133 (colored)

Note that sysalign checks for dev_t/time_t alignment too.

Revision 1.133 / (download) - annotate - [select for diffs], Tue Sep 10 17:40:54 2013 UTC (10 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.132: +2 -2 lines
Diff to previous 1.132 (colored)

"rumpuser_port.h" -> <rump/rumpuser_port.h>

Revision 1.132 / (download) - annotate - [select for diffs], Tue Sep 3 21:28:24 2013 UTC (10 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.131: +10 -1 lines
Diff to previous 1.131 (colored)

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) - annotate - [select for diffs], Tue Sep 3 20:54:03 2013 UTC (10 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.130: +23 -10 lines
Diff to previous 1.130 (colored)

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) - annotate - [select for diffs], Tue Sep 3 19:55:13 2013 UTC (10 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.129: +3 -16 lines
Diff to previous 1.129 (colored)

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) - annotate - [select for diffs], Wed Aug 28 23:59:35 2013 UTC (10 years, 7 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.128: +1 -5 lines
Diff to previous 1.128 (colored)

sync with head

Revision 1.129 / (download) - annotate - [select for diffs], Thu Aug 15 21:16:13 2013 UTC (10 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.128: +1 -5 lines
Diff to previous 1.128 (colored)

type compat header list doesn't need to be autogenerated

Revision 1.125.2.3 / (download) - annotate - [select for diffs], Sun Jun 23 06:18:58 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.125.2.2: +11 -4 lines
Diff to previous 1.125.2.2 (colored)

resync from head

Revision 1.128 / (download) - annotate - [select for diffs], Thu Mar 7 19:17:46 2013 UTC (11 years, 1 month ago) by pooka
Branch: 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
Changes since 1.127: +11 -4 lines
Diff to previous 1.127 (colored)

make rump kernel syscalls through curproc->p_emul instead of rump_sysent

Revision 1.125.2.2 / (download) - annotate - [select for diffs], Mon Feb 25 00:29:52 2013 UTC (11 years, 1 month ago) by tls
Branch: tls-maxphys
Changes since 1.125.2.1: +4 -1 lines
Diff to previous 1.125.2.1 (colored)

resync with head

Revision 1.119.2.3 / (download) - annotate - [select for diffs], Wed Jan 23 00:06:21 2013 UTC (11 years, 2 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.119.2.2: +4 -1 lines
Diff to previous 1.119.2.2 (colored) to branchpoint 1.119 (colored)

sync with head

Revision 1.127 / (download) - annotate - [select for diffs], Thu Jan 17 21:30:30 2013 UTC (11 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base8
Changes since 1.126: +4 -1 lines
Diff to previous 1.126 (colored)

Include rumpuser_port.h in rump_syscalls.c when compiled for librumpclient

Revision 1.125.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:02:43 2012 UTC (11 years, 4 months ago) by tls
Branch: tls-maxphys
Changes since 1.125: +2 -1 lines
Diff to previous 1.125 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.119.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:22:32 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.119.2.1: +30 -6 lines
Diff to previous 1.119.2.1 (colored) to branchpoint 1.119 (colored)

sync with head

Revision 1.126 / (download) - annotate - [select for diffs], Thu Sep 20 17:46:21 2012 UTC (11 years, 6 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6
Changes since 1.125: +2 -1 lines
Diff to previous 1.125 (colored)

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) - annotate - [select for diffs], Fri Aug 3 18:08:01 2012 UTC (11 years, 8 months ago) by matt
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.124: +9 -1 lines
Diff to previous 1.124 (colored)

If any argument of a syscall is a pointer, set SYCALL_ARG_PTR as a flag.

Revision 1.124 / (download) - annotate - [select for diffs], Fri Aug 3 11:31:33 2012 UTC (11 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.123: +20 -4 lines
Diff to previous 1.123 (colored)

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) - annotate - [select for diffs], Fri Jul 20 18:19:09 2012 UTC (11 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.122: +2 -2 lines
Diff to previous 1.122 (colored)

pretty pretty print

Revision 1.122 / (download) - annotate - [select for diffs], Fri Jul 20 18:17:26 2012 UTC (11 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.121: +2 -1 lines
Diff to previous 1.121 (colored)

unrevert part of 1.119 which should not have been reverted (sys/socket.h)

Revision 1.121 / (download) - annotate - [select for diffs], Fri Jul 20 16:44:33 2012 UTC (11 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.120: +3 -5 lines
Diff to previous 1.120 (colored)

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) - annotate - [select for diffs], Sat Jun 2 11:09:33 2012 UTC (11 years, 10 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.119: +8 -2 lines
Diff to previous 1.119 (colored) next main 1.120 (colored)

sync to latest -current.

Revision 1.119.2.1 / (download) - annotate - [select for diffs], Wed May 23 10:08:11 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.119: +8 -2 lines
Diff to previous 1.119 (colored)

sync with head.

Revision 1.120 / (download) - annotate - [select for diffs], Sat May 5 19:37:37 2012 UTC (11 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base5, jmcneill-usbmp-base10
Changes since 1.119: +8 -2 lines
Diff to previous 1.119 (colored)

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) - annotate - [select for diffs], Sun Jun 26 16:42:42 2011 UTC (12 years, 9 months ago) by christos
Branch: 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
Changes since 1.118: +4 -3 lines
Diff to previous 1.118 (colored)

* 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) - annotate - [select for diffs], Thu Jun 23 14:20:20 2011 UTC (12 years, 9 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.117: +2 -1 lines
Diff to previous 1.117 (colored) next main 1.118 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.94.2.4 / (download) - annotate - [select for diffs], Sun Jun 12 00:24:29 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.94.2.3: +1 -0 lines
Diff to previous 1.94.2.3 (colored) to branchpoint 1.94 (colored) next main 1.95 (colored)

sync with head

Revision 1.108.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:09:33 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.108: +163 -51 lines
Diff to previous 1.108 (colored) next main 1.109 (colored)

Sync with HEAD.

Revision 1.118 / (download) - annotate - [select for diffs], Sun Jun 5 14:13:53 2011 UTC (12 years, 10 months ago) by njoly
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base
Changes since 1.117: +2 -1 lines
Diff to previous 1.117 (colored)

Create empty temporary rumphdr.types file if missing; to avoid error
messages for compat syscalls files regen.

Revision 1.94.2.3 / (download) - annotate - [select for diffs], Thu Apr 21 01:42:09 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.94.2.2: +4 -2 lines
Diff to previous 1.94.2.2 (colored) to branchpoint 1.94 (colored)

sync with head

Revision 1.117 / (download) - annotate - [select for diffs], Tue Mar 8 18:29:49 2011 UTC (13 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.116: +5 -3 lines
Diff to previous 1.116 (colored)

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) - annotate - [select for diffs], Sat Mar 5 20:55:17 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.94.2.1: +198 -56 lines
Diff to previous 1.94.2.1 (colored) to branchpoint 1.94 (colored)

sync with head

Revision 1.109.2.1 / (download) - annotate - [select for diffs], Sat Mar 5 15:10:39 2011 UTC (13 years, 1 month ago) by bouyer
Branch: bouyer-quota2
Changes since 1.109: +40 -17 lines
Diff to previous 1.109 (colored) next main 1.110 (colored)

Sync with HEAD

Revision 1.116 / (download) - annotate - [select for diffs], Tue Feb 22 14:08:58 2011 UTC (13 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: bouyer-quota2-nbase
Changes since 1.115: +2 -3 lines
Diff to previous 1.115 (colored)

Get rid of one explicit typecast in previous and let the compiler
figure it out.

Revision 1.115 / (download) - annotate - [select for diffs], Tue Feb 22 14:05:20 2011 UTC (13 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.114: +30 -12 lines
Diff to previous 1.114 (colored)

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) - annotate - [select for diffs], Tue Feb 22 13:04:22 2011 UTC (13 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.113: +2 -4 lines
Diff to previous 1.113 (colored)

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) - annotate - [select for diffs], Tue Feb 22 10:33:12 2011 UTC (13 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.112: +5 -3 lines
Diff to previous 1.112 (colored)

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) - annotate - [select for diffs], Mon Feb 21 23:30:12 2011 UTC (13 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.111: +4 -7 lines
Diff to previous 1.111 (colored)

S'no way bro!

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

Revision 1.111 / (download) - annotate - [select for diffs], Mon Feb 21 23:20:19 2011 UTC (13 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.110: +20 -9 lines
Diff to previous 1.110 (colored)

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) - annotate - [select for diffs], Mon Feb 21 11:29:53 2011 UTC (13 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.109: +3 -5 lines
Diff to previous 1.109 (colored)

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) - annotate - [select for diffs], Mon Jan 17 16:16:54 2011 UTC (13 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: bouyer-quota2-base
Branch point for: bouyer-quota2
Changes since 1.108: +122 -36 lines
Diff to previous 1.108 (colored)

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) - annotate - [select for diffs], Thu Dec 30 20:09:53 2010 UTC (13 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr
Changes since 1.107: +4 -3 lines
Diff to previous 1.107 (colored)

Include system call name in comment even for unimplemented syscalls
in rump_syscalls.c.

Revision 1.107 / (download) - annotate - [select for diffs], Thu Dec 30 16:49:24 2010 UTC (13 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.106: +7 -5 lines
Diff to previous 1.106 (colored)

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) - annotate - [select for diffs], Thu Dec 30 13:38:10 2010 UTC (13 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.105: +5 -5 lines
Diff to previous 1.105 (colored)

whitespace polish in rump_syscalls.c

Revision 1.105 / (download) - annotate - [select for diffs], Thu Dec 30 11:54:50 2010 UTC (13 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.104: +3 -2 lines
Diff to previous 1.104 (colored)

snafu in previous: extra printf arg

Revision 1.104 / (download) - annotate - [select for diffs], Thu Dec 30 11:42:53 2010 UTC (13 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.103: +2 -1 lines
Diff to previous 1.103 (colored)

Fill syscallnames up to nsysent so that n<nsysent has a non-hyperspace
string mapping.

Revision 1.103 / (download) - annotate - [select for diffs], Wed Nov 17 21:47:11 2010 UTC (13 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.102: +7 -3 lines
Diff to previous 1.102 (colored)

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) - annotate - [select for diffs], Sat Nov 6 08:08:43 2010 UTC (13 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.93.2.3: +33 -13 lines
Diff to previous 1.93.2.3 (colored) to branchpoint 1.93 (colored) next main 1.94 (colored)

Sync with HEAD.

Revision 1.102 / (download) - annotate - [select for diffs], Thu Nov 4 20:50:29 2010 UTC (13 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: uebayasi-xip-base4
Changes since 1.101: +31 -11 lines
Diff to previous 1.101 (colored)

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) - annotate - [select for diffs], Thu Nov 4 17:02:34 2010 UTC (13 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.100: +2 -2 lines
Diff to previous 1.100 (colored)

apply "shut up, lint" for syscallargs.h

Revision 1.100 / (download) - annotate - [select for diffs], Mon Nov 1 16:21:29 2010 UTC (13 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.99: +2 -2 lines
Diff to previous 1.99 (colored)

Align comment column in output, no functional change.

Revision 1.93.2.3 / (download) - annotate - [select for diffs], Fri Oct 22 07:22:27 2010 UTC (13 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.93.2.2: +7 -4 lines
Diff to previous 1.93.2.2 (colored) to branchpoint 1.93 (colored)

Sync with HEAD (-D20101022).

Revision 1.69.2.5 / (download) - annotate - [select for diffs], Sat Oct 9 03:32:31 2010 UTC (13 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.69.2.4: +8 -5 lines
Diff to previous 1.69.2.4 (colored) to branchpoint 1.69 (colored) next main 1.70 (colored)

sync with head

Revision 1.99 / (download) - annotate - [select for diffs], Mon Aug 30 10:24:04 2010 UTC (13 years, 7 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, uebayasi-xip-base3
Changes since 1.98: +8 -5 lines
Diff to previous 1.98 (colored)

Use the generally more useful funcalias for rump syscalls.

Revision 1.93.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:47:29 2010 UTC (13 years, 8 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.93.2.1: +11 -7 lines
Diff to previous 1.93.2.1 (colored) to branchpoint 1.93 (colored)

Sync with HEAD.

Revision 1.69.2.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:41 2010 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.69.2.3: +17 -10 lines
Diff to previous 1.69.2.3 (colored) to branchpoint 1.69 (colored)

sync with head.

Revision 1.98 / (download) - annotate - [select for diffs], Mon Jul 19 15:25:47 2010 UTC (13 years, 8 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base10, uebayasi-xip-base2
Changes since 1.97: +2 -1 lines
Diff to previous 1.97 (colored)

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) - annotate - [select for diffs], Sun May 30 05:17:57 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.94: +16 -10 lines
Diff to previous 1.94 (colored)

sync with head

Revision 1.97 / (download) - annotate - [select for diffs], Mon May 17 12:35:20 2010 UTC (13 years, 11 months ago) by njoly
Branch: MAIN
Changes since 1.96: +8 -5 lines
Diff to previous 1.96 (colored)

Add multiple inclusion protection to rump_syscalls.h.

Revision 1.96 / (download) - annotate - [select for diffs], Tue May 11 20:09:46 2010 UTC (13 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.95: +4 -4 lines
Diff to previous 1.95 (colored)

_RUMPKERNEL -> _KERNEL

Revision 1.93.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:44:11 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.93: +8 -3 lines
Diff to previous 1.93 (colored)

Sync with HEAD.

Revision 1.95 / (download) - annotate - [select for diffs], Tue Apr 27 10:57:46 2010 UTC (13 years, 11 months ago) by pooka
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.94: +6 -3 lines
Diff to previous 1.94 (colored)

Use sys_nomodule for modular rump system calls so that they can be
autoloaded.

Revision 1.69.2.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:18 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.69.2.2: +82 -20 lines
Diff to previous 1.69.2.2 (colored) to branchpoint 1.69 (colored)

sync with head

Revision 1.94 / (download) - annotate - [select for diffs], Tue Mar 2 19:33:12 2010 UTC (14 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9
Branch point for: rmind-uvmplock
Changes since 1.93: +3 -1 lines
Diff to previous 1.93 (colored)

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) - annotate - [select for diffs], Tue Jan 5 15:23:32 2010 UTC (14 years, 3 months ago) by skrll
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.92: +3 -2 lines
Diff to previous 1.92 (colored)

Check for dev_t and time_t arguments and mark them as 64bit.

Revision 1.92 / (download) - annotate - [select for diffs], Sun Dec 13 04:47:45 2009 UTC (14 years, 4 months ago) by matt
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.91: +17 -1 lines
Diff to previous 1.91 (colored)

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) - annotate - [select for diffs], Thu Nov 26 17:23:48 2009 UTC (14 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.90: +2 -2 lines
Diff to previous 1.90 (colored)

typo in comment (it actually breaks the script totally.  i wish
more typos in comments were as effective)

Revision 1.90 / (download) - annotate - [select for diffs], Thu Nov 26 17:19:54 2009 UTC (14 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.89: +53 -14 lines
Diff to previous 1.89 (colored)

Add rump support for the special handling required by pipe(2).

Revision 1.89 / (download) - annotate - [select for diffs], Thu Nov 26 16:34:24 2009 UTC (14 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.88: +6 -5 lines
Diff to previous 1.88 (colored)

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) - annotate - [select for diffs], Tue Oct 13 21:54:29 2009 UTC (14 years, 6 months ago) by pooka
Branch: MAIN
CVS Tags: jym-xensuspend-nbase
Changes since 1.87: +6 -3 lines
Diff to previous 1.87 (colored)

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) - annotate - [select for diffs], Sat Aug 22 00:12:23 2009 UTC (14 years, 7 months ago) by matt
Branch: 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
Changes since 1.73: +17 -1 lines
Diff to previous 1.73 (colored) next main 1.74 (colored)

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) - annotate - [select for diffs], Thu Jul 23 23:32:35 2009 UTC (14 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.81.2.1: +17 -7 lines
Diff to previous 1.81.2.1 (colored) next main 1.82 (colored)

Sync with HEAD.

Revision 1.69.2.2 / (download) - annotate - [select for diffs], Sat May 16 10:41:48 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.69.2.1: +17 -7 lines
Diff to previous 1.69.2.1 (colored) to branchpoint 1.69 (colored)

sync with head

Revision 1.87 / (download) - annotate - [select for diffs], Fri May 15 15:51:27 2009 UTC (14 years, 11 months ago) by pooka
Branch: 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
Changes since 1.86: +14 -6 lines
Diff to previous 1.86 (colored)

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) - annotate - [select for diffs], Fri May 15 14:52:47 2009 UTC (14 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.85: +4 -2 lines
Diff to previous 1.85 (colored)

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) - annotate - [select for diffs], Wed May 13 17:21:57 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.81: +51 -10 lines
Diff to previous 1.81 (colored)

Sync with HEAD.

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

Revision 1.69.2.1 / (download) - annotate - [select for diffs], Mon May 4 08:13:47 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.69: +143 -38 lines
Diff to previous 1.69 (colored)

sync with head.

Revision 1.73.2.3 / (download) - annotate - [select for diffs], Tue Apr 28 07:37:00 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.73.2.2: +8 -5 lines
Diff to previous 1.73.2.2 (colored) to branchpoint 1.73 (colored) next main 1.74 (colored)

Sync with HEAD.

Revision 1.85 / (download) - annotate - [select for diffs], Sun Mar 29 07:56:19 2009 UTC (15 years ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jym-xensuspend-base
Changes since 1.84: +4 -1 lines
Diff to previous 1.84 (colored)

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) - annotate - [select for diffs], Wed Mar 18 17:27:04 2009 UTC (15 years ago) by pooka
Branch: MAIN
Changes since 1.83: +5 -5 lines
Diff to previous 1.83 (colored)

Rename rump argument marshalling structure variable to "callarg" to
avoid collision with system calls which use "arg".

Revision 1.73.2.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:32:56 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.73.2.1: +61 -17 lines
Diff to previous 1.73.2.1 (colored) to branchpoint 1.73 (colored)

Sync with HEAD.

Revision 1.83 / (download) - annotate - [select for diffs], Fri Feb 20 17:56:36 2009 UTC (15 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Changes since 1.82: +45 -7 lines
Diff to previous 1.82 (colored)

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) - annotate - [select for diffs], Sat Feb 14 16:21:23 2009 UTC (15 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.81: +2 -2 lines
Diff to previous 1.81 (colored)

cosmetic: don't print empty line at end of init_sysent.c

Revision 1.81 / (download) - annotate - [select for diffs], Fri Jan 23 19:29:38 2009 UTC (15 years, 2 months ago) by pooka
Branch: MAIN
Branch point for: jym-xensuspend
Changes since 1.80: +1 -2 lines
Diff to previous 1.80 (colored)

Remove debug print -- this is what happens when there's several
hours between implementation and commit.

Revision 1.80 / (download) - annotate - [select for diffs], Fri Jan 23 19:27:18 2009 UTC (15 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.79: +18 -11 lines
Diff to previous 1.79 (colored)

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) - annotate - [select for diffs], Mon Jan 19 13:19:39 2009 UTC (15 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.73: +60 -13 lines
Diff to previous 1.73 (colored)

Sync with HEAD.

Revision 1.63.6.4 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:19 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.63.6.3: +65 -14 lines
Diff to previous 1.63.6.3 (colored) to branchpoint 1.63 (colored) next main 1.64 (colored)

Sync with HEAD.

Revision 1.79 / (download) - annotate - [select for diffs], Wed Jan 14 19:40:30 2009 UTC (15 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: mjf-devfs2-base
Changes since 1.78: +8 -8 lines
Diff to previous 1.78 (colored)

Generate local prototypes in rump_syscalls.c and disallow using
the rump_syscalls.h interface from inside the rump kernel.

Revision 1.78 / (download) - annotate - [select for diffs], Tue Jan 13 22:27:44 2009 UTC (15 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.77: +48 -9 lines
Diff to previous 1.77 (colored)

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) - annotate - [select for diffs], Tue Jan 13 16:29:19 2009 UTC (15 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.76: +2 -2 lines
Diff to previous 1.76 (colored)

Print delimiters around expected string in parse error message.

Revision 1.76 / (download) - annotate - [select for diffs], Tue Jan 13 16:25:43 2009 UTC (15 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.75: +2 -2 lines
Diff to previous 1.75 (colored)

fix error message: expecting (, not )

Revision 1.69.8.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:15:08 2008 UTC (15 years, 4 months ago) by haad
Branch: haad-dm
Changes since 1.69.8.1: +11 -3 lines
Diff to previous 1.69.8.1 (colored) to branchpoint 1.69 (colored) next main 1.70 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.75 / (download) - annotate - [select for diffs], Sun Nov 16 18:40:13 2008 UTC (15 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.74: +2 -2 lines
Diff to previous 1.74 (colored)

<rump/rump_syscalls.h>, not "rump_syscalls.h"

Revision 1.74 / (download) - annotate - [select for diffs], Wed Nov 12 14:29:31 2008 UTC (15 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.73: +10 -2 lines
Diff to previous 1.73 (colored)

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) - annotate - [select for diffs], Sun Oct 19 22:17:28 2008 UTC (15 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.69: +25 -14 lines
Diff to previous 1.69 (colored)

Sync with HEAD.

Revision 1.73 / (download) - annotate - [select for diffs], Mon Oct 13 18:16:33 2008 UTC (15 years, 6 months ago) by pooka
Branch: 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
Changes since 1.72: +4 -2 lines
Diff to previous 1.72 (colored)

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) - annotate - [select for diffs], Mon Oct 13 16:25:12 2008 UTC (15 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.71: +7 -5 lines
Diff to previous 1.71 (colored)

Weak alias all rump system calls to rump_enosys()

Revision 1.63.6.3 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:53 2008 UTC (15 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.63.6.2: +17 -10 lines
Diff to previous 1.63.6.2 (colored) to branchpoint 1.63 (colored)

Sync with HEAD.

Revision 1.69.4.2 / (download) - annotate - [select for diffs], Wed Sep 24 16:38:56 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.69.4.1: +3 -2 lines
Diff to previous 1.69.4.1 (colored) to branchpoint 1.69 (colored) next main 1.70 (colored)

Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.

Revision 1.69.4.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:31:43 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.69: +16 -10 lines
Diff to previous 1.69 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.71 / (download) - annotate - [select for diffs], Sun Sep 7 19:27:58 2008 UTC (15 years, 7 months ago) by pooka
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3
Changes since 1.70: +3 -2 lines
Diff to previous 1.70 (colored)

For rumpsyscalls, properly return -1 in case of error.

Revision 1.69.6.1 / (download) - annotate - [select for diffs], Mon Jul 28 14:37:36 2008 UTC (15 years, 8 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.69: +16 -10 lines
Diff to previous 1.69 (colored) next main 1.70 (colored)

Sync with head.

Revision 1.70 / (download) - annotate - [select for diffs], Wed Jul 23 21:17:25 2008 UTC (15 years, 8 months ago) by apb
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base
Changes since 1.69: +16 -10 lines
Diff to previous 1.69 (colored)

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) - annotate - [select for diffs], Mon Jun 2 13:24:10 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.63.6.1: +0 -4 lines
Diff to previous 1.63.6.1 (colored) to branchpoint 1.63 (colored)

Sync with HEAD.

Revision 1.68.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:09 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.68: +1 -5 lines
Diff to previous 1.68 (colored) next main 1.69 (colored)

sync with head.

Revision 1.69 / (download) - annotate - [select for diffs], Thu Apr 24 11:51:19 2008 UTC (15 years, 11 months ago) by ad
Branch: 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
Changes since 1.68: +1 -5 lines
Diff to previous 1.68 (colored)

- 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) - annotate - [select for diffs], Thu Apr 3 12:43:03 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.63: +87 -4 lines
Diff to previous 1.63 (colored)

Sync with HEAD.

Revision 1.58.4.7 / (download) - annotate - [select for diffs], Mon Mar 24 09:39:02 2008 UTC (16 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.58.4.6: +6 -9 lines
Diff to previous 1.58.4.6 (colored) to branchpoint 1.58 (colored) next main 1.59 (colored)

sync with head.

Revision 1.63.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:16:14 2008 UTC (16 years ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.63: +84 -3 lines
Diff to previous 1.63 (colored) next main 1.64 (colored)

sync with head.

Revision 1.59.46.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:05:00 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.59.46.1: +92 -3 lines
Diff to previous 1.59.46.1 (colored) to branchpoint 1.59 (colored) next main 1.60 (colored)

sync with HEAD

Revision 1.68 / (download) - annotate - [select for diffs], Sat Mar 22 15:11:01 2008 UTC (16 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, ad-socklock-base1
Branch point for: yamt-pf42
Changes since 1.67: +4 -2 lines
Diff to previous 1.67 (colored)

bring some stuff from time_t=64...
- add sysalign parameter to syscalls.conf
- add compat_50

Revision 1.67 / (download) - annotate - [select for diffs], Tue Mar 18 12:36:15 2008 UTC (16 years ago) by njoly
Branch: MAIN
CVS Tags: matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base
Changes since 1.66: +3 -8 lines
Diff to previous 1.66 (colored)

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) - annotate - [select for diffs], Mon Mar 17 09:15:33 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.58.4.5: +81 -2 lines
Diff to previous 1.58.4.5 (colored) to branchpoint 1.58 (colored)

sync with head.

Revision 1.66 / (download) - annotate - [select for diffs], Tue Mar 11 22:50:10 2008 UTC (16 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.65: +80 -1 lines
Diff to previous 1.65 (colored)

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) - annotate - [select for diffs], Mon Mar 10 14:06:46 2008 UTC (16 years, 1 month ago) by njoly
Branch: MAIN
Changes since 1.64: +2 -2 lines
Diff to previous 1.64 (colored)

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) - annotate - [select for diffs], Wed Feb 27 08:36:56 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.58.4.4: +10 -3 lines
Diff to previous 1.58.4.4 (colored) to branchpoint 1.58 (colored)

sync with head.

Revision 1.64 / (download) - annotate - [select for diffs], Sun Feb 24 12:51:42 2008 UTC (16 years, 1 month ago) by martin
Branch: MAIN
CVS Tags: hpcarm-cleanup-base
Changes since 1.63: +10 -3 lines
Diff to previous 1.63 (colored)

Add a new syscall type IGNORED which just calls nullop (always succeeds
and does nothing).

Revision 1.59.52.3 / (download) - annotate - [select for diffs], Mon Feb 18 21:06:46 2008 UTC (16 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.59.52.2: +9 -1 lines
Diff to previous 1.59.52.2 (colored) to branchpoint 1.59 (colored) next main 1.60 (colored)

Sync with HEAD.

Revision 1.58.4.4 / (download) - annotate - [select for diffs], Mon Feb 4 09:24:15 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.58.4.3: +9 -1 lines
Diff to previous 1.58.4.3 (colored) to branchpoint 1.58 (colored)

sync with head.

Revision 1.63 / (download) - annotate - [select for diffs], Mon Jan 28 10:31:37 2008 UTC (16 years, 2 months ago) by yamt
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.62: +9 -1 lines
Diff to previous 1.62 (colored)

check off_t alignment.

Revision 1.58.4.3 / (download) - annotate - [select for diffs], Mon Jan 21 09:46:16 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.58.4.2: +21 -13 lines
Diff to previous 1.58.4.2 (colored) to branchpoint 1.58 (colored)

sync with head

Revision 1.59.46.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:56:13 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.59: +79 -85 lines
Diff to previous 1.59 (colored)

sync with HEAD

Revision 1.61.6.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:56:05 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.61: +21 -13 lines
Diff to previous 1.61 (colored) next main 1.62 (colored)

Sync with HEAD

Revision 1.59.52.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:46:05 2007 UTC (16 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.59.52.1: +21 -13 lines
Diff to previous 1.59.52.1 (colored) to branchpoint 1.59 (colored)

Sync with HEAD.

Revision 1.61.2.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:57:13 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.61: +21 -13 lines
Diff to previous 1.61 (colored) next main 1.62 (colored)

Sync with head.

Revision 1.62 / (download) - annotate - [select for diffs], Thu Dec 20 23:03:10 2007 UTC (16 years, 3 months ago) by dsl
Branch: MAIN
CVS Tags: vmlocking2-base3, matt-armv6-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.61: +21 -13 lines
Diff to previous 1.61 (colored)

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) - annotate - [select for diffs], Mon Nov 19 00:48:46 2007 UTC (16 years, 4 months ago) by mjf
Branch: mjf-devfs
Changes since 1.59: +67 -81 lines
Diff to previous 1.59 (colored)

Sync with HEAD.

Revision 1.58.4.2 / (download) - annotate - [select for diffs], Thu Nov 15 11:44:47 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.58.4.1: +67 -81 lines
Diff to previous 1.58.4.1 (colored) to branchpoint 1.58 (colored)

sync with head.

Revision 1.59.50.1 / (download) - annotate - [select for diffs], Tue Nov 13 16:02:15 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.59: +67 -81 lines
Diff to previous 1.59 (colored) next main 1.60 (colored)

Sync with HEAD

Revision 1.59.44.1 / (download) - annotate - [select for diffs], Sun Nov 11 16:48:06 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.59: +67 -81 lines
Diff to previous 1.59 (colored) next main 1.60 (colored)

Sync with HEAD.

Revision 1.61 / (download) - annotate - [select for diffs], Sat Nov 10 13:22:11 2007 UTC (16 years, 5 months ago) by dsl
Branch: 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
Changes since 1.60: +15 -18 lines
Diff to previous 1.60 (colored)

Support "NOARGS INDIR" for compat_mach.

Revision 1.60 / (download) - annotate - [select for diffs], Fri Nov 9 14:54:13 2007 UTC (16 years, 5 months ago) by dsl
Branch: MAIN
Changes since 1.59: +57 -68 lines
Diff to previous 1.59 (colored)

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) - annotate - [select for diffs], Wed Jun 21 15:09:38 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.58: +7 -4 lines
Diff to previous 1.58 (colored)

sync with head.

Revision 1.53.2.5 / (download) - annotate - [select for diffs], Sun Dec 11 10:29:12 2005 UTC (18 years, 4 months ago) by christos
Branch: ktrace-lwp
Changes since 1.53.2.4: +7 -4 lines
Diff to previous 1.53.2.4 (colored) next main 1.54 (colored)

Sync with head.

Revision 1.59 / (download) - annotate - [select for diffs], Sat Dec 3 17:04:36 2005 UTC (18 years, 4 months ago) by christos
Branch: 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
Changes since 1.58: +7 -4 lines
Diff to previous 1.58 (colored)

protect sys/syscall.h properly against multiple inclusion and make the
names of the protection macros consistent.

Revision 1.57.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:24 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.57: +2 -1 lines
Diff to previous 1.57 (colored) next main 1.58 (colored)

sync with -current

Revision 1.57.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:36:12 2005 UTC (19 years ago) by yamt
Branch: yamt-km
Changes since 1.57: +2 -1 lines
Diff to previous 1.57 (colored) next main 1.58 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.53.2.4 / (download) - annotate - [select for diffs], Fri Mar 4 16:51:59 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.53.2.3: +2 -1 lines
Diff to previous 1.53.2.3 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.58 / (download) - annotate - [select for diffs], Sat Feb 26 23:32:31 2005 UTC (19 years, 1 month ago) by perry
Branch: 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
Changes since 1.57: +2 -1 lines
Diff to previous 1.57 (colored)

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) - annotate - [select for diffs], Tue Sep 21 13:35:11 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.53.2.2: +1 -1 lines
Diff to previous 1.53.2.2 (colored)

Fix the sync with head I botched.

Revision 1.53.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:53:03 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.53.2.1: +5 -5 lines
Diff to previous 1.53.2.1 (colored)

Sync with HEAD.

Revision 1.57 / (download) - annotate - [select for diffs], Sun Sep 12 11:24:15 2004 UTC (19 years, 7 months ago) by jdolecek
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.56: +5 -5 lines
Diff to previous 1.56 (colored)

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) - annotate - [select for diffs], Tue Aug 3 10:52:54 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.53: +27 -22 lines
Diff to previous 1.53 (colored)

Sync with HEAD

Revision 1.56 / (download) - annotate - [select for diffs], Sat Jul 31 00:55:51 2004 UTC (19 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.55: +2 -2 lines
Diff to previous 1.55 (colored)

Rename LIBCOMPAT* -> SYSLIBCOMPAT*, now that <bsd.own.mk> provides LIBCOMPAT.
Fixes kernel link problem noted by Sebastien Erard.

Revision 1.55 / (download) - annotate - [select for diffs], Tue Sep 30 20:34:28 2003 UTC (20 years, 6 months ago) by christos
Branch: 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
Changes since 1.54: +8 -5 lines
Diff to previous 1.54 (colored)

Keep track of which prototypes we declared already so that we don't
declare them again.

Revision 1.54 / (download) - annotate - [select for diffs], Thu Sep 11 13:59:49 2003 UTC (20 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.53: +19 -17 lines
Diff to previous 1.53 (colored)

- print comment in compat syscalls too.
- print ifdef's in the header files.

Revision 1.53 / (download) - annotate - [select for diffs], Sat Jan 18 10:06:32 2003 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored)

Merge the nathanw_sa branch.

Revision 1.50.2.1 / (download) - annotate - [select for diffs], Thu Jan 10 19:59:59 2002 UTC (22 years, 3 months ago) by thorpej
Branch: kqueue
Changes since 1.50: +7 -3 lines
Diff to previous 1.50 (colored) next main 1.51 (colored)

Sync kqueue branch with -current.

Revision 1.45.2.5 / (download) - annotate - [select for diffs], Wed Nov 14 19:16:39 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.45.2.4: +7 -3 lines
Diff to previous 1.45.2.4 (colored) next main 1.46 (colored)

Catch up to -current.

Revision 1.50.6.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:18:51 2001 UTC (22 years, 5 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.50: +7 -3 lines
Diff to previous 1.50 (colored) next main 1.51 (colored)

Sync the thorpej-mips-cache branch with -current.

Revision 1.52 / (download) - annotate - [select for diffs], Mon Nov 12 14:57:02 2001 UTC (22 years, 5 months ago) by lukem
Branch: 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
Changes since 1.51: +3 -1 lines
Diff to previous 1.51 (colored)

add RCSID to generated .c files

Revision 1.51 / (download) - annotate - [select for diffs], Tue Oct 30 21:52:27 2001 UTC (22 years, 5 months ago) by manu
Branch: MAIN
Changes since 1.50: +5 -3 lines
Diff to previous 1.50 (colored)

Made syscallargs.h lint-friendly, so that it can be included in libc sources
more easily.

Revision 1.45.2.4 / (download) - annotate - [select for diffs], Fri Aug 24 00:11:33 2001 UTC (22 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.45.2.3: +2 -2 lines
Diff to previous 1.45.2.3 (colored)

Catch up with -current.

Revision 1.50 / (download) - annotate - [select for diffs], Sun Jul 8 19:08:48 2001 UTC (22 years, 9 months ago) by wiz
Branch: 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
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored)

Fix last commit: It's ">", not "<", in this case. Okay'd by christos.

Revision 1.49 / (download) - annotate - [select for diffs], Sun Jul 8 18:57:50 2001 UTC (22 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored)

add verbiage to error

Revision 1.45.2.3 / (download) - annotate - [select for diffs], Thu Jun 21 20:06:57 2001 UTC (22 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.45.2.2: +6 -6 lines
Diff to previous 1.45.2.2 (colored)

Catch up to -current.

Revision 1.48 / (download) - annotate - [select for diffs], Wed May 30 11:27:46 2001 UTC (22 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored)

use _KERNEL_OPT not _KERNEL&&|_LKM

Revision 1.35.12.1 / (download) - annotate - [select for diffs], Tue May 1 08:53:00 2001 UTC (22 years, 11 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Changes since 1.35: +13 -9 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

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) - annotate - [select for diffs], Fri Apr 27 06:07:27 2001 UTC (22 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.46: +4 -4 lines
Diff to previous 1.46 (colored)

put TAB after #defines

Revision 1.35.2.7 / (download) - annotate - [select for diffs], Sat Apr 21 17:46:29 2001 UTC (22 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.35.2.6: +15 -11 lines
Diff to previous 1.35.2.6 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)

Sync with HEAD

Revision 1.45.2.2 / (download) - annotate - [select for diffs], Mon Apr 9 01:57:55 2001 UTC (23 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.45.2.1: +15 -11 lines
Diff to previous 1.45.2.1 (colored)

Catch up with -current.

Revision 1.46 / (download) - annotate - [select for diffs], Fri Mar 30 16:56:36 2001 UTC (23 years ago) by jdolecek
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.45: +15 -11 lines
Diff to previous 1.45 (colored)

Make it possible to use different function for unimplemented syscalls
than sys_nosys().

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Mon Mar 5 22:49:43 2001 UTC (23 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

Initial commit of scheduler activations and lightweight process support.

Revision 1.35.2.6 / (download) - annotate - [select for diffs], Sun Feb 11 19:16:47 2001 UTC (23 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.35.2.5: +11 -6 lines
Diff to previous 1.35.2.5 (colored) to branchpoint 1.35 (colored)

Sync with HEAD.

Revision 1.45 / (download) - annotate - [select for diffs], Sat Jan 27 07:21:43 2001 UTC (23 years, 2 months ago) by thorpej
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.44: +11 -6 lines
Diff to previous 1.44 (colored)

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) - annotate - [select for diffs], Fri Jan 5 17:36:40 2001 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.35.2.4: +6 -1 lines
Diff to previous 1.35.2.4 (colored) to branchpoint 1.35 (colored)

Sync with HEAD

Revision 1.44 / (download) - annotate - [select for diffs], Mon Jan 1 16:41:43 2001 UTC (23 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.43: +7 -2 lines
Diff to previous 1.43 (colored)

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) - annotate - [select for diffs], Wed Dec 13 15:50:21 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.35.2.3: +46 -33 lines
Diff to previous 1.35.2.3 (colored) to branchpoint 1.35 (colored)

Sync with HEAD (for UBC fixes).

Revision 1.43 / (download) - annotate - [select for diffs], Tue Dec 12 17:32:45 2000 UTC (23 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.42: +5 -1 lines
Diff to previous 1.42 (colored)

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) - annotate - [select for diffs], Sat Dec 9 05:41:12 2000 UTC (23 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)

s/unimplemented/filler/

Revision 1.41 / (download) - annotate - [select for diffs], Sat Dec 9 05:33:27 2000 UTC (23 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

Add another const.

Revision 1.40 / (download) - annotate - [select for diffs], Sat Dec 9 05:27:08 2000 UTC (23 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.39: +43 -34 lines
Diff to previous 1.39 (colored)

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) - annotate - [select for diffs], Fri Dec 8 09:13:56 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.35.2.2: +9 -0 lines
Diff to previous 1.35.2.2 (colored) to branchpoint 1.35 (colored)

Sync with HEAD.

Revision 1.39 / (download) - annotate - [select for diffs], Wed Nov 29 22:09:05 2000 UTC (23 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.38: +10 -1 lines
Diff to previous 1.38 (colored)

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) - annotate - [select for diffs], Wed Nov 22 16:05:24 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.35.2.1: +2 -2 lines
Diff to previous 1.35.2.1 (colored) to branchpoint 1.35 (colored)

Sync with HEAD.

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:09:06 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.35: +9 -9 lines
Diff to previous 1.35 (colored)

Update thorpej_scsipi to -current as of a month ago

Revision 1.38 / (download) - annotate - [select for diffs], Mon Nov 13 21:32:16 2000 UTC (23 years, 5 months ago) by jdolecek
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

change the type of *syscallnames[] array to 'const char * const foo[]'

Revision 1.37 / (download) - annotate - [select for diffs], Fri Aug 18 19:33:30 2000 UTC (23 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.36: +6 -6 lines
Diff to previous 1.36 (colored)

tweak white space around generated NetBSD rcs ids

Revision 1.36 / (download) - annotate - [select for diffs], Fri Aug 18 19:14:33 2000 UTC (23 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.35: +4 -4 lines
Diff to previous 1.35 (colored)

nuke __P for generated syscall prototypes and sy_call_t

Revision 1.35 / (download) - annotate - [select for diffs], Fri Aug 20 19:07:31 1999 UTC (24 years, 7 months ago) by thorpej
Branch: 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
Changes since 1.34: +12 -12 lines
Diff to previous 1.34 (colored)

Clean up some whitespace issues in the generated syscallargs.h file.

Revision 1.33.4.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:24:03 1999 UTC (24 years, 9 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.33: +4 -2 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Sync w/ -current.

Revision 1.34 / (download) - annotate - [select for diffs], Wed Jun 9 04:25:30 1999 UTC (24 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: chs-ubc2-base
Changes since 1.33: +4 -2 lines
Diff to previous 1.33 (colored)

Add EXCL keyword as described in tech_kern, and fix comments. Make the
vtrace syscall UNIMPL because it is.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Feb 17 18:17:10 1999 UTC (25 years, 2 months ago) by christos
Branch: 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
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

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) - annotate - [select for diffs], Thu Feb 11 09:32:01 1999 UTC (25 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.31: +4 -2 lines
Diff to previous 1.31 (colored)

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) - annotate - [select for diffs], Sun Jan 3 04:25:26 1999 UTC (25 years, 3 months ago) by erh
Branch: MAIN
Changes since 1.30: +4 -1 lines
Diff to previous 1.30 (colored)

Protect the syscallargs header file with a define.

Revision 1.30 / (download) - annotate - [select for diffs], Sat Oct 3 19:21:11 1998 UTC (25 years, 6 months ago) by eeh
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Changes since 1.29: +22 -3 lines
Diff to previous 1.29 (colored)

Fix big-endian syscall args.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Sep 13 04:57:24 1998 UTC (25 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.28: +7 -2 lines
Diff to previous 1.28 (colored)

Emit syscall numbers for COMPAT_xx syscalls, too.

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:13:00 1998 UTC (26 years, 1 month ago) by fvdl
Branch: netbsd, CSRG
CVS Tags: lite-2
Changes since 1.1.1.1: +351 -157 lines
Diff to previous 1.1.1.1 (colored)

Import 4.4BSD-Lite2

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:09:44 1998 UTC (26 years, 1 month ago) by fvdl
Branch: netbsd, CSRG
CVS Tags: lite-1, date-03-may-96
Changes since 1.1: +8 -8 lines
Diff to previous 1.1 (colored)

Import 4.4BSD-Lite for reference

Revision 1.28 / (download) - annotate - [select for diffs], Thu Feb 19 03:30:24 1998 UTC (26 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.27: +8 -2 lines
Diff to previous 1.27 (colored)

Argh, protect userland from includes in the syscall names file.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Feb 18 23:14:55 1998 UTC (26 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.26: +14 -10 lines
Diff to previous 1.26 (colored)

Put #include directives in the system call names file, too, so we can
generate dependencies on optional system calls.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Jan 9 06:17:51 1998 UTC (26 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.25: +1 -2 lines
Diff to previous 1.25 (colored)

Oops, thinko

Revision 1.25 / (download) - annotate - [select for diffs], Fri Jan 9 06:07:26 1998 UTC (26 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.24: +6 -1 lines
Diff to previous 1.24 (colored)

Put RCS IDs in generated files, in the right place.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Jan 8 00:16:25 1998 UTC (26 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.23: +1 -5 lines
Diff to previous 1.23 (colored)

Back out RCS ID related changes.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Jan 5 18:19:35 1998 UTC (26 years, 3 months ago) by perry
Branch: MAIN
Changes since 1.22: +5 -5 lines
Diff to previous 1.22 (colored)

ugh. escape rcs tags so that the script doesn't get messed up.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Jan 5 18:09:44 1998 UTC (26 years, 3 months ago) by perry
Branch: MAIN
Changes since 1.21: +5 -1 lines
Diff to previous 1.21 (colored)

put RCS ids in the output files. Not essential, but useful.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Dec 22 06:45:14 1996 UTC (27 years, 3 months ago) by cgd
Branch: 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
Changes since 1.20: +16 -10 lines
Diff to previous 1.20 (colored)

* 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) - annotate - [select for diffs], Sun Dec 22 06:33:46 1996 UTC (27 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

update copyright date

Revision 1.19 / (download) - annotate - [select for diffs], Sun Dec 22 06:33:16 1996 UTC (27 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.18: +87 -36 lines
Diff to previous 1.18 (colored)

* 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) - annotate - [select for diffs], Fri Mar 15 01:25:12 1996 UTC (28 years, 1 month ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.17: +19 -3 lines
Diff to previous 1.17 (colored)

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) - annotate - [select for diffs], Sat Oct 7 06:28:31 1995 UTC (28 years, 6 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.16: +22 -38 lines
Diff to previous 1.16 (colored)

Prefix names of system call implementation functions with `sys_'.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Sep 19 21:28:56 1995 UTC (28 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.15: +16 -10 lines
Diff to previous 1.15 (colored)

Emit prototypes for system call functions and append them to the
`syscallargs' header file.

Revision 1.15 / (download) - annotate - [select for diffs], Sat Apr 22 19:43:02 1995 UTC (28 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.14: +3 -5 lines
Diff to previous 1.14 (colored)

- 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) - annotate - [select for diffs], Fri Oct 28 23:14:46 1994 UTC (29 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.13: +6 -5 lines
Diff to previous 1.13 (colored)

minor cleanup; get output format right.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Oct 20 23:22:38 1994 UTC (29 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Fix typo in description of syscallarg.h.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Oct 20 04:37:09 1994 UTC (29 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.11: +32 -2 lines
Diff to previous 1.11 (colored)

one minor mod...

Revision 1.11 / (download) - annotate - [select for diffs], Thu Oct 20 04:23:02 1994 UTC (29 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.10: +347 -179 lines
Diff to previous 1.10 (colored)

update for new syscall args description mechanism

Revision 1.10 / (download) - annotate - [select for diffs], Thu Jun 30 16:43:01 1994 UTC (29 years, 9 months ago) by cgd
Branch: 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
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

fix up for new ID format, and consistency

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jun 29 06:32:53 1994 UTC (29 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.8: +6 -5 lines
Diff to previous 1.8 (colored)

New RCS ID's, take two.  they're more aesthecially pleasant, and use 'NetBSD'

Revision 1.8 / (download) - annotate - [select for diffs], Wed May 18 04:15:51 1994 UTC (29 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.7: +7 -13 lines
Diff to previous 1.7 (colored)

Update from 4.4-Lite.  No important differences.

Revision 1.7 / (download) - annotate - [select for diffs], Tue May 17 00:01:00 1994 UTC (29 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.6: +25 -3 lines
Diff to previous 1.6 (colored)

add support for 'NCOMPAT' to deal with NetBSD compat defines

Revision 1.6 / (download) - annotate - [select for diffs], Fri Mar 18 19:18:07 1994 UTC (30 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

Standardize #includes.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jun 7 19:52:40 1993 UTC (30 years, 10 months ago) by cgd
Branch: 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
Changes since 1.4: +5 -4 lines
Diff to previous 1.4 (colored)

add support for terry lambert's loadable kernel modules.
needs a bit of cleanup, but overall: SLICK!

Revision 1.4 / (download) - annotate - [select for diffs], Thu May 20 16:17:38 1993 UTC (30 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.3: +10 -4 lines
Diff to previous 1.3 (colored)

do something better with version strings for created files,
also inclusion protect syscall.h

Revision 1.3 / (download) - annotate - [select for diffs], Thu May 20 02:57:57 1993 UTC (30 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

kill the "chmod 444" of the syscall-dependent files.  makes running
makesyscalls.sh again somewhat more difficult than necessary, sometimes.

Revision 1.2 / (download) - annotate - [select for diffs], Thu May 20 02:54:49 1993 UTC (30 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

add $Id$ strings, and clean up file headers where necessary

Revision 1.1 / (download) - annotate - [select for diffs], Tue Apr 6 10:37:11 1993 UTC (31 years ago) by glass
Branch: 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.

This form allows you to request diff's 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.




CVSweb <webmaster@jp.NetBSD.org>