forked from Imagelibrary/rtems
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/console.c, startup/bspstart.c: Moved most of the remaining CPU Table fields to the Configuration Table. This included pretasking_hook, predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace, extra_mpci_receive_server_stack, stack_allocate_hook, and stack_free_hook. As a side-effect of this effort some multiprocessing code was made conditional and some style clean up occurred.
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* console/console.c, startup/bspstart.c: Moved most of the remaining
|
||||
CPU Table fields to the Configuration Table. This included
|
||||
pretasking_hook, predriver_hook, postdriver_hook, idle_task,
|
||||
do_zero_of_workspace, extra_mpci_receive_server_stack,
|
||||
stack_allocate_hook, and stack_free_hook. As a side-effect of this
|
||||
effort some multiprocessing code was made conditional and some style
|
||||
clean up occurred.
|
||||
|
||||
2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
PR 1257/bsps
|
||||
|
||||
@@ -143,21 +143,6 @@ void outbyte(
|
||||
|
||||
while ((ajur->control & ALTERA_AVALON_JTAG_UART_CONTROL_WSPACE_MSK) == 0);
|
||||
|
||||
#if 0
|
||||
if (Cpu_table.serial_xon_xoff)
|
||||
{
|
||||
while (is_character_ready(&status))
|
||||
{
|
||||
if (status == XOFFchar)
|
||||
do
|
||||
{
|
||||
while (!is_character_ready(&status));
|
||||
}
|
||||
while (status != XONchar);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
ajur->data = ch;
|
||||
}
|
||||
|
||||
|
||||
@@ -117,10 +117,6 @@ void bsp_pretasking_hook(void)
|
||||
|
||||
void bsp_start( void )
|
||||
{
|
||||
/* Fixed */
|
||||
|
||||
BSP_Configuration.microseconds_per_tick = 1000;
|
||||
|
||||
/*
|
||||
* Need to "allocate" the memory for the RTEMS Workspace and
|
||||
* tell the RTEMS configuration where it is. This memory is
|
||||
@@ -137,7 +133,5 @@ void bsp_start( void )
|
||||
* initialize the CPU table for this BSP
|
||||
*/
|
||||
|
||||
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
||||
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user