Changeset 61d5c886 in rtems


Ignore:
Timestamp:
May 25, 2018, 8:27:40 AM (20 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
877f5d6
Parents:
2292ca22
git-author:
Sebastian Huber <sebastian.huber@…> (05/25/18 08:27:40)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/28/18 04:59:52)
Message:

config: Hide CONFIGURE_SCHEDULER_COUNT

Rename CONFIGURE_SCHEDULER_COUNT to _CONFIGURE_SCHEDULER_COUNT to
emphasise that this is not a user configuration option.

File:
1 edited

Legend:

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

    r2292ca22 r61d5c886  
    977977  };
    978978
    979   #define CONFIGURE_SCHEDULER_COUNT RTEMS_ARRAY_SIZE( _Scheduler_Table )
     979  #define _CONFIGURE_SCHEDULER_COUNT RTEMS_ARRAY_SIZE( _Scheduler_Table )
    980980
    981981  #if defined(RTEMS_SMP)
    982     const size_t _Scheduler_Count = CONFIGURE_SCHEDULER_COUNT;
     982    const size_t _Scheduler_Count = _CONFIGURE_SCHEDULER_COUNT;
    983983
    984984    const Scheduler_Assignment _Scheduler_Initial_assignments[] = {
     
    18651865        _Configure_From_workspace((_proxies) \
    18661866          * (sizeof(Thread_Proxy_control) \
    1867             + THREAD_QUEUE_HEADS_SIZE(CONFIGURE_SCHEDULER_COUNT)))
     1867            + THREAD_QUEUE_HEADS_SIZE(_CONFIGURE_SCHEDULER_COUNT)))
    18681868
    18691869      #ifndef CONFIGURE_MP_MPCI_TABLE_POINTER
     
    26412641    _Configure_Object_RAM(_tasks, sizeof(Configuration_Thread_control)) \
    26422642      + _Configure_From_workspace(_Configure_Max_Objects(_tasks) \
    2643         * THREAD_QUEUE_HEADS_SIZE(CONFIGURE_SCHEDULER_COUNT)) \
     2643        * THREAD_QUEUE_HEADS_SIZE(_CONFIGURE_SCHEDULER_COUNT)) \
    26442644      + _Configure_Max_Objects(_number_FP_tasks) \
    26452645        * _Configure_From_workspace(CONTEXT_FP_SIZE) \
     
    29622962      void *extensions[ CONFIGURE_MAXIMUM_USER_EXTENSIONS + 1 ];
    29632963    #endif
    2964     Configuration_Scheduler_node Scheduler_nodes[ CONFIGURE_SCHEDULER_COUNT ];
     2964    Configuration_Scheduler_node Scheduler_nodes[ _CONFIGURE_SCHEDULER_COUNT ];
    29652965    RTEMS_API_Control API_RTEMS;
    29662966    #ifdef RTEMS_POSIX_API
Note: See TracChangeset for help on using the changeset viewer.