forked from Imagelibrary/rtems
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.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 );
|
||||
|
||||
/*
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user