xref: /netbsd-src/sys/dev/wscons/files.wscons (revision d91f98a8715141154279122ae81737cb65179572)
1*d91f98a8Spgoyette# $NetBSD: files.wscons,v 1.56 2019/01/27 02:08:42 pgoyette Exp $
2b31e6386Sdrochner
3b31e6386Sdrochner#
4b31e6386Sdrochner# "Workstation Console" glue; attaches frame buffer to emulator & keyboard,
5b31e6386Sdrochner# plus deals with kernel mouse drivers.
6b31e6386Sdrochner#
7b31e6386Sdrochner# These files are included with strange conditions because of the hairy
8b31e6386Sdrochner# interactions between them.  In particular, chunks of the glue,
9b31e6386Sdrochner# keyboard, and mouse code are called directly by other chunks.  Also,
10b31e6386Sdrochner# each hardware driver can make calls into its (child) interface driver.
11b31e6386Sdrochner# This could all be cleaned up, but it's not clear that it's worth the
12b31e6386Sdrochner# trouble.
13b31e6386Sdrochner#
14b31e6386Sdrochner
150fa23113Slukemdefparam opt_wsemul.h		WSEMUL_DEFAULT
16ecb81c3fSlukemdefflag	opt_wsemul.h		WSEMUL_NO_DUMB WSEMUL_SUN WSEMUL_VT100
172a08d54aSjmmvdefflag opt_wsdisplay_border.h	WSDISPLAY_CUSTOM_BORDER
182a08d54aSjmmvdefparam opt_wsdisplay_border.h	WSDISPLAY_BORDER_COLOR
19bc47208cSjmmvdefflag opt_wsmsgattrs.h	WSDISPLAY_CUSTOM_OUTPUT
2092f81ea7Sjmmvdefparam opt_wsmsgattrs.h	WS_DEFAULT_COLATTR WS_DEFAULT_MONOATTR
2192f81ea7Sjmmv				WS_DEFAULT_BG WS_DEFAULT_FG
2295bdb660Sdrochner				WS_KERNEL_COLATTR WS_KERNEL_MONOATTR
2392f81ea7Sjmmv				WS_KERNEL_BG WS_KERNEL_FG
247208404cSchristos				WSDISPLAY_SCROLLCOMBO
259ec39751Sdrochnerdefparam opt_wsemul.h		WSEMUL_VT100_HILIT_FG WSEMUL_VT100_UNDERLINE_FG
269ec39751Sdrochner				WSEMUL_VT100_HILIT_BG WSEMUL_VT100_UNDERLINE_BG
27ecb81c3fSlukemdefflag	opt_wsdisplay_compat.h	WSDISPLAY_COMPAT_USL
28b6867c91Sdrochner				WSDISPLAY_COMPAT_RAWKBD
29107df247Sdrochner				WSDISPLAY_COMPAT_PCVT WSDISPLAY_COMPAT_SYSCONS
300fa23113Slukem				WSCONS_SUPPORT_PCVTFONTS
310fa23113Slukem				WSCONS_SUPPORT_ISO7FONTS
327208404cSchristos				WSDISPLAY_SCROLLSUPPORT
331710458cSaugustss				WSKBD_EVENT_AUTOREPEAT
34409fe001Sjmcneill				WSDISPLAY_MULTICONS
350fa23113Slukemdefparam opt_wsdisplay_compat.h	WSCOMPAT_USL_SYNCTIMEOUT
36d48e548aSsommerfe				WSDISPLAY_DEFAULTSCREENS
3775a9d6c8Smacallandefparam opt_wsdisplay_compat.h WSDISPLAY_SCROLLBACK_LINES=100
38085787ddSthorpej
39b31e6386Sdrochner# this loses, but there's no way to define attributes which have attributes
4068083a77Suebayasidevice	wsdisplay #tty?
41b31e6386Sdrochnerattach	wsdisplay at wsemuldisplaydev with wsdisplay_emul
42b31e6386Sdrochnerattach	wsdisplay at wsdisplaydev with wsdisplay_noemul
4368083a77Suebayasidevice	wskbd
44b31e6386Sdrochnerattach	wskbd at wskbddev
4568083a77Suebayasidevice	wsmouse
46b31e6386Sdrochnerattach	wsmouse at wsmousedev
47b377bbb3Snatdevice	wsbell
48b377bbb3Snatattach	wsbell at wsbelldev
49b31e6386Sdrochner
5010584c9eSdrochnerfile	dev/wscons/wsdisplay.c		wsdisplay		needs-flag
5168083a77Suebayasifile	dev/wscons/wsdisplay_compat_usl.c wsdisplay & wsdisplay_compat_usl
528db9d73aSmacallanfile	dev/wscons/wsdisplay_util.c	wsdisplay
5310584c9eSdrochnerfile	dev/wscons/wsemulconf.c		wsdisplay
5410584c9eSdrochnerfile	dev/wscons/wsemul_dumb.c	wsdisplay & !wsemul_no_dumb
5568083a77Suebayasifile	dev/wscons/wsemul_sun.c		wsdisplay & wsemul_sun
5668083a77Suebayasifile	dev/wscons/wsemul_vt100.c	wsdisplay & wsemul_vt100
5768083a77Suebayasifile	dev/wscons/wsemul_vt100_subr.c	wsdisplay & wsemul_vt100
5868083a77Suebayasifile	dev/wscons/wsemul_vt100_chars.c	wsdisplay & wsemul_vt100
5968083a77Suebayasifile	dev/wscons/wsemul_vt100_keys.c	wsdisplay & wsemul_vt100
6068083a77Suebayasifile	dev/wscons/wsevent.c		wsdisplay | wskbd | wsmouse | wsmux
61*d91f98a8Spgoyettefile	dev/wscons/wsevent_50.c		compat_50
6210584c9eSdrochnerfile	dev/wscons/wskbd.c		wskbd			needs-flag
6310584c9eSdrochnerfile	dev/wscons/wskbdutil.c		wskbd			needs-flag
6410584c9eSdrochnerfile	dev/wscons/wsmouse.c		wsmouse			needs-flag
650725a7c3Spgoyettefile	dev/wscons/wsbell.c		wsbell
66b31e6386Sdrochner
679d326d48Sdbj# rcons bit-depth options
687fbd726cSeehinclude "dev/rcons/files.rcons"
699d326d48Sdbj
70b31e6386Sdrochnerfile	dev/wscons/wscons_rinit.c	wsrasteremulops
71b31e6386Sdrochnerfile	dev/wscons/wscons_rops.c	wsrasteremulops
723d3f77c4Saugustss
7368083a77Suebayasidefpseudo	wsmux
742f1f0a17Saugustssfile	dev/wscons/wsmux.c		wsmux			needs-flag
75cb952c82Spgoyettefile	dev/wscons/wsbellmux.c		wsmux
76f53a32e6Stsarna
77f53a32e6Stsarnadefine	tpcalib
78f53a32e6Stsarnafile	dev/wscons/tpcalib.c		tpcalib
79f53a32e6Stsarnafile	dev/wscons/mra.c		tpcalib
809eddf385Speterdefflag opt_tpcalib.h		TPCALIBDEBUG
8156953335Smacallan
8256953335Smacallan# generic virtual console support on bitmapped framebuffers
8356953335Smacallanfile	dev/wscons/wsdisplay_vcons.c		vcons
8419bc30d9Smacallanfile	dev/wscons/wsdisplay_vcons_util.c	vcons
85c5fb1a74Smacallandefflag	opt_vcons.h		VCONS_DRAW_INTR VCONS_INTR_DEBUG VCONS_DEBUG
86e297db4bSmacallan
87e297db4bSmacallan# generic support code for caching rendered glyphs in video memory
88e297db4bSmacallandefine	glyphcache
89e297db4bSmacallanfile	dev/wscons/wsdisplay_glyphcache.c	glyphcache
90d55e837fSmacallandefflag	opt_glyphcache.h GLYPHCACHE_DEBUG
91fd3aded8Sjmcneill
92fd3aded8Sjmcneill# linux event code keymap
93fd3aded8Sjmcneillfile	dev/wscons/linux_keymap.c	linux_keymap
94