From 2fd427c7926495b3e1ad3c7aaaa489f8cde95573 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 5 Jun 2008 14:30:07 +0000 Subject: 2008-06-05 Joel Sherrill * rtems/score/cpu.h: Add CPU_SIMPLE_VECTORED_INTERRUPTS porting parameter to indicate that the port uses the Simple Vectored Interrupt model or the Programmable Interrupt Controller Model. The PIC model is implemented primarily in the BSP and it is responsible for all memory allocation. --- cpukit/score/cpu/nios2/rtems/score/cpu.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'cpukit/score/cpu/nios2/rtems/score/cpu.h') diff --git a/cpukit/score/cpu/nios2/rtems/score/cpu.h b/cpukit/score/cpu/nios2/rtems/score/cpu.h index 1372fb9dd7..f35f8844ab 100644 --- a/cpukit/score/cpu/nios2/rtems/score/cpu.h +++ b/cpukit/score/cpu/nios2/rtems/score/cpu.h @@ -118,6 +118,19 @@ extern "C" { */ #define CPU_HAS_SOFTWARE_INTERRUPT_STACK TRUE +/** + * Does the CPU follow the simple vectored interrupt model? + * + * If TRUE, then RTEMS allocates the vector table it internally manages. + * If FALSE, then the BSP is assumed to allocate and manage the vector + * table + * + * Port Specific Information: + * + * XXX document implementation including references if appropriate + */ +#define CPU_SIMPLE_VECTORED_INTERRUPTS TRUE + /** * Does this CPU have hardware support for a dedicated interrupt stack? * -- cgit v1.2.3