Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
1678e2b1
Commit
1678e2b1
authored
Sep 28, 2003
by
Tom Rini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PPC32: Move a few more IBM-40x specific SPRs to the right file.
parent
0852aea8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
include/asm-ppc/reg.h
include/asm-ppc/reg.h
+0
-6
include/asm-ppc/reg_booke.h
include/asm-ppc/reg_booke.h
+4
-0
No files found.
include/asm-ppc/reg.h
View file @
1678e2b1
...
@@ -86,10 +86,6 @@
...
@@ -86,10 +86,6 @@
/* Special Purpose Registers (SPRNs)*/
/* Special Purpose Registers (SPRNs)*/
#define SPRN_CTR 0x009
/* Count Register */
#define SPRN_CTR 0x009
/* Count Register */
#define SPRN_DABR 0x3F5
/* Data Address Breakpoint Register */
#define SPRN_DABR 0x3F5
/* Data Address Breakpoint Register */
#if !defined(SPRN_DAC1) && !defined(SPRN_DAC2)
#define SPRN_DAC1 0x3F6
/* Data Address Compare 1 */
#define SPRN_DAC2 0x3F7
/* Data Address Compare 2 */
#endif
#define SPRN_DAR 0x013
/* Data Address Register */
#define SPRN_DAR 0x013
/* Data Address Register */
#define SPRN_DBAT0L 0x219
/* Data BAT 0 Lower Register */
#define SPRN_DBAT0L 0x219
/* Data BAT 0 Lower Register */
#define SPRN_DBAT0U 0x218
/* Data BAT 0 Upper Register */
#define SPRN_DBAT0U 0x218
/* Data BAT 0 Upper Register */
...
@@ -290,8 +286,6 @@
...
@@ -290,8 +286,6 @@
#define SPRN_SPRG7 0x117
/* Special Purpose Register General 7 */
#define SPRN_SPRG7 0x117
/* Special Purpose Register General 7 */
#define SPRN_SRR0 0x01A
/* Save/Restore Register 0 */
#define SPRN_SRR0 0x01A
/* Save/Restore Register 0 */
#define SPRN_SRR1 0x01B
/* Save/Restore Register 1 */
#define SPRN_SRR1 0x01B
/* Save/Restore Register 1 */
#define SPRN_SRR2 0x3DE
/* Save/Restore Register 2 */
#define SPRN_SRR3 0x3DF
/* Save/Restore Register 3 */
#define SPRN_THRM1 0x3FC
/* Thermal Management Register 1 */
#define SPRN_THRM1 0x3FC
/* Thermal Management Register 1 */
/* these bits were defined in inverted endian sense originally, ugh, confusing */
/* these bits were defined in inverted endian sense originally, ugh, confusing */
#define THRM1_TIN (1 << 31)
#define THRM1_TIN (1 << 31)
...
...
include/asm-ppc/reg_booke.h
View file @
1678e2b1
...
@@ -128,8 +128,12 @@ do { \
...
@@ -128,8 +128,12 @@ do { \
#define SPRN_DEAR 0x3D5
/* Data Error Address Register */
#define SPRN_DEAR 0x3D5
/* Data Error Address Register */
#define SPRN_TSR 0x3D8
/* Timer Status Register */
#define SPRN_TSR 0x3D8
/* Timer Status Register */
#define SPRN_TCR 0x3DA
/* Timer Control Register */
#define SPRN_TCR 0x3DA
/* Timer Control Register */
#define SPRN_SRR2 0x3DE
/* Save/Restore Register 2 */
#define SPRN_SRR3 0x3DF
/* Save/Restore Register 3 */
#define SPRN_DBSR 0x3F0
/* Debug Status Register */
#define SPRN_DBSR 0x3F0
/* Debug Status Register */
#define SPRN_DBCR0 0x3F2
/* Debug Control Register 0 */
#define SPRN_DBCR0 0x3F2
/* Debug Control Register 0 */
#define SPRN_DAC1 0x3F6
/* Data Address Compare 1 */
#define SPRN_DAC2 0x3F7
/* Data Address Compare 2 */
#endif
#endif
/* Bit definitions for the DBSR. */
/* Bit definitions for the DBSR. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment