summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/cpu')
-rw-r--r--cpukit/score/cpu/arm/ChangeLog6
-rw-r--r--cpukit/score/cpu/arm/cpu.c3
-rw-r--r--cpukit/score/cpu/arm/rtems/score/cpu.h10
-rw-r--r--cpukit/score/cpu/avr/ChangeLog6
-rw-r--r--cpukit/score/cpu/avr/cpu.c2
-rw-r--r--cpukit/score/cpu/avr/rtems/score/cpu.h15
-rw-r--r--cpukit/score/cpu/bfin/ChangeLog6
-rw-r--r--cpukit/score/cpu/bfin/cpu.c2
-rw-r--r--cpukit/score/cpu/bfin/rtems/score/cpu.h19
-rw-r--r--cpukit/score/cpu/c4x/ChangeLog6
-rw-r--r--cpukit/score/cpu/c4x/cpu.c2
-rw-r--r--cpukit/score/cpu/c4x/rtems/score/cpu.h14
-rw-r--r--cpukit/score/cpu/h8300/ChangeLog6
-rw-r--r--cpukit/score/cpu/h8300/cpu.c2
-rw-r--r--cpukit/score/cpu/h8300/rtems/score/cpu.h18
-rw-r--r--cpukit/score/cpu/i386/ChangeLog6
-rw-r--r--cpukit/score/cpu/i386/cpu.c2
-rw-r--r--cpukit/score/cpu/i386/rtems/score/cpu.h13
-rw-r--r--cpukit/score/cpu/m68k/ChangeLog6
-rw-r--r--cpukit/score/cpu/m68k/cpu.c2
-rw-r--r--cpukit/score/cpu/m68k/rtems/score/cpu.h10
-rw-r--r--cpukit/score/cpu/mips/ChangeLog6
-rw-r--r--cpukit/score/cpu/mips/cpu.c4
-rw-r--r--cpukit/score/cpu/mips/rtems/score/cpu.h11
-rw-r--r--cpukit/score/cpu/nios2/ChangeLog6
-rw-r--r--cpukit/score/cpu/nios2/cpu.c2
-rw-r--r--cpukit/score/cpu/nios2/rtems/score/cpu.h25
-rw-r--r--cpukit/score/cpu/no_cpu/ChangeLog6
-rw-r--r--cpukit/score/cpu/no_cpu/cpu.c4
-rw-r--r--cpukit/score/cpu/no_cpu/rtems/score/cpu.h19
-rw-r--r--cpukit/score/cpu/sh/ChangeLog6
-rw-r--r--cpukit/score/cpu/sh/cpu.c2
-rw-r--r--cpukit/score/cpu/sh/rtems/score/cpu.h12
-rw-r--r--cpukit/score/cpu/sparc/ChangeLog6
-rw-r--r--cpukit/score/cpu/sparc/cpu.c2
-rw-r--r--cpukit/score/cpu/sparc/rtems/score/cpu.h12
-rw-r--r--cpukit/score/cpu/unix/ChangeLog6
-rw-r--r--cpukit/score/cpu/unix/cpu.c4
-rw-r--r--cpukit/score/cpu/unix/rtems/score/cpu.h11
39 files changed, 78 insertions, 222 deletions
diff --git a/cpukit/score/cpu/arm/ChangeLog b/cpukit/score/cpu/arm/ChangeLog
index 113cb25889..e1a57544b5 100644
--- a/cpukit/score/cpu/arm/ChangeLog
+++ b/cpukit/score/cpu/arm/ChangeLog
@@ -1,3 +1,9 @@
+2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * cpu.c, rtems/score/cpu.h: Move interrupt_stack_size field from CPU
+ Table to Configuration Table. Eliminate CPU Table from all ports.
+ Delete references to CPU Table in all forms.
+
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Moved most of the remaining CPU Table fields to
diff --git a/cpukit/score/cpu/arm/cpu.c b/cpukit/score/cpu/arm/cpu.c
index 9af0fe3dd0..8e7e23640c 100644
--- a/cpukit/score/cpu/arm/cpu.c
+++ b/cpukit/score/cpu/arm/cpu.c
@@ -30,13 +30,10 @@
* This routine performs processor dependent initialization.
*
* INPUT PARAMETERS:
- * cpu_table - CPU table to initialize
* thread_dispatch - address of ISR disptaching routine (unused)
- *
*/
void _CPU_Initialize(
- rtems_cpu_table *cpu_table,
void (*thread_dispatch) /* ignored on this CPU */
)
{
diff --git a/cpukit/score/cpu/arm/rtems/score/cpu.h b/cpukit/score/cpu/arm/rtems/score/cpu.h
index 17c221ab43..30d2504e4b 100644
--- a/cpukit/score/cpu/arm/rtems/score/cpu.h
+++ b/cpukit/score/cpu/arm/rtems/score/cpu.h
@@ -380,15 +380,6 @@ extern void rtems_exception_init_mngt();
typedef CPU_Exception_frame CPU_Interrupt_frame;
/*
- * The following table contains the information required to configure
- * the XXX processor specific parameters.
- */
-
-typedef struct {
- uint32_t interrupt_stack_size;
-} rtems_cpu_table;
-
-/*
* 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
@@ -706,7 +697,6 @@ void _CPU_Context_Initialize(
*/
void _CPU_Initialize(
- rtems_cpu_table *cpu_table,
void (*thread_dispatch)
);
diff --git a/cpukit/score/cpu/avr/ChangeLog b/cpukit/score/cpu/avr/ChangeLog
index f44a34cb5a..c2adeb7564 100644
--- a/cpukit/score/cpu/avr/ChangeLog
+++ b/cpukit/score/cpu/avr/ChangeLog
@@ -1,3 +1,9 @@
+2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * cpu.c, rtems/score/cpu.h: Move interrupt_stack_size field from CPU
+ Table to Configuration Table. Eliminate CPU Table from all ports.
+ Delete references to CPU Table in all forms.
+
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Moved most of the remaining CPU Table fields to
diff --git a/cpukit/score/cpu/avr/cpu.c b/cpukit/score/cpu/avr/cpu.c
index 795db0aa53..9bcd58472c 100644
--- a/cpukit/score/cpu/avr/cpu.c
+++ b/cpukit/score/cpu/avr/cpu.c
@@ -21,7 +21,6 @@
* This routine performs processor dependent initialization.
*
* INPUT PARAMETERS:
- * cpu_table - CPU table to initialize
* thread_dispatch - address of disptaching routine
*
* NO_CPU Specific Information:
@@ -31,7 +30,6 @@
void _CPU_Initialize(
- rtems_cpu_table *cpu_table,
void (*thread_dispatch) /* ignored on this CPU */
)
{
diff --git a/cpukit/score/cpu/avr/rtems/score/cpu.h b/cpukit/score/cpu/avr/rtems/score/cpu.h
index 5d810a93a2..d38dc692a9 100644
--- a/cpukit/score/cpu/avr/rtems/score/cpu.h
+++ b/cpukit/score/cpu/avr/rtems/score/cpu.h
@@ -418,20 +418,6 @@ typedef struct {
uint32_t special_interrupt_register;
} CPU_Interrupt_frame;
-
-/*
- * The following table contains the information required to configure
- * the XXX processor specific parameters.
- *
- * AVR Specific Information:
- *
- * XXX document implementation including references if appropriate
- */
-
-typedef struct {
- uint32_t interrupt_stack_size;
-} rtems_cpu_table;
-
/*
* 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
@@ -934,7 +920,6 @@ uint32_t _CPU_ISR_Get_level( void );
*/
void _CPU_Initialize(
- rtems_cpu_table *cpu_table,
void (*thread_dispatch)
);
diff --git a/cpukit/score/cpu/bfin/ChangeLog b/cpukit/score/cpu/bfin/ChangeLog
index 2612f8e54b..a7e94ce466 100644
--- a/cpukit/score/cpu/bfin/ChangeLog
+++ b/cpukit/score/cpu/bfin/ChangeLog
@@ -1,3 +1,9 @@
+2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * cpu.c, rtems/score/cpu.h: Move interrupt_stack_size field from CPU
+ Table to Configuration Table. Eliminate CPU Table from all ports.
+ Delete references to CPU Table in all forms.
+
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Moved most of the remaining CPU Table fields to
diff --git a/cpukit/score/cpu/bfin/cpu.c b/cpukit/score/cpu/bfin/cpu.c
index cc85487e2e..2fecc9279d 100644
--- a/cpukit/score/cpu/bfin/cpu.c
+++ b/cpukit/score/cpu/bfin/cpu.c
@@ -22,7 +22,6 @@
* This routine performs processor dependent initialization.
*
* INPUT PARAMETERS:
- * cpu_table - CPU table to initialize
* thread_dispatch - address of disptaching routine
*
* NO_CPU Specific Information:
@@ -32,7 +31,6 @@
void _CPU_Initialize(
- rtems_cpu_table *cpu_table,
void (*thread_dispatch) /* ignored on this CPU */
)
{
diff --git a/cpukit/score/cpu/bfin/rtems/score/cpu.h b/cpukit/score/cpu/bfin/rtems/score/cpu.h
index dd480567eb..2199c8bfd3 100644
--- a/cpukit/score/cpu/bfin/rtems/score/cpu.h
+++ b/cpukit/score/cpu/bfin/rtems/score/cpu.h
@@ -549,24 +549,6 @@ typedef struct {
/*uint32_t special_interrupt_register;*/
} CPU_Interrupt_frame;
-
-/**
- * The following table contains the information required to configure
- * the XXX processor specific parameters.
- *
- * Port Specific Information:
- *
- * XXX document implementation including references if appropriate
- */
-
-typedef struct {
- /** 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;
-} rtems_cpu_table;
-
/**
* 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
@@ -1162,7 +1144,6 @@ void _CPU_Context_Initialize(
* XXX document implementation including references if appropriate
*/
void _CPU_Initialize(
- rtems_cpu_table *cpu_table,
void (*thread_dispatch)
);
diff --git a/cpukit/score/cpu/c4x/ChangeLog b/cpukit/score/cpu/c4x/ChangeLog
index 0974436247..ba902ad62b 100644
--- a/cpukit/score/cpu/c4x/ChangeLog
+++ b/cpukit/score/cpu/c4x/ChangeLog
@@ -1,3 +1,9 @@
+2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * cpu.c, rtems/score/cpu.h: Move interrupt_stack_size field from CPU
+ Table to Configuration Table. Eliminate CPU Table from all ports.
+ Delete references to CPU Table in all forms.
+
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Moved most of the remaining CPU Table fields to
diff --git a/cpukit/score/cpu/c4x/cpu.c b/cpukit/score/cpu/c4x/cpu.c
index e98bf9c9ed..e7f485615c 100644
--- a/cpukit/score/cpu/c4x/cpu.c
+++ b/cpukit/score/cpu/c4x/cpu.c
@@ -22,7 +22,6 @@
* This routine performs processor dependent initialization.
*
* INPUT PARAMETERS:
- * cpu_table - CPU table to initialize
* thread_dispatch - address of disptaching routine
*
* C4x Specific Information:
@@ -30,7 +29,6 @@
*/
void _CPU_Initialize(
- rtems_cpu_table *cpu_table,
void (*thread_dispatch) /* ignored on this CPU */
)
{
diff --git a/cpukit/score/cpu/c4x/rtems/score/cpu.h b/cpukit/score/cpu/c4x/rtems/score/cpu.h
index c5cec7a6ff..6809c1d14e 100644
--- a/cpukit/score/cpu/c4x/rtems/score/cpu.h
+++ b/cpukit/score/cpu/c4x/rtems/score/cpu.h
@@ -520,19 +520,6 @@ typedef struct {
} CPU_Interrupt_frame;
/*
- * The following table contains the information required to configure
- * the C4x processor specific parameters.
- *
- * C4x Specific Information:
- *
- * XXXanswer
- */
-
-typedef struct {
- uint32_t interrupt_stack_size;
-} rtems_cpu_table;
-
-/*
* Macros to access C4X specific additions to the CPU Table
*
* C4x Specific Information:
@@ -1076,7 +1063,6 @@ void _CPU_Context_Initialize(
*/
void _CPU_Initialize(
- rtems_cpu_table *cpu_table,
void (*thread_dispatch)
);
diff --git a/cpukit/score/cpu/h8300/ChangeLog b/cpukit/score/cpu/h8300/ChangeLog
index 7366370545..936c6ab50d 100644
--- a/cpukit/score/cpu/h8300/ChangeLog
+++ b/cpukit/score/cpu/h8300/ChangeLog
@@ -1,3 +1,9 @@
+2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * cpu.c, rtems/score/cpu.h: Move interrupt_stack_size field from CPU
+ Table to Configuration Table. Eliminate CPU Table from all ports.
+ Delete references to CPU Table in all forms.
+
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Moved most of the remaining CPU Table fields to
diff --git a/cpukit/score/cpu/h8300/cpu.c b/cpukit/score/cpu/h8300/cpu.c
index b41a4f280c..9249d2fac4 100644
--- a/cpukit/score/cpu/h8300/cpu.c
+++ b/cpukit/score/cpu/h8300/cpu.c
@@ -20,13 +20,11 @@
* This routine performs processor dependent initialization.
*
* INPUT PARAMETERS:
- * cpu_table - CPU table to initialize
* thread_dispatch - address of disptaching routine
*/
void _CPU_Initialize(
- rtems_cpu_table *cpu_table,
void (*thread_dispatch) /* ignored on this CPU */
)
{
diff --git a/cpukit/score/cpu/h8300/rtems/score/cpu.h b/cpukit/score/cpu/h8300/rtems/score/cpu.h
index 8f66b0d5c2..55506442d5 100644
--- a/cpukit/score/cpu/h8300/rtems/score/cpu.h
+++ b/cpukit/score/cpu/h8300/rtems/score/cpu.h
@@ -396,23 +396,6 @@ typedef struct {
uint32_t special_interrupt_register;
} CPU_Interrupt_frame;
-
-/*
- * The following table contains the information required to configure
- * the XXX processor specific parameters.
- *
- * NOTE: The interrupt_stack_size field is required if
- * CPU_ALLOCATE_INTERRUPT_STACK is defined as TRUE.
- *
- * H8300 Specific Information:
- *
- * XXX
- */
-
-typedef struct {
- uint32_t interrupt_stack_size;
-} rtems_cpu_table;
-
/*
* 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
@@ -993,7 +976,6 @@ uint32_t _CPU_ISR_Get_level( void );
*/
void _CPU_Initialize(
- rtems_cpu_table *cpu_table,
void (*thread_dispatch)
);
diff --git a/cpukit/score/cpu/i386/ChangeLog b/cpukit/score/cpu/i386/ChangeLog
index 72af672bc6..d9f7c5a2c3 100644
--- a/cpukit/score/cpu/i386/ChangeLog
+++ b/cpukit/score/cpu/i386/ChangeLog
@@ -1,3 +1,9 @@
+2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * cpu.c, rtems/score/cpu.h: Move interrupt_stack_size field from CPU
+ Table to Configuration Table. Eliminate CPU Table from all ports.
+ Delete references to CPU Table in all forms.
+
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Moved most of the remaining CPU Table fields to
diff --git a/cpukit/score/cpu/i386/cpu.c b/cpukit/score/cpu/i386/cpu.c
index f6821e9927..08f9930271 100644
--- a/cpukit/score/cpu/i386/cpu.c
+++ b/cpukit/score/cpu/i386/cpu.c
@@ -26,13 +26,11 @@
* This routine performs processor dependent initialization.
*
* INPUT PARAMETERS:
- * cpu_table - CPU table to initialize
* thread_dispatch - address of disptaching routine
*/
void _CPU_Initialize(
- rtems_cpu_table *cpu_table,
void (*thread_dispatch) /* ignored on this CPU */
)
{
diff --git a/cpukit/score/cpu/i386/rtems/score/cpu.h b/cpukit/score/cpu/i386/rtems/score/cpu.h
index 4fc1db1933..616d1dfb58 100644
--- a/cpukit/score/cpu/i386/rtems/score/cpu.h
+++ b/cpukit/score/cpu/i386/rtems/score/cpu.h
@@ -179,18 +179,6 @@ typedef enum {
/*
- * The following table contains the information required to configure
- * the i386 specific parameters.
- */
-
-typedef struct {
- void (*pretasking_hook)( void );
- void (*predriver_hook)( void );
- void (*postdriver_hook)( void );
- uint32_t interrupt_stack_size;
-} rtems_cpu_table;
-
-/*
* context size area for floating point
*
* NOTE: This is out of place on the i386 to avoid a forward reference.
@@ -399,7 +387,6 @@ uint32_t _CPU_ISR_Get_level( void );
*/
void _CPU_Initialize(
- rtems_cpu_table *cpu_table,
void (*thread_dispatch)
);
diff --git a/cpukit/score/cpu/m68k/ChangeLog b/cpukit/score/cpu/m68k/ChangeLog
index 6914b2cc89..928937bb35 100644
--- a/cpukit/score/cpu/m68k/ChangeLog
+++ b/cpukit/score/cpu/m68k/ChangeLog
@@ -1,3 +1,9 @@
+2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * cpu.c, rtems/score/cpu.h: Move interrupt_stack_size field from CPU
+ Table to Configuration Table. Eliminate CPU Table from all ports.
+ Delete references to CPU Table in all forms.
+
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Moved most of the remaining CPU Table fields to
diff --git a/cpukit/score/cpu/m68k/cpu.c b/cpukit/score/cpu/m68k/cpu.c
index 4ae862d8d5..6eb3ef7967 100644
--- a/cpukit/score/cpu/m68k/cpu.c
+++ b/cpukit/score/cpu/m68k/cpu.c
@@ -19,14 +19,12 @@
* This routine performs processor dependent initialization.
*
* INPUT PARAMETERS:
- * cpu_table - CPU table to initialize
* thread_dispatch - entry pointer to thread dispatcher
*
* OUTPUT PARAMETERS: NONE
*/
void _CPU_Initialize(
- rtems_cpu_table *cpu_table,
void (*thread_dispatch) /* ignored on this CPU */
)
{
diff --git a/cpukit/score/cpu/m68k/rtems/score/cpu.h b/cpukit/score/cpu/m68k/rtems/score/cpu.h
index 7d7ca24958..57652ca3e0 100644
--- a/cpukit/score/cpu/m68k/rtems/score/cpu.h
+++ b/cpukit/score/cpu/m68k/rtems/score/cpu.h
@@ -185,15 +185,6 @@ typedef struct {
uint32_t a0, a1, a2, a3, a4, a5, a6, a7;
} CPU_Exception_frame;
-/*
- * The following table contains the information required to configure
- * the m68k specific parameters.
- */
-
-typedef struct {
- uint32_t interrupt_stack_size;
-} rtems_cpu_table;
-
/* variables */
SCORE_EXTERN void *_CPU_Interrupt_stack_low;
@@ -562,7 +553,6 @@ void _CPU_Thread_Idle_body( void );
*/
void _CPU_Initialize(
- rtems_cpu_table *cpu_table,
void (*thread_dispatch)
);
diff --git a/cpukit/score/cpu/mips/ChangeLog b/cpukit/score/cpu/mips/ChangeLog
index 6b61f9a2dd..ccb047ddc4 100644
--- a/cpukit/score/cpu/mips/ChangeLog
+++ b/cpukit/score/cpu/mips/ChangeLog
@@ -1,3 +1,9 @@
+2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * cpu.c, rtems/score/cpu.h: Move interrupt_stack_size field from CPU
+ Table to Configuration Table. Eliminate CPU Table from all ports.
+ Delete references to CPU Table in all forms.
+
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Moved most of the remaining CPU Table fields to
diff --git a/cpukit/score/cpu/mips/cpu.c b/cpukit/score/cpu/mips/cpu.c
index 87099df7d7..1436f042c4 100644
--- a/cpukit/score/cpu/mips/cpu.c
+++ b/cpukit/score/cpu/mips/cpu.c
@@ -71,13 +71,9 @@ ESF_PTR_TYPE __exceptionStackFrame = 0;
* This routine performs processor dependent initialization.
*
* INPUT PARAMETERS:
- * cpu_table - CPU table to initialize
* thread_dispatch - address of disptaching routine
*/
-
-
void _CPU_Initialize(
- rtems_cpu_table *cpu_table,
void (*thread_dispatch) /* ignored on this CPU */
)
{
diff --git a/cpukit/score/cpu/mips/rtems/score/cpu.h b/cpukit/score/cpu/mips/rtems/score/cpu.h
index 28a64c558e..2b9727fd80 100644
--- a/cpukit/score/cpu/mips/rtems/score/cpu.h
+++ b/cpukit/score/cpu/mips/rtems/score/cpu.h
@@ -591,16 +591,6 @@ typedef struct
} CPU_Interrupt_frame;
-
-/*
- * The following table contains the information required to configure
- * the mips processor specific parameters.
- */
-
-typedef struct {
- uint32_t interrupt_stack_size;
-} rtems_cpu_table;
-
/*
* 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
@@ -1057,7 +1047,6 @@ extern void mips_break( int error );
*/
void _CPU_Initialize(
- rtems_cpu_table *cpu_table,
void (*thread_dispatch)
);
diff --git a/cpukit/score/cpu/nios2/ChangeLog b/cpukit/score/cpu/nios2/ChangeLog
index e4ebb2e732..f2d6c9d0b0 100644
--- a/cpukit/score/cpu/nios2/ChangeLog
+++ b/cpukit/score/cpu/nios2/ChangeLog
@@ -1,3 +1,9 @@
+2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * cpu.c, rtems/score/cpu.h: Move interrupt_stack_size field from CPU
+ Table to Configuration Table. Eliminate CPU Table from all ports.
+ Delete references to CPU Table in all forms.
+
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Moved most of the remaining CPU Table fields to
diff --git a/cpukit/score/cpu/nios2/cpu.c b/cpukit/score/cpu/nios2/cpu.c
index de736f6ddc..5118e50e38 100644
--- a/cpukit/score/cpu/nios2/cpu.c
+++ b/cpukit/score/cpu/nios2/cpu.c
@@ -20,7 +20,6 @@
* This routine performs processor dependent initialization.
*
* INPUT PARAMETERS:
- * cpu_table - CPU table to initialize
* thread_dispatch - address of disptaching routine
*
* NO_CPU Specific Information:
@@ -30,7 +29,6 @@
void _CPU_Initialize(
- rtems_cpu_table *cpu_table,
void (*thread_dispatch) /* ignored on this CPU */
)
{
diff --git a/cpukit/score/cpu/nios2/rtems/score/cpu.h b/cpukit/score/cpu/nios2/rtems/score/cpu.h
index e7225d8fcc..ad066305b6 100644
--- a/cpukit/score/cpu/nios2/rtems/score/cpu.h
+++ b/cpukit/score/cpu/nios2/rtems/score/cpu.h
@@ -541,30 +541,6 @@ typedef struct {
uint32_t ipending;
} CPU_Exception_frame;
-
-/**
- * The following table contains the information required to configure
- * the XXX processor specific parameters.
- *
- * Port Specific Information:
- *
- * XXX document implementation including references if appropriate
- */
-
-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 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;
-} rtems_cpu_table;
-
/**
* 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
@@ -1161,7 +1137,6 @@ uint32_t _CPU_ISR_Get_level( void );
* XXX document implementation including references if appropriate
*/
void _CPU_Initialize(
- rtems_cpu_table *cpu_table,
void (*thread_dispatch)
);
diff --git a/cpukit/score/cpu/no_cpu/ChangeLog b/cpukit/score/cpu/no_cpu/ChangeLog
index 1ff2c8a1ac..cc355c9525 100644
--- a/cpukit/score/cpu/no_cpu/ChangeLog
+++ b/cpukit/score/cpu/no_cpu/ChangeLog
@@ -1,3 +1,9 @@
+2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * cpu.c, rtems/score/cpu.h: Move interrupt_stack_size field from CPU
+ Table to Configuration Table. Eliminate CPU Table from all ports.
+ Delete references to CPU Table in all forms.
+
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Moved most of the remaining CPU Table fields to
diff --git a/cpukit/score/cpu/no_cpu/cpu.c b/cpukit/score/cpu/no_cpu/cpu.c
index 795db0aa53..d42b4b3171 100644
--- a/cpukit/score/cpu/no_cpu/cpu.c
+++ b/cpukit/score/cpu/no_cpu/cpu.c
@@ -21,17 +21,13 @@
* This routine performs processor dependent initialization.
*
* INPUT PARAMETERS:
- * cpu_table - CPU table to initialize
* thread_dispatch - address of disptaching routine
*
* NO_CPU Specific Information:
*
* XXX document implementation including references if appropriate
*/
-
-
void _CPU_Initialize(
- rtems_cpu_table *cpu_table,
void (*thread_dispatch) /* ignored on this CPU */
)
{
diff --git a/cpukit/score/cpu/no_cpu/rtems/score/cpu.h b/cpukit/score/cpu/no_cpu/rtems/score/cpu.h
index 8a811ba9ce..221cd4c59d 100644
--- a/cpukit/score/cpu/no_cpu/rtems/score/cpu.h
+++ b/cpukit/score/cpu/no_cpu/rtems/score/cpu.h
@@ -486,24 +486,6 @@ typedef struct {
uint32_t special_interrupt_register;
} CPU_Interrupt_frame;
-
-/**
- * The following table contains the information required to configure
- * the XXX processor specific parameters.
- *
- * Port Specific Information:
- *
- * XXX document implementation including references if appropriate
- */
-
-typedef struct {
- /** 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;
-} rtems_cpu_table;
-
/**
* 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
@@ -1076,7 +1058,6 @@ uint32_t _CPU_ISR_Get_level( void );
* XXX document implementation including references if appropriate
*/
void _CPU_Initialize(
- rtems_cpu_table *cpu_table,
void (*thread_dispatch)
);
diff --git a/cpukit/score/cpu/sh/ChangeLog b/cpukit/score/cpu/sh/ChangeLog
index eb572afe29..7af7910045 100644
--- a/cpukit/score/cpu/sh/ChangeLog
+++ b/cpukit/score/cpu/sh/ChangeLog
@@ -1,3 +1,9 @@
+2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * cpu.c, rtems/score/cpu.h: Move interrupt_stack_size field from CPU
+ Table to Configuration Table. Eliminate CPU Table from all ports.
+ Delete references to CPU Table in all forms.
+
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Moved most of the remaining CPU Table fields to
diff --git a/cpukit/score/cpu/sh/cpu.c b/cpukit/score/cpu/sh/cpu.c
index 0e79192755..9c2c48cd06 100644
--- a/cpukit/score/cpu/sh/cpu.c
+++ b/cpukit/score/cpu/sh/cpu.c
@@ -40,13 +40,11 @@ extern proc_ptr _Hardware_isr_Table[];
* This routine performs processor dependent initialization.
*
* INPUT PARAMETERS:
- * cpu_table - CPU table to initialize
* thread_dispatch - address of disptaching routine
*/
void _CPU_Initialize(
- rtems_cpu_table *cpu_table,
void (*thread_dispatch) /* ignored on this CPU */
)
{
diff --git a/cpukit/score/cpu/sh/rtems/score/cpu.h b/cpukit/score/cpu/sh/rtems/score/cpu.h
index 0727a821b4..8fc01bd9e4 100644
--- a/cpukit/score/cpu/sh/rtems/score/cpu.h
+++ b/cpukit/score/cpu/sh/rtems/score/cpu.h
@@ -385,17 +385,6 @@ typedef struct {
typedef struct {
} CPU_Interrupt_frame;
-
-/*
- * The following table contains the information required to configure
- * the SH processor specific parameters.
- */
-
-typedef struct {
- uint32_t interrupt_stack_size;
- /* end of fields required on all CPUs */
-} rtems_cpu_table;
-
/*
* 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
@@ -821,7 +810,6 @@ extern uint8_t _bit_set_table[];
*/
void _CPU_Initialize(
- rtems_cpu_table *cpu_table,
void (*thread_dispatch)
);
diff --git a/cpukit/score/cpu/sparc/ChangeLog b/cpukit/score/cpu/sparc/ChangeLog
index 1dc6852095..bc03c0a2f3 100644
--- a/cpukit/score/cpu/sparc/ChangeLog
+++ b/cpukit/score/cpu/sparc/ChangeLog
@@ -1,3 +1,9 @@
+2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * cpu.c, rtems/score/cpu.h: Move interrupt_stack_size field from CPU
+ Table to Configuration Table. Eliminate CPU Table from all ports.
+ Delete references to CPU Table in all forms.
+
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Moved most of the remaining CPU Table fields to
diff --git a/cpukit/score/cpu/sparc/cpu.c b/cpukit/score/cpu/sparc/cpu.c
index b90b42da6c..64b72056d0 100644
--- a/cpukit/score/cpu/sparc/cpu.c
+++ b/cpukit/score/cpu/sparc/cpu.c
@@ -39,7 +39,6 @@ const CPU_Trap_table_entry _CPU_Trap_slot_template = {
* This routine performs processor dependent initialization.
*
* Input Parameters:
- * cpu_table - CPU table to initialize
* thread_dispatch - address of disptaching routine
*
* Output Parameters: NONE
@@ -49,7 +48,6 @@ const CPU_Trap_table_entry _CPU_Trap_slot_template = {
*/
void _CPU_Initialize(
- rtems_cpu_table *cpu_table,
void (*thread_dispatch) /* ignored on this CPU */
)
{
diff --git a/cpukit/score/cpu/sparc/rtems/score/cpu.h b/cpukit/score/cpu/sparc/rtems/score/cpu.h
index 7b3f47f421..c5c5aec637 100644
--- a/cpukit/score/cpu/sparc/rtems/score/cpu.h
+++ b/cpukit/score/cpu/sparc/rtems/score/cpu.h
@@ -498,17 +498,6 @@ typedef struct {
#define CONTEXT_CONTROL_INTERRUPT_FRAME_SIZE CPU_MINIMUM_STACK_FRAME_SIZE + 0x50
#ifndef ASM
-
-/*
- * The following table contains the information required to configure
- * the processor specific parameters.
- */
-
-typedef struct {
- uint32_t interrupt_stack_size;
- /* end of fields required on all CPUs */
-} rtems_cpu_table;
-
/*
* 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
@@ -881,7 +870,6 @@ void _CPU_Context_Initialize(
*/
void _CPU_Initialize(
- rtems_cpu_table *cpu_table,
void (*thread_dispatch)
);
diff --git a/cpukit/score/cpu/unix/ChangeLog b/cpukit/score/cpu/unix/ChangeLog
index 1faba3882f..0394e26422 100644
--- a/cpukit/score/cpu/unix/ChangeLog
+++ b/cpukit/score/cpu/unix/ChangeLog
@@ -1,3 +1,9 @@
+2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * cpu.c, rtems/score/cpu.h: Move interrupt_stack_size field from CPU
+ Table to Configuration Table. Eliminate CPU Table from all ports.
+ Delete references to CPU Table in all forms.
+
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Moved most of the remaining CPU Table fields to
diff --git a/cpukit/score/cpu/unix/cpu.c b/cpukit/score/cpu/unix/cpu.c
index 9177e376d3..d107b0dd71 100644
--- a/cpukit/score/cpu/unix/cpu.c
+++ b/cpukit/score/cpu/unix/cpu.c
@@ -272,13 +272,11 @@ uint32_t _CPU_ISR_Get_level( void )
* This routine performs processor dependent initialization.
*
* INPUT PARAMETERS:
- * cpu_table - CPU table to initialize
* thread_dispatch - address of disptaching routine
*/
void _CPU_Initialize(
- rtems_cpu_table *cpu_table,
void (*thread_dispatch) /* ignored on this CPU */
)
{
@@ -313,8 +311,6 @@ void _CPU_Initialize(
/* XXX: FP context initialization support */
- _CPU_Table = *cpu_table;
-
_CPU_Sync_io_Init();
_CPU_Context_From_CPU_Init();
diff --git a/cpukit/score/cpu/unix/rtems/score/cpu.h b/cpukit/score/cpu/unix/rtems/score/cpu.h
index 1281a302c3..2d5d752748 100644
--- a/cpukit/score/cpu/unix/rtems/score/cpu.h
+++ b/cpukit/score/cpu/unix/rtems/score/cpu.h
@@ -491,16 +491,6 @@ typedef struct {
typedef struct {
} CPU_Interrupt_frame;
-
-/*
- * The following table contains the information required to configure
- * the UNIX Simulator specific parameters.
- */
-
-typedef struct {
- uint32_t interrupt_stack_size;
-} rtems_cpu_table;
-
/*
* 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
@@ -874,7 +864,6 @@ extern void _CPU_Context_Initialize(
*/
void _CPU_Initialize(
- rtems_cpu_table *cpu_table,
void (*thread_dispatch)
);