source: rtems/c/src/lib/libcpu/i960/i960ka/cpu_install_intr_stack.c @ a4a1ccf

4.104.114.84.95
Last change on this file since a4a1ccf was a4a1ccf, checked in by Ralf Corsepius <ralf.corsepius@…>, on 03/31/04 at 01:58:17

2004-03-30 Ralf Corsepius <ralf_corsepius@…>

  • i960ca/cpu_install_intr_stack.c, i960ca/cpu_install_raw_isr.c, i960ka/cpu_install_intr_stack.c, i960ka/cpu_install_raw_isr.c, i960rp/cpu_install_intr_stack.c, i960rp/cpu_install_raw_isr.c: Convert to using c99 fixed size types.
  • Property mode set to 100644
File size: 532 bytes
Line 
1/*
2 *  Install interrupt stack i960ka
3 *
4 *  $Id$
5 */
6
7#include <rtems.h>
8#include <libcpu/i960KA.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    /* soft_reset( prcb ); XXX is there an action like this on the KA? */
27
28  _CPU_ISR_Enable( level );
29}
30
Note: See TracBrowser for help on using the repository browser.