source: rtems/c/src/lib/libbsp/powerpc/mvme2307/startup/bspclean.c @ 19ca797

4.104.114.84.95
Last change on this file since 19ca797 was 19ca797, checked in by Joel Sherrill <joel.sherrill@…>, on 10/04/99 at 20:41:28

Motorola MVME2307 BSP submitted by Jay Kulpinski <jskulpin@…>.
No modifications made.

  • Property mode set to 100644
File size: 710 bytes
Line 
1/*  bsp_cleanup()
2 *
3 *  This routine normally is part of start.s and usually returns
4 *  control to a monitor.
5 *
6 *  INPUT:  NONE
7 *
8 *  OUTPUT: NONE
9 *
10 *  COPYRIGHT (c) 1989-1998.
11 *  On-Line Applications Research Corporation (OAR).
12 *  Copyright assigned to U.S. Government, 1994.
13 *
14 *  The license and distribution terms for this file may be
15 *  found in the file LICENSE in this distribution or at
16 *  http://www.OARcorp.com/rtems/license.html.
17 *
18 *  $Id$
19 */
20
21#include <rtems.h>
22#include <rtems/score/cpu.h>
23#include <bsp.h>
24
25void bsp_cleanup( void )
26{
27    /* disable raven interrupts */
28    set_interrupt_task_priority(15);
29    /* exit to PPCBUG */
30    asm volatile ( "li 10,99; sc" : : : "r10");
31}
Note: See TracBrowser for help on using the repository browser.