diff options
Diffstat (limited to 'c/src/lib/libcpu/i960/i960ka/cpu_install_intr_stack.c')
-rw-r--r-- | c/src/lib/libcpu/i960/i960ka/cpu_install_intr_stack.c | 29 |
1 files changed, 0 insertions, 29 deletions
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 ); -} |