Ignore:
Timestamp:
Nov 22, 2018, 6:14:51 PM (6 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
6b0a729b
Parents:
0f5b2c09
git-author:
Sebastian Huber <sebastian.huber@…> (11/22/18 18:14:51)
git-committer:
Sebastian Huber <sebastian.huber@…> (12/14/18 06:03:29)
Message:

score: Static Objects_Information initialization

Statically allocate the objects information together with the initial
set of objects either via <rtems/confdefs.h>. Provide default object
informations with zero objects via librtemscpu.a. This greatly
simplifies the workspace size estimate. RTEMS applications which do not
use the unlimited objects option are easier to debug since all objects
reside now in statically allocated objects of the right types.

Close #3621.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/rtems/rtems/regiondata.h

    r0f5b2c09 r21275b58  
    4747}  Region_Control;
    4848
     49/**
     50 * @brief The Classic Region objects information.
     51 */
     52extern Objects_Information _Region_Information;
     53
     54/**
     55 * @brief Macro to define the objects information for the Classic Region
     56 * objects.
     57 *
     58 * This macro should only be used by <rtems/confdefs.h>.
     59 *
     60 * @param max The configured object maximum (the OBJECTS_UNLIMITED_OBJECTS flag
     61 * may be set).
     62 */
     63#define REGION_INFORMATION_DEFINE( max ) \
     64  OBJECTS_INFORMATION_DEFINE( \
     65    _Region, \
     66    OBJECTS_CLASSIC_API, \
     67    OBJECTS_RTEMS_REGIONS, \
     68    Region_Control, \
     69    max, \
     70    OBJECTS_NO_STRING_NAME, \
     71    NULL \
     72  )
     73
    4974/** @} */
    5075
Note: See TracChangeset for help on using the changeset viewer.