summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/nios2
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-04 22:19:10 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-04 22:19:10 +0000
commitee29de05bc8c376620d95756a6034a96f690b7b5 (patch)
tree67c24fdf5b514680780f6c11015b5eedee230d4b /cpukit/score/cpu/nios2
parent2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-ee29de05bc8c376620d95756a6034a96f690b7b5.tar.bz2
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.
Diffstat (limited to 'cpukit/score/cpu/nios2')
-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
3 files changed, 6 insertions, 27 deletions
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)
);