/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _SYS_CONSCONFIG_DACF_H
#define _SYS_CONSCONFIG_DACF_H
#ifdef __cplusplus
extern "C" {
#endif
/*
* This structure contains information about keyboard
* and mouse used for auto-configuration.
*/
typedef struct cons_prop {
int cp_type;
int cp_muxid;
char *cp_pushmod;
} cons_prop_t;
/*
* This structure contains information about the console
*/
typedef struct cons_state {
int conskbd_muxid;
int cons_tem_supported;
int cons_stdin_is_kbd;
int cons_stdout_is_fb;
} cons_state_t;
/*
* Types of console input
*/
/*
* These macros indicate the state of the system while
* the console configuration is running.
* CONSCONFIG_BOOTING implies that the driver loading
* is in process during boot. CONSCONFIG_DRIVERS_LOADED
* means that the driver loading during boot has completed.
*
* During driver loading while the boot is happening, the
* keyboard and mouse minor nodes that are hooked into the console
* stream must match those defined by the firmware. After boot
* minor nodes are hooked according to a first come first serve
* basis.
*/
#define CONSCONFIG_DRIVERS_LOADED 0
/*
* Debug information
* Severity levels for printing
*/
extern void kadb_uses_kernel(void);
#ifdef __cplusplus
}
#endif
#endif /* _SYS_CONSCONFIG_DACF_H */