From 2d877aa6ec98c38ca9ea9015ac6225f590a3c836 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 3 Jan 2001 16:29:04 +0000 Subject: 2001-01-03 Joel Sherrill * rtems/score/cpu.h: Added _CPU_Initialize_vectors(). --- c/src/exec/score/cpu/arm/ChangeLog | 4 ++++ c/src/exec/score/cpu/arm/rtems/score/cpu.h | 7 +++++++ c/src/exec/score/cpu/c4x/ChangeLog | 4 ++++ c/src/exec/score/cpu/c4x/rtems/score/cpu.h | 6 ++++++ c/src/exec/score/cpu/i386/ChangeLog | 4 ++++ c/src/exec/score/cpu/i386/rtems/score/cpu.h | 3 +++ 6 files changed, 28 insertions(+) (limited to 'c/src/exec/score') 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 + + * rtems/score/cpu.h: Added _CPU_Initialize_vectors(). + 2000-11-09 Ralf Corsepius * 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 @@ -519,10 +519,17 @@ 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 + + * rtems/score/cpu.h: Added _CPU_Initialize_vectors(). + 2000-11-09 Ralf Corsepius * 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 @@ -768,6 +768,12 @@ SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)(); * bit in the status word. */ +/* + * 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 + + * rtems/score/cpu.h: Added _CPU_Initialize_vectors(). + 2000-11-09 Ralf Corsepius * 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 ) -- cgit v1.2.3