diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-06-17 18:38:20 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-06-17 18:38:20 +0000 |
commit | d25f7410d26e2f1cfa1e531122ef4e22f79a31a3 (patch) | |
tree | 7b11a0f8462642069329e83b444799084dc3232f /cpukit/sapi | |
parent | 2010-06-17 Chris Johns <chrisj@rtems.org> (diff) | |
download | rtems-d25f7410d26e2f1cfa1e531122ef4e22f79a31a3.tar.bz2 |
2010-06-17 Joel Sherrill <joel.sherrilL@OARcorp.com>
* sapi/include/confdefs.h: Remove RTEMS_COVERAGE conditionals.
Diffstat (limited to 'cpukit/sapi')
-rw-r--r-- | cpukit/sapi/include/confdefs.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h index 4fb17f8c2e..c3ae9467ac 100644 --- a/cpukit/sapi/include/confdefs.h +++ b/cpukit/sapi/include/confdefs.h @@ -99,12 +99,11 @@ rtems_fs_init_functions_t rtems_fs_init_helper = /* - * When building for coverage, we always need a mount table + * If the application disables the filesystem, they will not need + * a mount table, so do not produce one. */ -#if !defined(RTEMS_COVERAGE) - #ifdef CONFIGURE_APPLICATION_DISABLE_FILESYSTEM - #define CONFIGURE_HAS_OWN_MOUNT_TABLE - #endif +#ifdef CONFIGURE_APPLICATION_DISABLE_FILESYSTEM + #define CONFIGURE_HAS_OWN_MOUNT_TABLE #endif /** @@ -357,8 +356,7 @@ rtems_fs_init_functions_t rtems_fs_init_helper = /* * DEVFS variables. */ - #if defined(CONFIGURE_APPLICATION_DISABLE_FILESYSTEM) && \ - !defined(RTEMS_COVERAGE) + #if defined(CONFIGURE_APPLICATION_DISABLE_FILESYSTEM) #define CONFIGURE_MEMORY_FOR_DEVFS 0 #elif defined(CONFIGURE_FILESYSTEM_DEVFS) #ifndef CONFIGURE_MAXIMUM_DEVICES @@ -369,9 +367,6 @@ rtems_fs_init_functions_t rtems_fs_init_helper = #define CONFIGURE_MEMORY_FOR_DEVFS \ _Configure_Object_RAM(CONFIGURE_MAXIMUM_DEVICES, \ sizeof (rtems_device_name_t)) - #elif defined(RTEMS_COVERAGE) - uint32_t rtems_device_table_size = 0; - #define CONFIGURE_MEMORY_FOR_DEVFS 0 #else #define CONFIGURE_MEMORY_FOR_DEVFS 0 #endif |