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

4.104.115
Last change on this file since a4b3969 was a4b3969, checked in by Joel Sherrill <joel.sherrill@…>, on 09/17/08 at 16:16:31

2008-09-17 Miao Yan <yanmiaobest@…>

  • bsplibc.c, bsppost.c: Merge GSOC project code to add simple device only filesystem (devfs), optionally completely drop out filesystem, and to clean up disabling newlib reentrancy support. This dropped 17K from the minimum.exe for sparc/sis and arm/rtl22xx_t now has a 15K code space.
  • Property mode set to 100644
File size: 711 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-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.