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 (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
24#
25
26add	bus_ops::bus_add_eventcall	target	warlock_dummy
27add	bus_ops::bus_config		target  warlock_dummy
28add	bus_ops::bus_get_eventcookie	target  warlock_dummy
29add	bus_ops::bus_intr_ctl		target  warlock_dummy
30add	bus_ops::bus_post_event		target  warlock_dummy
31add	bus_ops::bus_remove_eventcall	target  warlock_dummy
32add	bus_ops::bus_unconfig		target  warlock_dummy
33
34root	wcuwput
35root	wcopen
36root	wclrput
37root	wc_polled_enter
38root	wc_polled_exit
39root	wc_polled_getchar
40root	wc_polled_ischar
41root	wc_polled_putchar
42root	wcclose
43root	wcreioctl
44root	wcrstrt
45root	wc_modechg_cb
46root	vc_avl_compare
47
48if test `uname -p` = "sparc"; then
49root	wc_cons_wrtvec
50root	wconsout
51root	wcopoll
52fi
53
54#
55# The devfs part of virtual console only reads these three variables,
56# so we only have to hold the lock when writing to these variables.
57#
58readable	wc_dip
59readable	vc_active_console
60readable	vc_cons_user
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_getconsuser
68ignore	vt_wc_attached
69
70#
71# Protected by D_MTPERMODE
72#
73ignore	vc_state::vc_acqsig
74ignore	vc_state::vc_bufcallid
75ignore	vc_state::vc_dispnum
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