forked from Imagelibrary/rtems
dosfs: Add RTEMS_DOSFS_SEMAPHORES_PER_INSTANCE
This commit is contained in:
committed by
Sebastian Huber
parent
a0f3ce25a4
commit
e67025e390
@@ -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);
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user