Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | // ========== Copyright Header Begin ========================================== |
2 | // | |
3 | // OpenSPARC T2 Processor File: niu_error_dfn.vri | |
4 | // Copyright (C) 1995-2007 Sun Microsystems, Inc. All Rights Reserved | |
5 | // 4150 Network Circle, Santa Clara, California 95054, U.S.A. | |
6 | // | |
7 | // * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | |
8 | // | |
9 | // This program is free software; you can redistribute it and/or modify | |
10 | // it under the terms of the GNU General Public License as published by | |
11 | // the Free Software Foundation; version 2 of the License. | |
12 | // | |
13 | // This program is distributed in the hope that it will be useful, | |
14 | // but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | // GNU General Public License for more details. | |
17 | // | |
18 | // You should have received a copy of the GNU General Public License | |
19 | // along with this program; if not, write to the Free Software | |
20 | // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
21 | // | |
22 | // For the avoidance of doubt, and except that if any non-GPL license | |
23 | // choice is available it will apply instead, Sun elects to use only | |
24 | // the General Public License version 2 (GPLv2) at this time for any | |
25 | // software where a choice of GPL license versions is made | |
26 | // available with the language indicating that GPLv2 or any later version | |
27 | // may be used, or where a choice of which version of the GPL is applied is | |
28 | // otherwise unspecified. | |
29 | // | |
30 | // Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, | |
31 | // CA 95054 USA or visit www.sun.com if you need additional information or | |
32 | // have any questions. | |
33 | // | |
34 | // ========== Copyright Header End ============================================ | |
35 | #define SIU_TimeOutError 1 | |
36 | #define SIU_UnmappedAddressError 2 | |
37 | #define SIU_UncorrectableError 4 | |
38 | #define SIU_CtagEccErr 8 // To be removed | |
39 | #define SIU_CtagSingleBitEccErr 16 | |
40 | #define SIU_CtagMultiBitEccErr 32 | |
41 | #define SIU_DataParityError 64 | |
42 | #define SIU_SpuriousResp 128 | |
43 | #define SIU_SpuriousType_ReadResp 256 | |
44 | #define SIU_SpuriousType_WriteAck 512 | |
45 | ||
46 | #define HOST_ERRORMODE 0 | |
47 | #define MEM_ERRORMODE 1 | |
48 | ||
49 | ||
50 | // NEPTUNE MODE Errors | |
51 | ||
52 | #define PEU_ECRC_ERROR 1 | |
53 | #define PEU_POISON_ERROR 2 | |
54 | #define PEU_SPURIOUS_RESP_ERROR 4 | |
55 | #define PEU_MALFORMED_LENGTH_TLP_ERROR 8 | |
56 | #define PEU_MALFORMED_TLP_NULL_ERROR 16 | |
57 | #define PEU_MALFORMED_TLP_NULL_PAYLOAD_ERROR 32 | |
58 | #define PEU_DROP_READ_RESP_ERROR 64 | |
59 | ||
60 | ||
61 | #define PEU_PIM_RDREQ_HDR_ERR 32'h200 | |
62 | #define PEU_PIM_WRREQ_HDR_ERR 32'h400 | |
63 | #define PEU_PIM_WRREQ_DATA_ERR 32'h800 | |
64 | #define PEU_PIM_CPL_HDR_ERR 32'h1000 | |
65 | #define PEU_PIM_CPL_DATA_ERR 32'h2000 | |
66 | #define PEU_PIM_XTB_ERR 32'h4000 | |
67 | #define PEU_PIM_P_HDRQ_ERR 32'h8000 | |
68 | #define PEU_PIM_P_DATAQ_ERR 32'h1_0000 | |
69 | #define PEU_PIM_NP_HDRQ_ERR 32'h2_0000 | |
70 | #define PEU_PIM_NP_DATAQ_ERR 32'h4_0000 | |
71 | #define PEU_PIM_CPL_HDRQ_ERR 32'h8_0000 | |
72 | #define PEU_PIM_CPL_DATAQ_ERR 32'h10_0000 | |
73 | #define PEU_PIM_RETRY_ERR 32'h20_0000 | |
74 | #define PEU_PIM_RETRY_SOT_ERR 32'h40_0000 | |
75 | #define PEU_PIM_MSIX_ERR 32'h80_0000 | |
76 | #define PEU_CA_RESP_ERROR 32'h100_0000 | |
77 | #define PEU_UR_RESP_ERROR 32'h200_0000 | |
78 | ||
79 | ||
80 | // TX PACKET ERRORS - Due to Host Errors | |
81 | ||
82 | #define NACK_PKT_RD_SOP 1 | |
83 | #define NACK_PKT_RD_EOP 2 | |
84 | #define NACK_PKT_RD_MID 4 | |
85 | #define NACK_PREF_ERROR 8 | |
86 | #define MBOX_ERROR 10 | |
87 | #define PKT_PART_ERROR 20 | |
88 | #define CONF_PART_ERROR 40 | |
89 | #define PKT_SIZE_ERROR 80 | |
90 | #define TX_RING_OVERFLOW 100 | |
91 | #define PREF_BUF_PAR_ERROR 200 | |
92 | #define NACK_PKT_RD_ERROR 400 | |
93 | #define PREF_SPURIOUS_RESP 800 | |
94 | #define PKT_SPURIOUS_RESP 1000 | |
95 |