summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-03 22:25:10 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-03 22:25:10 +0000
commite13e90cabc3f2243fe215a8016bb076ddc3a14f4 (patch)
treee229739461b4e29c12e1ee801889f55df43d99eb /c
parent2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-e13e90cabc3f2243fe215a8016bb076ddc3a14f4.tar.bz2
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.
Diffstat (limited to 'c')
-rw-r--r--c/src/lib/libbsp/nios2/nios2_iss/ChangeLog10
-rw-r--r--c/src/lib/libbsp/nios2/nios2_iss/console/console.c15
-rw-r--r--c/src/lib/libbsp/nios2/nios2_iss/startup/bspstart.c6
3 files changed, 10 insertions, 21 deletions
diff --git a/c/src/lib/libbsp/nios2/nios2_iss/ChangeLog b/c/src/lib/libbsp/nios2/nios2_iss/ChangeLog
index 2cf76f0c92..ace48c85ed 100644
--- a/c/src/lib/libbsp/nios2/nios2_iss/ChangeLog
+++ b/c/src/lib/libbsp/nios2/nios2_iss/ChangeLog
@@ -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
diff --git a/c/src/lib/libbsp/nios2/nios2_iss/console/console.c b/c/src/lib/libbsp/nios2/nios2_iss/console/console.c
index c0e572e550..3eac195fd2 100644
--- a/c/src/lib/libbsp/nios2/nios2_iss/console/console.c
+++ b/c/src/lib/libbsp/nios2/nios2_iss/console/console.c
@@ -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;
}
diff --git a/c/src/lib/libbsp/nios2/nios2_iss/startup/bspstart.c b/c/src/lib/libbsp/nios2/nios2_iss/startup/bspstart.c
index 8317b59516..398d51fe2c 100644
--- a/c/src/lib/libbsp/nios2/nios2_iss/startup/bspstart.c
+++ b/c/src/lib/libbsp/nios2/nios2_iss/startup/bspstart.c
@@ -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;
}