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/timerdata.h

    r0f5b2c09 r21275b58  
    5858}   Timer_Control;
    5959
     60/**
     61 * @brief The Classic Timer objects information.
     62 */
     63extern Objects_Information  _Timer_Information;
     64
     65/**
     66 * @brief Macro to define the objects information for the Classic Timer
     67 * objects.
     68 *
     69 * This macro should only be used by <rtems/confdefs.h>.
     70 *
     71 * @param max The configured object maximum (the OBJECTS_UNLIMITED_OBJECTS flag
     72 * may be set).
     73 */
     74#define TIMER_INFORMATION_DEFINE( max ) \
     75  OBJECTS_INFORMATION_DEFINE( \
     76    _Timer, \
     77    OBJECTS_CLASSIC_API, \
     78    OBJECTS_RTEMS_TIMERS, \
     79    Timer_Control, \
     80    max, \
     81    OBJECTS_NO_STRING_NAME, \
     82    NULL \
     83  )
     84
    6085/** @} */
    6186
Note: See TracChangeset for help on using the changeset viewer.