forked from Imagelibrary/rtems
2009-08-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/src/malloc_boundary.c: This is currently non-funcitonal. Do not build it when doing coverage until it works again. * sapi/include/confdefs.h: Address linking errors when building for configuration.
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
2009-08-12 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* libcsupport/src/malloc_boundary.c: This is currently non-funcitonal.
|
||||||
|
Do not build it when doing coverage until it works again.
|
||||||
|
* sapi/include/confdefs.h: Address linking errors when building for
|
||||||
|
configuration.
|
||||||
|
|
||||||
2009-08-12 Joel Sherrill <joel.sherrill@OARcorp.com>
|
2009-08-12 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
* libcsupport/Makefile.am: Obsolete coverage file.
|
* libcsupport/Makefile.am: Obsolete coverage file.
|
||||||
|
|||||||
@@ -38,7 +38,10 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
/* only supported on newlib targets */
|
||||||
#ifdef RTEMS_NEWLIB
|
#ifdef RTEMS_NEWLIB
|
||||||
|
/* not completely implemented so not included in coverage analysis */
|
||||||
|
#ifndef RTEMS_COVERAGE
|
||||||
|
|
||||||
#define SENTINELSIZE 12
|
#define SENTINELSIZE 12
|
||||||
#define SENTINEL "\xD1\xAC\xB2\xF1" "BITE ME"
|
#define SENTINEL "\xD1\xAC\xB2\xF1" "BITE ME"
|
||||||
@@ -191,4 +194,4 @@ void checkMallocArena(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|||||||
@@ -99,9 +99,14 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* When building for coverage, we always need a mount table
|
||||||
|
*/
|
||||||
|
#if !defined(RTEMS_COVERAGE)
|
||||||
#ifdef CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
|
#ifdef CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
|
||||||
#define CONFIGURE_HAS_OWN_MOUNT_TABLE
|
#define CONFIGURE_HAS_OWN_MOUNT_TABLE
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This macro defines the number of POSIX file descriptors allocated
|
* This macro defines the number of POSIX file descriptors allocated
|
||||||
@@ -171,7 +176,9 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
|
|||||||
|
|
||||||
#ifdef CONFIGURE_INIT
|
#ifdef CONFIGURE_INIT
|
||||||
#ifdef CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
|
#ifdef CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
|
||||||
extern uint32_t rtems_device_table_size;
|
#if defined(RTEMS_COVERAGE)
|
||||||
|
uint32_t rtems_device_table_size = 0;
|
||||||
|
#endif
|
||||||
#define CONFIGURE_MEMORY_FOR_DEVFS 0
|
#define CONFIGURE_MEMORY_FOR_DEVFS 0
|
||||||
#elif defined(CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM)
|
#elif defined(CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM)
|
||||||
#ifndef CONFIGURE_MAXIMUM_DEVICES
|
#ifndef CONFIGURE_MAXIMUM_DEVICES
|
||||||
@@ -179,7 +186,12 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
|
|||||||
#endif
|
#endif
|
||||||
#include <rtems/devfs.h>
|
#include <rtems/devfs.h>
|
||||||
uint32_t rtems_device_table_size = CONFIGURE_MAXIMUM_DEVICES;
|
uint32_t rtems_device_table_size = CONFIGURE_MAXIMUM_DEVICES;
|
||||||
#define CONFIGURE_MEMORY_FOR_DEVFS _Configure_Object_RAM(CONFIGURE_MAXIMUM_DEVICES, sizeof (rtems_device_name_t))
|
#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
|
#else
|
||||||
#define CONFIGURE_MEMORY_FOR_DEVFS 0
|
#define CONFIGURE_MEMORY_FOR_DEVFS 0
|
||||||
#endif
|
#endif
|
||||||
@@ -207,8 +219,11 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
|
|||||||
#ifdef CONFIGURE_INIT
|
#ifdef CONFIGURE_INIT
|
||||||
/**
|
/**
|
||||||
* This disables the inclusion of pipe support in the full IMFS.
|
* This disables the inclusion of pipe support in the full IMFS.
|
||||||
|
*
|
||||||
|
* NOTE: When building for coverage, we need this variable all the time.
|
||||||
*/
|
*/
|
||||||
#if !defined(CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM)
|
#if !defined(CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM) || \
|
||||||
|
defined(RTEMS_COVERAGE)
|
||||||
#if defined(CONFIGURE_PIPES_ENABLED)
|
#if defined(CONFIGURE_PIPES_ENABLED)
|
||||||
bool rtems_pipe_configured = true;
|
bool rtems_pipe_configured = true;
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user