Changeset f82452b in rtems


Ignore:
Timestamp:
11/24/08 19:48:59 (15 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.9
Children:
cb6c6605
Parents:
cc107c9
Message:

2008-11-24 Joel Sherrill <joel.sherrill@…>

PR 1341/cpukit

  • sapi/include/confdefs.h: The following macros were missing the _Configure_From_workspace() wrapper on their size estimate: + CONFIGURE_INTERRUPT_STACK_MEMORY + CONFIGURE_MEMORY_PER_TASK_FOR_CLASSIC_API + CONFIGURE_INTERRUPT_VECTOR_TABLE + CONFIGURE_MEMORY_FOR_STATIC_EXTENSIONS In addition, there was a duplicate definition of CONFIGURE_MEMORY_PER_TASK_FOR_CLASSIC_API.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rcc107c9 rf82452b  
     12008-11-24      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        PR 1341/cpukit
     4        * sapi/include/confdefs.h: The following macros were missing
     5        the _Configure_From_workspace() wrapper on their size estimate:
     6          + CONFIGURE_INTERRUPT_STACK_MEMORY
     7          + CONFIGURE_MEMORY_PER_TASK_FOR_CLASSIC_API
     8          + CONFIGURE_INTERRUPT_VECTOR_TABLE
     9          + CONFIGURE_MEMORY_FOR_STATIC_EXTENSIONS
     10        In addition, there was a duplicate definition of
     11        CONFIGURE_MEMORY_PER_TASK_FOR_CLASSIC_API.
     12
    1132008-11-20      Joel Sherrill <joel.sherrill@OARcorp.com>
    214
  • cpukit/sapi/include/confdefs.h

    rcc107c9 rf82452b  
    290290  #define CONFIGURE_INTERRUPT_STACK_MEMORY 0
    291291#else
    292   #define CONFIGURE_INTERRUPT_STACK_MEMORY CONFIGURE_INTERRUPT_STACK_SIZE
     292  #define CONFIGURE_INTERRUPT_STACK_MEMORY \
     293     _Configure_From_workspace( CONFIGURE_INTERRUPT_STACK_SIZE )
    293294#endif
    294295
     
    745746  #ifndef CONFIGURE_DISABLE_CLASSIC_NOTEPADS
    746747    #define CONFIGURE_MEMORY_PER_TASK_FOR_CLASSIC_API \
    747       sizeof(RTEMS_API_Control)
     748      _Configure_From_workspace( sizeof(RTEMS_API_Control) )
    748749  #else
    749750    #define CONFIGURE_MEMORY_PER_TASK_FOR_CLASSIC_API \
    750       (sizeof(RTEMS_API_Control) - (RTEMS_NUMBER_NOTEPADS * sizeof(uint32_t)))
     751      _Configure_From_workspace( sizeof(RTEMS_API_Control) - \
     752        (RTEMS_NUMBER_NOTEPADS * sizeof(uint32_t)))
    751753  #endif
    752754
     
    855857  #ifndef CONFIGURE_TICKS_PER_TIMESLICE
    856858    #define CONFIGURE_TICKS_PER_TIMESLICE        50
    857   #endif
    858 
    859   #ifndef CONFIGURE_DISABLE_CLASSIC_NOTEPADS
    860     #define CONFIGURE_MEMORY_PER_TASK_FOR_CLASSIC_API \
    861       sizeof(RTEMS_API_Control)
    862   #else
    863     #define CONFIGURE_MEMORY_PER_TASK_FOR_CLASSIC_API \
    864       (sizeof(RTEMS_API_Control) - (RTEMS_NUMBER_NOTEPADS * sizeof(uint32_t)))
    865859  #endif
    866860
     
    14221416   */
    14231417  #if defined(__mips__)
    1424     #define CONFIGURE_INTERRUPT_VECTOR_TABLE (sizeof(ISR_Handler_entry) * 256)
    1425   #else
    14261418    #define CONFIGURE_INTERRUPT_VECTOR_TABLE \
    1427       (sizeof(ISR_Handler_entry) * ISR_NUMBER_OF_VECTORS)
     1419      _Configure_From_workspace( (sizeof(ISR_Handler_entry) * 256))
     1420  #else
     1421    #define CONFIGURE_INTERRUPT_VECTOR_TABLE \
     1422      _Configure_From_workspace( \
     1423        (sizeof(ISR_Handler_entry) * ISR_NUMBER_OF_VECTORS))
    14281424  #endif
    14291425#else
     
    15281524 */
    15291525#define CONFIGURE_MEMORY_FOR_STATIC_EXTENSIONS \
    1530    _Configure_From_workspace( \
    1531      (CONFIGURE_NEWLIB_EXTENSION + CONFIGURE_STACK_CHECKER_EXTENSION) * \
    1532       sizeof(User_extensions_Control) \
    1533    )
     1526     ((CONFIGURE_NEWLIB_EXTENSION * \
     1527        _Configure_From_workspace( sizeof(User_extensions_Control))) + \
     1528      (CONFIGURE_STACK_CHECKER_EXTENSION * \
     1529        _Configure_From_workspace( sizeof(User_extensions_Control))) \
     1530     )
    15341531
    15351532/**
Note: See TracChangeset for help on using the changeset viewer.