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

* Makefile.am: BSP specific bsp_cleanup() is a dupe of a shared one.
	* startup/bspclean.c: Removed.
This commit is contained in:
Joel Sherrill
2008-09-23 15:11:51 +00:00
parent 81f160023d
commit 94cba6e1cc
6 changed files with 12 additions and 54 deletions

View File

@@ -1,3 +1,8 @@
2008-09-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am: BSP specific bsp_cleanup() is a dupe of a shared one.
* startup/bspclean.c: Removed.
2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/bsp.h: Remove unnecessary boilerplate comments.

View File

@@ -31,7 +31,7 @@ dist_project_lib_DATA += startup/linkcmds startup/linkcmds_ROM
startup_SOURCES = startup/start_c.c ../../shared/bsplibc.c \
../../shared/bsppost.c ../../shared/bspstart.c startup/bsppredriverhook.c \
startup/bspclean.c ../../shared/bootcard.c ../../shared/sbrk.c \
../../shared/bspclean.c ../../shared/bootcard.c ../../shared/sbrk.c \
../../m68k/shared/setvec.c ../../shared/bsppretaskinghook.c \
../../shared/bspgetworkarea.c ../../shared/gnatinstallhandler.c \
startup/except_vect_332_ROM.S

View File

@@ -1,27 +0,0 @@
/* bsp_cleanup()
*
* This routine cleans up in the sense that it places the board
* in a safe state and flushes the I/O buffers before exiting.
*
* INPUT: NONE
*
* OUTPUT: NONE
*
* 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$
*/
#include <bsp.h>
void bsp_cleanup(void)
{
/* interrupt driven stdio must be flushed */
_CPU_ISR_Set_level( 7 );
/*_UART_flush(); */
}

View File

@@ -1,3 +1,8 @@
2008-09-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am: BSP specific bsp_cleanup() is a dupe of a shared one.
* startup/bspclean.c: Removed.
2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/bsp.h: Remove unnecessary include of bsp.h

View File

@@ -20,7 +20,7 @@ include_HEADERS += include/coverhd.h
dist_project_lib_DATA += startup/linkcmds
startup_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
../../shared/bsppretaskinghook.c ../../shared/bsppredriverhook.c \
../../shared/startup/bspgetworkarea.c ../../shared/bsppost.c \
startup/bspstart.c ../../shared/bootcard.c ../../shared/sbrk.c \

View File

@@ -1,25 +0,0 @@
/* bsp_cleanup()
*
* This routine normally is part of start.s and usually returns
* control to a monitor.
*
* INPUT: NONE
*
* OUTPUT: NONE
*
* 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$
*/
#include <rtems.h>
#include <bsp.h>
void bsp_cleanup( void )
{
}