2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>

* console/console.c, 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:
Joel Sherrill
2007-12-04 22:21:28 +00:00
parent 077e302091
commit 2692a2044c
4 changed files with 7 additions and 19 deletions

View File

@@ -1,3 +1,10 @@
2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/console.c, 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>
* console/console.c, startup/bspstart.c: Moved most of the remaining

View File

@@ -23,8 +23,6 @@
/* #define JTAG_UART_REGS ((altera_avalon_jtag_uart_regs*)NIOS2_IO_BASE(JTAG_UART_BASE)) */
#if 0
extern rtems_cpu_table Cpu_table; /* owned by BSP */
#define XOFFchar 0x13
#define XONchar 0x11
#endif

View File

@@ -29,15 +29,6 @@ extern "C" {
#include <rtems/clockdrv.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)
/*
* Simple spin delay in microsecond units for device drivers.
* This is very dependent on the clock speed of the target.

View File

@@ -28,11 +28,8 @@
*/
extern rtems_configuration_table Configuration;
rtems_configuration_table BSP_Configuration;
rtems_cpu_table Cpu_table;
/*
* Use the shared implementations of the following routines
*/
@@ -129,9 +126,4 @@ void bsp_start( void )
BSP_Configuration.work_space_start = (void *)__alt_heap_start;
#endif
/*
* initialize the CPU table for this BSP
*/
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
}