2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>

* score/include/rtems/score/isr.h, score/src/isr.c: Use
	CPU_SIMPLE_VECTORED_INTERRUPTS porting parameter to avoid allocating
	memory for vector table.
This commit is contained in:
Joel Sherrill
2008-06-05 14:39:19 +00:00
parent 9d4fa67830
commit 32caf25fbf
3 changed files with 10 additions and 0 deletions

View File

@@ -1,3 +1,9 @@
2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/score/isr.h, score/src/isr.c: Use
CPU_SIMPLE_VECTORED_INTERRUPTS porting parameter to avoid allocating
memory for vector table.
2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/wkspace.c: Fix error in comment.

View File

@@ -87,11 +87,13 @@ SCORE_EXTERN boolean _ISR_Signals_to_thread_executing;
*/
SCORE_EXTERN volatile uint32_t _ISR_Nest_level;
#if (CPU_SIMPLE_VECTORED_INTERRUPTS == TRUE)
/**
* The following declares the Vector Table. Application
* interrupt service routines are vectored by the ISR Handler via this table.
*/
SCORE_EXTERN ISR_Handler_entry *_ISR_Vector_table;
#endif
/**
* This routine performs the initialization necessary for this handler.

View File

@@ -38,9 +38,11 @@ void _ISR_Handler_initialization( void )
_ISR_Nest_level = 0;
#if (CPU_SIMPLE_VECTORED_INTERRUPTS == TRUE)
_ISR_Vector_table = _Workspace_Allocate_or_fatal_error(
sizeof(ISR_Handler_entry) * ISR_NUMBER_OF_VECTORS
);
#endif
_CPU_Initialize_vectors();