From ee29de05bc8c376620d95756a6034a96f690b7b5 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 4 Dec 2007 22:19:10 +0000 Subject: 2007-12-04 Joel Sherrill * 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. --- cpukit/score/cpu/unix/ChangeLog | 6 ++++++ cpukit/score/cpu/unix/cpu.c | 4 ---- cpukit/score/cpu/unix/rtems/score/cpu.h | 11 ----------- 3 files changed, 6 insertions(+), 15 deletions(-) (limited to 'cpukit/score/cpu/unix') 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 + + * 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 * 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) ); -- cgit v1.2.3