[rtems commit] powerpc/cpu.h: Define CPU_SIMPLE_VECTORED_INTERRUPTS and remove _CPU_ISR_Initialize

Joel Sherrill joel at rtems.org
Mon Jun 11 17:58:06 UTC 2012


Module:    rtems
Branch:    master
Commit:    9da42fb87a077bd19df24224c66799ddf4925026
Changeset: http://git.rtems.org/rtems/commit/?id=9da42fb87a077bd19df24224c66799ddf4925026

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Mon Jun 11 13:00:57 2012 -0500

powerpc/cpu.h: Define CPU_SIMPLE_VECTORED_INTERRUPTS and remove _CPU_ISR_Initialize

---

 cpukit/score/cpu/powerpc/rtems/score/cpu.h |   16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/cpukit/score/cpu/powerpc/rtems/score/cpu.h b/cpukit/score/cpu/powerpc/rtems/score/cpu.h
index e845362..840df7a 100644
--- a/cpukit/score/cpu/powerpc/rtems/score/cpu.h
+++ b/cpukit/score/cpu/powerpc/rtems/score/cpu.h
@@ -405,6 +405,20 @@ typedef struct CPU_Interrupt_frame {
 #endif /* ASM */
 
 /*
+ *  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
+ *
+ *  PowerPC Specific Information:
+ *
+ *  The PowerPC and x86 were the first to use the PIC interrupt model.
+ *  They do not use the simple vectored interrupt model.
+ */
+#define CPU_SIMPLE_VECTORED_INTERRUPTS FALSE
+
+/*
  *  Does RTEMS manage a dedicated interrupt stack in software?
  *
  *  If TRUE, then a stack is allocated in _ISR_Handler_initialization.
@@ -593,8 +607,6 @@ SCORE_EXTERN struct {
  *  ISR handler macros
  */
 
-#define _CPU_Initialize_vectors()
-
 /*
  *  Disable all interrupts for an RTEMS critical section.  The previous
  *  level is returned in _isr_cookie.




More information about the vc mailing list