freebsd-src/sys/kern
Bruce Evans f2cb5630d0 cons.c:
Split off cdevsw initialization in cninit() into a new function
cninit_finish() that isn't called until all hardware device drivers
have been attached.  The bdevsw entry of the driver for the physical
console needs to be hooked after the physical driver has been
attached in case the attachment modified the entry.

Rearrange cninit() to avoid changing cn_tab until the driver for the
physical console has been initialized, so that the previous driver
(if any) can be used for debugging.

Start removing half-baked lint support.  bdevsw functions usually have
unused args but /*ARGSUSED*/ was used for only about 5% of them.

cons.h:
Declare cn_init_finish().

autoconf.c:
Call cn_init_finish().

Start adding prototypes.  Functions with bogus linkage (extern where
static is probably should be static) are explicitly declared as extern
so that the can be found easily (extern in a non-header is usually
wrong).

All:
Continue cleaning up init stuff: init functions shall be static;
INITs should be at the start of files...
1995-09-10 18:57:26 +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 Make setreuid/setregid active syscalls 1995-04-23 12:22:06 +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_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 Fix benign type mismatches in devsw functions. 82 out of 299 devsw 1995-09-08 11:09:15 +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 Added namespace information for future pollution-control measures. 1994-09-13 00:48:26 +00:00
makesyscalls.sh Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-16 18:17:34 +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 Fix correct_writedisklabel() and writedisklabel(). Their setting of 1995-08-28 16:09:11 +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 trailing whitespace. 1995-05-30 08:16:23 +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 A couple of micro optimizations to improve NULL syscall performance by 1995-08-21 18:06:48 +00:00
subr_xxx.c Added $Id$ 1994-08-02 07:55:43 +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 Make setreuid/setregid active syscalls 1995-04-23 12:22:06 +00:00
syscalls.master Make setreuid/setregid active syscalls 1995-04-23 12:22:06 +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.c Fix wakeups for TIOCDRAINWAIT. The conditional wakeups introduced in rev 1995-09-10 11:48:13 +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 cons.c: 1995-09-10 18:57:26 +00:00
tty_pty.c Fix benign type mismatches in devsw functions. 82 out of 299 devsw 1995-09-08 11:09:15 +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
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_socket.c Remove extra arg from one of the calls to (*pr_usrreq)(). 1995-08-25 20:27:46 +00:00
uipc_socket2.c Remove trailing whitespace. 1995-05-30 08:16:23 +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 Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +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 Added VOP_GETPAGES/VOP_PUTPAGES and also the "backwards" block count 1995-09-04 00:21:16 +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 vnode_pager_alloc() never returns NULL, so don't check for it. 1995-07-20 09:43:12 +00:00
vnode_if.pl Added VOP_GETPAGES/VOP_PUTPAGES and also the "backwards" block count 1995-09-04 00:21:16 +00:00
vnode_if.sh Added VOP_GETPAGES/VOP_PUTPAGES and also the "backwards" block count 1995-09-04 00:21: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