xref: /titanic_51/usr/src/uts/common/sys/kd.h (revision 48633f182599946aebd63dccdc852ad722b57d0e)
1aecfc01dSrui zang - Sun Microsystems - Beijing China /*
2aecfc01dSrui zang - Sun Microsystems - Beijing China  * CDDL HEADER START
3aecfc01dSrui zang - Sun Microsystems - Beijing China  *
4aecfc01dSrui zang - Sun Microsystems - Beijing China  * The contents of this file are subject to the terms of the
5aecfc01dSrui zang - Sun Microsystems - Beijing China  * Common Development and Distribution License (the "License").
6aecfc01dSrui zang - Sun Microsystems - Beijing China  * You may not use this file except in compliance with the License.
7aecfc01dSrui zang - Sun Microsystems - Beijing China  *
8aecfc01dSrui zang - Sun Microsystems - Beijing China  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9aecfc01dSrui zang - Sun Microsystems - Beijing China  * or http://www.opensolaris.org/os/licensing.
10aecfc01dSrui zang - Sun Microsystems - Beijing China  * See the License for the specific language governing permissions
11aecfc01dSrui zang - Sun Microsystems - Beijing China  * and limitations under the License.
12aecfc01dSrui zang - Sun Microsystems - Beijing China  *
13aecfc01dSrui zang - Sun Microsystems - Beijing China  * When distributing Covered Code, include this CDDL HEADER in each
14aecfc01dSrui zang - Sun Microsystems - Beijing China  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15aecfc01dSrui zang - Sun Microsystems - Beijing China  * If applicable, add the following below this CDDL HEADER, with the
16aecfc01dSrui zang - Sun Microsystems - Beijing China  * fields enclosed by brackets "[]" replaced with your own identifying
17aecfc01dSrui zang - Sun Microsystems - Beijing China  * information: Portions Copyright [yyyy] [name of copyright owner]
18aecfc01dSrui zang - Sun Microsystems - Beijing China  *
19aecfc01dSrui zang - Sun Microsystems - Beijing China  * CDDL HEADER END
20aecfc01dSrui zang - Sun Microsystems - Beijing China  */
21aecfc01dSrui zang - Sun Microsystems - Beijing China /*
22*48633f18SJan Setje-Eilers  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
23aecfc01dSrui zang - Sun Microsystems - Beijing China  * Use is subject to license terms.
24aecfc01dSrui zang - Sun Microsystems - Beijing China  */
25aecfc01dSrui zang - Sun Microsystems - Beijing China 
26aecfc01dSrui zang - Sun Microsystems - Beijing China /*	Copyright (c) 1990, 1991 UNIX System Laboratories, Inc. */
27aecfc01dSrui zang - Sun Microsystems - Beijing China 
28aecfc01dSrui zang - Sun Microsystems - Beijing China /* 	Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T   */
29aecfc01dSrui zang - Sun Microsystems - Beijing China /*	 All Rights Reserved   */
30aecfc01dSrui zang - Sun Microsystems - Beijing China 
31aecfc01dSrui zang - Sun Microsystems - Beijing China #ifndef _SYS_KD_H
32aecfc01dSrui zang - Sun Microsystems - Beijing China #define	_SYS_KD_H
33aecfc01dSrui zang - Sun Microsystems - Beijing China 
34aecfc01dSrui zang - Sun Microsystems - Beijing China /*
35aecfc01dSrui zang - Sun Microsystems - Beijing China  * Minimal compatibility support for "kd" ioctls.
36aecfc01dSrui zang - Sun Microsystems - Beijing China  *
37aecfc01dSrui zang - Sun Microsystems - Beijing China  * This file may be deleted or changed without notice.
38aecfc01dSrui zang - Sun Microsystems - Beijing China  */
39aecfc01dSrui zang - Sun Microsystems - Beijing China 
40aecfc01dSrui zang - Sun Microsystems - Beijing China #ifdef __cplusplus
41aecfc01dSrui zang - Sun Microsystems - Beijing China extern "C" {
42aecfc01dSrui zang - Sun Microsystems - Beijing China #endif
43aecfc01dSrui zang - Sun Microsystems - Beijing China 
44aecfc01dSrui zang - Sun Microsystems - Beijing China #define	KDIOC		('K'<<8)
45aecfc01dSrui zang - Sun Microsystems - Beijing China #define	KDGETMODE	(KDIOC|9)	/* get text/graphics mode */
46aecfc01dSrui zang - Sun Microsystems - Beijing China #define	KDSETMODE	(KDIOC|10)	/* set text/graphics mode */
47aecfc01dSrui zang - Sun Microsystems - Beijing China #define	KD_TEXT		0
48aecfc01dSrui zang - Sun Microsystems - Beijing China #define	KD_GRAPHICS	1
49*48633f18SJan Setje-Eilers #define	KD_RESETTEXT	2
50aecfc01dSrui zang - Sun Microsystems - Beijing China 
51aecfc01dSrui zang - Sun Microsystems - Beijing China #ifdef __cplusplus
52aecfc01dSrui zang - Sun Microsystems - Beijing China }
53aecfc01dSrui zang - Sun Microsystems - Beijing China #endif
54aecfc01dSrui zang - Sun Microsystems - Beijing China 
55aecfc01dSrui zang - Sun Microsystems - Beijing China #endif /* _SYS_KD_H */
56