From 739329f6de6abbe1ff87004005a53622eb8d2af6 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 17 Jun 2010 18:38:00 +0000 Subject: 2010-06-17 Joel Sherrill * sapi/include/confdefs.h: Remove RTEMS_COVERAGE conditionals whi. --- cpukit/sapi/include/confdefs.h | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'cpukit/sapi/include/confdefs.h') diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h index ed789eb8f4..8981fe4c5c 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 /** @@ -372,8 +371,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 @@ -384,9 +382,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 -- cgit v1.2.3