diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-10-24 20:24:29 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-10-24 20:24:29 +0000 |
commit | e996604bf808e053595f887eef7862e9c13e7fe3 (patch) | |
tree | 116f87108bf3af6fb554b63c6affd2f3bc074504 /cpukit/score/cpu/bfin/rtems/bfin/bfin.h | |
parent | 2006-10-24 Alain Schaefer <alani@easc.ch> (diff) | |
download | rtems-e996604bf808e053595f887eef7862e9c13e7fe3.tar.bz2 |
2006-10-24 Joel Sherrill <joel@OARcorp.com>
* rtems/bfin/bfin.h: Eliminate hi, lo, HI, LO, and MK_BMSK.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/cpu/bfin/rtems/bfin/bfin.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/cpukit/score/cpu/bfin/rtems/bfin/bfin.h b/cpukit/score/cpu/bfin/rtems/bfin/bfin.h index 2a7267f84f..23ff5ea2a8 100644 --- a/cpukit/score/cpu/bfin/rtems/bfin/bfin.h +++ b/cpukit/score/cpu/bfin/rtems/bfin/bfin.h @@ -22,14 +22,6 @@ extern "C" { #endif -#define MK_BMSK_( x ) (1<<x) - -#define LO(con32) ((con32) & 0xFFFF) -#define lo(con32) ((con32) & 0xFFFF) -#define HI(con32) (((con32) >> 16) & 0xFFFF) -#define hi(con32) (((con32) >> 16) & 0xFFFF) - - /* Scratchpad SRAM */ #define SCRATCH 0xFFB00000 @@ -83,7 +75,8 @@ extern "C" { /* Event Bit Positions */ #define EVT_IVTMR_P 0x00000006 -#define EVT_IVTMR MK_BMSK_(EVT_IVTMR_P ) + +#define EVT_IVTMR (1 << EVT_IVTMR_P) #ifdef __cplusplus } |