diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-08-21 17:09:26 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-08-21 17:09:26 +0000 |
commit | d36c457fa83db4fb90f09eebc77c3a873bef30b1 (patch) | |
tree | 70d1cc325880833afa5037efe809786a7943dffd | |
parent | 2003-08-21 Till Strauman <strauman@slac.stanford.edu> (diff) | |
download | rtems-d36c457fa83db4fb90f09eebc77c3a873bef30b1.tar.bz2 |
2003-08-21 Till Straumann <strauman@slac.stanford.edu>
PR 457/bsps
* rtems/powerpc/registers.h: Add a few definitions for the PowerPC
thermal assistance unit.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/cpu/powerpc/ChangeLog | 6 | ||||
-rw-r--r-- | cpukit/score/cpu/powerpc/rtems/powerpc/registers.h | 15 |
2 files changed, 14 insertions, 7 deletions
diff --git a/cpukit/score/cpu/powerpc/ChangeLog b/cpukit/score/cpu/powerpc/ChangeLog index 58d4fe23b3..21cb796049 100644 --- a/cpukit/score/cpu/powerpc/ChangeLog +++ b/cpukit/score/cpu/powerpc/ChangeLog @@ -1,3 +1,9 @@ +2003-08-21 Till Straumann <strauman@slac.stanford.edu> + + PR 457/bsps + * rtems/powerpc/registers.h: Add a few definitions for the PowerPC + thermal assistance unit. + 2003-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * configure.ac: Use rtems-bugs@rtems.com as bug report email address. diff --git a/cpukit/score/cpu/powerpc/rtems/powerpc/registers.h b/cpukit/score/cpu/powerpc/rtems/powerpc/registers.h index 82f45d408c..f7ca1f3f9f 100644 --- a/cpukit/score/cpu/powerpc/rtems/powerpc/registers.h +++ b/cpukit/score/cpu/powerpc/rtems/powerpc/registers.h @@ -148,13 +148,14 @@ n: #define THRM1 1020 #define THRM2 1021 #define THRM3 1022 -#define THRM1_TIN 0x1 -#define THRM1_TIV 0x2 -#define THRM1_THRES (0x7f<<2) -#define THRM1_TID (1<<29) -#define THRM1_TIE (1<<30) -#define THRM1_V (1<<31) -#define THRM3_E (1<<31) +#define THRM1_TIN (1<<(31-0)) +#define THRM1_TIV (1<<(31-1)) +#define THRM1_THRES (0x7f<<(31-8)) +#define THRM1_TID (1<<(31-29)) +#define THRM1_TIE (1<<(31-30)) +#define THRM1_V (1<<(31-31)) +#define THRM3_SITV (0x1fff << (31-30)) +#define THRM3_E (1<<(31-31)) /* Segment Registers */ #define SR0 0 |