diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-12-04 22:22:26 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-12-04 22:22:26 +0000 |
commit | d34d8692b674a3366e3cef11a33941e8160c338d (patch) | |
tree | 2a9254debb288cf2f5d2c896c1c8cf9dd67317e1 /c/src/lib/libbsp/mips | |
parent | 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-d34d8692b674a3366e3cef11a33941e8160c338d.tar.bz2 |
2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h, 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/src/lib/libbsp/mips')
-rw-r--r-- | c/src/lib/libbsp/mips/hurricane/ChangeLog | 6 | ||||
-rw-r--r-- | c/src/lib/libbsp/mips/hurricane/include/bsp.h | 9 | ||||
-rw-r--r-- | c/src/lib/libbsp/mips/hurricane/startup/bspstart.c | 9 |
3 files changed, 6 insertions, 18 deletions
diff --git a/c/src/lib/libbsp/mips/hurricane/ChangeLog b/c/src/lib/libbsp/mips/hurricane/ChangeLog index 01084c6fa0..16667f0aaa 100644 --- a/c/src/lib/libbsp/mips/hurricane/ChangeLog +++ b/c/src/lib/libbsp/mips/hurricane/ChangeLog @@ -1,3 +1,9 @@ +2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com> + + * include/bsp.h, 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/hurricane/include/bsp.h b/c/src/lib/libbsp/mips/hurricane/include/bsp.h index 0dbe88ba79..cb27172e0d 100644 --- a/c/src/lib/libbsp/mips/hurricane/include/bsp.h +++ b/c/src/lib/libbsp/mips/hurricane/include/bsp.h @@ -29,15 +29,6 @@ extern "C" { #include <rtems/clockdrv.h> #include <libcpu/rm5231.h> -/* - * confdefs.h overrides for this BSP: - * - number of termios serial ports (defaults to 1) - * - Interrupt stack space is not minimum if defined. - */ - -/* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */ -#define CONFIGURE_INTERRUPT_STACK_MEMORY (4 * 1024) - extern void WriteDisplay( char * string ); /* diff --git a/c/src/lib/libbsp/mips/hurricane/startup/bspstart.c b/c/src/lib/libbsp/mips/hurricane/startup/bspstart.c index 9c7833798e..93d2173d0d 100644 --- a/c/src/lib/libbsp/mips/hurricane/startup/bspstart.c +++ b/c/src/lib/libbsp/mips/hurricane/startup/bspstart.c @@ -28,11 +28,7 @@ uint32_t bsp_clicks_per_microsecond; */ extern rtems_configuration_table Configuration; - rtems_configuration_table BSP_Configuration; - -rtems_cpu_table Cpu_table; - char *rtems_progname; /* @@ -103,11 +99,6 @@ void bsp_start( void ) BSP_Configuration.work_space_start = (void *)((uint64_t)((&end) + LIBC_HEAP_SIZE + 0x2000) & ~0x7); - /* - * initialize the CPU table for this BSP - */ - - Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY; bsp_clicks_per_microsecond = CPU_CLOCK_RATE_MHZ; mips_install_isr_entries(); /* Install generic MIPS exception handler */ |