diff options
author | bde <bde@FreeBSD.org> | 1995-09-10 18:57:26 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-09-10 18:57:26 +0000 |
commit | ad7999f808fe524da6381b2558d0d99652a393d7 (patch) | |
tree | cc5d35112b3b28ec65cb8336b5a3a765378bdd13 /sys/isa/syscons.h | |
parent | a83219b615112f81e0efa102d0de6453c21d0218 (diff) | |
download | FreeBSD-src-ad7999f808fe524da6381b2558d0d99652a393d7.zip FreeBSD-src-ad7999f808fe524da6381b2558d0d99652a393d7.tar.gz |
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...
Diffstat (limited to 'sys/isa/syscons.h')
0 files changed, 0 insertions, 0 deletions