dosfs: Add RTEMS_DOSFS_SEMAPHORES_PER_INSTANCE

This commit is contained in:
Ralf Kirchner
2013-05-22 12:10:33 +02:00
committed by Sebastian Huber
parent a0f3ce25a4
commit e67025e390
2 changed files with 8 additions and 0 deletions

View File

@@ -25,6 +25,13 @@
extern "C" { extern "C" {
#endif #endif
/**
* @brief Semaphore count per FAT filesystem instance.
*
* This can be used for system configuration via <rtems/confdefs.h>.
*/
#define RTEMS_DOSFS_SEMAPHORES_PER_INSTANCE 1
int rtems_dosfs_initialize(rtems_filesystem_mount_table_entry_t *mt_entry, int rtems_dosfs_initialize(rtems_filesystem_mount_table_entry_t *mt_entry,
const void *data); const void *data);

View File

@@ -82,6 +82,7 @@ void test_shutdown_filesystem(void)
*/ */
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_MAXIMUM_SEMAPHORES RTEMS_DOSFS_SEMAPHORES_PER_INSTANCE
#define CONFIGURE_MAXIMUM_TASKS 10 #define CONFIGURE_MAXIMUM_TASKS 10
#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM #define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
#define CONFIGURE_MAXIMUM_DRIVERS 10 #define CONFIGURE_MAXIMUM_DRIVERS 10