summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-03 22:22:55 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-03 22:22:55 +0000
commit4b89ba70ea4d3ab29a79b8739f2110886159a8fe (patch)
treead3ba7b2775d4cc9121de433fd811b62a65766e8
parent2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-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.
-rw-r--r--cpukit/score/cpu/arm/ChangeLog9
-rw-r--r--cpukit/score/cpu/arm/rtems/score/cpu.h24
-rw-r--r--cpukit/score/cpu/avr/ChangeLog9
-rw-r--r--cpukit/score/cpu/avr/rtems/score/cpu.h30
-rw-r--r--cpukit/score/cpu/bfin/ChangeLog9
-rw-r--r--cpukit/score/cpu/bfin/rtems/score/cpu.h54
-rw-r--r--cpukit/score/cpu/c4x/ChangeLog9
-rw-r--r--cpukit/score/cpu/c4x/rtems/score/cpu.h16
-rw-r--r--cpukit/score/cpu/h8300/ChangeLog9
-rw-r--r--cpukit/score/cpu/h8300/rtems/score/cpu.h12
-rw-r--r--cpukit/score/cpu/i386/ChangeLog9
-rw-r--r--cpukit/score/cpu/i386/rtems/score/cpu.h12
-rw-r--r--cpukit/score/cpu/m68k/ChangeLog9
-rw-r--r--cpukit/score/cpu/m68k/rtems/score/cpu.h19
-rw-r--r--cpukit/score/cpu/mips/ChangeLog9
-rw-r--r--cpukit/score/cpu/mips/rtems/score/cpu.h10
-rw-r--r--cpukit/score/cpu/nios2/ChangeLog9
-rw-r--r--cpukit/score/cpu/nios2/rtems/score/cpu.h48
-rw-r--r--cpukit/score/cpu/no_cpu/ChangeLog9
-rw-r--r--cpukit/score/cpu/no_cpu/rtems/score/cpu.h54
-rw-r--r--cpukit/score/cpu/sh/ChangeLog9
-rw-r--r--cpukit/score/cpu/sh/rtems/score/cpu.h14
-rw-r--r--cpukit/score/cpu/sparc/ChangeLog9
-rw-r--r--cpukit/score/cpu/sparc/rtems/score/cpu.h21
-rw-r--r--cpukit/score/cpu/unix/ChangeLog9
-rw-r--r--cpukit/score/cpu/unix/rtems/score/cpu.h21
26 files changed, 119 insertions, 333 deletions
diff --git a/cpukit/score/cpu/arm/ChangeLog b/cpukit/score/cpu/arm/ChangeLog
index 2063746928..113cb25889 100644
--- a/cpukit/score/cpu/arm/ChangeLog
+++ b/cpukit/score/cpu/arm/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-11-27 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Do not inline _Thread_Enable_dispatch for Thumb to
diff --git a/cpukit/score/cpu/arm/rtems/score/cpu.h b/cpukit/score/cpu/arm/rtems/score/cpu.h
index ab5c2a42b2..17c221ab43 100644
--- a/cpukit/score/cpu/arm/rtems/score/cpu.h
+++ b/cpukit/score/cpu/arm/rtems/score/cpu.h
@@ -385,34 +385,10 @@ typedef CPU_Exception_frame 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;
/*
- * Macros to access required entires in the CPU Table are in
- * the file rtems/system.h.
- */
-
-/*
- * Macros to access ARM specific additions to the CPU Table
- *
- * none required
- */
-
-/* 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
* _CPU_Initialize and copied into the task's FP context area during
diff --git a/cpukit/score/cpu/avr/ChangeLog b/cpukit/score/cpu/avr/ChangeLog
index 771cd8e66c..f44a34cb5a 100644
--- a/cpukit/score/cpu/avr/ChangeLog
+++ b/cpukit/score/cpu/avr/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-05-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/cpu.h: Remove CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
diff --git a/cpukit/score/cpu/avr/rtems/score/cpu.h b/cpukit/score/cpu/avr/rtems/score/cpu.h
index 52e61526d1..5d810a93a2 100644
--- a/cpukit/score/cpu/avr/rtems/score/cpu.h
+++ b/cpukit/score/cpu/avr/rtems/score/cpu.h
@@ -429,40 +429,10 @@ 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 fields required on all CPUs */
-
} rtems_cpu_table;
/*
- * Macros to access required entires in the CPU Table are in
- * the file rtems/system.h.
- *
- * AVR Specific Information:
- *
- * XXX document implementation including references if appropriate
- */
-
-/*
- * Macros to access AVR specific additions to the CPU Table
- *
- * AVR 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
* _CPU_Initialize and copied into the task's FP context area during
diff --git a/cpukit/score/cpu/bfin/ChangeLog b/cpukit/score/cpu/bfin/ChangeLog
index 0fbac70cfa..2612f8e54b 100644
--- a/cpukit/score/cpu/bfin/ChangeLog
+++ b/cpukit/score/cpu/bfin/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-09-10 Alain Schaefer <alani@easc.ch>
* cpu_asm.S: Fix two problems:
diff --git a/cpukit/score/cpu/bfin/rtems/score/cpu.h b/cpukit/score/cpu/bfin/rtems/score/cpu.h
index 0d4bbeb5b7..dd480567eb 100644
--- a/cpukit/score/cpu/bfin/rtems/score/cpu.h
+++ b/cpukit/score/cpu/bfin/rtems/score/cpu.h
@@ -560,67 +560,13 @@ typedef struct {
*/
typedef struct {
- /** This element points to the BSP's pretasking hook. */
- void (*pretasking_hook)( void );
- /** This element points to the BSP's predriver hook. */
- 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 Blackfin 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
diff --git a/cpukit/score/cpu/c4x/ChangeLog b/cpukit/score/cpu/c4x/ChangeLog
index 11eafd0895..0974436247 100644
--- a/cpukit/score/cpu/c4x/ChangeLog
+++ b/cpukit/score/cpu/c4x/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-05-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/cpu.h: Remove CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
diff --git a/cpukit/score/cpu/c4x/rtems/score/cpu.h b/cpukit/score/cpu/c4x/rtems/score/cpu.h
index 8e7244645b..c5cec7a6ff 100644
--- a/cpukit/score/cpu/c4x/rtems/score/cpu.h
+++ b/cpukit/score/cpu/c4x/rtems/score/cpu.h
@@ -529,26 +529,10 @@ 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 fields required on all CPUs */
-
} rtems_cpu_table;
/*
- * Macros to access required entires in the CPU Table are in
- * the file rtems/system.h.
- */
-
-/*
* Macros to access C4X specific additions to the CPU Table
*
* C4x Specific Information:
diff --git a/cpukit/score/cpu/h8300/ChangeLog b/cpukit/score/cpu/h8300/ChangeLog
index 637b4193cc..7366370545 100644
--- a/cpukit/score/cpu/h8300/ChangeLog
+++ b/cpukit/score/cpu/h8300/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-05-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/cpu.h: Remove CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
diff --git a/cpukit/score/cpu/h8300/rtems/score/cpu.h b/cpukit/score/cpu/h8300/rtems/score/cpu.h
index 18ae3e87ee..8f66b0d5c2 100644
--- a/cpukit/score/cpu/h8300/rtems/score/cpu.h
+++ b/cpukit/score/cpu/h8300/rtems/score/cpu.h
@@ -404,25 +404,13 @@ typedef struct {
* NOTE: The interrupt_stack_size field is required if
* CPU_ALLOCATE_INTERRUPT_STACK is defined as TRUE.
*
- * The pretasking_hook, predriver_hook, and postdriver_hook,
- * and the do_zero_of_workspace fields are required on ALL CPUs.
- *
* H8300 Specific Information:
*
* XXX
*/
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* );
} rtems_cpu_table;
/*
diff --git a/cpukit/score/cpu/i386/ChangeLog b/cpukit/score/cpu/i386/ChangeLog
index 45e8faab92..72af672bc6 100644
--- a/cpukit/score/cpu/i386/ChangeLog
+++ b/cpukit/score/cpu/i386/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-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Eliminate the interrupt_table_segment and
diff --git a/cpukit/score/cpu/i386/rtems/score/cpu.h b/cpukit/score/cpu/i386/rtems/score/cpu.h
index 5d6020cfcd..4fc1db1933 100644
--- a/cpukit/score/cpu/i386/rtems/score/cpu.h
+++ b/cpukit/score/cpu/i386/rtems/score/cpu.h
@@ -187,22 +187,10 @@ 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.
- */
-
-/*
* context size area for floating point
*
* NOTE: This is out of place on the i386 to avoid a forward reference.
diff --git a/cpukit/score/cpu/m68k/ChangeLog b/cpukit/score/cpu/m68k/ChangeLog
index 36e5c2488f..6914b2cc89 100644
--- a/cpukit/score/cpu/m68k/ChangeLog
+++ b/cpukit/score/cpu/m68k/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-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Eliminate the interrupt_vector_table field in the
diff --git a/cpukit/score/cpu/m68k/rtems/score/cpu.h b/cpukit/score/cpu/m68k/rtems/score/cpu.h
index e71b2be2dd..7d7ca24958 100644
--- a/cpukit/score/cpu/m68k/rtems/score/cpu.h
+++ b/cpukit/score/cpu/m68k/rtems/score/cpu.h
@@ -191,28 +191,13 @@ 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 fields required on all CPUs */
} rtems_cpu_table;
-/*
- * Macros to access required entires in the CPU Table are in
- * the file rtems/system.h.
- */
-
/* variables */
-SCORE_EXTERN void *_CPU_Interrupt_stack_low;
-SCORE_EXTERN void *_CPU_Interrupt_stack_high;
+SCORE_EXTERN void *_CPU_Interrupt_stack_low;
+SCORE_EXTERN void *_CPU_Interrupt_stack_high;
extern void* _VBR;
diff --git a/cpukit/score/cpu/mips/ChangeLog b/cpukit/score/cpu/mips/ChangeLog
index e1057a7153..6b61f9a2dd 100644
--- a/cpukit/score/cpu/mips/ChangeLog
+++ b/cpukit/score/cpu/mips/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-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Eliminate the clicks_per_microsecond field in the
diff --git a/cpukit/score/cpu/mips/rtems/score/cpu.h b/cpukit/score/cpu/mips/rtems/score/cpu.h
index abf2f22ed4..28a64c558e 100644
--- a/cpukit/score/cpu/mips/rtems/score/cpu.h
+++ b/cpukit/score/cpu/mips/rtems/score/cpu.h
@@ -598,17 +598,7 @@ 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 fields required on all CPUs */
} rtems_cpu_table;
/*
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
diff --git a/cpukit/score/cpu/no_cpu/ChangeLog b/cpukit/score/cpu/no_cpu/ChangeLog
index b482ec9569..1ff2c8a1ac 100644
--- a/cpukit/score/cpu/no_cpu/ChangeLog
+++ b/cpukit/score/cpu/no_cpu/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/no_cpu/rtems/score/cpu.h b/cpukit/score/cpu/no_cpu/rtems/score/cpu.h
index 757530ade1..8a811ba9ce 100644
--- a/cpukit/score/cpu/no_cpu/rtems/score/cpu.h
+++ b/cpukit/score/cpu/no_cpu/rtems/score/cpu.h
@@ -497,67 +497,13 @@ typedef struct {
*/
typedef struct {
- /** This element points to the BSP's pretasking hook. */
- void (*pretasking_hook)( void );
- /** This element points to the BSP's predriver hook. */
- 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 NO_CPU 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
diff --git a/cpukit/score/cpu/sh/ChangeLog b/cpukit/score/cpu/sh/ChangeLog
index f210eda9e3..eb572afe29 100644
--- a/cpukit/score/cpu/sh/ChangeLog
+++ b/cpukit/score/cpu/sh/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-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Eliminate the clicks_per_microsecond field in the
diff --git a/cpukit/score/cpu/sh/rtems/score/cpu.h b/cpukit/score/cpu/sh/rtems/score/cpu.h
index fd58a60496..0727a821b4 100644
--- a/cpukit/score/cpu/sh/rtems/score/cpu.h
+++ b/cpukit/score/cpu/sh/rtems/score/cpu.h
@@ -392,25 +392,11 @@ 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 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/sparc/ChangeLog b/cpukit/score/cpu/sparc/ChangeLog
index 5a69480be4..1dc6852095 100644
--- a/cpukit/score/cpu/sparc/ChangeLog
+++ b/cpukit/score/cpu/sparc/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-05-10 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1237/rtems
diff --git a/cpukit/score/cpu/sparc/rtems/score/cpu.h b/cpukit/score/cpu/sparc/rtems/score/cpu.h
index 8396d2c31f..7b3f47f421 100644
--- a/cpukit/score/cpu/sparc/rtems/score/cpu.h
+++ b/cpukit/score/cpu/sparc/rtems/score/cpu.h
@@ -505,32 +505,11 @@ 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 fields required on all CPUs */
-
} rtems_cpu_table;
/*
- * Macros to access required entires in the CPU Table are in
- * the file rtems/system.h.
- */
-
-/*
- * Macros to access SPARC specific additions to the CPU Table
- */
-
-/* There are no CPU specific additions to the CPU Table for this port. */
-
-/*
* This variable is contains the initialize context for the FP unit.
* It is filled in by _CPU_Initialize and copied into the task's FP
* context area during _CPU_Context_Initialize.
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 <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-06-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* 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,31 +498,10 @@ 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
* _CPU_Initialize and copied into the task's FP context area during