blob: ec5e57ddf3dfded43625dceb39b0fad50e83771f (
plain) (
tree)
|
|
/*
* 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.com/license/LICENSE.
*/
#include <fcntl.h>
#include <rtems.h>
#include <rtems/libio.h>
#include <rtems/libcsupport.h>
#include <bsp/bootcard.h>
void bsp_postdriver_hook(void)
{
if (rtems_libio_supp_helper)
(*rtems_libio_supp_helper)();
}
|