summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-03 22:22:01 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-03 22:22:01 +0000
commit282048a516172348467767c36726887940a29bb1 (patch)
treec66194c2b1b88ef2d6eaf35571bdca18853240be
parent2007-12-03 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-282048a516172348467767c36726887940a29bb1.tar.bz2
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/new-exceptions/cpu.h, rtems/old-exceptions/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.
-rw-r--r--cpukit/score/cpu/powerpc/ChangeLog10
-rw-r--r--cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h15
-rw-r--r--cpukit/score/cpu/powerpc/rtems/old-exceptions/cpu.h15
3 files changed, 10 insertions, 30 deletions
diff --git a/cpukit/score/cpu/powerpc/ChangeLog b/cpukit/score/cpu/powerpc/ChangeLog
index 6c16aea815..a6d46f8ae0 100644
--- a/cpukit/score/cpu/powerpc/ChangeLog
+++ b/cpukit/score/cpu/powerpc/ChangeLog
@@ -1,3 +1,13 @@
+2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * rtems/new-exceptions/cpu.h, rtems/old-exceptions/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-11-30 Till Straumann <strauman@slac.stanford.edu>
* rtems/score/cpu.h: Wonderful bookE doesn't have mftb/mftbu;
diff --git a/cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h b/cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h
index e0de9d13bd..bcbf98c73c 100644
--- a/cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h
+++ b/cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h
@@ -160,25 +160,10 @@ extern "C" {
*/
typedef struct {
- void (*pretasking_hook)( void );
- void (*predriver_hook)( void );
- void (*postdriver_hook)( void );
- void (*idle_task)( void );
- boolean do_zero_of_workspace;
- uint32_t idle_task_stack_size;
uint32_t interrupt_stack_size;
- uint32_t extra_mpci_receive_server_stack;
- void * (*stack_allocate_hook)( uint32_t );
- 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.
- */
-
-/*
* 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
* _CPU_Initialize and copied into the task's FP context area during
diff --git a/cpukit/score/cpu/powerpc/rtems/old-exceptions/cpu.h b/cpukit/score/cpu/powerpc/rtems/old-exceptions/cpu.h
index dcd837080c..70997c9d35 100644
--- a/cpukit/score/cpu/powerpc/rtems/old-exceptions/cpu.h
+++ b/cpukit/score/cpu/powerpc/rtems/old-exceptions/cpu.h
@@ -183,26 +183,11 @@ typedef void ( *ppc_isr_entry )( int, struct CPU_Interrupt_frame * );
*/
typedef struct {
- void (*pretasking_hook)( void );
- void (*predriver_hook)( void );
- void (*postdriver_hook)( void );
- void (*idle_task)( void );
- boolean do_zero_of_workspace;
- uint32_t idle_task_stack_size;
uint32_t interrupt_stack_size;
- uint32_t extra_mpci_receive_server_stack;
- void * (*stack_allocate_hook)( uint32_t );
- void (*stack_free_hook)( void* );
- /* end of fields required on all CPUs */
} rtems_cpu_table;
#endif
/*
- * Macros to access required entires in the CPU Table are in
- * the file rtems/system.h.
- */
-
-/*
* The following type defines an entry in the PPC's trap table.
*
* NOTE: The instructions chosen are RTEMS dependent although one is