4.104.114.84.95
Last change
on this file since 5129b24 was
5129b24,
checked in by Joel Sherrill <joel.sherrill@…>, on 06/20/07 at 22:19:38
|
2007-06-20 Ray Xu <rayx@…>
- optman/Makefile.am, optman/preinstall.am: Add stubs for file system,
console, and libio. This shrinks the memory requirements but Joel has
not figured out how best to present this to application space.
- optman/no-console.c, optman/no-filesystem.c, optman/no-libio.c:
New files.
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | /* |
---|
2 | * Stub Base libio initialization |
---|
3 | * |
---|
4 | * COPYRIGHT (c) 1989-2007. |
---|
5 | * On-Line Applications Research Corporation (OAR). |
---|
6 | * |
---|
7 | * The license and distribution terms for this file may be |
---|
8 | * found in the file LICENSE in this distribution or at |
---|
9 | * http://www.rtems.com/license/LICENSE. |
---|
10 | * |
---|
11 | */ |
---|
12 | |
---|
13 | #if HAVE_CONFIG_H |
---|
14 | #include "config.h" |
---|
15 | #endif |
---|
16 | |
---|
17 | #include <rtems/libio_.h> /* libio_.h pulls in rtems */ |
---|
18 | #include <rtems.h> |
---|
19 | #include <rtems/assoc.h> /* assoc.h not included by rtems.h */ |
---|
20 | |
---|
21 | #include <stdio.h> /* O_RDONLY, et.al. */ |
---|
22 | #include <fcntl.h> /* O_RDONLY, et.al. */ |
---|
23 | #include <assert.h> |
---|
24 | #include <errno.h> |
---|
25 | |
---|
26 | #include <errno.h> |
---|
27 | #include <string.h> /* strcmp */ |
---|
28 | #include <unistd.h> |
---|
29 | #include <stdlib.h> /* calloc() */ |
---|
30 | |
---|
31 | #include <rtems/libio.h> /* libio.h not pulled in by rtems */ |
---|
32 | |
---|
33 | /* |
---|
34 | * File descriptor Table Information |
---|
35 | */ |
---|
36 | |
---|
37 | extern uint32_t rtems_libio_number_iops; |
---|
38 | rtems_id rtems_libio_semaphore; |
---|
39 | rtems_libio_t *rtems_libio_iops; |
---|
40 | rtems_libio_t *rtems_libio_iop_freelist; |
---|
41 | |
---|
42 | /* |
---|
43 | * rtems_libio_init |
---|
44 | * |
---|
45 | * Called by BSP startup code to initialize the libio subsystem. |
---|
46 | */ |
---|
47 | void rtems_libio_init( void ) |
---|
48 | { |
---|
49 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.