Changeset 4b89ba7 in rtems for cpukit/score/cpu/no_cpu


Ignore:
Timestamp:
Dec 3, 2007, 10:22:55 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
3e066540
Parents:
282048a
Message:

2007-12-03 Joel Sherrill <joel.sherrill@…>

  • rtems/score/cpu.h: Moved most of the remaining CPU Table fields to the Configuration Table. This included pretasking_hook, predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace, extra_mpci_receive_server_stack, stack_allocate_hook, and stack_free_hook. As a side-effect of this effort some multiprocessing code was made conditional and some style clean up occurred.
Location:
cpukit/score/cpu/no_cpu
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/no_cpu/ChangeLog

    r282048a r4b89ba7  
     12007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * rtems/score/cpu.h: Moved most of the remaining CPU Table fields to
     4        the Configuration Table. This included pretasking_hook,
     5        predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
     6        extra_mpci_receive_server_stack, stack_allocate_hook, and
     7        stack_free_hook. As a side-effect of this effort some multiprocessing
     8        code was made conditional and some style clean up occurred.
     9
    1102007-04-17      Ralf Corsépius <ralf.corsepius@rtems.org>
    211
  • cpukit/score/cpu/no_cpu/rtems/score/cpu.h

    r282048a r4b89ba7  
    498498
    499499typedef struct {
    500   /** This element points to the BSP's pretasking hook. */
    501   void       (*pretasking_hook)( void );
    502   /** This element points to the BSP's predriver hook. */
    503   void       (*predriver_hook)( void );
    504   /** This element points to the BSP's postdriver hook. */
    505   void       (*postdriver_hook)( void );
    506   /** This element points to the BSP's optional idle task which may override
    507    *  the default one provided with RTEMS.
    508    */
    509   void       (*idle_task)( void );
    510   /** If this element is TRUE, then RTEMS will zero the Executive Workspace.
    511    *  When this element is FALSE, it is assumed that the BSP or invoking
    512    *  environment has ensured that memory was cleared before RTEMS was
    513    *  invoked.
    514    */
    515   boolean      do_zero_of_workspace;
    516   /** This field specifies the size of the IDLE task's stack.  If less than or
    517    *  equal to the minimum stack size, then the IDLE task will have the minimum
    518    *  stack size.
    519    */
    520   uint32_t     idle_task_stack_size;
    521500  /** This field specifies the size of the interrupt stack.  If less than or
    522501   *  equal to the minimum stack size, then the interrupt stack will be of
     
    524503   */
    525504  uint32_t     interrupt_stack_size;
    526   /** The MPCI Receive server is assumed to have a stack of at least
    527    *  minimum stack size.  This field specifies the amount of extra
    528    *  stack this task will be given in bytes.
    529    */
    530   uint32_t     extra_mpci_receive_server_stack;
    531   /** The BSP may want to provide it's own stack allocation routines.
    532    *  In this case, the BSP will provide this stack allocation hook.
    533    */
    534   void *     (*stack_allocate_hook)( uint32_t   );
    535   /** The BSP may want to provide it's own stack free routines.
    536    *  In this case, the BSP will provide this stack free hook.
    537    */
    538   void       (*stack_free_hook)( void *);
    539   /* end of fields required on all CPUs */
    540505}   rtems_cpu_table;
    541 
    542 /*
    543  *  Macros to access required entires in the CPU Table are in
    544  *  the file rtems/system.h.
    545  *
    546  *  Port Specific Information:
    547  *
    548  *  XXX document implementation including references if appropriate
    549  */
    550 
    551 /*
    552  *  Macros to access NO_CPU specific additions to the CPU Table
    553  *
    554  *  Port Specific Information:
    555  *
    556  *  XXX document implementation including references if appropriate
    557  */
    558 
    559 /* There are no CPU specific additions to the CPU Table for this port. */
    560506
    561507/**
Note: See TracChangeset for help on using the changeset viewer.