xref: /titanic_44/usr/src/uts/common/io/warlock/wc.wlcmd (revision 269473047d747f7815af570197e4ef7322d3632c)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21
22#
23# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26
27add	bus_ops::bus_add_eventcall	target	warlock_dummy
28add	bus_ops::bus_config		target  warlock_dummy
29add	bus_ops::bus_get_eventcookie	target  warlock_dummy
30add	bus_ops::bus_intr_ctl		target  warlock_dummy
31add	bus_ops::bus_post_event		target  warlock_dummy
32add	bus_ops::bus_remove_eventcall	target  warlock_dummy
33add	bus_ops::bus_unconfig		target  warlock_dummy
34
35root	wcuwput
36root	wcopen
37root	wclrput
38root	wc_polled_enter
39root	wc_polled_exit
40root	wc_polled_getchar
41root	wc_polled_ischar
42root	wc_polled_putchar
43root	wcclose
44root	wcreioctl
45root	wcrstrt
46root	wc_modechg_cb
47root	vc_avl_compare
48
49if test `uname -p` = "sparc"; then
50root	wc_cons_wrtvec
51root	wconsout
52root	wcopoll
53fi
54
55#
56# The devfs part of virtual console only reads these three variables,
57# so we only have to hold the lock when writing to these variables.
58#
59readable	wc_dip
60readable	vc_active_console
61readable	vc_state::vc_flags
62
63#
64# Only called from sdev_vtops.c, will be checked in wc_devfs.wlcmd
65#
66ignore	vt_getactive
67ignore	vt_wc_attached
68
69#
70# Protected by D_MTPERMODE
71#
72ignore	vc_state::vc_acqsig
73ignore	vc_state::vc_bufcallid
74ignore	vc_state::vc_dispnum
75ignore	vc_state::vc_fb_mode
76ignore	vc_state::vc_login
77ignore	vc_state::vc_minor
78ignore	vc_state::vc_pid
79ignore	vc_state::vc_relsig
80ignore	vc_state::vc_switch_mode
81ignore	vc_state::vc_switchto
82ignore	vc_state::vc_tem
83ignore	vc_state::vc_timeoutid
84ignore	vc_state::vc_ttycommon.t_iocpending
85ignore	vc_state::vc_ttycommon.t_readq
86ignore	vc_state::vc_ttycommon.t_writeq
87ignore	vc_state::vc_waitv
88ignore	vc_state::vc_wq
89