forked from Imagelibrary/rtems
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:
@@ -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>
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
* console/console.c, startup/bspstart.c: Moved most of the remaining
|
* console/console.c, startup/bspstart.c: Moved most of the remaining
|
||||||
|
|||||||
@@ -23,8 +23,6 @@
|
|||||||
/* #define JTAG_UART_REGS ((altera_avalon_jtag_uart_regs*)NIOS2_IO_BASE(JTAG_UART_BASE)) */
|
/* #define JTAG_UART_REGS ((altera_avalon_jtag_uart_regs*)NIOS2_IO_BASE(JTAG_UART_BASE)) */
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
extern rtems_cpu_table Cpu_table; /* owned by BSP */
|
|
||||||
|
|
||||||
#define XOFFchar 0x13
|
#define XOFFchar 0x13
|
||||||
#define XONchar 0x11
|
#define XONchar 0x11
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -29,15 +29,6 @@ extern "C" {
|
|||||||
#include <rtems/clockdrv.h>
|
#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.
|
* Simple spin delay in microsecond units for device drivers.
|
||||||
* This is very dependent on the clock speed of the target.
|
* This is very dependent on the clock speed of the target.
|
||||||
|
|||||||
@@ -28,11 +28,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
extern rtems_configuration_table Configuration;
|
extern rtems_configuration_table Configuration;
|
||||||
|
|
||||||
rtems_configuration_table BSP_Configuration;
|
rtems_configuration_table BSP_Configuration;
|
||||||
|
|
||||||
rtems_cpu_table Cpu_table;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Use the shared implementations of the following routines
|
* 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;
|
BSP_Configuration.work_space_start = (void *)__alt_heap_start;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
|
||||||
* initialize the CPU table for this BSP
|
|
||||||
*/
|
|
||||||
|
|
||||||
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user