[rtems commit] score603e - Eliminate any set_vector() remnants

Joel Sherrill joel at rtems.org
Wed May 9 21:55:54 UTC 2012


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

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Tue May  8 17:47:01 2012 -0500

score603e - Eliminate any set_vector() remnants

---

 .../lib/libbsp/powerpc/score603e/startup/setvec.c  |   46 --------------------
 1 files changed, 0 insertions(+), 46 deletions(-)

diff --git a/c/src/lib/libbsp/powerpc/score603e/startup/setvec.c b/c/src/lib/libbsp/powerpc/score603e/startup/setvec.c
deleted file mode 100644
index 6bb3138..0000000
--- a/c/src/lib/libbsp/powerpc/score603e/startup/setvec.c
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- *  This routine installs an interrupt vector on the target Board/CPU.
- *  This routine is allowed to be as board dependent as necessary.
- *
- *  COPYRIGHT (c) 1989-2008.
- *  On-Line Applications Research Corporation (OAR).
- *
- *  The license and distribution terms for this file may in
- *  the file LICENSE in this distribution or at
- *  http://www.rtems.com/license/LICENSE.
- *
- *  $Id$
- */
-
-#include <rtems.h>
-#include <bsp.h>
-
-/*
- *  This routine installs vector number vector.
- */
-rtems_isr_entry set_vector(                     /* returns old vector */
-  rtems_isr_entry     handler,                  /* isr routine        */
-  rtems_vector_number vector,                   /* vector number      */
-  int                 type                      /* RTEMS or RAW intr  */
-)
-{
-  rtems_isr_entry previous_isr;
-  rtems_status_code status;
-
-  /*
-   * vectors greater than PPC603e_IRQ_LAST are handled by the General purpose
-   * interupt handler.
-   */
-  if ( vector > PPC_IRQ_LAST )  {
-    set_EE_vector( handler, vector );
-  }
-  else  {
-    ;
-    #if 0
-    status = rtems_interrupt_catch(
-       handler, vector, (rtems_isr_entry *) &previous_isr );
-    #endif
-    #warning "Remove this whole method."
-  }
-  return previous_isr;
-}




More information about the vc mailing list