From 282048a516172348467767c36726887940a29bb1 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 3 Dec 2007 22:22:01 +0000 Subject: 2007-12-03 Joel Sherrill * 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. --- cpukit/score/cpu/powerpc/ChangeLog | 10 ++++++++++ cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h | 15 --------------- cpukit/score/cpu/powerpc/rtems/old-exceptions/cpu.h | 15 --------------- 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 + + * 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 * 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,24 +160,9 @@ 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 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,25 +183,10 @@ 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. * -- cgit v1.2.3