freebsd-nq/sys/kern
Steven Wallace f171307e84 Add new functionality to makesyscalls.sh:
o  optional config-file to set vars: sysnames, sysproto, sysproto_h,
	syshdr, syssw, syshide, syscallprefix, switchname, namesname, sysvec.
  o  change syntax of syscalls.master entry:
	remove argument count.
	add pseudo-prototype field defining function name and arguments.
  o  generates correct structure definitions for all system calls
	in sys/sysproto.h
  o  add type NOARGS:  same as STD except do not create structure in
	sys/sysproto.h
  o  add type NOPROTO:  same as STD except do not create structure or function
	prototype in sys/sysproto.h

New functionality provides complete prototype definitions.
Usefull for generating files for emulated systems like my new ibcs2 code.

Update syscalls.master to reflect new changes.  For example, read()
entry now looks like:

3	STD	POSIX	{ int ibcs2_read(int fd, char *buf, u_int nbytes); }

This is similar to how NetBSD generates these files.
1995-10-07 06:24:08 +00:00
..
imgact_aout.c Fix my copyright. 1995-09-08 13:24:33 +00:00
imgact_gzip.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
imgact_shell.c Fix my copyright. 1995-09-08 13:24:33 +00:00
inflate.c Changes needed for kzip to work. 1995-04-15 06:54:13 +00:00
init_main.c Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
init_sysent.c Update machine-generated files. 1995-09-19 13:56:09 +00:00
kern_acct.c Use the same method to determine the time that the process 1995-07-23 23:02:20 +00:00
kern_clock.c Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
kern_conf.c fix REALLY STUPID bug/typo 1995-10-04 08:58:00 +00:00
kern_descrip.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
kern_devconf.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
kern_exec.c Moved setting of VTEXT flag into the appropriate image activators. This 1995-08-24 10:32:37 +00:00
kern_exit.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
kern_fork.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
kern_ktrace.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
kern_lkm.c add the file kern_conf.c so it can be compiled in when needed 1995-10-04 03:42:39 +00:00
kern_lockf.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
kern_malloc.c Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
kern_ntptime.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
kern_physio.c Fix benign type mismatches in devsw functions. 82 out of 299 devsw 1995-09-08 11:09:15 +00:00
kern_proc.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
kern_prot.c Optimized and simplified version of setreuid/gid 1995-06-15 22:32:03 +00:00
kern_resource.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
kern_sig.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
kern_subr.c Improved hashinit panic strings. 1995-05-08 23:11:12 +00:00
kern_synch.c Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
kern_sysctl.c Fix the sysctl string routines to return as much of the 1995-07-31 10:07:31 +00:00
kern_tc.c Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
kern_time.c Killed "TIMEZONE" and "DST" options. They have been forced to 0 by config 1995-06-29 07:07:00 +00:00
kern_timeout.c Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
kern_xxx.c Removed unused local variable from shutdown_nice() 1995-09-06 15:23:20 +00:00
Make.tags.inc Added $Id$ 1994-08-02 07:55:43 +00:00
Makefile Generate prototypes for syscall-implementing functions. Put them in 1995-09-19 13:31:04 +00:00
makesyscalls.sh Add new functionality to makesyscalls.sh: 1995-10-07 06:24:08 +00:00
md5c.c Clean a bunch of -Wall warnings. 1995-02-24 08:51:34 +00:00
subr_autoconf.c Added $Id$ 1994-08-02 07:55:43 +00:00
subr_clist.c Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
subr_disklabel.c Remove transitory labelling code. Labels are now handled by essentially 1995-09-16 17:04:06 +00:00
subr_diskmbr.c Don't clip d_ncylinders to value used by partitions. 1995-08-23 11:43:45 +00:00
subr_diskslice.c Remove transitory labelling code. Labels are now handled by essentially 1995-09-16 17:04:06 +00:00
subr_dkbad.c subr_diskslice.c implements everything related to slices and labels except 1994-12-12 00:20:34 +00:00
subr_log.c Made msgbuf range checking more robust and clean. 1995-08-07 07:58:23 +00:00
subr_param.c Eliminate sloppy common-style declarations. There should be none left for 1995-07-29 11:44:31 +00:00
subr_prf.c Killed some gratuitous #include's. 1995-08-24 12:54:11 +00:00
subr_prof.c Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
subr_rlist.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
subr_rmap.c Added $Id$ 1994-08-02 07:55:43 +00:00
subr_trap.c Submitted by: Juergen Lock <nox@jelal.hb.north.de> 1995-10-04 07:08:04 +00:00
subr_xxx.c Make pcvt and syscons live in the same kernel. If both are enabled, then 1995-09-10 21:36:12 +00:00
sys_generic.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
sys_process.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
sys_socket.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
syscalls.c Update machine-generated files. 1995-09-19 13:56:09 +00:00
syscalls.master Add new functionality to makesyscalls.sh: 1995-10-07 06:24:08 +00:00
sysv_ipc.c Added SYSV ipcs. 1994-09-13 14:47:38 +00:00
sysv_msg.c Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
sysv_sem.c Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
sysv_shm.c Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
tty_compat.c Preserve current termios speed for TIOCSET*, if it matched with 1995-08-02 12:53:14 +00:00
tty_conf.c Obtained from: partly from ancient patches by ache and me via 1.1.5 1995-07-29 13:40:13 +00:00
tty_cons.c Make pcvt and syscons live in the same kernel. If both are enabled, then 1995-09-10 21:36:12 +00:00
tty_pty.c Don't clear the session pointer in ptcclose(). It must be left alone 1995-09-19 12:26:47 +00:00
tty_snoop.c Fix benign type mismatches in devsw functions. 82 out of 299 devsw 1995-09-08 11:09:15 +00:00
tty_subr.c Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
tty_tb.c Added $Id$ 1994-08-02 07:55:43 +00:00
tty_tty.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
tty.c Fix wakeups for TIOCDRAINWAIT. The conditional wakeups introduced in rev 1995-09-10 11:48:13 +00:00
uipc_domain.c Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
uipc_mbuf.c Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
uipc_proto.c Make everything except the unsupported network sources compile cleanly 1995-08-16 16:14:28 +00:00
uipc_sockbuf.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
uipc_socket2.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
uipc_socket.c Remove extra arg from one of the calls to (*pr_usrreq)(). 1995-08-25 20:27:46 +00:00
uipc_syscalls.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
uipc_usrreq.c Increase the size of the pipe buffer as denoted by PIPSIZ from 1995-08-31 01:39:31 +00:00
vfs_bio.c Two critical bugfixes: 1995-10-01 05:50:27 +00:00
vfs_cache.c Eliminate sloppy common-style declarations. There should be none left for 1995-07-29 11:44:31 +00:00
vfs_cluster.c These changes fix a bug in the clustering code that I made worse when adding 1995-09-23 21:12:45 +00:00
vfs_conf.c Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
vfs_export.c Don't compile the diagnostic functions vhold() and holdrele() unless 1995-08-25 20:49:44 +00:00
vfs_extattr.c Reviewed by: julian with quick glances by bruce and others 1995-08-28 09:19:25 +00:00
vfs_init.c Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
vfs_lookup.c Add support for amd direct maps. 1995-08-24 10:17:39 +00:00
vfs_mount.c Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
vfs_subr.c Don't compile the diagnostic functions vhold() and holdrele() unless 1995-08-25 20:49:44 +00:00
vfs_syscalls.c Reviewed by: julian with quick glances by bruce and others 1995-08-28 09:19:25 +00:00
vfs_vnops.c A little hack to avoid a 64bit divide. Can go away if Gcc ever learns to 1995-10-06 09:43:32 +00:00
vnode_if.pl Generate prototypes for VOP functions. I decided to keep the old-style 1995-09-11 16:05:16 +00:00
vnode_if.sh Generate prototypes for VOP functions. I decided to keep the old-style 1995-09-11 16:05:16 +00:00
vnode_if.src Added VOP_GETPAGES/VOP_PUTPAGES and also the "backwards" block count 1995-09-04 00:21:16 +00:00