Home | History | Annotate | Line # | Download | only in wscons
files.wscons revision 1.36
      1 # $NetBSD: files.wscons,v 1.36 2006/02/12 20:55:35 macallan Exp $
      2 
      3 #
      4 # "Workstation Console" glue; attaches frame buffer to emulator & keyboard,
      5 # plus deals with kernel mouse drivers.
      6 #
      7 # These files are included with strange conditions because of the hairy
      8 # interactions between them.  In particular, chunks of the glue,
      9 # keyboard, and mouse code are called directly by other chunks.  Also,
     10 # each hardware driver can make calls into its (child) interface driver.
     11 # This could all be cleaned up, but it's not clear that it's worth the
     12 # trouble.
     13 #
     14 
     15 defparam opt_wsemul.h		WSEMUL_DEFAULT
     16 defflag	opt_wsemul.h		WSEMUL_NO_DUMB WSEMUL_SUN WSEMUL_VT100
     17 defflag opt_wsdisplay_border.h	WSDISPLAY_CUSTOM_BORDER
     18 defparam opt_wsdisplay_border.h	WSDISPLAY_BORDER_COLOR
     19 defflag opt_wsmsgattrs.h	WSDISPLAY_CUSTOM_OUTPUT
     20 defparam opt_wsmsgattrs.h	WS_DEFAULT_COLATTR WS_DEFAULT_MONOATTR
     21 				WS_DEFAULT_BG WS_DEFAULT_FG
     22 				WS_KERNEL_COLATTR WS_KERNEL_MONOATTR
     23 				WS_KERNEL_BG WS_KERNEL_FG
     24 				WSDISPLAY_SCROLLCOMBO
     25 defparam opt_wsemul.h		WSEMUL_VT100_HILIT_FG WSEMUL_VT100_UNDERLINE_FG
     26 				WSEMUL_VT100_HILIT_BG WSEMUL_VT100_UNDERLINE_BG
     27 defflag	opt_wsdisplay_compat.h	WSDISPLAY_COMPAT_USL
     28 				WSDISPLAY_COMPAT_RAWKBD
     29 				WSDISPLAY_COMPAT_PCVT WSDISPLAY_COMPAT_SYSCONS
     30 				WSDISPLAY_CHARFUNCS
     31 				WSCONS_SUPPORT_PCVTFONTS
     32 				WSCONS_SUPPORT_ISO7FONTS
     33 				WSDISPLAY_SCROLLSUPPORT
     34 				WSKBD_EVENT_AUTOREPEAT
     35 defparam opt_wsdisplay_compat.h	WSCOMPAT_USL_SYNCTIMEOUT
     36 				WSDISPLAY_DEFAULTSCREENS
     37 
     38 # this loses, but there's no way to define attributes which have attributes
     39 device	wsdisplay #tty?
     40 attach	wsdisplay at wsemuldisplaydev with wsdisplay_emul
     41 attach	wsdisplay at wsdisplaydev with wsdisplay_noemul
     42 device	wskbd
     43 attach	wskbd at wskbddev
     44 device	wsmouse
     45 attach	wsmouse at wsmousedev
     46 
     47 file	dev/wscons/wsdisplay.c		wsdisplay		needs-flag
     48 file	dev/wscons/wsdisplay_compat_usl.c wsdisplay & wsdisplay_compat_usl
     49 file	dev/wscons/wsemulconf.c		wsdisplay
     50 file	dev/wscons/wsemul_dumb.c	wsdisplay & !wsemul_no_dumb
     51 file	dev/wscons/wsemul_sun.c		wsdisplay & wsemul_sun
     52 file	dev/wscons/wsemul_vt100.c	wsdisplay & wsemul_vt100
     53 file	dev/wscons/wsemul_vt100_subr.c	wsdisplay & wsemul_vt100
     54 file	dev/wscons/wsemul_vt100_chars.c	wsdisplay & wsemul_vt100
     55 file	dev/wscons/wsemul_vt100_keys.c	wsdisplay & wsemul_vt100
     56 file	dev/wscons/wsevent.c		wsdisplay | wskbd | wsmouse | wsmux
     57 file	dev/wscons/wskbd.c		wskbd			needs-flag
     58 file	dev/wscons/wskbdutil.c		wskbd			needs-flag
     59 file	dev/wscons/wsmouse.c		wsmouse			needs-flag
     60 
     61 # rcons bit-depth options
     62 include "dev/rcons/files.rcons"
     63 
     64 file	dev/wscons/wscons_rinit.c	wsrasteremulops
     65 file	dev/wscons/wscons_rops.c	wsrasteremulops
     66 
     67 defpseudo	wsmux
     68 file	dev/wscons/wsmux.c		wsmux			needs-flag
     69 
     70 define	tpcalib
     71 file	dev/wscons/tpcalib.c		tpcalib
     72 file	dev/wscons/mra.c		tpcalib
     73 
     74 # generic virtual console support on bitmapped framebuffers
     75 define	vcons
     76 file	dev/wscons/wsdisplay_vcons.c		vcons
     77