diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-23 15:11:10 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-23 15:11:10 +0000 |
commit | 81f160023d4aa1f3d3b5cb159a6cbf0b323f47b6 (patch) | |
tree | 4a7b75fe1433a9eabd58657604ccdb974043e4d1 | |
parent | 2008-09-23 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-81f160023d4aa1f3d3b5cb159a6cbf0b323f47b6.tar.bz2 |
2008-09-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/bspclean.c: Removed.
-rw-r--r-- | c/src/lib/libbsp/arm/csb336/ChangeLog | 4 | ||||
-rw-r--r-- | c/src/lib/libbsp/arm/csb336/startup/bspclean.c | 36 | ||||
-rw-r--r-- | c/src/lib/libbsp/i386/pc386/ChangeLog | 4 | ||||
-rw-r--r-- | c/src/lib/libbsp/i386/pc386/startup/bspclean.c | 57 | ||||
-rw-r--r-- | c/src/lib/libbsp/mips/rbtx4925/ChangeLog | 4 | ||||
-rw-r--r-- | c/src/lib/libbsp/mips/rbtx4925/startup/bspclean.c | 16 | ||||
-rw-r--r-- | c/src/lib/libbsp/mips/rbtx4938/ChangeLog | 4 | ||||
-rw-r--r-- | c/src/lib/libbsp/mips/rbtx4938/startup/bspclean.c | 16 |
8 files changed, 16 insertions, 125 deletions
diff --git a/c/src/lib/libbsp/arm/csb336/ChangeLog b/c/src/lib/libbsp/arm/csb336/ChangeLog index c68958396c..31343e5f60 100644 --- a/c/src/lib/libbsp/arm/csb336/ChangeLog +++ b/c/src/lib/libbsp/arm/csb336/ChangeLog @@ -1,3 +1,7 @@ +2008-09-23 Joel Sherrill <joel.sherrill@oarcorp.com> + + * startup/bspclean.c: Removed. + 2008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com> * Makefile.am, configure.ac, console/uart.c, startup/bspclean.c, diff --git a/c/src/lib/libbsp/arm/csb336/startup/bspclean.c b/c/src/lib/libbsp/arm/csb336/startup/bspclean.c deleted file mode 100644 index c316950aa4..0000000000 --- a/c/src/lib/libbsp/arm/csb336/startup/bspclean.c +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Cogent CSB336 Shutdown code - * - * Copyright (c) 2004 by Cogent Computer Systems - * Written by Jay Monkman <jtm@lopingdog.com> - * - * 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 <stdio.h> -#include <bsp.h> -#include <rtems/bspIo.h> -#include <rtems/libio.h> - -int uart_poll_read(int); -void bsp_reset(void); - -void bsp_cleanup(void) -{ - static char line[]="\nEXECUTIVE SHUTDOWN! Any key to reboot..."; - /* - * AT this point, the console driver is disconnected => we must - * use polled output/input. This is exactly what printk - * does. - */ - printk("\n"); - printk(line); - while (BSP_poll_char() < 0) continue; - - bsp_reset(); - -} diff --git a/c/src/lib/libbsp/i386/pc386/ChangeLog b/c/src/lib/libbsp/i386/pc386/ChangeLog index b9f43d4076..ab54df633a 100644 --- a/c/src/lib/libbsp/i386/pc386/ChangeLog +++ b/c/src/lib/libbsp/i386/pc386/ChangeLog @@ -1,3 +1,7 @@ +2008-09-23 Joel Sherrill <joel.sherrill@oarcorp.com> + + * startup/bspclean.c: Removed. + 2008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com> * startup/bspreset.c: New file. diff --git a/c/src/lib/libbsp/i386/pc386/startup/bspclean.c b/c/src/lib/libbsp/i386/pc386/startup/bspclean.c deleted file mode 100644 index e322b2fc6f..0000000000 --- a/c/src/lib/libbsp/i386/pc386/startup/bspclean.c +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Routines to shutdown and reboot the PC. - * - * (C) Copyright 1997 - - * - NavIST Group - Real-Time Distributed Systems and Industrial Automation - * http://pandora.ist.utl.pt - * Instituto Superior Tecnico * Lisboa * PORTUGAL - * - * Disclaimer: - * - * This file is provided "AS IS" without warranty of any kind, either - * expressed or implied. - * - * - * This code is based on: - * exit.c,v 1.2 1995/12/19 20:07:36 joel Exp - go32 BSP - * With the following copyright notice: - * ************************************************************************** - * * COPYRIGHT (c) 1989-1999. - * * On-Line Applications Research Corporation (OAR). - * * - * * The license and distribution terms for this file may be - * * found in found in the file LICENSE in this distribution or at - * * http://www.rtems.com/license/LICENSE. - * ************************************************************************** - * - * Joel: It has been modified many times since submission. - * - * $Id$ - */ - -#include <stdio.h> -#include <bsp.h> -#include <rtems/libio.h> -#include <uart.h> - -void bsp_cleanup(void) -{ - /* - * At this point, the console driver is disconnected => we must - * use polled output/input. This is exactly what printk - * does. - */ - printk( "\nEXECUTIVE SHUTDOWN! " ); - - #if (BSP_PRESS_KEY_FOR_RESET) - { - unsigned char ch; - - printk( "Any key to reboot..." ); - ch = BSP_poll_char(); - } - #else - printk( "resetting system\n" ); - #endif - rtemsReboot(); -} diff --git a/c/src/lib/libbsp/mips/rbtx4925/ChangeLog b/c/src/lib/libbsp/mips/rbtx4925/ChangeLog index c7addec5d7..c40df91411 100644 --- a/c/src/lib/libbsp/mips/rbtx4925/ChangeLog +++ b/c/src/lib/libbsp/mips/rbtx4925/ChangeLog @@ -1,3 +1,7 @@ +2008-09-23 Joel Sherrill <joel.sherrill@oarcorp.com> + + * startup/bspclean.c: Removed. + 2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com> * include/bsp.h: Remove unnecessary boilerplate comments. diff --git a/c/src/lib/libbsp/mips/rbtx4925/startup/bspclean.c b/c/src/lib/libbsp/mips/rbtx4925/startup/bspclean.c deleted file mode 100644 index f9ba70b0c2..0000000000 --- a/c/src/lib/libbsp/mips/rbtx4925/startup/bspclean.c +++ /dev/null @@ -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. - * - * bspclean.c,v 1.2.2.1 2003/09/04 18:44:49 joel Exp - */ - -void bsp_cleanup( void ) -{ - extern void _sys_exit(int); - _sys_exit(0); -} diff --git a/c/src/lib/libbsp/mips/rbtx4938/ChangeLog b/c/src/lib/libbsp/mips/rbtx4938/ChangeLog index 04bd366a8a..090dabbdff 100644 --- a/c/src/lib/libbsp/mips/rbtx4938/ChangeLog +++ b/c/src/lib/libbsp/mips/rbtx4938/ChangeLog @@ -1,3 +1,7 @@ +2008-09-23 Joel Sherrill <joel.sherrill@oarcorp.com> + + * startup/bspclean.c: Removed. + 2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com> * include/bsp.h: Remove unnecessary boilerplate comments. diff --git a/c/src/lib/libbsp/mips/rbtx4938/startup/bspclean.c b/c/src/lib/libbsp/mips/rbtx4938/startup/bspclean.c deleted file mode 100644 index f9ba70b0c2..0000000000 --- a/c/src/lib/libbsp/mips/rbtx4938/startup/bspclean.c +++ /dev/null @@ -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. - * - * bspclean.c,v 1.2.2.1 2003/09/04 18:44:49 joel Exp - */ - -void bsp_cleanup( void ) -{ - extern void _sys_exit(int); - _sys_exit(0); -} |