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