2008-09-23 Joel Sherrill <joel.sherrill@oarcorp.com>

* Makefile.am: bsp_cleanup() had the same code which was executed when
	you returned from boot_card() to start.S. So just use the stub
	bsp_cleanup() implementation and remove a file.
	* startup/bspclean.c: Removed.
This commit is contained in:
Joel Sherrill
2008-09-23 14:51:37 +00:00
parent b2fe499f10
commit ca93cf149c
3 changed files with 8 additions and 17 deletions

View File

@@ -1,3 +1,10 @@
2008-09-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am: bsp_cleanup() had the same code which was executed when
you returned from boot_card() to start.S. So just use the stub
bsp_cleanup() implementation and remove a file.
* startup/bspclean.c: Removed.
2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/bsp.h: Remove unnecessary boilerplate comments.

View File

@@ -29,7 +29,7 @@ project_lib_DATA = start.$(OBJEXT)
dist_project_lib_DATA += startup/linkcmds
startup_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
../../shared/bsppredriverhook.c ../../shared/bsppost.c \
../../shared/bsppretaskinghook.c ../../shared/bspgetworkarea.c \
startup/bspstart.c ../../shared/bootcard.c ../../shared/sbrk.c \

View File

@@ -1,16 +0,0 @@
/*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/
void bsp_cleanup( void )
{
extern void _sys_exit(int);
_sys_exit(0);
}