Changeset e7b0a72 in rtems for cpukit/include/rtems/confdefs.h


Ignore:
Timestamp:
Dec 14, 2018, 7:07:08 AM (10 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
7c19e50
Parents:
cfa82b3
git-author:
Sebastian Huber <sebastian.huber@…> (12/14/18 07:07:08)
git-committer:
Sebastian Huber <sebastian.huber@…> (12/17/18 08:53:39)
Message:

config: Remove CONFIGURE_CONFDEFS_DEBUG

This configuration option was undocumented and not really helpful. To
debug issues in <rtems/confdefs.h> it is better to save the
preprocessesd file (GCC "-save-temps" option) and use the GCC "-Wp,-dD"
pre-processor option.

File:
1 edited

Legend:

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

    rcfa82b3 re7b0a72  
    30743074 */
    30753075
    3076 #if defined(CONFIGURE_CONFDEFS_DEBUG) && defined(CONFIGURE_INIT)
    3077   /**
    3078    * This is a debug mechanism, so if you need to, the executable will
    3079    * have a structure with various partial values.  Add to this as you
    3080    * need to.  Viewing this structure in gdb combined with dumping
    3081    * the Configuration structures generated should help a lot in tracing
    3082    * down errors and analyzing where over and under allocations are.
    3083    */
    3084   typedef struct {
    3085     uint32_t SYSTEM_OVERHEAD;
    3086     uint32_t STATIC_EXTENSIONS;
    3087     uint32_t INITIALIZATION_THREADS_STACKS;
    3088 
    3089     uint32_t PER_INTEGER_TASK;
    3090     uint32_t FP_OVERHEAD;
    3091 
    3092     /* System overhead pieces */
    3093     uint32_t MEMORY_FOR_IDLE_TASK;
    3094 
    3095     /* POSIX API Pieces */
    3096     uint32_t POSIX_QUEUED_SIGNALS;
    3097 
    3098     /* Stack space sizes */
    3099     uint32_t IDLE_TASKS_STACK;
    3100     uint32_t INITIALIZATION_THREADS_EXTRA_STACKS;
    3101     uint32_t TASKS_STACK;
    3102     uint32_t POSIX_THREADS_STACK;
    3103     uint32_t GOROUTINES_STACK;
    3104     uint32_t ADA_TASKS_STACK;
    3105     uint32_t EXTRA_MPCI_RECEIVE_SERVER_STACK;
    3106     uint32_t EXTRA_TASK_STACKS;
    3107   } Configuration_Debug_t;
    3108 
    3109   Configuration_Debug_t Configuration_Memory_Debug = {
    3110     /* General Information */
    3111     _CONFIGURE_MEMORY_FOR_SYSTEM_OVERHEAD,
    3112     _CONFIGURE_MEMORY_FOR_STATIC_EXTENSIONS,
    3113     _CONFIGURE_INITIALIZATION_THREADS_EXTRA_STACKS,
    3114     _CONFIGURE_MEMORY_FOR_TASKS(1, 0),
    3115     _CONFIGURE_MEMORY_FOR_TASKS(0, 1),
    3116 
    3117     /* System overhead pieces */
    3118     _CONFIGURE_MEMORY_FOR_INTERNAL_TASKS,
    3119 
    3120     /* POSIX API Pieces */
    3121     _CONFIGURE_MEMORY_FOR_POSIX_QUEUED_SIGNALS,
    3122 
    3123     /* Stack space sizes */
    3124     _CONFIGURE_IDLE_TASKS_STACK,
    3125     _CONFIGURE_INITIALIZATION_THREADS_EXTRA_STACKS,
    3126     _CONFIGURE_TASKS_STACK,
    3127     _CONFIGURE_POSIX_THREADS_STACK,
    3128     _CONFIGURE_GOROUTINES_STACK,
    3129     _CONFIGURE_ADA_TASKS_STACK,
    3130     CONFIGURE_EXTRA_MPCI_RECEIVE_SERVER_STACK,
    3131     CONFIGURE_EXTRA_TASK_STACKS
    3132   };
    3133 #endif
    3134 
    31353076/*
    31363077 *  Make sure a task/thread of some sort is configured.
Note: See TracChangeset for help on using the changeset viewer.