5
Last change
on this file since 9a4eca5 was
a9df916,
checked in by Sebastian Huber <sebastian.huber@…>, on 02/08/15 at 18:43:09
|
IMFS: Add fine grained configuration
Remove miniIMFS. Statically initialize the root IMFS.
Add configuration options to disable individual
features of the root IMFS, e.g.
o CONFIGURE_IMFS_DISABLE_CHOWN,
o CONFIGURE_IMFS_DISABLE_FCHMOD,
o CONFIGURE_IMFS_DISABLE_LINK,
o CONFIGURE_IMFS_DISABLE_MKNOD,
o CONFIGURE_IMFS_DISABLE_MOUNT,
o CONFIGURE_IMFS_DISABLE_READLINK,
o CONFIGURE_IMFS_DISABLE_RENAME,
o CONFIGURE_IMFS_DISABLE_RMNOD,
o CONFIGURE_IMFS_DISABLE_SYMLINK,
o CONFIGURE_IMFS_DISABLE_UNMOUNT, and
o CONFIGURE_IMFS_DISABLE_UTIME.
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | /* |
---|
2 | * COPYRIGHT (c) 1989-2012. |
---|
3 | * On-Line Applications Research Corporation (OAR). |
---|
4 | * |
---|
5 | * The license and distribution terms for this file may be |
---|
6 | * found in the file LICENSE in this distribution or at |
---|
7 | * http://www.rtems.org/license/LICENSE. |
---|
8 | */ |
---|
9 | |
---|
10 | #define CONFIGURE_INIT |
---|
11 | |
---|
12 | #ifdef HAVE_CONFIG_H |
---|
13 | #include "config.h" |
---|
14 | #endif |
---|
15 | |
---|
16 | #include <bsp.h> |
---|
17 | #include <pmacros.h> |
---|
18 | |
---|
19 | /* forward declarations to avoid warnings */ |
---|
20 | rtems_task Init(rtems_task_argument ignored); |
---|
21 | void test_main(void); |
---|
22 | |
---|
23 | rtems_task Init( |
---|
24 | rtems_task_argument ignored |
---|
25 | ) |
---|
26 | { |
---|
27 | test_main(); |
---|
28 | rtems_test_exit( 0 ); |
---|
29 | } |
---|
30 | |
---|
31 | /* configuration information */ |
---|
32 | |
---|
33 | #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER |
---|
34 | #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER |
---|
35 | |
---|
36 | #define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 10 |
---|
37 | |
---|
38 | #define CONFIGURE_FILESYSTEM_IMFS |
---|
39 | |
---|
40 | #define CONFIGURE_MAXIMUM_TASKS 1 |
---|
41 | |
---|
42 | #define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION |
---|
43 | |
---|
44 | #define CONFIGURE_RTEMS_INIT_TASKS_TABLE |
---|
45 | #define CONFIGURE_INIT_TASK_STACK_SIZE (RTEMS_MINIMUM_STACK_SIZE * 2) |
---|
46 | |
---|
47 | #define CONFIGURE_INIT |
---|
48 | |
---|
49 | #include <rtems/confdefs.h> |
---|
50 | |
---|
51 | /* end of file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.