Changeset 717391f5 in rtems


Ignore:
Timestamp:
Aug 12, 2009, 8:53:33 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
b1c9811
Parents:
4e76c71
Message:

2009-08-12 Joel Sherrill <joel.sherrill@…>

  • 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.
Location:
cpukit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r4e76c71 r717391f5  
     12009-08-12      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * libcsupport/src/malloc_boundary.c: This is currently non-funcitonal.
     4        Do not build it when doing coverage until it works again.
     5        * sapi/include/confdefs.h: Address linking errors when building for
     6        configuration.
     7
    182009-08-12      Joel Sherrill <joel.sherrill@OARcorp.com>
    29
  • cpukit/libcsupport/src/malloc_boundary.c

    r4e76c71 r717391f5  
    3939#include <stdio.h>
    4040
     41/* only supported on newlib targets */
    4142#ifdef RTEMS_NEWLIB
     43/* not completely implemented so not included in coverage analysis */
     44#ifndef RTEMS_COVERAGE
    4245
    4346#define SENTINELSIZE    12
     
    192195
    193196#endif
    194 
     197#endif
  • cpukit/sapi/include/confdefs.h

    r4e76c71 r717391f5  
    100100
    101101
    102 #ifdef CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
    103   #define CONFIGURE_HAS_OWN_MOUNT_TABLE
     102/*
     103 *  When building for coverage, we always need a mount table
     104 */
     105#if !defined(RTEMS_COVERAGE)
     106  #ifdef CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
     107    #define CONFIGURE_HAS_OWN_MOUNT_TABLE
     108  #endif
    104109#endif
    105110
     
    172177#ifdef CONFIGURE_INIT
    173178  #ifdef CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
    174     extern uint32_t rtems_device_table_size;
     179    #if defined(RTEMS_COVERAGE)
     180      uint32_t rtems_device_table_size = 0;
     181    #endif
    175182    #define CONFIGURE_MEMORY_FOR_DEVFS  0
    176183  #elif defined(CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM)
     
    180187    #include <rtems/devfs.h>
    181188    uint32_t rtems_device_table_size = CONFIGURE_MAXIMUM_DEVICES;
    182     #define CONFIGURE_MEMORY_FOR_DEVFS _Configure_Object_RAM(CONFIGURE_MAXIMUM_DEVICES, sizeof (rtems_device_name_t))
     189    #define CONFIGURE_MEMORY_FOR_DEVFS \
     190      _Configure_Object_RAM(CONFIGURE_MAXIMUM_DEVICES, \
     191         sizeof (rtems_device_name_t))
     192  #elif defined(RTEMS_COVERAGE)
     193    uint32_t rtems_device_table_size = 0;
     194    #define CONFIGURE_MEMORY_FOR_DEVFS  0
    183195  #else
    184196    #define CONFIGURE_MEMORY_FOR_DEVFS  0
     
    208220  /**
    209221   *  This disables the inclusion of pipe support in the full IMFS.
    210    */
    211   #if !defined(CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM)
     222   *
     223   *  NOTE: When building for coverage, we need this variable all the time.
     224   */
     225  #if !defined(CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM) || \
     226       defined(RTEMS_COVERAGE)
    212227    #if defined(CONFIGURE_PIPES_ENABLED)
    213228      bool rtems_pipe_configured = true;
Note: See TracChangeset for help on using the changeset viewer.