diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-12-03 22:22:55 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-12-03 22:22:55 +0000 |
commit | 4b89ba70ea4d3ab29a79b8739f2110886159a8fe (patch) | |
tree | ad3ba7b2775d4cc9121de433fd811b62a65766e8 /cpukit/score/cpu/nios2 | |
parent | 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-4b89ba70ea4d3ab29a79b8739f2110886159a8fe.tar.bz2 |
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* 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.
Diffstat (limited to 'cpukit/score/cpu/nios2')
-rw-r--r-- | cpukit/score/cpu/nios2/ChangeLog | 9 | ||||
-rw-r--r-- | cpukit/score/cpu/nios2/rtems/score/cpu.h | 48 |
2 files changed, 9 insertions, 48 deletions
diff --git a/cpukit/score/cpu/nios2/ChangeLog b/cpukit/score/cpu/nios2/ChangeLog index 25f5589777..e4ebb2e732 100644 --- a/cpukit/score/cpu/nios2/ChangeLog +++ b/cpukit/score/cpu/nios2/ChangeLog @@ -1,3 +1,12 @@ +2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com> + + * 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. + 2007-04-17 Ralf Corsépius <ralf.corsepius@rtems.org> * rtems/score/cpu.h: diff --git a/cpukit/score/cpu/nios2/rtems/score/cpu.h b/cpukit/score/cpu/nios2/rtems/score/cpu.h index a2ee099552..e7225d8fcc 100644 --- a/cpukit/score/cpu/nios2/rtems/score/cpu.h +++ b/cpukit/score/cpu/nios2/rtems/score/cpu.h @@ -558,61 +558,13 @@ typedef struct { void (*predriver_hook)( void ); /** This element points to the BSP's postdriver hook. */ void (*postdriver_hook)( void ); - /** This element points to the BSP's optional idle task which may override - * the default one provided with RTEMS. - */ - void (*idle_task)( void ); - /** If this element is TRUE, then RTEMS will zero the Executive Workspace. - * When this element is FALSE, it is assumed that the BSP or invoking - * environment has ensured that memory was cleared before RTEMS was - * invoked. - */ - boolean do_zero_of_workspace; - /** This field specifies the size of the IDLE task's stack. If less than or - * equal to the minimum stack size, then the IDLE task will have the minimum - * stack size. - */ - uint32_t idle_task_stack_size; /** This field specifies the size of the interrupt stack. If less than or * equal to the minimum stack size, then the interrupt stack will be of * minimum stack size. */ uint32_t interrupt_stack_size; - /** The MPCI Receive server is assumed to have a stack of at least - * minimum stack size. This field specifies the amount of extra - * stack this task will be given in bytes. - */ - uint32_t extra_mpci_receive_server_stack; - /** The BSP may want to provide it's own stack allocation routines. - * In this case, the BSP will provide this stack allocation hook. - */ - void * (*stack_allocate_hook)( uint32_t ); - /** The BSP may want to provide it's own stack free routines. - * In this case, the BSP will provide this stack free hook. - */ - void (*stack_free_hook)( void *); - /* end of fields required on all CPUs */ } rtems_cpu_table; -/* - * Macros to access required entires in the CPU Table are in - * the file rtems/system.h. - * - * Port Specific Information: - * - * XXX document implementation including references if appropriate - */ - -/* - * Macros to access NIOS2 specific additions to the CPU Table - * - * Port Specific Information: - * - * XXX document implementation including references if appropriate - */ - -/* There are no CPU specific additions to the CPU Table for this port. */ - /** * This variable is optional. It is used on CPUs on which it is difficult * to generate an "uninitialized" FP context. It is filled in by |