Changeset ecc3fe3 in rtems


Ignore:
Timestamp:
Sep 23, 1998, 4:41:00 PM (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
1fd26a5
Parents:
3b93a2de
Message:

IDLE task stack size now specified as a field in the CPU Table for all
ports.

Files:
17 edited

Legend:

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

    r3b93a2de recc3fe3  
    457457  void       (*idle_task)( void );
    458458  boolean      do_zero_of_workspace;
     459  unsigned32   idle_task_stack_size;
    459460  unsigned32   interrupt_stack_size;
    460461  unsigned32   extra_system_initialization_stack;
  • c/src/exec/score/cpu/i386/cpu.h

    r3b93a2de recc3fe3  
    185185  void       (*idle_task)( void );
    186186  boolean      do_zero_of_workspace;
     187  unsigned32   idle_task_stack_size;
    187188  unsigned32   interrupt_stack_size;
    188189  unsigned32   extra_mpci_receive_server_stack;
  • c/src/exec/score/cpu/i960/cpu.h

    r3b93a2de recc3fe3  
    163163  void       (*idle_task)( void );
    164164  boolean      do_zero_of_workspace;
     165  unsigned32   idle_task_stack_size;
    165166  unsigned32   interrupt_stack_size;
    166167  unsigned32   extra_mpci_receive_server_stack;
  • c/src/exec/score/cpu/m68k/cpu.h

    r3b93a2de recc3fe3  
    186186  void       (*idle_task)( void );
    187187  boolean      do_zero_of_workspace;
     188  unsigned32   idle_task_stack_size;
    188189  unsigned32   interrupt_stack_size;
    189190  unsigned32   extra_mpci_receive_server_stack;
  • c/src/exec/score/cpu/mips64orion/cpu.h

    r3b93a2de recc3fe3  
    429429  void       (*idle_task)( void );
    430430  boolean      do_zero_of_workspace;
     431  unsigned32   idle_task_stack_size;
    431432  unsigned32   interrupt_stack_size;
    432433  unsigned32   extra_mpci_receive_server_stack;
  • c/src/exec/score/cpu/no_cpu/cpu.h

    r3b93a2de recc3fe3  
    354354  void       (*idle_task)( void );
    355355  boolean      do_zero_of_workspace;
     356  unsigned32   idle_task_stack_size;
    356357  unsigned32   interrupt_stack_size;
    357358  unsigned32   extra_mpci_receive_server_stack;
  • c/src/exec/score/cpu/powerpc/cpu.h

    r3b93a2de recc3fe3  
    464464  void       (*idle_task)( void );
    465465  boolean      do_zero_of_workspace;
     466  unsigned32   idle_task_stack_size;
    466467  unsigned32   interrupt_stack_size;
    467468  unsigned32   extra_mpci_receive_server_stack;
  • c/src/exec/score/cpu/sh/cpu.h

    r3b93a2de recc3fe3  
    372372  void       (*idle_task)( void );
    373373  boolean      do_zero_of_workspace;
     374  unsigned32   idle_task_stack_size;
    374375  unsigned32   interrupt_stack_size;
    375376  unsigned32   extra_mpci_receive_server_stack;
  • c/src/exec/score/cpu/sparc/cpu.h

    r3b93a2de recc3fe3  
    518518  void       (*idle_task)( void );
    519519  boolean      do_zero_of_workspace;
     520  unsigned32   idle_task_stack_size;
    520521  unsigned32   interrupt_stack_size;
    521522  unsigned32   extra_mpci_receive_server_stack;
  • c/src/exec/score/cpu/unix/cpu.h

    r3b93a2de recc3fe3  
    505505  void       (*idle_task)( void );
    506506  boolean      do_zero_of_workspace;
     507  unsigned32   idle_task_stack_size;
    507508  unsigned32   interrupt_stack_size;
    508509  unsigned32   extra_mpci_receive_server_stack;
  • c/src/exec/score/headers/thread.h

    r3b93a2de recc3fe3  
    193193
    194194/*
    195  *  The following constants define the stack size requirements for
    196  *  the idle thread.
    197  */
    198  
    199  
    200 #define THREAD_IDLE_STACK_SIZE  STACK_MINIMUM_SIZE
    201  
    202 /*
    203195 *  The following defines the information control block used to
    204196 *  manage this class of objects.
  • c/src/exec/score/include/rtems/score/thread.h

    r3b93a2de recc3fe3  
    193193
    194194/*
    195  *  The following constants define the stack size requirements for
    196  *  the idle thread.
    197  */
    198  
    199  
    200 #define THREAD_IDLE_STACK_SIZE  STACK_MINIMUM_SIZE
    201  
    202 /*
    203195 *  The following defines the information control block used to
    204196 *  manage this class of objects.
  • c/src/exec/score/src/thread.c

    r3b93a2de recc3fe3  
    108108void _Thread_Create_idle( void )
    109109{
    110   void *idle;
     110  void       *idle;
     111  unsigned32  idle_task_stack_size;
    111112
    112113  /*
     
    131132    idle = _CPU_Table.idle_task;
    132133 
     134  idle_task_stack_size =  _CPU_Table.idle_task_stack_size;
     135  if ( idle_task_stack_size < STACK_MINIMUM_SIZE )
     136    idle_task_stack_size = STACK_MINIMUM_SIZE;
     137 
    133138  _Thread_Initialize(
    134139    &_Thread_Internal_information,
    135140    _Thread_Idle,
    136141    NULL,        /* allocate the stack */
    137     THREAD_IDLE_STACK_SIZE,
     142    idle_task_stack_size,
    138143    CPU_IDLE_TASK_IS_FP,
    139144    PRIORITY_MAXIMUM,
  • c/src/tests/sptests/spsize/size.c

    r3b93a2de recc3fe3  
    9999
    100100#define SYSTEM_TASKS  \
    101     (THREAD_IDLE_STACK_SIZE + \
     101    (MINIMUM_STACK_SIZE + \
    102102     MPCI_RECEIVE_SERVER_STACK_SIZE + \
    103103     (2*sizeof(Thread_Control))) + \
  • cpukit/score/include/rtems/score/thread.h

    r3b93a2de recc3fe3  
    193193
    194194/*
    195  *  The following constants define the stack size requirements for
    196  *  the idle thread.
    197  */
    198  
    199  
    200 #define THREAD_IDLE_STACK_SIZE  STACK_MINIMUM_SIZE
    201  
    202 /*
    203195 *  The following defines the information control block used to
    204196 *  manage this class of objects.
  • cpukit/score/src/thread.c

    r3b93a2de recc3fe3  
    108108void _Thread_Create_idle( void )
    109109{
    110   void *idle;
     110  void       *idle;
     111  unsigned32  idle_task_stack_size;
    111112
    112113  /*
     
    131132    idle = _CPU_Table.idle_task;
    132133 
     134  idle_task_stack_size =  _CPU_Table.idle_task_stack_size;
     135  if ( idle_task_stack_size < STACK_MINIMUM_SIZE )
     136    idle_task_stack_size = STACK_MINIMUM_SIZE;
     137 
    133138  _Thread_Initialize(
    134139    &_Thread_Internal_information,
    135140    _Thread_Idle,
    136141    NULL,        /* allocate the stack */
    137     THREAD_IDLE_STACK_SIZE,
     142    idle_task_stack_size,
    138143    CPU_IDLE_TASK_IS_FP,
    139144    PRIORITY_MAXIMUM,
  • testsuites/sptests/spsize/size.c

    r3b93a2de recc3fe3  
    9999
    100100#define SYSTEM_TASKS  \
    101     (THREAD_IDLE_STACK_SIZE + \
     101    (MINIMUM_STACK_SIZE + \
    102102     MPCI_RECEIVE_SERVER_STACK_SIZE + \
    103103     (2*sizeof(Thread_Control))) + \
Note: See TracChangeset for help on using the changeset viewer.