4.104.115
Last change
on this file since 12d853d 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
|
Rev | Line | |
---|
[12d853d] | 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 | */ |
---|
| 21 | void bsp_reset (void) |
---|
| 22 | { |
---|
| 23 | swiSoftReset (); |
---|
| 24 | } |
---|
| 25 | |
---|
| 26 | void 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.