Changeset ba7b2df7 in rtems


Ignore:
Timestamp:
Feb 14, 2020, 12:43:58 PM (6 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
ad85c00
Parents:
5180762c
git-author:
Sebastian Huber <sebastian.huber@…> (02/14/20 12:43:58)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/25/20 06:15:19)
Message:

config: Add _Workspace_Size

Move the workspace size configuration constant out of the configuration
table.

Update #3875.

Location:
cpukit
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/headers.am

    r5180762c rba7b2df7  
    409409include_rtems_score_HEADERS += include/rtems/score/watchdogticks.h
    410410include_rtems_score_HEADERS += include/rtems/score/wkspace.h
     411include_rtems_score_HEADERS += include/rtems/score/wkspacedata.h
    411412include_rtems_trace_HEADERS += include/rtems/trace/rtems-trace-buffer-vars.h
    412413include_sys_HEADERS += include/sys/_ffcounter.h
  • cpukit/include/rtems/confdefs.h

    r5180762c rba7b2df7  
    26382638   */
    26392639  const rtems_configuration_table Configuration = {
    2640     CONFIGURE_EXECUTIVE_RAM_SIZE,             /* required RTEMS workspace */
    26412640    #ifdef CONFIGURE_UNIFIED_WORK_AREAS       /* true for unified work areas */
    26422641      true,
     
    26552654    #endif
    26562655  };
     2656
     2657  const uintptr_t _Workspace_Size = CONFIGURE_EXECUTIVE_RAM_SIZE;
    26572658
    26582659  #ifdef CONFIGURE_DIRTY_MEMORY
  • cpukit/include/rtems/config.h

    r5180762c rba7b2df7  
    3535#include <rtems/score/threadidledata.h>
    3636#include <rtems/score/watchdogticks.h>
     37#include <rtems/score/wkspacedata.h>
    3738#include <rtems/rtems/config.h>
    3839#include <rtems/extension.h>
     
    8384 */
    8485typedef struct {
    85   /**
    86    * This field specifies the size in bytes of the RTEMS Workspace.
    87    */
    88   uintptr_t                      work_space_size;
    89 
    9086  /**
    9187   * @brief Specifies if a unified work area is used or not.
     
    133129
    134130#define rtems_configuration_get_work_space_size() \
    135         (Configuration.work_space_size + \
     131        (_Workspace_Size + \
    136132          (rtems_configuration_get_stack_allocator_avoids_work_space() ? \
    137133            0 : rtems_configuration_get_stack_space_size()))
Note: See TracChangeset for help on using the changeset viewer.