diff options
Diffstat (limited to 'cpukit/score/cpu/bfin/rtems/bfin/bfin.h')
-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 } |