summaryrefslogblamecommitdiffstats
path: root/testsuites/psxtests/psxmount/main.c
blob: cbac28d9480da879559c7bb5fa47901c744feb2c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
  
                                                                      



                                                                           
 



                    
                
                    
 


                                             





                             
                       



                               

                                                        
                                                         
 
                                             
 

                                 
                                 
 

                                                                 



                                        
                           

                 
/*
 *  Simple test program -- check out of the basic file system mounting
 *  capabilities
 *  Attempt to mount the IMFS file system on a mount point in the base IMFS
 */


#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

#include <bsp.h>
#include <pmacros.h>

/* forward declarations to avoid warnings */
rtems_task Init(rtems_task_argument ignored);
void test_main(void);

rtems_task Init(
  rtems_task_argument ignored
)
{
  test_main();
  rtems_test_exit( 0 );
}

/* configuration information */

/* NOTICE: the clock driver is explicitly disabled */
#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER

#define CONFIGURE_MAXIMUM_FILE_DESCRIPTORS 10

#define CONFIGURE_FILESYSTEM_IMFS

#define CONFIGURE_MAXIMUM_TASKS 1

#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION

#define CONFIGURE_RTEMS_INIT_TASKS_TABLE

#define CONFIGURE_INIT

#include <rtems/confdefs.h>

/* end of file */