summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared/bsppost.c
blob: bd903e4584f7b47cd133a117420120386fc736f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 *  This is a shared BSP post driver hook designed to open
 *  /dev/console for stdin, stdout, and stderr if it exists.
 *  Newlib will automatically associate the file descriptors
 *  with the first three files opened.
 *
 *  COPYRIGHT (c) 1989-2008.
 *  On-Line Applications Research Corporation (OAR).
 *
 *  The license and distribution terms for this file may be
 *  found in the file LICENSE in this distribution or at
 *  http://www.rtems.org/license/LICENSE.
 */

#include <rtems/libio.h>

#include <bsp/bootcard.h>

void bsp_postdriver_hook(void)
{
  (*rtems_libio_post_driver_helper)();
}