source: rtems/c/src/lib/libbsp/arm/nds/startup/bspclean.c @ f560d0a

4.104.115
Last change on this file since f560d0a was 12d853d, checked in by Joel Sherrill <joel.sherrill@…>, on 09/14/08 at 20:04:36

2008-09-14 Joel Sherrill <joel.sherrill@…>

  • Makefile.am, configure.ac: Split out bsp_cleanup() and bsp_get_work_area() into their own files.
  • startup/bspclean.c, startup/bspgetworkarea.c, startup/bspstart.c: New files.
  • startup/start.c: Removed.
  • Property mode set to 100644
File size: 554 bytes
Line 
1/*
2 *  This is a dummy bsp_cleanup routine.
3 *
4 *  COPYRIGHT (c) 1989-1999.
5 *  On-Line Applications Research Corporation (OAR).
6 *
7 *  The license and distribution terms for this file may be
8 *  found in the file LICENSE in this distribution or at
9 *  http://www.rtems.com/license/LICENSE.
10 *
11 *  $Id$
12 */
13
14#include <bsp.h>
15#include <bsp/bootcard.h>
16#include <nds.h>
17
18/*
19 * reset the platform using bios call.
20 */
21void bsp_reset (void)
22{
23  swiSoftReset ();
24}
25
26void bsp_cleanup( void )
27{
28  printk ("[!] executive ended, rebooting\n");
29
30  bsp_reset ();
31}
Note: See TracBrowser for help on using the repository browser.