summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/papyrus/startup/setvec.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-11-26 18:16:24 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-11-26 18:16:24 +0000
commit979657d21638fca5f19ba670ca5f71e0cd10cd9b (patch)
tree75dfa0185bb2d276650bd07da1bc214250fab991 /c/src/lib/libbsp/powerpc/papyrus/startup/setvec.c
parent2001-11-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-979657d21638fca5f19ba670ca5f71e0cd10cd9b.tar.bz2
2001-11-20 Joel Sherrill <joel@OARcorp.com>
* acinclude.m4: papyrus reference removed. * papyrus/.cvsignore, papyrus/ChangeLog, papyrus/Makefile.am, papyrus/README, papyrus/bsp_specs, papyrus/configure.ac, papyrus/times, papyrus/dlentry/.cvsignore, papyrus/dlentry/Makefile.am, papyrus/dlentry/dlentry.S, papyrus/flashentry/.cvsignore, papyrus/flashentry/Makefile.am, papyrus/flashentry/flashentry.S, papyrus/include/.cvsignore, papyrus/include/Makefile.am, papyrus/include/bsp.h, papyrus/include/coverhd.h, papyrus/startup/.cvsignore, papyrus/startup/Makefile.am, papyrus/startup/bspclean.c, papyrus/startup/bspstart.c, papyrus/startup/linkcmds, papyrus/startup/setvec.c, papyrus/wrapup/.cvsignore, papyrus/wrapup/Makefile.am: Deleted.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/papyrus/startup/setvec.c')
-rw-r--r--c/src/lib/libbsp/powerpc/papyrus/startup/setvec.c57
1 files changed, 0 insertions, 57 deletions
diff --git a/c/src/lib/libbsp/powerpc/papyrus/startup/setvec.c b/c/src/lib/libbsp/powerpc/papyrus/startup/setvec.c
deleted file mode 100644
index 77c1ae3236..0000000000
--- a/c/src/lib/libbsp/powerpc/papyrus/startup/setvec.c
+++ /dev/null
@@ -1,57 +0,0 @@
-/* set_vector
- *
- * This routine installs an interrupt vector on the target Board/CPU.
- * This routine is allowed to be as board dependent as necessary.
- *
- * INPUT:
- * handler - interrupt handler entry point
- * vector - vector number
- * type - 0 indicates raw hardware connect
- * 1 indicates RTEMS interrupt connect
- *
- * RETURNS:
- * address of previous interrupt handler
- *
- * Author: Andrew Bray <andy@i-cubed.co.uk>
- *
- * COPYRIGHT (c) 1995 by i-cubed ltd.
- *
- * To anyone who acknowledges that this file is provided "AS IS"
- * without any express or implied warranty:
- * permission to use, copy, modify, and distribute this file
- * for any purpose is hereby granted without fee, provided that
- * the above copyright notice and this notice appears in all
- * copies, and that the name of i-cubed limited not be used in
- * advertising or publicity pertaining to distribution of the
- * software without specific, written prior permission.
- * i-cubed limited makes no representations about the suitability
- * of this software for any purpose.
- *
- * Derived from c/src/lib/libbsp/no_cpu/no_bsp/startup/setvec.c:
- *
- * COPYRIGHT (c) 1989-1999.
- * On-Line Applications Research Corporation (OAR).
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.OARcorp.com/rtems/license.html.
- *
- * $Id$
- */
-
-#include <rtems.h>
-#include <bsp.h>
-
-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_interrupt_catch( handler, vector, (rtems_isr_entry *) &previous_isr );
-
- return previous_isr;
-}
-