OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libbsp/] [m68k/] [efi68k/] [startup/] [bspclean.c] - Blame information for rev 30

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*  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: bspclean.c,v 1.2 2001-09-27 12:00:03 chris Exp $
18
 */
19
 
20
#include <bsp.h>
21
 
22
void bsp_cleanup(void)
23
{
24
    /* interrupt driven stdio must be flushed */
25
    _CPU_ISR_Set_level( 7 );
26
    _UART_flush();
27
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.