source: rtems/c/src/lib/libbsp/shared/bsppost.c @ 371c30d5

4.104.114.95
Last change on this file since 371c30d5 was 371c30d5, checked in by Joel Sherrill <joel.sherrill@…>, on 08/18/08 at 21:18:05

2008-08-18 Joel Sherrill <joel.sherrill@…>

  • bsppost.c: Fix warning by moving prototype to libcsupport.h.
  • Property mode set to 100644
File size: 615 bytes
Line 
1/*
2 *  This is a shared BSP post driver hook designed to open
3 *  /dev/console for stdin, stdout, and stderr if it exists.
4 *  Newlib will automatically associate the file descriptors
5 *  with the first thress files opened.
6 *
7 *  COPYRIGHT (c) 1989-2007.
8 *  On-Line Applications Research Corporation (OAR).
9 *
10 *  The license and distribution terms for this file may be
11 *  found in the file LICENSE in this distribution or at
12 *  http://www.rtems.com/license/LICENSE.
13 *
14 *  $Id$
15 */
16
17#include <rtems.h>
18#include <rtems/libcsupport.h>
19#include <fcntl.h>
20
21void bsp_postdriver_hook(void)
22{
23  open_dev_console();
24}
Note: See TracBrowser for help on using the repository browser.