xref: /onnv-gate/usr/src/uts/common/sys/consplat.h (revision 7335:1cd1271e3bbb)
1*7335SLipeng.Sang@Sun.COM /*
2*7335SLipeng.Sang@Sun.COM  * CDDL HEADER START
3*7335SLipeng.Sang@Sun.COM  *
4*7335SLipeng.Sang@Sun.COM  * The contents of this file are subject to the terms of the
5*7335SLipeng.Sang@Sun.COM  * Common Development and Distribution License (the "License").
6*7335SLipeng.Sang@Sun.COM  * You may not use this file except in compliance with the License.
7*7335SLipeng.Sang@Sun.COM  *
8*7335SLipeng.Sang@Sun.COM  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*7335SLipeng.Sang@Sun.COM  * or http://www.opensolaris.org/os/licensing.
10*7335SLipeng.Sang@Sun.COM  * See the License for the specific language governing permissions
11*7335SLipeng.Sang@Sun.COM  * and limitations under the License.
12*7335SLipeng.Sang@Sun.COM  *
13*7335SLipeng.Sang@Sun.COM  * When distributing Covered Code, include this CDDL HEADER in each
14*7335SLipeng.Sang@Sun.COM  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*7335SLipeng.Sang@Sun.COM  * If applicable, add the following below this CDDL HEADER, with the
16*7335SLipeng.Sang@Sun.COM  * fields enclosed by brackets "[]" replaced with your own identifying
17*7335SLipeng.Sang@Sun.COM  * information: Portions Copyright [yyyy] [name of copyright owner]
18*7335SLipeng.Sang@Sun.COM  *
19*7335SLipeng.Sang@Sun.COM  * CDDL HEADER END
20*7335SLipeng.Sang@Sun.COM  */
21*7335SLipeng.Sang@Sun.COM 
22*7335SLipeng.Sang@Sun.COM /*
23*7335SLipeng.Sang@Sun.COM  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
24*7335SLipeng.Sang@Sun.COM  * Use is subject to license terms.
25*7335SLipeng.Sang@Sun.COM  */
26*7335SLipeng.Sang@Sun.COM 
27*7335SLipeng.Sang@Sun.COM #ifndef	_SYS_CONSPLAT_H
28*7335SLipeng.Sang@Sun.COM #define	_SYS_CONSPLAT_H
29*7335SLipeng.Sang@Sun.COM 
30*7335SLipeng.Sang@Sun.COM #include <sys/types.h>
31*7335SLipeng.Sang@Sun.COM 
32*7335SLipeng.Sang@Sun.COM #ifdef	__cplusplus
33*7335SLipeng.Sang@Sun.COM extern "C" {
34*7335SLipeng.Sang@Sun.COM #endif
35*7335SLipeng.Sang@Sun.COM 
36*7335SLipeng.Sang@Sun.COM extern int plat_use_polled_debug(void);
37*7335SLipeng.Sang@Sun.COM extern int plat_support_serial_kbd_and_ms(void);
38*7335SLipeng.Sang@Sun.COM extern char *plat_kbdpath(void);
39*7335SLipeng.Sang@Sun.COM extern char *plat_fbpath(void);
40*7335SLipeng.Sang@Sun.COM extern char *plat_mousepath(void);
41*7335SLipeng.Sang@Sun.COM extern char *plat_stdinpath(void);
42*7335SLipeng.Sang@Sun.COM extern char *plat_stdoutpath(void);
43*7335SLipeng.Sang@Sun.COM extern int plat_stdin_is_keyboard(void);
44*7335SLipeng.Sang@Sun.COM extern int plat_stdout_is_framebuffer(void);
45*7335SLipeng.Sang@Sun.COM extern void plat_tem_get_inverses(int *, int *);
46*7335SLipeng.Sang@Sun.COM extern void plat_tem_get_prom_font_size(int *, int *);
47*7335SLipeng.Sang@Sun.COM extern void plat_tem_get_prom_size(size_t *, size_t *);
48*7335SLipeng.Sang@Sun.COM extern void plat_tem_hide_prom_cursor(void);
49*7335SLipeng.Sang@Sun.COM extern void plat_tem_get_prom_pos(uint32_t *, uint32_t *);
50*7335SLipeng.Sang@Sun.COM extern int plat_virtual_console_path(char **);
51*7335SLipeng.Sang@Sun.COM 
52*7335SLipeng.Sang@Sun.COM #ifdef	__cplusplus
53*7335SLipeng.Sang@Sun.COM }
54*7335SLipeng.Sang@Sun.COM #endif
55*7335SLipeng.Sang@Sun.COM 
56*7335SLipeng.Sang@Sun.COM #endif	/* _SYS_CONSPLAT_H */
57