4.115
Last change
on this file since 19260fb was
a290fbe9,
checked in by Sebastian Huber <sebastian.huber@…>, on 04/24/13 at 12:30:42
|
libcsupport: Make LibIO helper const
Add and use rtems_libio_helper function type. Add and use
rtems_libio_helper_null() instead of NULL pointer.
|
-
Property mode set to
100644
|
File size:
527 bytes
|
Line | |
---|
1 | /* |
---|
2 | * COPYRIGHT (c) 1989-2008. |
---|
3 | * On-Line Applications Research Corporation (OAR). |
---|
4 | */ |
---|
5 | |
---|
6 | #include <rtems/libio.h> |
---|
7 | #include <rtems/libcsupport.h> |
---|
8 | |
---|
9 | #include <bsp/bootcard.h> |
---|
10 | |
---|
11 | void bsp_libc_init(void) |
---|
12 | { |
---|
13 | /* |
---|
14 | * Init the RTEMS libio facility to provide UNIX-like system |
---|
15 | * calls for use by newlib (ie: provide open, close, etc) |
---|
16 | * Uses malloc() to get area for the iops, so must be after malloc init |
---|
17 | */ |
---|
18 | (*rtems_libio_init_helper)(); |
---|
19 | |
---|
20 | /* |
---|
21 | * Set up for the libc handling. |
---|
22 | */ |
---|
23 | libc_init(); |
---|
24 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.