17688SAaron.Zang@Sun.COM /* 27688SAaron.Zang@Sun.COM * CDDL HEADER START 37688SAaron.Zang@Sun.COM * 47688SAaron.Zang@Sun.COM * The contents of this file are subject to the terms of the 57688SAaron.Zang@Sun.COM * Common Development and Distribution License (the "License"). 67688SAaron.Zang@Sun.COM * You may not use this file except in compliance with the License. 77688SAaron.Zang@Sun.COM * 87688SAaron.Zang@Sun.COM * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 97688SAaron.Zang@Sun.COM * or http://www.opensolaris.org/os/licensing. 107688SAaron.Zang@Sun.COM * See the License for the specific language governing permissions 117688SAaron.Zang@Sun.COM * and limitations under the License. 127688SAaron.Zang@Sun.COM * 137688SAaron.Zang@Sun.COM * When distributing Covered Code, include this CDDL HEADER in each 147688SAaron.Zang@Sun.COM * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 157688SAaron.Zang@Sun.COM * If applicable, add the following below this CDDL HEADER, with the 167688SAaron.Zang@Sun.COM * fields enclosed by brackets "[]" replaced with your own identifying 177688SAaron.Zang@Sun.COM * information: Portions Copyright [yyyy] [name of copyright owner] 187688SAaron.Zang@Sun.COM * 197688SAaron.Zang@Sun.COM * CDDL HEADER END 207688SAaron.Zang@Sun.COM */ 217688SAaron.Zang@Sun.COM /* 22*8960SJan.Setje-Eilers@Sun.COM * Copyright 2009 Sun Microsystems, Inc. All rights reserved. 237688SAaron.Zang@Sun.COM * Use is subject to license terms. 247688SAaron.Zang@Sun.COM */ 257688SAaron.Zang@Sun.COM 267688SAaron.Zang@Sun.COM /* Copyright (c) 1990, 1991 UNIX System Laboratories, Inc. */ 277688SAaron.Zang@Sun.COM 287688SAaron.Zang@Sun.COM /* Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T */ 297688SAaron.Zang@Sun.COM /* All Rights Reserved */ 307688SAaron.Zang@Sun.COM 317688SAaron.Zang@Sun.COM #ifndef _SYS_KD_H 327688SAaron.Zang@Sun.COM #define _SYS_KD_H 337688SAaron.Zang@Sun.COM 347688SAaron.Zang@Sun.COM /* 357688SAaron.Zang@Sun.COM * Minimal compatibility support for "kd" ioctls. 367688SAaron.Zang@Sun.COM * 377688SAaron.Zang@Sun.COM * This file may be deleted or changed without notice. 387688SAaron.Zang@Sun.COM */ 397688SAaron.Zang@Sun.COM 407688SAaron.Zang@Sun.COM #ifdef __cplusplus 417688SAaron.Zang@Sun.COM extern "C" { 427688SAaron.Zang@Sun.COM #endif 437688SAaron.Zang@Sun.COM 447688SAaron.Zang@Sun.COM #define KDIOC ('K'<<8) 457688SAaron.Zang@Sun.COM #define KDGETMODE (KDIOC|9) /* get text/graphics mode */ 467688SAaron.Zang@Sun.COM #define KDSETMODE (KDIOC|10) /* set text/graphics mode */ 477688SAaron.Zang@Sun.COM #define KD_TEXT 0 487688SAaron.Zang@Sun.COM #define KD_GRAPHICS 1 49*8960SJan.Setje-Eilers@Sun.COM #define KD_RESETTEXT 2 507688SAaron.Zang@Sun.COM 517688SAaron.Zang@Sun.COM #ifdef __cplusplus 527688SAaron.Zang@Sun.COM } 537688SAaron.Zang@Sun.COM #endif 547688SAaron.Zang@Sun.COM 557688SAaron.Zang@Sun.COM #endif /* _SYS_KD_H */ 56