11414Scindi /* 21414Scindi * CDDL HEADER START 31414Scindi * 41414Scindi * The contents of this file are subject to the terms of the 5*5254Sgavinm * Common Development and Distribution License (the "License"). 6*5254Sgavinm * You may not use this file except in compliance with the License. 71414Scindi * 81414Scindi * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 91414Scindi * or http://www.opensolaris.org/os/licensing. 101414Scindi * See the License for the specific language governing permissions 111414Scindi * and limitations under the License. 121414Scindi * 131414Scindi * When distributing Covered Code, include this CDDL HEADER in each 141414Scindi * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 151414Scindi * If applicable, add the following below this CDDL HEADER, with the 161414Scindi * fields enclosed by brackets "[]" replaced with your own identifying 171414Scindi * information: Portions Copyright [yyyy] [name of copyright owner] 181414Scindi * 191414Scindi * CDDL HEADER END 201414Scindi * 21*5254Sgavinm * Copyright 2007 Sun Microsystems, Inc. All rights reserved. 221414Scindi * Use is subject to license terms. 231414Scindi */ 241414Scindi 251414Scindi #ifndef _AO_MCA_DISP_H 261414Scindi #define _AO_MCA_DISP_H 271414Scindi 281414Scindi #pragma ident "%Z%%M% %I% %E% SMI" 291414Scindi 301414Scindi #include <sys/types.h> 311414Scindi #include <sys/mca_amd.h> 321414Scindi #include <sys/fm/cpu/AMD.h> 331414Scindi 341426Scindi #include <ao.h> 351414Scindi 361414Scindi #ifdef __cplusplus 371414Scindi extern "C" { 381414Scindi #endif 391414Scindi 401414Scindi #define AO_MCA_PP_BIT_SRC 0x1 41*5254Sgavinm #define AO_MCA_PP_BIT_RES 0x2 421414Scindi #define AO_MCA_PP_BIT_OBS 0x4 431414Scindi #define AO_MCA_PP_BIT_GEN 0x8 441414Scindi 451414Scindi #define AO_MCA_II_BIT_MEM 0x1 461414Scindi #define AO_MCA_II_BIT_IO 0x2 471414Scindi #define AO_MCA_II_BIT_GEN 0x4 481414Scindi 49*5254Sgavinm #define AO_MCA_R4_BIT_ERR 0x001 501414Scindi #define AO_MCA_R4_BIT_RD 0x002 511414Scindi #define AO_MCA_R4_BIT_WR 0x004 521414Scindi #define AO_MCA_R4_BIT_DRD 0x008 531414Scindi #define AO_MCA_R4_BIT_DWD 0x010 541414Scindi #define AO_MCA_R4_BIT_DWR 0x020 551414Scindi #define AO_MCA_R4_BIT_IRD 0x040 561414Scindi #define AO_MCA_R4_BIT_PREFETCH 0x080 571414Scindi #define AO_MCA_R4_BIT_EVICT 0x100 581414Scindi #define AO_MCA_R4_BIT_SNOOP 0x200 591414Scindi 601414Scindi extern const ao_error_disp_t *ao_error_disp[]; 611414Scindi 621414Scindi #ifdef __cplusplus 631414Scindi } 641414Scindi #endif 651414Scindi 661414Scindi #endif /* _AO_MCA_DISP_H */ 67