px_fault.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 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _SYS_PX_FAULT_H
#define _SYS_PX_FAULT_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
enum { PX_FAULT_XBC, PX_FAULT_PEC };
typedef enum {
} px_err_id_t;
typedef struct px_fh_desc {
char *fhd_msg_tbl; /* error messages table */
} px_fh_desc_t;
extern px_fh_desc_t px_fhd_tbl[];
typedef struct px_fault {
} px_fault_t;
struct px_fh {
};
/* XXX need to be moved to individual include files */
#define PX_ERR_PIL 14
#define px_lpul_intr px_lpu_intr
#define px_lpup_intr px_lpu_intr
#define px_lpur_intr px_lpu_intr
#define px_lpux_intr px_lpu_intr
#define px_lpus_intr px_lpu_intr
#define px_lpug_intr px_lpu_intr
pre ## _ ## AND_STATUS, \
pre ## _ ## AND_STATUS
pre ## _ ## LOG_ENABLE, \
pre ## _ ## INTERRUPT_ENABLE, \
pre ## _ ## INTERRUPT_STATUS, \
pre ## _ ## STATUS_CLEAR
pre ## _ ## ERROR_LOG_ENABLE, \
pre ## _ ## INTERRUPT_ENABLE, \
pre ## _ ## INTERRUPT_STATUS, \
pre ## _ ## ERROR_STATUS_CLEAR
/* FMA related */
const void *impl_data);
#ifdef __cplusplus
}
#endif
#endif /* _SYS_PX_FAULT_H */