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

* Makefile.am, include/bsp.h: Review of all bsp_cleanup()
	implementations. In this phase, all prototypes were removed from
	bsp.h and empty implementations were removed and made to use the
	shared stub.
	* startup/bspclean.c: Removed.
This commit is contained in:
Joel Sherrill
2008-09-10 21:35:06 +00:00
parent 41b28f2eb7
commit 05adba6b12
28 changed files with 66 additions and 244 deletions

View File

@@ -1,3 +1,11 @@
2008-09-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, include/bsp.h: Review of all bsp_cleanup()
implementations. In this phase, all prototypes were removed from
bsp.h and empty implementations were removed and made to use the
shared stub.
* startup/bspclean.c: Removed.
2008-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/init5272.c: Add missing prototypes.

View File

@@ -28,7 +28,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 ../../m68k/shared/m68kpretaskinghook.c \
startup/bspstart.c startup/init5272.c ../../shared/bootcard.c \

View File

@@ -181,8 +181,6 @@ extern rtems_isr (*rtems_clock_hook)(rtems_vector_number);
/* functions */
void bsp_cleanup( void );
m68k_isr_entry set_vector(
rtems_isr_entry handler,
rtems_vector_number vector,

View File

@@ -1,37 +0,0 @@
/*
* CSB360 cleanu code.
*
* This routine returns control from RTEMS to the dBUG monitor.
*
* Copyright (C) 2000 OKTET Ltd., St.-Petersburg, Russia.
* Author: Victor V. Vengerov <vvv@oktet.ru>
*
* COPYRIGHT (c) 1989-1998.
* 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>
/* bsp_cleanup --
* This function called when RTEMS execution is finished. bsp_cleanup
* for MCF5206eLITE evaluation board throw execution to the dBUG
* monitor.
*
* PARAMETERS:
* none
*
* RETURNS:
* none
*/
void
bsp_cleanup(void)
{
}

View File

@@ -1,3 +1,11 @@
2008-09-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, include/bsp.h: Review of all bsp_cleanup()
implementations. In this phase, all prototypes were removed from
bsp.h and empty implementations were removed and made to use the
shared stub.
* startup/bspclean.c: Removed.
2008-09-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* clock/ckinit.c: The Shared Memory Driver no longer requires the

View File

@@ -28,7 +28,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 startup/bspstart.c ../../shared/bootcard.c \
../../m68k/shared/m68kpretaskinghook.c \

View File

@@ -77,8 +77,6 @@ extern m68k_isr_entry M68Kvec[]; /* vector table address */
/* functions */
void bsp_cleanup( void );
m68k_isr_entry set_vector(
rtems_isr_entry handler,
rtems_vector_number vector,

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 )
{
}

View File

@@ -1,3 +1,11 @@
2008-09-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, include/bsp.h: Review of all bsp_cleanup()
implementations. In this phase, all prototypes were removed from
bsp.h and empty implementations were removed and made to use the
shared stub.
* startup/bspclean.c: Removed.
2008-09-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* clock/ckinit.c: The Shared Memory Driver no longer requires the

View File

@@ -30,7 +30,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 startup/bspstart.c startup/init68340.c \
../../shared/bootcard.c ../../m68k/shared/m68kpretaskinghook.c \

View File

@@ -69,8 +69,6 @@ extern m68k_isr_entry M68Kvec[]; /* vector table address */
/* functions */
void bsp_cleanup( void );
m68k_isr_entry set_vector(
rtems_isr_entry handler,
rtems_vector_number vector,

View File

@@ -1,26 +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 )
{
/* Cause double bus fault to force reset? */
}

View File

@@ -1,3 +1,11 @@
2008-09-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, include/bsp.h: Review of all bsp_cleanup()
implementations. In this phase, all prototypes were removed from
bsp.h and empty implementations were removed and made to use the
shared stub.
* startup/bspclean.c: Removed.
2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* spi/mc68360_spidrv.c: Convert to "bool".

View File

@@ -25,7 +25,7 @@ project_lib_DATA = start.$(OBJEXT)
dist_project_lib_DATA += startup/linkcmds startup/linkcmds.prom \
startup/linkcmds.bootp
startup_SOURCES = startup/alloc360.c startup/bspclean.c \
startup_SOURCES = startup/alloc360.c ../../shared/bspclean.c \
../../shared/bsppredriverhook.c \
../../shared/bsplibc.c ../../shared/bsppost.c \
../../m68k/shared/m68kpretaskinghook.c startup/bspstart.c \

View File

@@ -83,8 +83,6 @@ extern m68k_isr_entry M68Kvec[]; /* vector table address */
/* functions */
void bsp_cleanup( void );
void M360ExecuteRISC( uint16_t command );
void *M360AllocateBufferDescriptors( int count );
void *M360AllocateRiscTimers( int count );

View File

@@ -1,26 +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 )
{
/* Cause double bus fault to force reset? */
}

View File

@@ -1,3 +1,11 @@
2008-09-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, include/bsp.h: Review of all bsp_cleanup()
implementations. In this phase, all prototypes were removed from
bsp.h and empty implementations were removed and made to use the
shared stub.
* startup/bspclean.c: Removed.
2008-09-08 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
* i2c/i2c.c, i2c/i2cdrv.c, include/i2c.h:

View File

@@ -36,7 +36,7 @@ project_lib_DATA = start.$(OBJEXT)
dist_project_lib_DATA += startup/linkcmds startup/gdbinit \
startup/linkcmds.flash
startup_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
../../shared/bsppredriverhook.c \
../../shared/bsppost.c ../../m68k/shared/m68kpretaskinghook.c \
startup/bspstart.c startup/init5206e.c ../../shared/bootcard.c \

View File

@@ -211,8 +211,6 @@ extern rtems_isr (*rtems_clock_hook)(rtems_vector_number);
/* functions */
void bsp_cleanup( void );
m68k_isr_entry set_vector(
rtems_isr_entry handler,
rtems_vector_number vector,

View File

@@ -1,37 +0,0 @@
/*
* MCF5206eLITE bsp_cleanup
*
* This routine returns control from RTEMS to the dBUG monitor.
*
* Copyright (C) 2000 OKTET Ltd., St.-Petersburg, Russia.
* Author: Victor V. Vengerov <vvv@oktet.ru>
*
* COPYRIGHT (c) 1989-1998.
* 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>
/* bsp_cleanup --
* This function called when RTEMS execution is finished. bsp_cleanup
* for MCF5206eLITE evaluation board throw execution to the dBUG
* monitor.
*
* PARAMETERS:
* none
*
* RETURNS:
* none
*/
void
bsp_cleanup(void)
{
}

View File

@@ -1,3 +1,11 @@
2008-09-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, include/bsp.h: Review of all bsp_cleanup()
implementations. In this phase, all prototypes were removed from
bsp.h and empty implementations were removed and made to use the
shared stub.
* startup/bspclean.c: Removed.
2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/m68k-stub.c: Convert to "bool".

View File

@@ -44,9 +44,9 @@ startup_SOURCES = startup/cpuboot.c startup/crc.c startup/debugport.c \
startup/m68302scc.c startup/m68k-stub.c \
../../m68k/shared/m68kpretaskinghook.c startup/memcheck.c \
startup/trace.c ../../shared/gnatinstallhandler.c ../../shared/bsplibc.c \
../../shared/bsppredriverhook.c \
../../shared/bsppost.c startup/bspstart.c startup/bspclean.c \
../../shared/sbrk.c ../../m68k/shared/setvec.c
../../shared/bsppredriverhook.c ../../shared/bsppost.c \
startup/bspstart.c ../../shared/bspclean.c ../../shared/sbrk.c \
../../m68k/shared/setvec.c
clock_SOURCES = clock/ckinit.c
console_SOURCES = console/console.c ../../shared/dummy_printk_support.c
timer_SOURCES = timer/timer.c timer/timerisr.S

View File

@@ -87,8 +87,6 @@ extern m68k_isr_entry M68Kvec[]; /* vector table address */
/* functions */
void bsp_cleanup( void );
m68k_isr_entry set_vector(
rtems_isr_entry handler,
rtems_vector_number vector,

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 )
{
}

View File

@@ -1,3 +1,11 @@
2008-09-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, include/bsp.h: Review of all bsp_cleanup()
implementations. In this phase, all prototypes were removed from
bsp.h and empty implementations were removed and made to use the
shared stub.
* startup/bspclean.c: Removed.
2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c: Add capability for bootcard.c BSP Initialization

View File

@@ -36,8 +36,8 @@ CLEANFILES = scitab.c
startup_SOURCES = startup/hw_init.c ../../shared/bsplibc.c \
../../shared/bsppost.c ../../shared/bsppredriverhook.c \
startup/bspstart.c startup/bspclean.c ../../shared/sbrk.c \
../../shared/bootcard.c ../../shared/gnatinstallhandler.c
startup/bspstart.c ../../shared/sbrk.c ../../shared/bootcard.c \
../../shared/gnatinstallhandler.c ../../shared/bspclean.c
scitab_SOURCES = scitab.c
console_SOURCES = ../../sh/shared/console.c console/config.c
debugio_SOURCES = ../../shared/dummy_printk_support.c

View File

@@ -84,10 +84,6 @@ extern uint32_t WorkSpaceEnd ;
extern void *CPU_Interrupt_stack_low ;
extern void *CPU_Interrupt_stack_high ;
/* miscellaneous stuff assumed to exist */
extern void bsp_cleanup( void );
/*
* Device Driver Table Entries
*/

View File

@@ -1,42 +0,0 @@
/* bsp_cleanup()
*
* This routine normally is part of start.s and usually returns
* control to a monitor.
*
* INPUT: NONE
*
* OUTPUT: NONE
*
* Authors: Ralf Corsepius (corsepiu@faw.uni-ulm.de) and
* Bernd Becker (becker@faw.uni-ulm.de)
*
* COPYRIGHT (c) 1997-1998, FAW Ulm, Germany
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
* You should have received a copy of the GNU General Public License
* along with this program; If not, write to the Free Software Foundation,
* 675 Mass Ave, Cambridge, MA 02139, USA.
*
*
* COPYRIGHT (c) 1998.
* 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 )
{
#if 0
rtems_fatal_error_occurred(0);
#endif
}