Changeset 5a8bc44 in rtems


Ignore:
Timestamp:
Jun 20, 2007, 10:22:16 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
4ab3a29
Parents:
8b8e1ee5
Message:

2007-06-20 Joel Sherrill <joel.sherrill@…>

  • sapi/include/confdefs.h: Do not instantiate initialization thas/thread pointer tables for an API that is not configured.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r8b8e1ee5 r5a8bc44  
     12007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * sapi/include/confdefs.h: Do not instantiate initialization
     4        thas/thread pointer tables for an API that is not configured.
     5
    162007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
    27
  • cpukit/sapi/include/confdefs.h

    r8b8e1ee5 r5a8bc44  
    12201220 *  then we need to install the code that runs that loop.
    12211221 */
    1222 #ifdef CONFIGURE_INIT
    1223   #ifdef CONFIGURE_POSIX_INIT_THREAD_TABLE
    1224     void _POSIX_Threads_Initialize_user_threads_body(void);
    1225     void (*_POSIX_Threads_Initialize_user_threads_p)(void) =
    1226               _POSIX_Threads_Initialize_user_threads_body;
    1227   #else
    1228     void (*_POSIX_Threads_Initialize_user_threads_p)(void) = NULL;
     1222#ifdef RTEMS_POSIX_API
     1223  #ifdef CONFIGURE_INIT
     1224    #ifdef CONFIGURE_POSIX_INIT_THREAD_TABLE
     1225      void _POSIX_Threads_Initialize_user_threads_body(void);
     1226      void (*_POSIX_Threads_Initialize_user_threads_p)(void) =
     1227                _POSIX_Threads_Initialize_user_threads_body;
     1228    #else
     1229      void (*_POSIX_Threads_Initialize_user_threads_p)(void) = NULL;
     1230    #endif
    12291231  #endif
    12301232#endif
     
    12341236 *  then we need to install the code that runs that loop.
    12351237 */
    1236 #ifdef CONFIGURE_INIT
    1237   #ifdef CONFIGURE_ITRON_INIT_TASK_TABLE
    1238     void _ITRON_Task_Initialize_user_tasks_body(void);
    1239     void (*_ITRON_Initialize_user_tasks_p)(void) =
    1240               _ITRON_Task_Initialize_user_tasks_body;
    1241   #else
    1242     void (*_ITRON_Initialize_user_tasks_p)(void) = NULL;
     1238#ifdef RTEMS_ITRON_API
     1239  #ifdef CONFIGURE_INIT
     1240    #ifdef CONFIGURE_ITRON_INIT_TASK_TABLE
     1241      void _ITRON_Task_Initialize_user_tasks_body(void);
     1242      void (*_ITRON_Initialize_user_tasks_p)(void) =
     1243                _ITRON_Task_Initialize_user_tasks_body;
     1244    #else
     1245      void (*_ITRON_Initialize_user_tasks_p)(void) = NULL;
     1246    #endif
    12431247  #endif
    12441248#endif
Note: See TracChangeset for help on using the changeset viewer.