From 4b89ba70ea4d3ab29a79b8739f2110886159a8fe Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 3 Dec 2007 22:22:55 +0000 Subject: 2007-12-03 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. --- cpukit/score/cpu/unix/ChangeLog | 9 +++++++++ cpukit/score/cpu/unix/rtems/score/cpu.h | 21 --------------------- 2 files changed, 9 insertions(+), 21 deletions(-) (limited to 'cpukit/score/cpu/unix') diff --git a/cpukit/score/cpu/unix/ChangeLog b/cpukit/score/cpu/unix/ChangeLog index 5eae597875..1faba3882f 100644 --- a/cpukit/score/cpu/unix/ChangeLog +++ b/cpukit/score/cpu/unix/ChangeLog @@ -1,3 +1,12 @@ +2007-12-03 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. + 2007-06-21 Joel Sherrill * cpu.c: Comment out may_alias so this compiles without a compiler diff --git a/cpukit/score/cpu/unix/rtems/score/cpu.h b/cpukit/score/cpu/unix/rtems/score/cpu.h index c63cf66ae7..1281a302c3 100644 --- a/cpukit/score/cpu/unix/rtems/score/cpu.h +++ b/cpukit/score/cpu/unix/rtems/score/cpu.h @@ -498,30 +498,9 @@ typedef struct { */ 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 required fields */ } rtems_cpu_table; -/* - * Macros to access required entires in the CPU Table are in - * the file rtems/system.h. - */ - -/* - * Macros to access UNIX specific additions to the CPU Table - */ - -/* 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 -- cgit v1.2.3