[rtems commit] isr.c: Do not call _CPU_Initialize_vectors() if PIC Interrupt Model

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


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

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

isr.c: Do not call _CPU_Initialize_vectors() if PIC Interrupt Model

---

 cpukit/score/src/isr.c |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/cpukit/score/src/isr.c b/cpukit/score/src/isr.c
index 5862781..2306f78 100644
--- a/cpukit/score/src/isr.c
+++ b/cpukit/score/src/isr.c
@@ -1,8 +1,11 @@
-/*
- *  ISR Handler
- *
+/**
+ *  @file
  *
- *  COPYRIGHT (c) 1989-2008.
+ *  ISR Handler Initialization
+ */
+
+/*
+ *  COPYRIGHT (c) 1989-2012.
  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
@@ -38,9 +41,9 @@ void _ISR_Handler_initialization( void )
   _ISR_Vector_table = _Workspace_Allocate_or_fatal_error(
      sizeof(ISR_Handler_entry) * ISR_NUMBER_OF_VECTORS
   );
-#endif
 
   _CPU_Initialize_vectors();
+#endif
 
 #if ( CPU_ALLOCATE_INTERRUPT_STACK == TRUE )
 




More information about the vc mailing list