[rtems commit] i386/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:    562cadfaa52c6237c780a4a8dcd585f12429d1f5
Changeset: http://git.rtems.org/rtems/commit/?id=562cadfaa52c6237c780a4a8dcd585f12429d1f5

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Mon Jun 11 12:29:38 2012 -0500

i386/cpu.h: Define CPU_SIMPLE_VECTORED_INTERRUPTS and remove _CPU_ISR_Initialize

---

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

diff --git a/cpukit/score/cpu/i386/rtems/score/cpu.h b/cpukit/score/cpu/i386/rtems/score/cpu.h
index 46d5c04..a8d23f9 100644
--- a/cpukit/score/cpu/i386/rtems/score/cpu.h
+++ b/cpukit/score/cpu/i386/rtems/score/cpu.h
@@ -39,6 +39,20 @@ extern "C" {
 #define CPU_UNROLL_ENQUEUE_PRIORITY      FALSE
 
 /*
+ *  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
+
+/*
  *  i386 has an RTEMS allocated and managed interrupt stack.
  */
 
@@ -342,8 +356,6 @@ SCORE_EXTERN Context_Control_fp  _CPU_Null_fp_context;
  *     + set a particular level
  */
 
-#define _CPU_Initialize_vectors()
-
 #define _CPU_ISR_Disable( _level ) i386_disable_interrupts( _level )
 
 #define _CPU_ISR_Enable( _level )  i386_enable_interrupts( _level )




More information about the vc mailing list