summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/i960/i960ka
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libcpu/i960/i960ka')
-rw-r--r--c/src/lib/libcpu/i960/i960ka/.cvsignore2
-rw-r--r--c/src/lib/libcpu/i960/i960ka/Makefile.am27
-rw-r--r--c/src/lib/libcpu/i960/i960ka/cpu_install_intr_stack.c29
-rw-r--r--c/src/lib/libcpu/i960/i960ka/cpu_install_raw_isr.c38
4 files changed, 0 insertions, 96 deletions
diff --git a/c/src/lib/libcpu/i960/i960ka/.cvsignore b/c/src/lib/libcpu/i960/i960ka/.cvsignore
deleted file mode 100644
index 282522db03..0000000000
--- a/c/src/lib/libcpu/i960/i960ka/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-Makefile
-Makefile.in
diff --git a/c/src/lib/libcpu/i960/i960ka/Makefile.am b/c/src/lib/libcpu/i960/i960ka/Makefile.am
deleted file mode 100644
index 77a656de86..0000000000
--- a/c/src/lib/libcpu/i960/i960ka/Makefile.am
+++ /dev/null
@@ -1,27 +0,0 @@
-##
-## $Id$
-##
-
-include $(top_srcdir)/../../../automake/compile.am
-
-EXTRA_PROGRAMS =
-CLEANFILES =
-noinst_DATA =
-
-if i960ka
-EXTRA_PROGRAMS += score.rel
-CLEANFILES += score.rel
-score_rel_SOURCES = cpu_install_intr_stack.c cpu_install_raw_isr.c
-score_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
-score_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
-
-EXTRA_PROGRAMS += score_g.rel
-CLEANFILES += score_g.rel
-score_g_rel_SOURCES = $(score_rel_SOURCES)
-score_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
-score_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
-
-noinst_DATA += score$(LIB_VARIANT).rel
-endif
-
-include $(top_srcdir)/../../../automake/local.am
diff --git a/c/src/lib/libcpu/i960/i960ka/cpu_install_intr_stack.c b/c/src/lib/libcpu/i960/i960ka/cpu_install_intr_stack.c
deleted file mode 100644
index 11851bd43c..0000000000
--- a/c/src/lib/libcpu/i960/i960ka/cpu_install_intr_stack.c
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Install interrupt stack i960ka
- *
- * $Id$
- */
-
-#include <rtems.h>
-#include <libcpu/i960KA.h>
-
-extern i960_PRCB *Prcb;
-
-void _CPU_Install_interrupt_stack( void )
-{
- i960_PRCB *prcb = Prcb;
- uint32_t level;
-
- /*
- * Set the Interrupt Stack in the PRCB and force a reload of it.
- * Interrupts are disabled for safety.
- */
-
- _CPU_ISR_Disable( level );
-
- prcb->intr_stack = _CPU_Interrupt_stack_low;
-
- /* soft_reset( prcb ); XXX is there an action like this on the KA? */
-
- _CPU_ISR_Enable( level );
-}
diff --git a/c/src/lib/libcpu/i960/i960ka/cpu_install_raw_isr.c b/c/src/lib/libcpu/i960/i960ka/cpu_install_raw_isr.c
deleted file mode 100644
index 9e4f82693e..0000000000
--- a/c/src/lib/libcpu/i960/i960ka/cpu_install_raw_isr.c
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Install raw interrupt vector for i960ka
- *
- * $Id$
- */
-
-#include <rtems.h>
-#include <libcpu/i960KA.h>
-
-/* this is from the CA and probably not right */
-#define i960_vector_caching_enabled( _prcb ) \
- ((_prcb)->control_tbl->icon & 0x2000)
-
-extern i960_PRCB *Prcb;
-
-void _CPU_ISR_install_raw_handler(
- uint32_t vector,
- proc_ptr new_handler,
- proc_ptr *old_handler
-)
-{
- i960_PRCB *prcb = Prcb;
- proc_ptr *cached_intr_tbl = NULL;
-
- /* The i80960CA does not support vectors 0-7. The first 9 entries
- * in the Interrupt Table are used to manage pending interrupts.
- * Thus vector 8, the first valid vector number, is actually in
- * slot 9 in the table.
- */
-
- *old_handler = prcb->intr_tbl[ vector + 1 ];
-
- prcb->intr_tbl[ vector + 1 ] = new_handler;
-
- if ( i960_vector_caching_enabled( prcb ) )
- if ( (vector & 0xf) == 0x2 ) /* cacheable? */
- cached_intr_tbl[ vector >> 4 ] = new_handler;
-}