diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-12-04 22:22:03 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-12-04 22:22:03 +0000 |
commit | cafa2c5d0586ad7933e3fe543c7602a549ce692e (patch) | |
tree | 2ad15de8657874421853a56031814deb3b7b3076 /c | |
parent | 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-cafa2c5d0586ad7933e3fe543c7602a549ce692e.tar.bz2 |
2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c: 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 'c')
26 files changed, 81 insertions, 87 deletions
diff --git a/c/src/lib/libbsp/h8300/h8sim/ChangeLog b/c/src/lib/libbsp/h8300/h8sim/ChangeLog index ebeab9fe98..61d7f78679 100644 --- a/c/src/lib/libbsp/h8300/h8sim/ChangeLog +++ b/c/src/lib/libbsp/h8300/h8sim/ChangeLog @@ -1,3 +1,9 @@ +2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com> + + * startup/bspstart.c: 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> * Makefile.am, startup/bspstart.c: Moved most of the remaining CPU diff --git a/c/src/lib/libbsp/h8300/h8sim/startup/bspstart.c b/c/src/lib/libbsp/h8300/h8sim/startup/bspstart.c index 72179314a2..d1e06e252d 100644 --- a/c/src/lib/libbsp/h8300/h8sim/startup/bspstart.c +++ b/c/src/lib/libbsp/h8300/h8sim/startup/bspstart.c @@ -29,8 +29,6 @@ extern rtems_configuration_table Configuration; rtems_configuration_table BSP_Configuration; -rtems_cpu_table Cpu_table; - char *rtems_progname; /* @@ -83,8 +81,6 @@ void bsp_start( void ) { extern int WorkspaceBase; - Cpu_table.interrupt_stack_size = 4096; - /* if ( BSP_Configuration.work_space_size >(512*1024) ) _sys_exit( 1 ); diff --git a/c/src/lib/libbsp/m68k/av5282/ChangeLog b/c/src/lib/libbsp/m68k/av5282/ChangeLog index 3aef711a75..74f2a5ef44 100644 --- a/c/src/lib/libbsp/m68k/av5282/ChangeLog +++ b/c/src/lib/libbsp/m68k/av5282/ChangeLog @@ -1,3 +1,9 @@ +2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com> + + * startup/bspstart.c: 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> * Makefile.am, startup/bspstart.c: Moved most of the remaining CPU diff --git a/c/src/lib/libbsp/m68k/av5282/startup/bspstart.c b/c/src/lib/libbsp/m68k/av5282/startup/bspstart.c index 7932d7d19c..412c6ba282 100644 --- a/c/src/lib/libbsp/m68k/av5282/startup/bspstart.c +++ b/c/src/lib/libbsp/m68k/av5282/startup/bspstart.c @@ -32,7 +32,6 @@ */ extern rtems_configuration_table Configuration; rtems_configuration_table BSP_Configuration; -rtems_cpu_table Cpu_table; char *rtems_progname; /* @@ -187,11 +186,6 @@ void bsp_start( void ) BSP_Configuration.work_space_start = (void *)_WorkspaceBase; /* - * initialize the CPU table for this BSP - */ - Cpu_table.interrupt_stack_size = 4096; - - /* * Invalidate the cache and disable it */ m68k_set_acr0(0); diff --git a/c/src/lib/libbsp/m68k/mcf5235/ChangeLog b/c/src/lib/libbsp/m68k/mcf5235/ChangeLog index 433580c209..db4bebe3da 100644 --- a/c/src/lib/libbsp/m68k/mcf5235/ChangeLog +++ b/c/src/lib/libbsp/m68k/mcf5235/ChangeLog @@ -1,3 +1,9 @@ +2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com> + + * startup/bspstart.c: 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> * Makefile.am, startup/bspstart.c: Moved most of the remaining CPU diff --git a/c/src/lib/libbsp/m68k/mcf5235/startup/bspstart.c b/c/src/lib/libbsp/m68k/mcf5235/startup/bspstart.c index 67db080474..b3f9a03e61 100644 --- a/c/src/lib/libbsp/m68k/mcf5235/startup/bspstart.c +++ b/c/src/lib/libbsp/m68k/mcf5235/startup/bspstart.c @@ -32,10 +32,8 @@ */ extern rtems_configuration_table Configuration; rtems_configuration_table BSP_Configuration; -rtems_cpu_table Cpu_table; char *rtems_progname; - /* * Cacheable areas */ @@ -180,11 +178,6 @@ void bsp_start( void ) BSP_Configuration.work_space_start = (void *)_WorkspaceBase; /* - * initialize the CPU table for this BSP - */ - Cpu_table.interrupt_stack_size = 4096; - - /* * Invalidate the cache and disable it */ m68k_set_acr0(0); diff --git a/c/src/lib/libbsp/m68k/sim68000/ChangeLog b/c/src/lib/libbsp/m68k/sim68000/ChangeLog index 3a132235a1..cb868f823e 100644 --- a/c/src/lib/libbsp/m68k/sim68000/ChangeLog +++ b/c/src/lib/libbsp/m68k/sim68000/ChangeLog @@ -1,3 +1,9 @@ +2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com> + + * startup/bspstart.c: 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> * startup/bspstart.c: Moved most of the remaining CPU Table fields to diff --git a/c/src/lib/libbsp/m68k/sim68000/startup/bspstart.c b/c/src/lib/libbsp/m68k/sim68000/startup/bspstart.c index 105cc28cc5..cb5d908aaf 100644 --- a/c/src/lib/libbsp/m68k/sim68000/startup/bspstart.c +++ b/c/src/lib/libbsp/m68k/sim68000/startup/bspstart.c @@ -26,11 +26,7 @@ */ extern rtems_configuration_table Configuration; - rtems_configuration_table BSP_Configuration; - -rtems_cpu_table Cpu_table; - char *rtems_progname; /* diff --git a/c/src/lib/libbsp/mips/csb350/ChangeLog b/c/src/lib/libbsp/mips/csb350/ChangeLog index ea084a6f1e..4b6b6916ef 100644 --- a/c/src/lib/libbsp/mips/csb350/ChangeLog +++ b/c/src/lib/libbsp/mips/csb350/ChangeLog @@ -1,3 +1,9 @@ +2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com> + + * startup/bspstart.c: 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> * Makefile.am, startup/bspstart.c: Moved most of the remaining CPU diff --git a/c/src/lib/libbsp/mips/csb350/startup/bspstart.c b/c/src/lib/libbsp/mips/csb350/startup/bspstart.c index c77e611a29..239f40d69b 100644 --- a/c/src/lib/libbsp/mips/csb350/startup/bspstart.c +++ b/c/src/lib/libbsp/mips/csb350/startup/bspstart.c @@ -34,11 +34,7 @@ unsigned long free_mem_start; unsigned long free_mem_end; extern rtems_configuration_table Configuration; - rtems_configuration_table BSP_Configuration; - -rtems_cpu_table Cpu_table; - char *rtems_progname; au1x00_uart_t *uart0 = (au1x00_uart_t *)AU1X00_UART0_ADDR; @@ -96,8 +92,6 @@ void bsp_start( void ) extern void mips_install_isr_entries(void); unsigned int compare = 0; - Cpu_table.interrupt_stack_size = 8192; - /* Place RTEMS workspace at beginning of free memory. */ BSP_Configuration.work_space_start = (void *)&_bss_free_start; diff --git a/c/src/lib/libbsp/mips/genmongoosev/ChangeLog b/c/src/lib/libbsp/mips/genmongoosev/ChangeLog index cee03ddb62..56420fe49c 100644 --- a/c/src/lib/libbsp/mips/genmongoosev/ChangeLog +++ b/c/src/lib/libbsp/mips/genmongoosev/ChangeLog @@ -1,3 +1,9 @@ +2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com> + + * startup/bspstart.c: 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> * Makefile.am, startup/bspstart.c: Moved most of the remaining CPU diff --git a/c/src/lib/libbsp/mips/genmongoosev/startup/bspstart.c b/c/src/lib/libbsp/mips/genmongoosev/startup/bspstart.c index 29192f142a..9d9179970b 100644 --- a/c/src/lib/libbsp/mips/genmongoosev/startup/bspstart.c +++ b/c/src/lib/libbsp/mips/genmongoosev/startup/bspstart.c @@ -31,11 +31,7 @@ */ extern rtems_configuration_table Configuration; - rtems_configuration_table BSP_Configuration; - -rtems_cpu_table Cpu_table; - char *rtems_progname; /* @@ -87,8 +83,6 @@ void bsp_start( void ) extern void mips_install_isr_entries(); extern void mips_gdb_stub_install(void); - Cpu_table.interrupt_stack_size = 4096; - /* HACK -- tied to value linkcmds */ if ( BSP_Configuration.work_space_size > (4096*1024) ) _sys_exit( 1 ); diff --git a/c/src/lib/libbsp/mips/jmr3904/ChangeLog b/c/src/lib/libbsp/mips/jmr3904/ChangeLog index 7fa5b26b9a..6c58cf577a 100644 --- a/c/src/lib/libbsp/mips/jmr3904/ChangeLog +++ b/c/src/lib/libbsp/mips/jmr3904/ChangeLog @@ -1,3 +1,9 @@ +2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com> + + * startup/bspstart.c: 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> * Makefile.am, startup/bspstart.c: Moved most of the remaining CPU diff --git a/c/src/lib/libbsp/mips/jmr3904/startup/bspstart.c b/c/src/lib/libbsp/mips/jmr3904/startup/bspstart.c index a672bbe6d3..e3a11c46de 100644 --- a/c/src/lib/libbsp/mips/jmr3904/startup/bspstart.c +++ b/c/src/lib/libbsp/mips/jmr3904/startup/bspstart.c @@ -26,11 +26,7 @@ */ extern rtems_configuration_table Configuration; - rtems_configuration_table BSP_Configuration; - -rtems_cpu_table Cpu_table; - char *rtems_progname; /* @@ -81,8 +77,6 @@ void bsp_start( void ) extern void _sys_exit(int); extern void mips_install_isr_entries(void); - Cpu_table.interrupt_stack_size = 4096; - /* HACK -- tied to value linkcmds */ if ( BSP_Configuration.work_space_size >(4096*1024) ) _sys_exit( 1 ); diff --git a/c/src/lib/libbsp/mips/rbtx4925/ChangeLog b/c/src/lib/libbsp/mips/rbtx4925/ChangeLog index a355de4e31..5595992f45 100644 --- a/c/src/lib/libbsp/mips/rbtx4925/ChangeLog +++ b/c/src/lib/libbsp/mips/rbtx4925/ChangeLog @@ -1,3 +1,9 @@ +2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com> + + * startup/bspstart.c: 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> * Makefile.am, startup/bspstart.c: Moved most of the remaining CPU diff --git a/c/src/lib/libbsp/mips/rbtx4925/startup/bspstart.c b/c/src/lib/libbsp/mips/rbtx4925/startup/bspstart.c index 2aade72cbe..e8b313921d 100644 --- a/c/src/lib/libbsp/mips/rbtx4925/startup/bspstart.c +++ b/c/src/lib/libbsp/mips/rbtx4925/startup/bspstart.c @@ -30,11 +30,7 @@ extern int end; /* defined by linker */ */ extern rtems_configuration_table Configuration; - rtems_configuration_table BSP_Configuration; - -rtems_cpu_table Cpu_table; - char *rtems_progname; /* @@ -87,10 +83,6 @@ void bsp_start( void ) extern int WorkspaceBase; extern void mips_install_isr_entries(void); - /* Configure Number of Register Caches */ - - Cpu_table.interrupt_stack_size = 4096; - BSP_Configuration.work_space_start = (void *)((uint64_t)((&end) + LIBC_HEAP_SIZE + 0x100) & ~0x7); diff --git a/c/src/lib/libbsp/mips/rbtx4938/ChangeLog b/c/src/lib/libbsp/mips/rbtx4938/ChangeLog index 1ca71e6fc1..4673ad6b14 100644 --- a/c/src/lib/libbsp/mips/rbtx4938/ChangeLog +++ b/c/src/lib/libbsp/mips/rbtx4938/ChangeLog @@ -1,3 +1,9 @@ +2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com> + + * startup/bspstart.c: 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> * Makefile.am, startup/bspstart.c: Moved most of the remaining CPU diff --git a/c/src/lib/libbsp/mips/rbtx4938/startup/bspstart.c b/c/src/lib/libbsp/mips/rbtx4938/startup/bspstart.c index 9bfd0ef472..e8b313921d 100644 --- a/c/src/lib/libbsp/mips/rbtx4938/startup/bspstart.c +++ b/c/src/lib/libbsp/mips/rbtx4938/startup/bspstart.c @@ -30,11 +30,7 @@ extern int end; /* defined by linker */ */ extern rtems_configuration_table Configuration; - rtems_configuration_table BSP_Configuration; - -rtems_cpu_table Cpu_table; - char *rtems_progname; /* @@ -87,8 +83,6 @@ void bsp_start( void ) extern int WorkspaceBase; extern void mips_install_isr_entries(void); - Cpu_table.interrupt_stack_size = 4096; - BSP_Configuration.work_space_start = (void *)((uint64_t)((&end) + LIBC_HEAP_SIZE + 0x100) & ~0x7); diff --git a/c/src/lib/libbsp/powerpc/gen5200/ChangeLog b/c/src/lib/libbsp/powerpc/gen5200/ChangeLog index ef81bd16ce..2b0480008b 100644 --- a/c/src/lib/libbsp/powerpc/gen5200/ChangeLog +++ b/c/src/lib/libbsp/powerpc/gen5200/ChangeLog @@ -1,3 +1,9 @@ +2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com> + + * startup/bspstart.c: 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-04 Joel Sherrill <joel.sherrill@oarcorp.com> * clock/clock.c: Fix typo. diff --git a/c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c b/c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c index 2c3e0ee63a..7a0c81d026 100644 --- a/c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c +++ b/c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c @@ -129,7 +129,6 @@ SPR_RW(SPRG1) extern rtems_configuration_table Configuration; extern unsigned long intrStackPtr; rtems_configuration_table BSP_Configuration; -rtems_cpu_table Cpu_table; char *rtems_progname; /* @@ -287,13 +286,6 @@ void bsp_start(void) /* Signal them that this BSP has fixed PR288 - eventually, this should go away */ _write_SPRG0(PPC_BSP_HAS_FIXED_PR288); - /* - * initialize the CPU table for this BSP - */ - - if( Cpu_table.interrupt_stack_size < 4*1024 ) - Cpu_table.interrupt_stack_size = 4 * 1024; - bsp_clicks_per_usec = (IPB_CLOCK/1000000); /* diff --git a/c/src/lib/libbsp/powerpc/gen83xx/ChangeLog b/c/src/lib/libbsp/powerpc/gen83xx/ChangeLog index 35a77c9c94..ea785d4500 100644 --- a/c/src/lib/libbsp/powerpc/gen83xx/ChangeLog +++ b/c/src/lib/libbsp/powerpc/gen83xx/ChangeLog @@ -1,3 +1,9 @@ +2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com> + + * startup/bspstart.c: 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-04 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> * spi/spi_init.c: added missing file diff --git a/c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c b/c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c index 1c72afb5f3..81f2566b8e 100644 --- a/c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c +++ b/c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c @@ -48,7 +48,6 @@ extern rtems_configuration_table Configuration; extern unsigned long intrStackPtr; rtems_configuration_table BSP_Configuration; static char *BSP_heap_start, *BSP_heap_end; -rtems_cpu_table Cpu_table; char *rtems_progname; /* @@ -206,12 +205,8 @@ void bsp_start(void) _write_SPRG0(PPC_BSP_HAS_FIXED_PR288); /* - * initialize the CPU table for this BSP + * initialize the device driver parameters */ - - if( Cpu_table.interrupt_stack_size < 4*1024 ) - Cpu_table.interrupt_stack_size = 4 * 1024; - bsp_clicks_per_usec = (BSP_CSB_CLK_FRQ/1000000); /* diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/ChangeLog b/c/src/lib/libbsp/powerpc/mpc8260ads/ChangeLog index e5ea713982..e29f971bc9 100644 --- a/c/src/lib/libbsp/powerpc/mpc8260ads/ChangeLog +++ b/c/src/lib/libbsp/powerpc/mpc8260ads/ChangeLog @@ -1,3 +1,9 @@ +2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com> + + * startup/bspstart.c: 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> * Makefile.am, startup/bspstart.c: Moved most of the remaining CPU diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c b/c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c index 1e767cef42..75fc84b728 100644 --- a/c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c +++ b/c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c @@ -69,9 +69,6 @@ SPR_RW(SPRG1) extern rtems_configuration_table Configuration; extern unsigned long intrStackPtr; rtems_configuration_table BSP_Configuration; - -rtems_cpu_table Cpu_table; - char *rtems_progname; /* @@ -295,12 +292,8 @@ void bsp_start(void) BSP_Configuration.work_space_start = (void *)&_WorkspaceBase; /* - * initialize the CPU table for this BSP + * initialize the device driver parameters */ - - if( Cpu_table.interrupt_stack_size < 4*1024 ) - Cpu_table.interrupt_stack_size = 4 * 1024; - bsp_clicks_per_usec = 10; /* for 40MHz extclk */ bsp_serial_per_sec = 40000000; bsp_serial_external_clock = 0; diff --git a/c/src/lib/libbsp/powerpc/ss555/ChangeLog b/c/src/lib/libbsp/powerpc/ss555/ChangeLog index a81edc7741..b863b6bf00 100644 --- a/c/src/lib/libbsp/powerpc/ss555/ChangeLog +++ b/c/src/lib/libbsp/powerpc/ss555/ChangeLog @@ -1,3 +1,9 @@ +2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com> + + * startup/bspstart.c: 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> * Makefile.am, startup/bspstart.c: Moved most of the remaining CPU diff --git a/c/src/lib/libbsp/powerpc/ss555/startup/bspstart.c b/c/src/lib/libbsp/powerpc/ss555/startup/bspstart.c index 6a26500bea..4fea0cf850 100644 --- a/c/src/lib/libbsp/powerpc/ss555/startup/bspstart.c +++ b/c/src/lib/libbsp/powerpc/ss555/startup/bspstart.c @@ -48,9 +48,6 @@ SPR_RW(SPRG1) extern rtems_configuration_table Configuration; extern unsigned long intrStackPtr; rtems_configuration_table BSP_Configuration; - -rtems_cpu_table Cpu_table; - char *rtems_progname; /* @@ -88,11 +85,6 @@ void _BSP_Fatal_error(unsigned int v) * Must not use libc (to do io) from here, since drivers are not yet * initialized. * - * Installed in the rtems_cpu_table defined in - * rtems/c/src/exec/score/cpu/powerpc/rtems/new-exceptions/cpu.h by main() - * below. Called from rtems_initialize_executive() defined in - * rtems/c/src/exec/sapi/src/init.c - * * Input parameters: NONE * * Output parameters: NONE @@ -185,11 +177,8 @@ void bsp_start(void) BSP_Configuration.work_space_start = _WorkspaceBase; /* - * initialize the CPU table for this BSP + * initialize the device driver parameters */ - if( Cpu_table.interrupt_stack_size < 4 * 1024 ) - Cpu_table.interrupt_stack_size = 4 * 1024; - bsp_clicks_per_usec = BSP_CRYSTAL_HZ / 4 / 1000000; bsp_clock_speed = BSP_CLOCK_HZ; /* for SCI baud rate generator */ |