4.104.114.84.95
Last change
on this file since 03f2154e was
03f2154e,
checked in by Joel Sherrill <joel.sherrill@…>, on 04/22/97 at 17:20:27
|
headers updated to reflect new style copyright notice as part
of switching to the modified GNU GPL.
|
-
Property mode set to
100644
|
File size:
642 bytes
|
Rev | Line | |
---|
[486c329] | 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 | * |
---|
[03f2154e] | 10 | * COPYRIGHT (c) 1989-1997. |
---|
[486c329] | 11 | * On-Line Applications Research Corporation (OAR). |
---|
[03f2154e] | 12 | * Copyright assigned to U.S. Government, 1994. |
---|
[486c329] | 13 | * |
---|
[03f2154e] | 14 | * The license and distribution terms for this file may in |
---|
| 15 | * the file LICENSE in this distribution or at |
---|
| 16 | * http://www.OARcorp.com/rtems/license.html. |
---|
[486c329] | 17 | * |
---|
| 18 | * $Id$ |
---|
| 19 | */ |
---|
| 20 | |
---|
| 21 | #include <bsp.h> |
---|
| 22 | |
---|
| 23 | void 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.