source: rtems/c/src/lib/libbsp/m68k/mrm332/startup/bspclean.c @ 274fa77

4.104.114.84.95
Last change on this file since 274fa77 was 274fa77, checked in by Joel Sherrill <joel.sherrill@…>, on 02/28/02 at 23:10:39

2002-02-28 Mike Panetta <ahuitzot@…>

  • console/sci.c, console/sci.h, console/console.c: Added new SCI driver.
  • start/start.c: Removed file.
  • start/start.S: New file, the asm portion of the updated start code.
  • start/configure.am: Added start.S, removed start.c
  • startup/start_c.c: New file, the C portion of the updated start code. Contains most of the code that was in the old start.c.
  • startup/configure.am: Added start_c.c to C_FILES.
  • include/bsp.h: Added include <rtems/bspIo.h>
  • Property mode set to 100644
File size: 604 bytes
Line 
1/*  bsp_cleanup()
2 *
3 *  This routine cleans up in the sense that it places the board
4 *  in a safe state and flushes the I/O buffers before exiting.
5 *
6 *  INPUT:  NONE
7 *
8 *  OUTPUT: NONE
9 *
10 *  COPYRIGHT (c) 1989-1999.
11 *  On-Line Applications Research Corporation (OAR).
12 *
13 *  The license and distribution terms for this file may be
14 *  found in the file LICENSE in this distribution or at
15 *  http://www.OARcorp.com/rtems/license.html.
16 *
17 *  $Id$
18 */
19
20#include <bsp.h>
21
22void bsp_cleanup(void)
23{
24    /* interrupt driven stdio must be flushed */
25    _CPU_ISR_Set_level( 7 );
26    //_UART_flush();
27}
Note: See TracBrowser for help on using the repository browser.