4.104.114.84.95
Last change
on this file since c7016198 was
07a3253d,
checked in by Joel Sherrill <joel.sherrill@…>, on 11/23/98 at 19:07:58
|
Added base version of file system infrastructure. This includes a major
overhaul of the RTEMS system call interface. This base file system is
the "In-Memory File System" aka IMFS.
The design and implementation was done by the following people:
+ Joel Sherrill (joel@…)
+ Jennifer Averett (jennifer@…)
+ Steve "Mr Mount" Salitasc (salitasc@…)
+ Kerwin Wade (wade@…)
PROBLEMS
========
+ It is VERY likely that merging this will break the UNIX port. This
can/will be fixed.
+ There is likely some reentrancy/mutual exclusion needed.
+ Eventually, there should be a "mini-IMFS" description table to
eliminate links, symlinks, etc to save memory. All you need to
have "classic RTEMS" functionality is technically directories
and device IO. All the rest could be left out to save memory.
|
-
Property mode set to
100644
|
File size:
892 bytes
|
Line | |
---|
1 | /* |
---|
2 | * This file contains stubs for the reentrancy hooks when |
---|
3 | * an unknown C library is used. |
---|
4 | * |
---|
5 | * COPYRIGHT (c) 1989-1998. |
---|
6 | * On-Line Applications Research Corporation (OAR). |
---|
7 | * Copyright assigned to U.S. Government, 1994. |
---|
8 | * |
---|
9 | * The license and distribution terms for this file may be |
---|
10 | * found in the file LICENSE in this distribution or at |
---|
11 | * http://www.OARcorp.com/rtems/license.html. |
---|
12 | * |
---|
13 | * $Id$ |
---|
14 | */ |
---|
15 | |
---|
16 | |
---|
17 | #include <rtems.h> |
---|
18 | #if !defined(RTEMS_NEWLIB) && !defined(RTEMS_UNIX) |
---|
19 | |
---|
20 | #include "libcsupport.h" |
---|
21 | |
---|
22 | #include <stdlib.h> /* for free() */ |
---|
23 | |
---|
24 | void libc_init( |
---|
25 | int reentrant |
---|
26 | ) |
---|
27 | { |
---|
28 | } |
---|
29 | |
---|
30 | void libc_suspend_main(void) |
---|
31 | { |
---|
32 | } |
---|
33 | |
---|
34 | |
---|
35 | void libc_global_exit( |
---|
36 | rtems_unsigned32 code |
---|
37 | ) |
---|
38 | { |
---|
39 | } |
---|
40 | |
---|
41 | void _exit( |
---|
42 | int status |
---|
43 | ) |
---|
44 | { |
---|
45 | } |
---|
46 | |
---|
47 | #else |
---|
48 | |
---|
49 | /* remove ANSI errors. |
---|
50 | * A program must contain at least one external-declaration |
---|
51 | * (X3.159-1989 p.82,L3). |
---|
52 | */ |
---|
53 | void no_libc_dummy_function( void ) |
---|
54 | { |
---|
55 | } |
---|
56 | |
---|
57 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.