tem.h revision aecfc01d1bad84e66649703f7fc2926ef70b34ba
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * CDDL HEADER START
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin * The contents of this file are subject to the terms of the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * Common Development and Distribution License (the "License").
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * You may not use this file except in compliance with the License.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * See the License for the specific language governing permissions
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * and limitations under the License.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * When distributing Covered Code, include this CDDL HEADER in each
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * If applicable, add the following below this CDDL HEADER, with the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * fields enclosed by brackets "[]" replaced with your own identifying
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * information: Portions Copyright [yyyy] [name of copyright owner]
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * CDDL HEADER END
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * Use is subject to license terms.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinextern "C" {
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chintypedef struct __tem_modechg_cb_arg *tem_modechg_cb_arg_t;
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chintypedef void (*tem_modechg_cb_t) (tem_modechg_cb_arg_t arg);
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinvoid tem_write(tem_vt_state_t, uchar_t *, ssize_t, cred_t *);
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chinvoid tem_safe_polled_write(tem_vt_state_t, unsigned char *, int);
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chinvoid tem_get_size(ushort_t *, ushort_t *, ushort_t *, ushort_t *);
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chinvoid tem_register_modechg_cb(tem_modechg_cb_t, tem_modechg_cb_arg_t);
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chinvoid tem_activate(tem_vt_state_t, boolean_t, cred_t *);
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chinvoid tem_switch(tem_vt_state_t, tem_vt_state_t, cred_t *);
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chinvoid tem_set_fbmode(tem_vt_state_t, uchar_t, cred_t *);
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#endif /* _KERNEL */
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#endif /* _SYS_TEM_H */