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

4.115
Last change on this file since 38c0b112 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 698 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
15#include <fcntl.h>
16
17#include <rtems.h>
18#include <rtems/libio.h>
19#include <rtems/libcsupport.h>
20
21#include <bsp/bootcard.h>
22
23void bsp_postdriver_hook(void)
24{
25  if (rtems_libio_supp_helper)
26    (*rtems_libio_supp_helper)();
27}
Note: See TracBrowser for help on using the repository browser.