diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-01-03 16:29:04 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-01-03 16:29:04 +0000 |
commit | 2d877aa6ec98c38ca9ea9015ac6225f590a3c836 (patch) | |
tree | a19d75792a54ae10a86d434a3ed01f4922388fd8 /c/src | |
parent | 2001-01-03 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-2d877aa6ec98c38ca9ea9015ac6225f590a3c836.tar.bz2 |
2001-01-03 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: Added _CPU_Initialize_vectors().
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/score/cpu/arm/ChangeLog | 4 | ||||
-rw-r--r-- | c/src/exec/score/cpu/arm/rtems/score/cpu.h | 7 | ||||
-rw-r--r-- | c/src/exec/score/cpu/c4x/ChangeLog | 4 | ||||
-rw-r--r-- | c/src/exec/score/cpu/c4x/rtems/score/cpu.h | 6 | ||||
-rw-r--r-- | c/src/exec/score/cpu/i386/ChangeLog | 4 | ||||
-rw-r--r-- | c/src/exec/score/cpu/i386/rtems/score/cpu.h | 3 |
6 files changed, 28 insertions, 0 deletions
diff --git a/c/src/exec/score/cpu/arm/ChangeLog b/c/src/exec/score/cpu/arm/ChangeLog index 0c0afbceaa..278a8029de 100644 --- a/c/src/exec/score/cpu/arm/ChangeLog +++ b/c/src/exec/score/cpu/arm/ChangeLog @@ -1,3 +1,7 @@ +2001-01-03 Joel Sherrill <joel@OARcorp.com> + + * rtems/score/cpu.h: Added _CPU_Initialize_vectors(). + 2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS. diff --git a/c/src/exec/score/cpu/arm/rtems/score/cpu.h b/c/src/exec/score/cpu/arm/rtems/score/cpu.h index 5e664818ea..0100d958bd 100644 --- a/c/src/exec/score/cpu/arm/rtems/score/cpu.h +++ b/c/src/exec/score/cpu/arm/rtems/score/cpu.h @@ -520,9 +520,16 @@ SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)(); /* ISR handler macros */ /* + * Support routine to initialize the RTEMS vector table after it is allocated. + */ + +#define _CPU_Initialize_vectors() + +/* * Disable all interrupts for an RTEMS critical section. The previous * level is returned in _level. */ + #define _CPU_ISR_Disable( _level ) \ { \ (_level) = 0; \ diff --git a/c/src/exec/score/cpu/c4x/ChangeLog b/c/src/exec/score/cpu/c4x/ChangeLog index 242047f8f6..31f30286e5 100644 --- a/c/src/exec/score/cpu/c4x/ChangeLog +++ b/c/src/exec/score/cpu/c4x/ChangeLog @@ -1,3 +1,7 @@ +2001-01-03 Joel Sherrill <joel@OARcorp.com> + + * rtems/score/cpu.h: Added _CPU_Initialize_vectors(). + 2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS. diff --git a/c/src/exec/score/cpu/c4x/rtems/score/cpu.h b/c/src/exec/score/cpu/c4x/rtems/score/cpu.h index ada263bf65..2407c34ed8 100644 --- a/c/src/exec/score/cpu/c4x/rtems/score/cpu.h +++ b/c/src/exec/score/cpu/c4x/rtems/score/cpu.h @@ -769,6 +769,12 @@ SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)(); */ /* + * Support routine to initialize the RTEMS vector table after it is allocated. + */ + +#define _CPU_Initialize_vectors() + +/* * Disable all interrupts for an RTEMS critical section. The previous * level is returned in _isr_cookie. */ diff --git a/c/src/exec/score/cpu/i386/ChangeLog b/c/src/exec/score/cpu/i386/ChangeLog index 79334d6edd..718034a40a 100644 --- a/c/src/exec/score/cpu/i386/ChangeLog +++ b/c/src/exec/score/cpu/i386/ChangeLog @@ -1,3 +1,7 @@ +2001-01-03 Joel Sherrill <joel@OARcorp.com> + + * rtems/score/cpu.h: Added _CPU_Initialize_vectors(). + 2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS. diff --git a/c/src/exec/score/cpu/i386/rtems/score/cpu.h b/c/src/exec/score/cpu/i386/rtems/score/cpu.h index a0b7c2c4e2..c70773546f 100644 --- a/c/src/exec/score/cpu/i386/rtems/score/cpu.h +++ b/c/src/exec/score/cpu/i386/rtems/score/cpu.h @@ -276,12 +276,15 @@ 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 ) i386_disable_interrupts( _level ) #define _CPU_ISR_Enable( _level ) i386_enable_interrupts( _level ) |