diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-01-03 16:32:23 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-01-03 16:32:23 +0000 |
commit | ac0043451dfa122d628ba73e8250b9b707295fea (patch) | |
tree | a853232ac16337af6053ca6dfc6fd43e839fdded /c/src/exec/score/cpu/i960/rtems | |
parent | 2001-01-03 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-ac0043451dfa122d628ba73e8250b9b707295fea.tar.bz2 |
2001-01-03 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: Added _CPU_Initialize_vectors().
* cpu_asm.S: Modify to properly dereference _ISR_Vector_table
now that it is dynamically allocated.
Diffstat (limited to 'c/src/exec/score/cpu/i960/rtems')
-rw-r--r-- | c/src/exec/score/cpu/i960/rtems/score/cpu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/c/src/exec/score/cpu/i960/rtems/score/cpu.h b/c/src/exec/score/cpu/i960/rtems/score/cpu.h index 958e27e87b..bc13335e92 100644 --- a/c/src/exec/score/cpu/i960/rtems/score/cpu.h +++ b/c/src/exec/score/cpu/i960/rtems/score/cpu.h @@ -246,12 +246,14 @@ SCORE_EXTERN void *_CPU_Interrupt_stack_high; * ISR handler macros * * These macros perform the following functions: + * + initialize the RTEMS vector table * + disable all maskable CPU interrupts * + restore previous interrupt level (enable) * + temporarily restore interrupts (flash) * + set a particular level */ +#define _CPU_Initialize_vectors() #define _CPU_ISR_Disable( _level ) i960_disable_interrupts( _level ) #define _CPU_ISR_Enable( _level ) i960_enable_interrupts( _level ) #define _CPU_ISR_Flash( _level ) i960_flash_interrupts( _level ) |