source: rtems/c/src/lib/libcpu/i960/i960ca/cpu_install_intr_stack.c @ 73b5bd5d

4.104.114.84.95
Last change on this file since 73b5bd5d was 73b5bd5d, checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/15/04 at 13:33:58

Remove stray white spaces.

  • Property mode set to 100644
File size: 486 bytes
Line 
1/*
2 *  Install interrupt stack i960ca
3 *
4 *  $Id$
5 */
6
7#include <rtems.h>
8#include <libcpu/i960CA.h>
9
10extern i960_PRCB *Prcb;
11
12void _CPU_Install_interrupt_stack( void )
13{
14  i960_PRCB *prcb = Prcb;
15  uint32_t     level;
16 
17  /* 
18   *  Set the Interrupt Stack in the PRCB and force a reload of it.
19   *  Interrupts are disabled for safety.
20   */
21
22  _CPU_ISR_Disable( level );
23
24    prcb->intr_stack = _CPU_Interrupt_stack_low;
25
26    i960_soft_reset( prcb );
27
28  _CPU_ISR_Enable( level );
29}
Note: See TracBrowser for help on using the repository browser.