px_fm.h revision f8d2de6bd2421da1926f3daa456d161670decdf7
/*
* 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 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _SYS_PX_FM_H
#define _SYS_PX_FM_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
#define PX_ERR_PIL 14
#define PX_ERR_LOW_PIL 9
/*
* Error handlers maybe called due to trap or interrupts
* occured.
*/
#define PX_TRAP_CALL 0
#define PX_INTR_CALL 1
#define PX_LIB_CALL 2
/*
* Definition of Fire internal error severity -
* PX_FATAL_HW: errors that automatically cause Fire HW reset,
* PX_FATAL_GOS: errors that causes OS cease to function immediately,
* PX_STUCK_FATAL: errors that is likely to spam, causing hang,
* PX_FATAL_SW: errors that cause partial OS lose function,
* PX_NONFATAL: errors that can be recovered or ignored.
*/
#define PX_FATAL_HW 0x10
#define PX_FATAL_GOS 0x8
#define PX_STUCK_FATAL 0x4
#define PX_FATAL_SW 0x2
#define PX_NONFATAL 0x1
#define PX_ERR_UNKNOWN 0x80
/*
* Error handling FMA hook
*/
/*
* Fire interrupt handlers
*/
/*
* Common error handling functions
*/
#ifdef __cplusplus
}
#endif
#endif /* _SYS_PX_FM_H */