diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-08-29 14:47:09 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-08-29 14:47:09 +0000 |
commit | eeec72f8836336f497790a402c76612120a49680 (patch) | |
tree | d454c040f5f6947551f14dc41d3d231a014acb93 /cpukit/score/cpu/arm/rtems/score/cpu.h | |
parent | 2000-08-29 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-eeec72f8836336f497790a402c76612120a49680.tar.bz2 |
2000-08-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu.c: Spacing issues.
* rtems/score/cpu.h: Removed warning by setting _level.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/cpu/arm/rtems/score/cpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/score/cpu/arm/rtems/score/cpu.h b/cpukit/score/cpu/arm/rtems/score/cpu.h index 820b72a0be..5e664818ea 100644 --- a/cpukit/score/cpu/arm/rtems/score/cpu.h +++ b/cpukit/score/cpu/arm/rtems/score/cpu.h @@ -525,6 +525,7 @@ SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)(); */ #define _CPU_ISR_Disable( _level ) \ { \ + (_level) = 0; \ asm volatile ("MRS r0, cpsr \n" ); \ asm volatile ("ORR r0, r0, #0xc0 \n" ); \ asm volatile ("MSR cpsr, r0 \n" ); \ |