Changeset 75f09e5 in rtems


Ignore:
Timestamp:
Feb 21, 1996, 2:43:34 PM (26 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
adf98bd
Parents:
c4b8161d
Message:

Dispersal of internal thread handler resulted in IDLE thread becoming
part of the Thread Handler. This required the name of the optional
CPU dependent IDLE thread implementation to change.

Files:
14 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/score/cpu/hppa1.1/cpu.h

    rc4b8161d r75f09e5  
    224224
    225225  unsigned32   interrupt_stack_size;
    226   unsigned32   extra_system_initialization_stack;
     226  unsigned32   extra_mpci_receive_server_stack;
    227227
    228228  /*
     
    279279
    280280/*
    281  *  extra stack required by system initialization thread
    282  */
    283 
    284 #define CPU_SYSTEM_INITIALIZATION_THREAD_EXTRA_STACK 0
     281 *  extra stack required by the MPCI receive server thread
     282 */
     283
     284#define CPU_MPCI_RECEIVE_SERVER_EXTRA_STACK 0
    285285
    286286/*
  • c/src/exec/score/cpu/i386/cpu.h

    rc4b8161d r75f09e5  
    104104  boolean      do_zero_of_workspace;
    105105  unsigned32   interrupt_stack_size;
    106   unsigned32   extra_system_initialization_stack;
     106  unsigned32   extra_mpci_receive_server_stack;
    107107
    108108  unsigned32   interrupt_table_segment;
     
    135135
    136136/*
    137  *  extra stack required by system initialization thread
    138  */
    139 
    140 #define CPU_SYSTEM_INITIALIZATION_THREAD_EXTRA_STACK 1024
     137 *  extra stack required by the MPCI receive server thread
     138 */
     139
     140#define CPU_MPCI_RECEIVE_SERVER_EXTRA_STACK 1024
    141141
    142142/*
  • c/src/exec/score/cpu/i960/cpu.h

    rc4b8161d r75f09e5  
    146146  boolean      do_zero_of_workspace;
    147147  unsigned32   interrupt_stack_size;
    148   unsigned32   extra_system_initialization_stack;
     148  unsigned32   extra_mpci_receive_server_stack;
    149149#if defined(__i960CA__) || defined(__i960_CA__) || defined(__i960CA)
    150150  i960ca_PRCB *Prcb;
     
    174174
    175175/*
    176  *  extra stack required by system initialization thread
    177  *
    178  *  NOTE: Make sure this stays positive ...
    179  */
    180 
    181 #define CPU_SYSTEM_INITIALIZATION_THREAD_EXTRA_STACK \
    182    (CPU_STACK_MINIMUM_SIZE)
     176 *  extra stack required by the MPCI receive server thread
     177 */
     178
     179#define CPU_MPCI_RECEIVE_SERVER_EXTRA_STACK (CPU_STACK_MINIMUM_SIZE)
    183180
    184181/*
     
    192189 *  Minimum size of a thread's stack.
    193190 *
    194  *  NOTE:  See CPU_SYSTEM_INITIALIZATION_THREAD_EXTRA_STACK
     191 *  NOTE:  See CPU_MPCI_RECEIVE_SERVER_EXTRA_STACK
    195192 */
    196193
  • c/src/exec/score/cpu/m68k/cpu.h

    rc4b8161d r75f09e5  
    139139  boolean      do_zero_of_workspace;
    140140  unsigned32   interrupt_stack_size;
    141   unsigned32   extra_system_initialization_stack;
     141  unsigned32   extra_mpci_receive_server_stack;
    142142  m68k_isr    *interrupt_vector_table;
    143143}   rtems_cpu_table;
     
    167167
    168168/*
    169  *  extra stack required by system initialization thread
    170  */
    171 
    172 #define CPU_SYSTEM_INITIALIZATION_THREAD_EXTRA_STACK 1024
     169 *  extra stack required by the MPCI receive server thread
     170 */
     171
     172#define CPU_MPCI_RECEIVE_SERVER_EXTRA_STACK 1024
    173173
    174174/*
  • c/src/exec/score/cpu/no_cpu/cpu.c

    rc4b8161d r75f09e5  
    138138/*PAGE
    139139 *
    140  *  _CPU_Internal_threads_Idle_thread_body
     140 *  _CPU_Thread_Idle_body
    141141 *
    142142 *  NOTES:
     
    153153 */
    154154
    155 void _CPU_Internal_threads_Idle_thread_body( void )
     155void _CPU_Thread_Idle_body( void )
    156156{
    157157
  • c/src/exec/score/cpu/no_cpu/cpu.h

    rc4b8161d r75f09e5  
    208208 *  Does this port provide a CPU dependent IDLE task implementation?
    209209 *
    210  *  If TRUE, then the routine _CPU_Internal_threads_Idle_thread_body
     210 *  If TRUE, then the routine _CPU_Thread_Idle_body
    211211 *  must be provided and is the default IDLE thread body instead of
    212  *  _Internal_threads_Idle_thread_body.
     212 *  _CPU_Thread_Idle_body.
    213213 *
    214214 *  If FALSE, then use the generic IDLE thread body if the BSP does
     
    344344  boolean      do_zero_of_workspace;
    345345  unsigned32   interrupt_stack_size;
    346   unsigned32   extra_system_initialization_stack;
     346  unsigned32   extra_mpci_receive_server_stack;
    347347  unsigned32   some_other_cpu_dependent_info;
    348348}   rtems_cpu_table;
     
    402402/*
    403403 *  Amount of extra stack (above minimum stack size) required by
    404  *  system initialization thread.  Remember that in a multiprocessor
    405  *  system the system intialization thread becomes the MP server thread.
    406  */
    407 
    408 #define CPU_SYSTEM_INITIALIZATION_THREAD_EXTRA_STACK 0
     404 *  MPCI receive server thread.  Remember that in a multiprocessor
     405 *  system this thread must exist and be able to process all directives.
     406 */
     407
     408#define CPU_MPCI_RECEIVE_SERVER_EXTRA_STACK 0
    409409
    410410/*
     
    760760
    761761/*
    762  *  _CPU_Internal_threads_Idle_thread_body
     762 *  _CPU_Thread_Idle_body
    763763 *
    764764 *  This routine is the CPU dependent IDLE thread body.
     
    768768 */
    769769
    770 void _CPU_Internal_threads_Idle_thread_body( void );
     770void _CPU_Thread_Idle_body( void );
    771771
    772772/*
  • c/src/exec/score/cpu/powerpc/cpu.h

    rc4b8161d r75f09e5  
    235235 *  Does this port provide a CPU dependent IDLE task implementation?
    236236 *
    237  *  If TRUE, then the routine _CPU_Internal_threads_Idle_thread_body
     237 *  If TRUE, then the routine _CPU_Thread_Idle_body
    238238 *  must be provided and is the default IDLE thread body instead of
    239  *  _Internal_threads_Idle_thread_body.
     239 *  _CPU_Thread_Idle_body.
    240240 *
    241241 *  If FALSE, then use the generic IDLE thread body if the BSP does
     
    442442  boolean      do_zero_of_workspace;
    443443  unsigned32   interrupt_stack_size;
    444   unsigned32   extra_system_initialization_stack;
     444  unsigned32   extra_mpci_receive_server_stack;
    445445  unsigned32   clicks_per_usec; /* Timer clicks per microsecond */
    446446  unsigned32   serial_per_sec;  /* Serial clocks per second */
     
    531531/*
    532532 *  Amount of extra stack (above minimum stack size) required by
    533  *  system initialization thread.  Remember that in a multiprocessor
    534  *  system the system intialization thread becomes the MP server thread.
    535  */
    536 
    537 #define CPU_SYSTEM_INITIALIZATION_THREAD_EXTRA_STACK 0
     533 *  MPCI receive server thread.  Remember that in a multiprocessor
     534 *  system this thread must exist and be able to process all directives.
     535 */
     536
     537#define CPU_MPCI_RECEIVE_SERVER_EXTRA_STACK 0
    538538
    539539/*
  • c/src/exec/score/cpu/sparc/cpu.c

    rc4b8161d r75f09e5  
    377377/*PAGE
    378378 *
    379  *  _CPU_Internal_threads_Idle_thread_body
     379 *  _CPU_Thread_Idle_body
    380380 *
    381381 *  Some SPARC implementations have low power, sleep, or idle modes.  This
     
    393393#if defined(erc32)
    394394
    395 void _CPU_Internal_threads_Idle_thread_body( void )
     395void _CPU_Thread_Idle_body( void )
    396396{
    397397  while (1) {
  • c/src/exec/score/cpu/sparc/cpu.h

    rc4b8161d r75f09e5  
    146146 *  Does this port provide a CPU dependent IDLE task implementation?
    147147 *
    148  *  If TRUE, then the routine _CPU_Internal_threads_Idle_thread_body
     148 *  If TRUE, then the routine _CPU_Thread_Idle_body
    149149 *  must be provided and is the default IDLE thread body instead of
    150  *  _Internal_threads_Idle_thread_body.
     150 *  _CPU_Thread_Idle_body.
    151151 *
    152152 *  If FALSE, then use the generic IDLE thread body if the BSP does
     
    508508  boolean      do_zero_of_workspace;
    509509  unsigned32   interrupt_stack_size;
    510   unsigned32   extra_system_initialization_stack;
     510  unsigned32   extra_mpci_receive_server_stack;
    511511}   rtems_cpu_table;
    512512
     
    602602/*
    603603 *  Amount of extra stack (above minimum stack size) required by
    604  *  system initialization thread.  Remember that in a multiprocessor
    605  *  system the system intialization thread becomes the MP server thread.
    606  */
    607 
    608 #define CPU_SYSTEM_INITIALIZATION_THREAD_EXTRA_STACK 1024
     604 *  MPCI receive server thread.  Remember that in a multiprocessor
     605 *  system this thread must exist and be able to process all directives.
     606 */
     607
     608#define CPU_MPCI_RECEIVE_SERVER_EXTRA_STACK 1024
    609609
    610610/*
     
    899899 
    900900/*
    901  *  _CPU_Internal_threads_Idle_thread_body
     901 *  _CPU_Thread_Idle_body
    902902 *
    903903 *  Some SPARC implementations have low power, sleep, or idle modes.  This
     
    905905 */
    906906 
    907 void _CPU_Internal_threads_Idle_thread_body( void );
     907void _CPU_Thread_Idle_body( void );
    908908 
    909909#endif /* CPU_PROVIDES_IDLE_THREAD_BODY */
  • c/src/exec/score/cpu/unix/cpu.c

    rc4b8161d r75f09e5  
    340340/*PAGE
    341341 *
    342  *  _CPU_Internal_threads_Idle_thread_body
     342 *  _CPU_Thread_Idle_body
    343343 *
    344344 *  Stop until we get a signal which is the logically the same thing
     
    348348 */
    349349
    350 void _CPU_Internal_threads_Idle_thread_body( void )
     350void _CPU_Thread_Idle_body( void )
    351351{
    352352  while (1)
  • c/src/exec/score/cpu/unix/cpu.h

    rc4b8161d r75f09e5  
    222222 *  Does this port provide a CPU dependent IDLE task implementation?
    223223 *
    224  *  If TRUE, then the routine _CPU_Internal_threads_Idle_thread_body
     224 *  If TRUE, then the routine _CPU_Thread_Idle_body
    225225 *  must be provided and is the default IDLE thread body instead of
    226  *  _Internal_threads_Idle_thread_body.
     226 *  _CPU_Thread_Idle_body.
    227227 *
    228228 *  If FALSE, then use the generic IDLE thread body if the BSP does
     
    472472  boolean      do_zero_of_workspace;
    473473  unsigned32   interrupt_stack_size;
    474   unsigned32   extra_system_initialization_stack;
     474  unsigned32   extra_mpci_receive_server_stack;
    475475}   rtems_cpu_table;
    476476
     
    543543/*
    544544 *  Amount of extra stack (above minimum stack size) required by
    545  *  system initialization thread.  Remember that in a multiprocessor
    546  *  system the system intialization thread becomes the MP server thread.
    547  */
    548 
    549 #define CPU_SYSTEM_INITIALIZATION_THREAD_EXTRA_STACK 0
     545 *  MPCI receive server thread.  Remember that in a multiprocessor
     546 *  system this thread must exist and be able to process all directives.
     547 */
     548
     549#define CPU_MPCI_RECEIVE_SERVER_EXTRA_STACK 0
    550550
    551551/*
     
    874874
    875875/*
    876  *  _CPU_Internal_threads_Idle_thread_body
     876 *  _CPU_Thread_Idle_body
    877877 *
    878878 *  This routine is the CPU dependent IDLE thread body.
     
    882882 */
    883883
    884 void _CPU_Internal_threads_Idle_thread_body( void );
     884void _CPU_Thread_Idle_body( void );
    885885
    886886/*
  • cpukit/score/cpu/no_cpu/cpu.c

    rc4b8161d r75f09e5  
    138138/*PAGE
    139139 *
    140  *  _CPU_Internal_threads_Idle_thread_body
     140 *  _CPU_Thread_Idle_body
    141141 *
    142142 *  NOTES:
     
    153153 */
    154154
    155 void _CPU_Internal_threads_Idle_thread_body( void )
     155void _CPU_Thread_Idle_body( void )
    156156{
    157157
  • cpukit/score/cpu/sparc/cpu.c

    rc4b8161d r75f09e5  
    377377/*PAGE
    378378 *
    379  *  _CPU_Internal_threads_Idle_thread_body
     379 *  _CPU_Thread_Idle_body
    380380 *
    381381 *  Some SPARC implementations have low power, sleep, or idle modes.  This
     
    393393#if defined(erc32)
    394394
    395 void _CPU_Internal_threads_Idle_thread_body( void )
     395void _CPU_Thread_Idle_body( void )
    396396{
    397397  while (1) {
  • cpukit/score/cpu/unix/cpu.c

    rc4b8161d r75f09e5  
    340340/*PAGE
    341341 *
    342  *  _CPU_Internal_threads_Idle_thread_body
     342 *  _CPU_Thread_Idle_body
    343343 *
    344344 *  Stop until we get a signal which is the logically the same thing
     
    348348 */
    349349
    350 void _CPU_Internal_threads_Idle_thread_body( void )
     350void _CPU_Thread_Idle_body( void )
    351351{
    352352  while (1)
Note: See TracChangeset for help on using the changeset viewer.