summaryrefslogtreecommitdiff
path: root/sys/dev/wscons/files.wscons
blob: 673a82ed1c24359e060df545438bd283013cc7fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# $NetBSD: files.wscons,v 1.28 2003/04/02 18:22:56 drochner Exp $

#
# "Workstation Console" glue; attaches frame buffer to emulator & keyboard,
# plus deals with kernel mouse drivers.
#
# These files are included with strange conditions because of the hairy
# interactions between them.  In particular, chunks of the glue,
# keyboard, and mouse code are called directly by other chunks.  Also,
# each hardware driver can make calls into its (child) interface driver.
# This could all be cleaned up, but it's not clear that it's worth the
# trouble.
#

defparam opt_wsemul.h		WSEMUL_DEFAULT
defflag	opt_wsemul.h		WSEMUL_NO_DUMB WSEMUL_SUN WSEMUL_VT100
defparam opt_wskernattr.h	WS_KERNEL_FG WS_KERNEL_BG
				WS_KERNEL_COLATTR WS_KERNEL_MONOATTR
defparam opt_wsemul.h		WSEMUL_VT100_HILIT_FG WSEMUL_VT100_UNDERLINE_FG
				WSEMUL_VT100_HILIT_BG WSEMUL_VT100_UNDERLINE_BG
defflag	opt_wsdisplay_compat.h	WSDISPLAY_COMPAT_USL
				WSDISPLAY_COMPAT_RAWKBD
				WSDISPLAY_COMPAT_PCVT WSDISPLAY_COMPAT_SYSCONS
				WSDISPLAY_CHARFUNCS
				WSCONS_SUPPORT_PCVTFONTS
				WSCONS_SUPPORT_ISO7FONTS
defparam opt_wsdisplay_compat.h	WSCOMPAT_USL_SYNCTIMEOUT
				WSDISPLAY_DEFAULTSCREENS

# this loses, but there's no way to define attributes which have attributes
device	wsdisplay #tty?
attach	wsdisplay at wsemuldisplaydev with wsdisplay_emul
attach	wsdisplay at wsdisplaydev with wsdisplay_noemul
device	wskbd
attach	wskbd at wskbddev
device	wsmouse
attach	wsmouse at wsmousedev

file	dev/wscons/wsdisplay.c		wsdisplay		needs-flag
file	dev/wscons/wsdisplay_compat_usl.c wsdisplay & wsdisplay_compat_usl
file	dev/wscons/wsemulconf.c		wsdisplay
file	dev/wscons/wsemul_dumb.c	wsdisplay & !wsemul_no_dumb
file	dev/wscons/wsemul_sun.c		wsdisplay & wsemul_sun
file	dev/wscons/wsemul_vt100.c	wsdisplay & wsemul_vt100
file	dev/wscons/wsemul_vt100_subr.c	wsdisplay & wsemul_vt100
file	dev/wscons/wsemul_vt100_chars.c	wsdisplay & wsemul_vt100
file	dev/wscons/wsemul_vt100_keys.c	wsdisplay & wsemul_vt100
file	dev/wscons/wsevent.c		wsdisplay | wskbd | wsmouse | wsmux
file	dev/wscons/wskbd.c		wskbd			needs-flag
file	dev/wscons/wskbdutil.c		wskbd			needs-flag
file	dev/wscons/wsmouse.c		wsmouse			needs-flag

# rcons bit-depth options
include "dev/rcons/files.rcons"

file	dev/wscons/wscons_rinit.c	wsrasteremulops
file	dev/wscons/wscons_rops.c	wsrasteremulops

defpseudo	wsmux
file	dev/wscons/wsmux.c		wsmux			needs-flag