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

4.104.115
Last change on this file since bc98089 was 498b2bc7, checked in by Joel Sherrill <joel.sherrill@…>, on 05/18/09 at 17:53:53

2009-05-18 Joel Sherrill <joel.sherrill@…>

  • bsppost.c: Fix typo.
  • Property mode set to 100644
File size: 710 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 three files opened.
6 *
7 *  COPYRIGHT (c) 1989-2008.
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 <fcntl.h>
18
19#include <rtems.h>
20#include <rtems/libio.h>
21#include <rtems/libcsupport.h>
22
23#include <bsp/bootcard.h>
24
25void bsp_postdriver_hook(void)
26{
27  if (rtems_libio_supp_helper)
28    (*rtems_libio_supp_helper)();
29}
Note: See TracBrowser for help on using the repository browser.