Date: Fri, 23 May 2008 16:06:35 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern tty.c tty_cons.c tty_subr.c src/sys/sys clist.h cons.h tty.h Message-ID: <200805231606.m4NG6ZPm098845@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805231606.m4NG6ZPm098845>
