blob: 362da8dce90a61f2432490b0901d1032db6403ae (
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
|
# $OpenBSD: files.wscons,v 1.14 2006/12/09 20:06:48 miod Exp $
# $NetBSD: files.wscons,v 1.34 2005/05/04 01:52:16 augustss 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.
#
# this loses, but there's no way to define attributes which have attributes
device wsdisplay #tty?
attach wsdisplay at wsemuldisplaydev with wsdisplay_emul
device wskbd
attach wskbd at wskbddev
define wskbd_hotkey
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/wsevent.c wsdisplay | wskbd |
wsmouse | wsmux
file dev/wscons/wskbd.c wskbd needs-flag
file dev/wscons/wskbdutil.c wskbd
file dev/wscons/wskbd_hotkey.c wskbd & wskbd_hotkey &
!small_kernel needs-flag
file dev/wscons/wsmouse.c wsmouse needs-flag
pseudo-device wsmux
file dev/wscons/wsmux.c wsmux needs-flag
# emulation code
file dev/wscons/wsemulconf.c wsdisplay
file dev/wscons/wsemul_dumb.c wsdisplay & wsemul_dumb
file dev/wscons/wsemul_sun.c wsdisplay & wsemul_sun
file dev/wscons/wsemul_vt100.c wsdisplay & !wsemul_no_vt100
file dev/wscons/wsemul_vt100_subr.c wsdisplay & !wsemul_no_vt100
file dev/wscons/wsemul_vt100_chars.c wsdisplay & !wsemul_no_vt100
file dev/wscons/wsemul_vt100_keys.c wsdisplay & !wsemul_no_vt100
|