diff options
Diffstat (limited to 'include/asm-powerpc/reg_booke.h')
-rw-r--r-- | include/asm-powerpc/reg_booke.h | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/include/asm-powerpc/reg_booke.h b/include/asm-powerpc/reg_booke.h index 8fdc2b47afb9..0405ef479814 100644 --- a/include/asm-powerpc/reg_booke.h +++ b/include/asm-powerpc/reg_booke.h | |||
@@ -123,16 +123,23 @@ | |||
123 | #define SPRN_SPEFSCR 0x200 /* SPE & Embedded FP Status & Control */ | 123 | #define SPRN_SPEFSCR 0x200 /* SPE & Embedded FP Status & Control */ |
124 | #define SPRN_BBEAR 0x201 /* Branch Buffer Entry Address Register */ | 124 | #define SPRN_BBEAR 0x201 /* Branch Buffer Entry Address Register */ |
125 | #define SPRN_BBTAR 0x202 /* Branch Buffer Target Address Register */ | 125 | #define SPRN_BBTAR 0x202 /* Branch Buffer Target Address Register */ |
126 | #define SPRN_ATB 0x20E /* Alternate Time Base */ | ||
127 | #define SPRN_ATBL 0x20E /* Alternate Time Base Lower */ | ||
128 | #define SPRN_ATBU 0x20F /* Alternate Time Base Upper */ | ||
126 | #define SPRN_IVOR32 0x210 /* Interrupt Vector Offset Register 32 */ | 129 | #define SPRN_IVOR32 0x210 /* Interrupt Vector Offset Register 32 */ |
127 | #define SPRN_IVOR33 0x211 /* Interrupt Vector Offset Register 33 */ | 130 | #define SPRN_IVOR33 0x211 /* Interrupt Vector Offset Register 33 */ |
128 | #define SPRN_IVOR34 0x212 /* Interrupt Vector Offset Register 34 */ | 131 | #define SPRN_IVOR34 0x212 /* Interrupt Vector Offset Register 34 */ |
129 | #define SPRN_IVOR35 0x213 /* Interrupt Vector Offset Register 35 */ | 132 | #define SPRN_IVOR35 0x213 /* Interrupt Vector Offset Register 35 */ |
133 | #define SPRN_IVOR36 0x214 /* Interrupt Vector Offset Register 36 */ | ||
134 | #define SPRN_IVOR37 0x215 /* Interrupt Vector Offset Register 37 */ | ||
130 | #define SPRN_MCSRR0 0x23A /* Machine Check Save and Restore Register 0 */ | 135 | #define SPRN_MCSRR0 0x23A /* Machine Check Save and Restore Register 0 */ |
131 | #define SPRN_MCSRR1 0x23B /* Machine Check Save and Restore Register 1 */ | 136 | #define SPRN_MCSRR1 0x23B /* Machine Check Save and Restore Register 1 */ |
132 | #define SPRN_MCSR 0x23C /* Machine Check Status Register */ | 137 | #define SPRN_MCSR 0x23C /* Machine Check Status Register */ |
133 | #define SPRN_MCAR 0x23D /* Machine Check Address Register */ | 138 | #define SPRN_MCAR 0x23D /* Machine Check Address Register */ |
134 | #define SPRN_DSRR0 0x23E /* Debug Save and Restore Register 0 */ | 139 | #define SPRN_DSRR0 0x23E /* Debug Save and Restore Register 0 */ |
135 | #define SPRN_DSRR1 0x23F /* Debug Save and Restore Register 1 */ | 140 | #define SPRN_DSRR1 0x23F /* Debug Save and Restore Register 1 */ |
141 | #define SPRN_SPRG8 0x25C /* Special Purpose Register General 8 */ | ||
142 | #define SPRN_SPRG9 0x25D /* Special Purpose Register General 9 */ | ||
136 | #define SPRN_MAS0 0x270 /* MMU Assist Register 0 */ | 143 | #define SPRN_MAS0 0x270 /* MMU Assist Register 0 */ |
137 | #define SPRN_MAS1 0x271 /* MMU Assist Register 1 */ | 144 | #define SPRN_MAS1 0x271 /* MMU Assist Register 1 */ |
138 | #define SPRN_MAS2 0x272 /* MMU Assist Register 2 */ | 145 | #define SPRN_MAS2 0x272 /* MMU Assist Register 2 */ |
@@ -140,15 +147,18 @@ | |||
140 | #define SPRN_MAS4 0x274 /* MMU Assist Register 4 */ | 147 | #define SPRN_MAS4 0x274 /* MMU Assist Register 4 */ |
141 | #define SPRN_MAS5 0x275 /* MMU Assist Register 5 */ | 148 | #define SPRN_MAS5 0x275 /* MMU Assist Register 5 */ |
142 | #define SPRN_MAS6 0x276 /* MMU Assist Register 6 */ | 149 | #define SPRN_MAS6 0x276 /* MMU Assist Register 6 */ |
143 | #define SPRN_MAS7 0x3b0 /* MMU Assist Register 7 */ | ||
144 | #define SPRN_PID1 0x279 /* Process ID Register 1 */ | 150 | #define SPRN_PID1 0x279 /* Process ID Register 1 */ |
145 | #define SPRN_PID2 0x27A /* Process ID Register 2 */ | 151 | #define SPRN_PID2 0x27A /* Process ID Register 2 */ |
146 | #define SPRN_TLB0CFG 0x2B0 /* TLB 0 Config Register */ | 152 | #define SPRN_TLB0CFG 0x2B0 /* TLB 0 Config Register */ |
147 | #define SPRN_TLB1CFG 0x2B1 /* TLB 1 Config Register */ | 153 | #define SPRN_TLB1CFG 0x2B1 /* TLB 1 Config Register */ |
154 | #define SPRN_EPR 0x2BE /* External Proxy Register */ | ||
148 | #define SPRN_CCR1 0x378 /* Core Configuration Register 1 */ | 155 | #define SPRN_CCR1 0x378 /* Core Configuration Register 1 */ |
149 | #define SPRN_ZPR 0x3B0 /* Zone Protection Register (40x) */ | 156 | #define SPRN_ZPR 0x3B0 /* Zone Protection Register (40x) */ |
157 | #define SPRN_MAS7 0x3B0 /* MMU Assist Register 7 */ | ||
150 | #define SPRN_MMUCR 0x3B2 /* MMU Control Register */ | 158 | #define SPRN_MMUCR 0x3B2 /* MMU Control Register */ |
151 | #define SPRN_CCR0 0x3B3 /* Core Configuration Register 0 */ | 159 | #define SPRN_CCR0 0x3B3 /* Core Configuration Register 0 */ |
160 | #define SPRN_EPLC 0x3B3 /* External Process ID Load Context */ | ||
161 | #define SPRN_EPSC 0x3B4 /* External Process ID Store Context */ | ||
152 | #define SPRN_SGR 0x3B9 /* Storage Guarded Register */ | 162 | #define SPRN_SGR 0x3B9 /* Storage Guarded Register */ |
153 | #define SPRN_DCWR 0x3BA /* Data Cache Write-thru Register */ | 163 | #define SPRN_DCWR 0x3BA /* Data Cache Write-thru Register */ |
154 | #define SPRN_SLER 0x3BB /* Little-endian real mode */ | 164 | #define SPRN_SLER 0x3BB /* Little-endian real mode */ |
@@ -159,6 +169,7 @@ | |||
159 | #define SPRN_L1CSR0 0x3F2 /* L1 Cache Control and Status Register 0 */ | 169 | #define SPRN_L1CSR0 0x3F2 /* L1 Cache Control and Status Register 0 */ |
160 | #define SPRN_L1CSR1 0x3F3 /* L1 Cache Control and Status Register 1 */ | 170 | #define SPRN_L1CSR1 0x3F3 /* L1 Cache Control and Status Register 1 */ |
161 | #define SPRN_PIT 0x3DB /* Programmable Interval Timer */ | 171 | #define SPRN_PIT 0x3DB /* Programmable Interval Timer */ |
172 | #define SPRN_BUCSR 0x3F5 /* Branch Unit Control and Status */ | ||
162 | #define SPRN_DCCR 0x3FA /* Data Cache Cacheability Register */ | 173 | #define SPRN_DCCR 0x3FA /* Data Cache Cacheability Register */ |
163 | #define SPRN_ICCR 0x3FB /* Instruction Cache Cacheability Register */ | 174 | #define SPRN_ICCR 0x3FB /* Instruction Cache Cacheability Register */ |
164 | #define SPRN_SVR 0x3FF /* System Version Register */ | 175 | #define SPRN_SVR 0x3FF /* System Version Register */ |
@@ -207,7 +218,6 @@ | |||
207 | #define CCR1_TCS 0x00000080 /* Timer Clock Select */ | 218 | #define CCR1_TCS 0x00000080 /* Timer Clock Select */ |
208 | 219 | ||
209 | /* Bit definitions for the MCSR. */ | 220 | /* Bit definitions for the MCSR. */ |
210 | #ifdef CONFIG_440A | ||
211 | #define MCSR_MCS 0x80000000 /* Machine Check Summary */ | 221 | #define MCSR_MCS 0x80000000 /* Machine Check Summary */ |
212 | #define MCSR_IB 0x40000000 /* Instruction PLB Error */ | 222 | #define MCSR_IB 0x40000000 /* Instruction PLB Error */ |
213 | #define MCSR_DRB 0x20000000 /* Data Read PLB Error */ | 223 | #define MCSR_DRB 0x20000000 /* Data Read PLB Error */ |
@@ -217,7 +227,7 @@ | |||
217 | #define MCSR_DCSP 0x02000000 /* D-Cache Search Parity Error */ | 227 | #define MCSR_DCSP 0x02000000 /* D-Cache Search Parity Error */ |
218 | #define MCSR_DCFP 0x01000000 /* D-Cache Flush Parity Error */ | 228 | #define MCSR_DCFP 0x01000000 /* D-Cache Flush Parity Error */ |
219 | #define MCSR_IMPE 0x00800000 /* Imprecise Machine Check Exception */ | 229 | #define MCSR_IMPE 0x00800000 /* Imprecise Machine Check Exception */ |
220 | #endif | 230 | |
221 | #ifdef CONFIG_E500 | 231 | #ifdef CONFIG_E500 |
222 | #define MCSR_MCP 0x80000000UL /* Machine Check Input Pin */ | 232 | #define MCSR_MCP 0x80000000UL /* Machine Check Input Pin */ |
223 | #define MCSR_ICPERR 0x40000000UL /* I-Cache Parity Error */ | 233 | #define MCSR_ICPERR 0x40000000UL /* I-Cache Parity Error */ |
@@ -293,7 +303,7 @@ | |||
293 | #define ESR_IMCB 0x20000000 /* Instr. Machine Check - Bus error */ | 303 | #define ESR_IMCB 0x20000000 /* Instr. Machine Check - Bus error */ |
294 | #define ESR_IMCT 0x10000000 /* Instr. Machine Check - Timeout */ | 304 | #define ESR_IMCT 0x10000000 /* Instr. Machine Check - Timeout */ |
295 | #define ESR_PIL 0x08000000 /* Program Exception - Illegal */ | 305 | #define ESR_PIL 0x08000000 /* Program Exception - Illegal */ |
296 | #define ESR_PPR 0x04000000 /* Program Exception - Priveleged */ | 306 | #define ESR_PPR 0x04000000 /* Program Exception - Privileged */ |
297 | #define ESR_PTR 0x02000000 /* Program Exception - Trap */ | 307 | #define ESR_PTR 0x02000000 /* Program Exception - Trap */ |
298 | #define ESR_FP 0x01000000 /* Floating Point Operation */ | 308 | #define ESR_FP 0x01000000 /* Floating Point Operation */ |
299 | #define ESR_DST 0x00800000 /* Storage Exception - Data miss */ | 309 | #define ESR_DST 0x00800000 /* Storage Exception - Data miss */ |