diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-08-21 19:34:40 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-08-21 19:34:40 +0000 |
commit | 9353a0d4f22eb02d1f8a7bd1b9d198c4109c725a (patch) | |
tree | 0fc88f0c930293fe42334fd4c169938cfe57c943 /c/src/lib/libbsp/i386/pc386/startup/exit.c | |
parent | 2008-08-21 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-9353a0d4f22eb02d1f8a7bd1b9d198c4109c725a.tar.bz2 |
2008-08-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/bspclean.c: New file.
* startup/exit.c: Removed.
Diffstat (limited to 'c/src/lib/libbsp/i386/pc386/startup/exit.c')
-rw-r--r-- | c/src/lib/libbsp/i386/pc386/startup/exit.c | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/c/src/lib/libbsp/i386/pc386/startup/exit.c b/c/src/lib/libbsp/i386/pc386/startup/exit.c deleted file mode 100644 index e322b2fc6f..0000000000 --- a/c/src/lib/libbsp/i386/pc386/startup/exit.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(); -} |