source: rtems/c/src/lib/libbsp/m68k/efi68k/startup/bspclean.c @ 634e746

4.104.114.84.95
Last change on this file since 634e746 was 486c329, checked in by Joel Sherrill <joel.sherrill@…>, on 09/20/95 at 15:05:19

Actually adding efi bsp's from John Gwynne after forgetting to
commit them.

  • Property mode set to 100644
File size: 734 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, 1990, 1991, 1992, 1993, 1994.
11 *  On-Line Applications Research Corporation (OAR).
12 *  All rights assigned to U.S. Government, 1994.
13 *
14 *  This material may be reproduced by or for the U.S. Government pursuant
15 *  to the copyright license under the clause at DFARS 252.227-7013.  This
16 *  notice must appear in all copies of this file and its derivatives.
17 *
18 *  $Id$
19 */
20
21#include <bsp.h>
22
23void bsp_cleanup(void)
24{
25    /* interrupt driven stdio must be flushed */
26    _CPU_ISR_Set_level( 7 );
27    _UART_flush();
28}
Note: See TracBrowser for help on using the repository browser.