2001-01-03 Joel Sherrill <joel@OARcorp.com>

* rtems/score/cpu.h: Added _CPU_Initialize_vectors().
This commit is contained in:
Joel Sherrill
2001-01-03 16:37:08 +00:00
parent fe7acdcf8b
commit d6ea098b77
28 changed files with 198 additions and 12 deletions

View File

@@ -1,4 +1,9 @@
2001-01-03 Joel Sherrill <joel@OARcorp.com>
* src/isr.c: Modify to properly dereference _ISR_Vector_table
now that it is dynamically allocated.
2000-12-19 Joel Sherrill <joel@OARcorp.com> 2000-12-19 Joel Sherrill <joel@OARcorp.com>
* src/isr.c: Allocate the _ISR_Vector_table all the time not just when * src/isr.c: Allocate the _ISR_Vector_table all the time not just when

View File

@@ -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> 2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS. * Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.

View File

@@ -571,7 +571,15 @@ SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)();
#define CPU_STACK_ALIGNMENT CPU_ALIGNMENT #define CPU_STACK_ALIGNMENT CPU_ALIGNMENT
/* ISR handler macros */ /*
* 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 * Disable all interrupts for an RTEMS critical section. The previous

View File

@@ -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> 2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS. * Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.

View File

@@ -636,7 +636,19 @@ SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)();
#define CPU_STACK_ALIGNMENT 0 #define CPU_STACK_ALIGNMENT 0
/* ISR handler macros */ /*
* ISR handler macros
*/
/*
* Support routine to initialize the RTEMS vector table after it is allocated.
*
* NO_CPU Specific Information:
*
* XXX document implementation including references if appropriate
*/
#define _CPU_Initialize_vectors()
/* /*
* Disable all interrupts for an RTEMS critical section. The previous * Disable all interrupts for an RTEMS critical section. The previous

View File

@@ -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> 2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS. * Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.

View File

@@ -636,7 +636,19 @@ SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)();
#define CPU_STACK_ALIGNMENT 0 #define CPU_STACK_ALIGNMENT 0
/* ISR handler macros */ /*
* ISR handler macros
*/
/*
* Support routine to initialize the RTEMS vector table after it is allocated.
*
* OR16 Specific Information:
*
* XXX document implementation including references if appropriate
*/
#define _CPU_Initialize_vectors()
/* /*
* Disable all interrupts for an RTEMS critical section. The previous * Disable all interrupts for an RTEMS critical section. The previous

View File

@@ -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> 2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS. * Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.

View File

@@ -636,7 +636,19 @@ SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)();
#define CPU_STACK_ALIGNMENT 0 #define CPU_STACK_ALIGNMENT 0
/* ISR handler macros */ /*
* ISR handler macros
*/
/*
* Support routine to initialize the RTEMS vector table after it is allocated.
*
* OR32 Specific Information:
*
* XXX document implementation including references if appropriate
*/
#define _CPU_Initialize_vectors()
/* /*
* Disable all interrupts for an RTEMS critical section. The previous * Disable all interrupts for an RTEMS critical section. The previous

View File

@@ -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> 2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS. * Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.

View File

@@ -520,7 +520,17 @@ SCORE_EXTERN void CPU_delay( unsigned32 microseconds );
#define CPU_STACK_ALIGNMENT CPU_ALIGNMENT #define CPU_STACK_ALIGNMENT CPU_ALIGNMENT
/* ISR handler macros */ /*
* ISR handler macros
*/
/*
* Support routine to initialize the RTEMS vector table after it is allocated.
*
* SH Specific Information: NONE
*/
#define _CPU_Initialize_vectors()
/* /*
* Disable all interrupts for an RTEMS critical section. The previous * Disable all interrupts for an RTEMS critical section. The previous

View File

@@ -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> 2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS. * Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.

View File

@@ -670,7 +670,15 @@ SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)();
#define CPU_STACK_ALIGNMENT 64 #define CPU_STACK_ALIGNMENT 64
/* ISR handler macros */ /*
* 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 * Disable all interrupts for an RTEMS critical section. The previous

View File

@@ -37,6 +37,8 @@ void _ISR_Handler_initialization( void )
sizeof(ISR_Handler_entry) * ISR_NUMBER_OF_VECTORS sizeof(ISR_Handler_entry) * ISR_NUMBER_OF_VECTORS
); );
_CPU_Initialize_vectors();
#if ( CPU_ALLOCATE_INTERRUPT_STACK == TRUE ) #if ( CPU_ALLOCATE_INTERRUPT_STACK == TRUE )
if ( _CPU_Table.interrupt_stack_size < STACK_MINIMUM_SIZE ) if ( _CPU_Table.interrupt_stack_size < STACK_MINIMUM_SIZE )

View File

@@ -1,4 +1,9 @@
2001-01-03 Joel Sherrill <joel@OARcorp.com>
* src/isr.c: Modify to properly dereference _ISR_Vector_table
now that it is dynamically allocated.
2000-12-19 Joel Sherrill <joel@OARcorp.com> 2000-12-19 Joel Sherrill <joel@OARcorp.com>
* src/isr.c: Allocate the _ISR_Vector_table all the time not just when * src/isr.c: Allocate the _ISR_Vector_table all the time not just when

View File

@@ -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> 2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS. * Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.

View File

@@ -571,7 +571,15 @@ SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)();
#define CPU_STACK_ALIGNMENT CPU_ALIGNMENT #define CPU_STACK_ALIGNMENT CPU_ALIGNMENT
/* ISR handler macros */ /*
* 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 * Disable all interrupts for an RTEMS critical section. The previous

View File

@@ -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> 2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS. * Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.

View File

@@ -636,7 +636,19 @@ SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)();
#define CPU_STACK_ALIGNMENT 0 #define CPU_STACK_ALIGNMENT 0
/* ISR handler macros */ /*
* ISR handler macros
*/
/*
* Support routine to initialize the RTEMS vector table after it is allocated.
*
* NO_CPU Specific Information:
*
* XXX document implementation including references if appropriate
*/
#define _CPU_Initialize_vectors()
/* /*
* Disable all interrupts for an RTEMS critical section. The previous * Disable all interrupts for an RTEMS critical section. The previous

View File

@@ -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> 2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS. * Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.

View File

@@ -636,7 +636,19 @@ SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)();
#define CPU_STACK_ALIGNMENT 0 #define CPU_STACK_ALIGNMENT 0
/* ISR handler macros */ /*
* ISR handler macros
*/
/*
* Support routine to initialize the RTEMS vector table after it is allocated.
*
* OR16 Specific Information:
*
* XXX document implementation including references if appropriate
*/
#define _CPU_Initialize_vectors()
/* /*
* Disable all interrupts for an RTEMS critical section. The previous * Disable all interrupts for an RTEMS critical section. The previous

View File

@@ -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> 2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS. * Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.

View File

@@ -636,7 +636,19 @@ SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)();
#define CPU_STACK_ALIGNMENT 0 #define CPU_STACK_ALIGNMENT 0
/* ISR handler macros */ /*
* ISR handler macros
*/
/*
* Support routine to initialize the RTEMS vector table after it is allocated.
*
* OR32 Specific Information:
*
* XXX document implementation including references if appropriate
*/
#define _CPU_Initialize_vectors()
/* /*
* Disable all interrupts for an RTEMS critical section. The previous * Disable all interrupts for an RTEMS critical section. The previous

View File

@@ -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> 2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS. * Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.

View File

@@ -520,7 +520,17 @@ SCORE_EXTERN void CPU_delay( unsigned32 microseconds );
#define CPU_STACK_ALIGNMENT CPU_ALIGNMENT #define CPU_STACK_ALIGNMENT CPU_ALIGNMENT
/* ISR handler macros */ /*
* ISR handler macros
*/
/*
* Support routine to initialize the RTEMS vector table after it is allocated.
*
* SH Specific Information: NONE
*/
#define _CPU_Initialize_vectors()
/* /*
* Disable all interrupts for an RTEMS critical section. The previous * Disable all interrupts for an RTEMS critical section. The previous

View File

@@ -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> 2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS. * Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.

View File

@@ -670,7 +670,15 @@ SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)();
#define CPU_STACK_ALIGNMENT 64 #define CPU_STACK_ALIGNMENT 64
/* ISR handler macros */ /*
* 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 * Disable all interrupts for an RTEMS critical section. The previous

View File

@@ -37,6 +37,8 @@ void _ISR_Handler_initialization( void )
sizeof(ISR_Handler_entry) * ISR_NUMBER_OF_VECTORS sizeof(ISR_Handler_entry) * ISR_NUMBER_OF_VECTORS
); );
_CPU_Initialize_vectors();
#if ( CPU_ALLOCATE_INTERRUPT_STACK == TRUE ) #if ( CPU_ALLOCATE_INTERRUPT_STACK == TRUE )
if ( _CPU_Table.interrupt_stack_size < STACK_MINIMUM_SIZE ) if ( _CPU_Table.interrupt_stack_size < STACK_MINIMUM_SIZE )