diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-01-08 18:16:51 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-01-08 18:16:51 +0000 |
commit | 1800f71707063d8de2458b237e56497b63ab3f73 (patch) | |
tree | 8801625f12971a7cf5e05cc8cbd2619986c7a792 /cpukit/score/cpu/mips/rtems/score/mips.h | |
parent | 2001-01-08 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-1800f71707063d8de2458b237e56497b63ab3f73.tar.bz2 |
2001-01-08 Joel Sherrill <joel@OARcorp.com>
* idtcpu.h: Commented out definition of "wait". It was stupid to
use such a common word as a macro.
* rtems/score/cpu.h (_CPU_ISR_Disable): Fixed for mips ISA 3.
* rtems/score/mips.h: Added include of <idtcpu.h>.
* rtems/score/mips.h (mips_enable_in_interrupt_mask): Corrected.
Diffstat (limited to 'cpukit/score/cpu/mips/rtems/score/mips.h')
-rw-r--r-- | cpukit/score/cpu/mips/rtems/score/mips.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/score/cpu/mips/rtems/score/mips.h b/cpukit/score/cpu/mips/rtems/score/mips.h index 1f2740c49d..f95175d362 100644 --- a/cpukit/score/cpu/mips/rtems/score/mips.h +++ b/cpukit/score/cpu/mips/rtems/score/mips.h @@ -18,6 +18,10 @@ extern "C" { #endif +#ifndef ASM +#include <idtcpu.h> +#endif + /* * This file contains the information required to build * RTEMS for a particular member of the "no cpu" @@ -89,7 +93,7 @@ extern "C" { do { \ unsigned int _sr; \ mips_get_sr( _sr ); \ - _sr |= (_mask) | SR_IEC; \ + _sr |= (_mask); \ mips_set_sr( _sr ); \ } while (0) |