OpenCores
URL https://opencores.org/ocsvn/or1k_old/or1k_old/trunk

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [rtems-20020807/] [c/] [src/] [lib/] [libcpu/] [i960/] [i960ca/] [cpu_install_intr_stack.c] - Rev 1782

Compare with Previous | Blame | View Log

/*
 *  Install interrupt stack i960ca
 *
 *  cpu_install_intr_stack.c,v 1.1 2000/07/11 19:31:04 joel Exp
 */
 
#include <rtems.h>
#include <libcpu/i960CA.h>
 
extern i960_PRCB *Prcb;
 
void _CPU_Install_interrupt_stack( void )
{
  i960_PRCB *prcb = Prcb;
  unsigned32   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;
 
    i960_soft_reset( prcb );
 
  _CPU_ISR_Enable( level );
}
 
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.