Go to the documentation of this file. 1 #ifndef _SPARC64_CHAFSR_H
2 #define _SPARC64_CHAFSR_H
20 #define CHAFSR_TL1 (1UL << 63UL)
25 #define CHPAFSR_DTO (1UL << 59UL)
30 #define CHPAFSR_DBERR (1UL << 58UL)
33 #define CHPAFSR_THCE (1UL << 57UL)
35 #define JPAFSR_JETO (1UL << 57UL)
38 #define CHPAFSR_TSCE (1UL << 56UL)
40 #define JPAFSR_SCE (1UL << 56UL)
43 #define CHPAFSR_TUE (1UL << 55UL)
45 #define JPAFSR_JEIC (1UL << 55UL)
50 #define CHPAFSR_DUE (1UL << 54UL)
52 #define JPAFSR_JEIT (1UL << 54UL)
68 #define CHAFSR_ME (1UL << 53UL)
73 #define CHAFSR_PRIV (1UL << 52UL)
84 #define CHAFSR_PERR (1UL << 51UL)
90 #define CHAFSR_IERR (1UL << 50UL)
93 #define CHAFSR_ISAP (1UL << 49UL)
96 #define CHAFSR_EMC (1UL << 48UL)
98 #define JPAFSR_ETP (1UL << 48UL)
101 #define CHAFSR_EMU (1UL << 47UL)
103 #define JPAFSR_OM (1UL << 47UL)
106 #define CHAFSR_IVC (1UL << 46UL)
108 #define JPAFSR_UMS (1UL << 46UL)
111 #define CHAFSR_IVU (1UL << 45UL)
114 #define CHAFSR_TO (1UL << 44UL)
117 #define CHAFSR_BERR (1UL << 43UL)
122 #define CHAFSR_UCC (1UL << 42UL)
127 #define CHAFSR_UCU (1UL << 41UL)
130 #define CHAFSR_CPC (1UL << 40UL)
133 #define CHAFSR_CPU (1UL << 39UL)
136 #define CHAFSR_WDC (1UL << 38UL)
139 #define CHAFSR_WDU (1UL << 37UL)
142 #define CHAFSR_EDC (1UL << 36UL)
145 #define CHAFSR_EDU (1UL << 35UL)
148 #define CHAFSR_UE (1UL << 34UL)
151 #define CHAFSR_CE (1UL << 33UL)
154 #define JPAFSR_RUE (1UL << 32UL)
157 #define JPAFSR_RCE (1UL << 31UL)
160 #define JPAFSR_BP (1UL << 30UL)
163 #define JPAFSR_WBP (1UL << 29UL)
166 #define JPAFSR_FRC (1UL << 28UL)
169 #define JPAFSR_FRU (1UL << 27UL)
171 #define CHAFSR_ERRORS (CHAFSR_PERR | CHAFSR_IERR | CHAFSR_ISAP | CHAFSR_EMC | \
172 CHAFSR_EMU | CHAFSR_IVC | CHAFSR_IVU | CHAFSR_TO | \
173 CHAFSR_BERR | CHAFSR_UCC | CHAFSR_UCU | CHAFSR_CPC | \
174 CHAFSR_CPU | CHAFSR_WDC | CHAFSR_WDU | CHAFSR_EDC | \
175 CHAFSR_EDU | CHAFSR_UE | CHAFSR_CE)
176 #define CHPAFSR_ERRORS (CHPAFSR_DTO | CHPAFSR_DBERR | CHPAFSR_THCE | \
177 CHPAFSR_TSCE | CHPAFSR_TUE | CHPAFSR_DUE | \
178 CHAFSR_PERR | CHAFSR_IERR | CHAFSR_ISAP | CHAFSR_EMC | \
179 CHAFSR_EMU | CHAFSR_IVC | CHAFSR_IVU | CHAFSR_TO | \
180 CHAFSR_BERR | CHAFSR_UCC | CHAFSR_UCU | CHAFSR_CPC | \
181 CHAFSR_CPU | CHAFSR_WDC | CHAFSR_WDU | CHAFSR_EDC | \
182 CHAFSR_EDU | CHAFSR_UE | CHAFSR_CE)
183 #define JPAFSR_ERRORS (JPAFSR_JETO | JPAFSR_SCE | JPAFSR_JEIC | \
184 JPAFSR_JEIT | CHAFSR_PERR | CHAFSR_IERR | \
185 CHAFSR_ISAP | JPAFSR_ETP | JPAFSR_OM | \
186 JPAFSR_UMS | CHAFSR_IVU | CHAFSR_TO | \
187 CHAFSR_BERR | CHAFSR_UCC | CHAFSR_UCU | \
188 CHAFSR_CPC | CHAFSR_CPU | CHAFSR_WDC | \
189 CHAFSR_WDU | CHAFSR_EDC | CHAFSR_EDU | \
190 CHAFSR_UE | CHAFSR_CE | JPAFSR_RUE | \
191 JPAFSR_RCE | JPAFSR_BP | JPAFSR_WBP | \
192 JPAFSR_FRC | JPAFSR_FRU)
195 #define JPAFSR_JBREQ (0x7UL << 24UL)
196 #define JPAFSR_JBREQ_SHIFT 24UL
199 #define JPAFSR_ETW (0x3UL << 22UL)
200 #define JPAFSR_ETW_SHIFT 22UL
208 #define CHAFSR_M_SYNDROME (0xfUL << 16UL)
209 #define CHAFSR_M_SYNDROME_SHIFT 16UL
212 #define JPAFSR_AID (0x1fUL << 9UL)
213 #define JPAFSR_AID_SHIFT 9UL
221 #define CHAFSR_E_SYNDROME (0x1ffUL << 0UL)
222 #define CHAFSR_E_SYNDROME_SHIFT 0UL