diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2007-11-16 14:57:57 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-12-11 14:57:16 -0500 |
commit | fd351b89205bc14f79af2e0d69f4198bcea1cf6a (patch) | |
tree | 2df1d1f10825996bec973493d721543cccc5bc1f /include/asm-powerpc/reg_booke.h | |
parent | 7ee17466b6ac3b63ce87492d080e15e7f144f7d2 (diff) |
[POWERPC] Add SPRN for Embedded registers specified in PowerISA 2.04
* Added SPRN for new architectural features added for embedded:
- Alternate Time Base (ATB, ATBL, ATBU)
- Doorbell Interrupts (IVOR36, IVOR37)
- SPRG8/9
- External Proxy (EPR)
- External PID load/store (EPLC, EPSC)
* Added BUCSR for Freescale Embedded Processors
* Moved around MAS7 so its in numeric order
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/asm-powerpc/reg_booke.h')
-rw-r--r-- | include/asm-powerpc/reg_booke.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/include/asm-powerpc/reg_booke.h b/include/asm-powerpc/reg_booke.h index 8fdc2b47afb9..98350f0f92c9 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 */ |