source: rtems/testsuites/psxtests/psxreaddir/main.c @ a9df916

4.115
Last change on this file since a9df916 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: 894 bytes
Line 
1/*
2 *  Simple test program -- simplified version of sample test hello.
3 */
4
5#define CONFIGURE_INIT
6
7#ifdef HAVE_CONFIG_H
8#include "config.h"
9#endif
10
11#include <bsp.h>
12#include <pmacros.h>
13
14/* forward declarations to avoid warnings */
15rtems_task Init(rtems_task_argument ignored);
16void test_main(void);
17
18rtems_task Init(
19  rtems_task_argument ignored
20)
21{
22  test_main();
23  rtems_test_exit( 0 );
24}
25
26/* configuration information */
27
28/* NOTICE: the clock driver is explicitly disabled */
29#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
30#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
31
32#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 10
33
34#define CONFIGURE_FILESYSTEM_IMFS
35
36#define CONFIGURE_MAXIMUM_TASKS 1
37
38#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
39
40#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
41
42#define CONFIGURE_INIT
43
44#include <rtems/confdefs.h>
45
46/* end of file */
Note: See TracBrowser for help on using the repository browser.