forked from Imagelibrary/rtems
2001-01-03 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: Added _CPU_Initialize_vectors().
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
@@ -520,8 +520,18 @@ 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
|
||||||
* level is returned in _level.
|
* level is returned in _level.
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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 )
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
@@ -520,8 +520,18 @@ 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
|
||||||
* level is returned in _level.
|
* level is returned in _level.
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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 )
|
||||||
|
|||||||
Reference in New Issue
Block a user