sysioerr.h revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (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 (c) 1991-1999 by Sun Microsystems, Inc.
* All rights reserved.
*/
#ifndef _SYS_SYSIOERR_H
#define _SYS_SYSIOERR_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
/*
* Sbus error interrupt priorities
*/
#define SBUS_UE_PIL 12
#define SBUS_CE_PIL 11
#define SBUS_ERR_PIL 12
#define SBUS_THERMAL_PIL 9
#define SBUS_PF_PIL 12
#define SBUS_PM_PIL 12
/*
*/
/*
* Bits of Sun5 SBus ECC Control Register
*/
/*
* Bits of Sun5 SBus UE Asynchronous Fault Status Register
*/
/*
* Shifts for SBus Sysio UE Asynchronous Fault Status Register
*/
#define SB_UE_DW_SHIFT (45)
#define SB_UE_SIZE_SHIFT (42)
#define SB_UE_MID_SHIFT (37)
/*
* Bits of Fusion Desktop SBus UE Asynchronous Fault Address Register
*/
/*
* Bits of Sun5 SBus CE Asynchronous Fault Status Register
*/
/*
* Shifts for Sun5 SBus CE Asynchronous Fault Status Register
*/
#define SB_CE_SYND_SHIFT (48)
#define SB_CE_OFFSET_SHIFT (45)
#define SB_CE_SIZE_SHIFT (42)
#define SB_CE_MID_SHIFT (37)
/*
* Bits of Sun5 Fusion Desktop SBus CE Asynchronous Fault Address Register
* Note: Fusion Desktop does not support E_SYND2.
*/
/*
* Shift for Sun5 SBus CE Asynchronous Fault Address Register
*/
#define SB_CE_SYND2_SHIFT (56)
/*
* Bits of Sun5 SBus Control and Status Register
* See Fusion Desktop System Spec. Table 3-63 for details on slots 13-15
*/
/*
* Shifts for Sun5 SBus Control and Status Register
*/
#define SB_CSR_IMPL_SHIFT (60)
#define SB_CSR_REV_SHIFT (56)
#define SB_CSR_DVMA_PERR_SHIFT (48)
#define SB_CSR_PIO_PERR_SHIFT (40)
/*
* Bits of Sun5 SBus Asynchronous Fault Status Register
*/
/*
* Shifts for Sun5 SBus Asynchronous Fault Status Register
*/
#define SB_AFSR_SIZE_SHIFT (42)
#define SB_AFSR_MID_SHIFT (37)
/*
* Bits of Fusion Desktop SBus Asynchronous Fault Address Register
*/
/*
* Function prototypes
*/
extern int
extern int
#ifdef __cplusplus
}
#endif
#endif /* _SYS_SYSIOERR_H */