source: rtems/cpukit/libfs/src/imfs/imfs_unixstub.c @ 7c007cf

4.104.114.95
Last change on this file since 7c007cf was bf95ccb5, checked in by Thomas Doerfler <Thomas.Doerfler@…>, on 05/27/08 at 10:34:15

Added const qualifier to various pointers and data tables to

reduce size of data area.
IMFS: Fixed creation of symbolic links to avoid a compiler warning.
DOSFS: Use LibBlock? instead of read() to read the boot record.

  • Property mode set to 100644
File size: 1008 bytes
Line 
1/*
2 *  IMFS Stub for UNIX configuration
3 *
4 *  COPYRIGHT (c) 1989-1999.
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 *  $Id$
12 */
13
14#if HAVE_CONFIG_H
15#include "config.h"
16#endif
17
18#include <sys/types.h>         /* for mkdir */
19#include <fcntl.h>
20#include <unistd.h>
21#include <stdlib.h>
22
23#include <assert.h>
24
25#include "imfs.h"
26#include <rtems/libio_.h>
27
28#include <stdio.h>
29
30/*
31 *  IMFS file system operations table
32 */
33
34const rtems_filesystem_operations_table  IMFS_ops = {
35  NULL,
36  NULL,
37  NULL,
38  NULL,
39  NULL,
40  NULL,
41  NULL,
42  NULL,
43  NULL,
44  NULL,
45  NULL,
46  NULL,
47  NULL,
48  NULL,
49  NULL,
50  NULL
51};
52
53/*
54 *  IMFS file system operations table
55 */
56
57const rtems_filesystem_operations_table  miniIMFS_ops = {
58  NULL,
59  NULL,
60  NULL,
61  NULL,
62  NULL,
63  NULL,
64  NULL,
65  NULL,
66  NULL,
67  NULL,
68  NULL,
69  NULL,
70  NULL,
71  NULL,
72  NULL,
73  NULL
74};
Note: See TracBrowser for help on using the repository browser.