cvs commit: src/sys/kern tty.c tty_cons.c tty_subr.c src/sys/sys
clist.h cons.h tty.h
Ed Schouten
ed at FreeBSD.org
Fri May 23 16:06:36 UTC 2008
ed 2008-05-23 16:06:35 UTC
FreeBSD src repository
Modified files:
sys/kern tty.c tty_cons.c tty_subr.c
sys/sys clist.h cons.h tty.h
Log:
Move TTY unrelated bits out of <sys/tty.h>.
For some reason, the <sys/tty.h> header file also contains routines of the
clists and console that are used inside the TTY layer. Because the clists
are not only used by the TTY layer (example: various input drivers), we'd
better move the entire clist programming interface into <sys/clist.h>. Also
remove a declaration of nonexistent variable.
The <sys/tty.h> header also contains various definitions for the console
code (tty_cons.c). Also move these to <sys/cons.h>, because they are
not implemented inside the TTY layer.
While there, create separate malloc pools for the clist and console code.
Approved by: philip (mentor)
Revision Changes Path
1.277 +1 -0 src/sys/kern/tty.c
1.144 +4 -2 src/sys/kern/tty_cons.c
1.45 +5 -3 src/sys/kern/tty_subr.c
1.12 +24 -1 src/sys/sys/clist.h
1.41 +7 -0 src/sys/sys/cons.h
1.103 +1 -27 src/sys/sys/tty.h
More information about the cvs-src
mailing list