03831d35f7499c87d51205817c93e9a8d42c4baestevel * CDDL HEADER START
03831d35f7499c87d51205817c93e9a8d42c4baestevel * The contents of this file are subject to the terms of the
03831d35f7499c87d51205817c93e9a8d42c4baestevel * Common Development and Distribution License (the "License").
03831d35f7499c87d51205817c93e9a8d42c4baestevel * You may not use this file except in compliance with the License.
03831d35f7499c87d51205817c93e9a8d42c4baestevel * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
03831d35f7499c87d51205817c93e9a8d42c4baestevel * See the License for the specific language governing permissions
03831d35f7499c87d51205817c93e9a8d42c4baestevel * and limitations under the License.
03831d35f7499c87d51205817c93e9a8d42c4baestevel * When distributing Covered Code, include this CDDL HEADER in each
03831d35f7499c87d51205817c93e9a8d42c4baestevel * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
03831d35f7499c87d51205817c93e9a8d42c4baestevel * If applicable, add the following below this CDDL HEADER, with the
03831d35f7499c87d51205817c93e9a8d42c4baestevel * fields enclosed by brackets "[]" replaced with your own identifying
03831d35f7499c87d51205817c93e9a8d42c4baestevel * information: Portions Copyright [yyyy] [name of copyright owner]
03831d35f7499c87d51205817c93e9a8d42c4baestevel * CDDL HEADER END
03831d35f7499c87d51205817c93e9a8d42c4baestevel * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
03831d35f7499c87d51205817c93e9a8d42c4baestevel * Use is subject to license terms.
03831d35f7499c87d51205817c93e9a8d42c4baestevel#pragma ident "%Z%%M% %I% %E% SMI"
03831d35f7499c87d51205817c93e9a8d42c4baestevelextern "C" {
03831d35f7499c87d51205817c93e9a8d42c4baestevel * Serengeti SBBC Driver
03831d35f7499c87d51205817c93e9a8d42c4baestevel * The Serengeti SBBC driver handles communication between the
03831d35f7499c87d51205817c93e9a8d42c4baestevel * System Controller Software (ScApp) and Solaris via SBBC
03831d35f7499c87d51205817c93e9a8d42c4baestevel * registers and IOSRAM.
03831d35f7499c87d51205817c93e9a8d42c4baestevel * OS <-> SC Interrupt Reasons
03831d35f7499c87d51205817c93e9a8d42c4baestevel#define SBBC_CONSOLE_IN 0x1 /* console input available */
03831d35f7499c87d51205817c93e9a8d42c4baestevel#define SBBC_CONSOLE_OUT 0x2 /* console output available */
03831d35f7499c87d51205817c93e9a8d42c4baestevel#define SBBC_CONSOLE_SPACE_IN 0x8 /* console has in space */
03831d35f7499c87d51205817c93e9a8d42c4baestevel#define SBBC_CONSOLE_SPACE_OUT 0x10 /* console has out space */
03831d35f7499c87d51205817c93e9a8d42c4baestevel#define SBBC_MAILBOX_OUT 0x40 /* mailbox message out */
03831d35f7499c87d51205817c93e9a8d42c4baestevel#define SBBC_MAILBOX_SPACE_IN 0x80 /* mailbox has in space */
03831d35f7499c87d51205817c93e9a8d42c4baestevel#define SBBC_MAILBOX_SPACE_OUT 0x100 /* mailbox has out space */
03831d35f7499c87d51205817c93e9a8d42c4baestevel * SBBC needs to know what softint handlers are doing
03831d35f7499c87d51205817c93e9a8d42c4baestevel/* For printing out warning and panic messages */
03831d35f7499c87d51205817c93e9a8d42c4baestevel#endif /* _SYS_SGSBBC_H */