diff options
Diffstat (limited to 'c/src/lib/libbsp/sh')
22 files changed, 0 insertions, 37 deletions
diff --git a/c/src/lib/libbsp/sh/gensh1/include/bsp.h b/c/src/lib/libbsp/sh/gensh1/include/bsp.h index 95c522ac0c..6e1d02d4f4 100644 --- a/c/src/lib/libbsp/sh/gensh1/include/bsp.h +++ b/c/src/lib/libbsp/sh/gensh1/include/bsp.h @@ -106,7 +106,6 @@ extern uint32_t WorkSpaceEnd ; extern void *CPU_Interrupt_stack_low ; extern void *CPU_Interrupt_stack_high ; - /* miscellaneous stuff assumed to exist */ extern rtems_configuration_table BSP_Configuration; diff --git a/c/src/lib/libbsp/sh/gensh1/startup/bspstart.c b/c/src/lib/libbsp/sh/gensh1/startup/bspstart.c index feb935c998..4f9ca51fc2 100644 --- a/c/src/lib/libbsp/sh/gensh1/startup/bspstart.c +++ b/c/src/lib/libbsp/sh/gensh1/startup/bspstart.c @@ -120,7 +120,6 @@ void bsp_start(void) (uint32_t) (&CPU_Interrupt_stack_low) ; #endif - Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */ Cpu_table.postdriver_hook = bsp_postdriver_hook; diff --git a/c/src/lib/libbsp/sh/gensh2/console/config.c b/c/src/lib/libbsp/sh/gensh2/console/config.c index dfd1a46a80..b7e87b2555 100644 --- a/c/src/lib/libbsp/sh/gensh2/console/config.c +++ b/c/src/lib/libbsp/sh/gensh2/console/config.c @@ -24,7 +24,6 @@ #include <rtems/score/iosh7045.h> #include <rtems/termiostypes.h> - /* * Function set for interrupt enabled termios console */ @@ -72,7 +71,6 @@ static const struct termios term1 = { { 0 } }; - static const struct termios term2 = { 0, 0, @@ -82,7 +80,6 @@ static const struct termios term2 = { { 0 } }; - console_tbl Console_Port_Tbl[] = { { "/dev/sci0", /* sDeviceName */ diff --git a/c/src/lib/libbsp/sh/gensh2/include/bsp.h b/c/src/lib/libbsp/sh/gensh2/include/bsp.h index a52beb5a85..ce3671040a 100644 --- a/c/src/lib/libbsp/sh/gensh2/include/bsp.h +++ b/c/src/lib/libbsp/sh/gensh2/include/bsp.h @@ -110,7 +110,6 @@ extern "C" { #define rtems_bsp_delay( microseconds ) CPU_delay(microseconds) #define sh_delay( microseconds ) CPU_delay( microseconds ) - /* * Defined in the linker script 'linkcmds' */ @@ -123,7 +122,6 @@ extern uint32_t WorkSpaceEnd ; extern void *CPU_Interrupt_stack_low ; extern void *CPU_Interrupt_stack_high ; - /* miscellaneous stuff assumed to exist */ extern rtems_configuration_table BSP_Configuration; diff --git a/c/src/lib/libbsp/sh/gensh2/startup/bspstart.c b/c/src/lib/libbsp/sh/gensh2/startup/bspstart.c index 0b85e5081a..179b01c643 100644 --- a/c/src/lib/libbsp/sh/gensh2/startup/bspstart.c +++ b/c/src/lib/libbsp/sh/gensh2/startup/bspstart.c @@ -126,7 +126,6 @@ void bsp_start(void) &CPU_Interrupt_stack_high - &CPU_Interrupt_stack_low ; #endif - Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */ Cpu_table.postdriver_hook = bsp_postdriver_hook; diff --git a/c/src/lib/libbsp/sh/gensh4/include/bsp.h b/c/src/lib/libbsp/sh/gensh4/include/bsp.h index 26904aa82a..759107c05a 100644 --- a/c/src/lib/libbsp/sh/gensh4/include/bsp.h +++ b/c/src/lib/libbsp/sh/gensh4/include/bsp.h @@ -51,7 +51,6 @@ extern "C" { #include "rtems/score/sh7750_regs.h" - /* * confdefs.h overrides for this BSP: * - number of termios serial ports (defaults to 1) @@ -121,7 +120,6 @@ extern "C" { #define delay( microseconds ) CPU_delay(microseconds) #define sh_delay( microseconds ) CPU_delay( microseconds ) - /* * Defined in the linker script 'linkcmds' */ @@ -147,7 +145,6 @@ extern rtems_configuration_table BSP_Configuration; extern void bsp_cleanup( void ); - /* * Device Driver Table Entries */ diff --git a/c/src/lib/libbsp/sh/gensh4/start/start.S b/c/src/lib/libbsp/sh/gensh4/start/start.S index 0aa7ec66d8..a70f0048a8 100644 --- a/c/src/lib/libbsp/sh/gensh4/start/start.S +++ b/c/src/lib/libbsp/sh/gensh4/start/start.S @@ -109,7 +109,6 @@ hw_init_end: mov.l copy_end_k, r1 mov.l copy_start_in_rom_k, r2 - ! if copy_from == copy_to do not copy anything cmp/eq r0, r2 bt real_address @@ -171,7 +170,6 @@ zero_bss: mov.l initial_fpscr_k,r0 lds r0,fpscr - ! call the mainline mov #0,r4 ! argc mov.l main_k,r0 diff --git a/c/src/lib/libbsp/sh/gensh4/startup/bspstart.c b/c/src/lib/libbsp/sh/gensh4/startup/bspstart.c index f0b9f04ff8..5eaa59989a 100644 --- a/c/src/lib/libbsp/sh/gensh4/startup/bspstart.c +++ b/c/src/lib/libbsp/sh/gensh4/startup/bspstart.c @@ -129,7 +129,6 @@ void bsp_start(void) (uint32_t) (&CPU_Interrupt_stack_low) ; #endif - Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */ Cpu_table.postdriver_hook = bsp_postdriver_hook; diff --git a/c/src/lib/libbsp/sh/shared/console.c b/c/src/lib/libbsp/sh/shared/console.c index b5796a578f..1bde1a8981 100644 --- a/c/src/lib/libbsp/sh/shared/console.c +++ b/c/src/lib/libbsp/sh/shared/console.c @@ -74,7 +74,6 @@ rtems_device_driver console_initialize( return RTEMS_SUCCESSFUL; } - /* * Open entry point */ diff --git a/c/src/lib/libbsp/sh/shsim/clock/clockdrv.c b/c/src/lib/libbsp/sh/shsim/clock/clockdrv.c index c49150fba6..f61b66e42d 100644 --- a/c/src/lib/libbsp/sh/shsim/clock/clockdrv.c +++ b/c/src/lib/libbsp/sh/shsim/clock/clockdrv.c @@ -14,7 +14,6 @@ #define Clock_driver_support_install_isr( _new, _old ) \ do { _old = 0; } while(0) - #define Clock_driver_support_initialize_hardware() #define Clock_driver_support_shutdown_hardware() diff --git a/c/src/lib/libbsp/sh/shsim/gdbsci/gdbsci.c b/c/src/lib/libbsp/sh/shsim/gdbsci/gdbsci.c index db6b4b1fa2..1b4732a925 100644 --- a/c/src/lib/libbsp/sh/shsim/gdbsci/gdbsci.c +++ b/c/src/lib/libbsp/sh/shsim/gdbsci/gdbsci.c @@ -243,7 +243,6 @@ rtems_device_driver sh_gdbsci_initialize( return RTEMS_SUCCESSFUL; } - /* * Open entry point */ diff --git a/c/src/lib/libbsp/sh/shsim/include/bsp.h b/c/src/lib/libbsp/sh/shsim/include/bsp.h index 787800f7b6..c96e1de2fd 100644 --- a/c/src/lib/libbsp/sh/shsim/include/bsp.h +++ b/c/src/lib/libbsp/sh/shsim/include/bsp.h @@ -97,7 +97,6 @@ extern uint32_t WorkSpaceEnd ; extern void *CPU_Interrupt_stack_low ; extern void *CPU_Interrupt_stack_high ; - /* miscellaneous stuff assumed to exist */ extern rtems_configuration_table BSP_Configuration; diff --git a/c/src/lib/libbsp/sh/shsim/startup/bspstart.c b/c/src/lib/libbsp/sh/shsim/startup/bspstart.c index 83027db6f3..8c7b2f5ebf 100644 --- a/c/src/lib/libbsp/sh/shsim/startup/bspstart.c +++ b/c/src/lib/libbsp/sh/shsim/startup/bspstart.c @@ -117,7 +117,6 @@ void bsp_start( void ) (uint32_t) (&CPU_Interrupt_stack_low) ; #endif - Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */ Cpu_table.postdriver_hook = bsp_postdriver_hook; diff --git a/c/src/lib/libbsp/sh/shsim/trap34/console-io.c b/c/src/lib/libbsp/sh/shsim/trap34/console-io.c index b8088886bd..a88c273be4 100644 --- a/c/src/lib/libbsp/sh/shsim/trap34/console-io.c +++ b/c/src/lib/libbsp/sh/shsim/trap34/console-io.c @@ -19,7 +19,6 @@ #include <stdlib.h> #include <assert.h> - #define SYS_exit 1 #define SYS_read 3 #define SYS_write 4 diff --git a/c/src/lib/libbsp/sh/simsh4/clock/ckinit.c b/c/src/lib/libbsp/sh/simsh4/clock/ckinit.c index c434f6892e..1d4b23e661 100644 --- a/c/src/lib/libbsp/sh/simsh4/clock/ckinit.c +++ b/c/src/lib/libbsp/sh/simsh4/clock/ckinit.c @@ -25,7 +25,6 @@ */ volatile uint32_t Clock_driver_ticks; - /* * These are set by clock driver during its init */ @@ -63,7 +62,6 @@ Clock_isr (rtems_vector_number vector) rtems_clock_tick(); } - /* Clock_exit -- * This shuts down the timer if it was enabled and removes it * from the interrupt mask. @@ -84,7 +82,6 @@ Clock_exit(void) } } - /* Install_clock -- * This initialises timer1 with the BSP timeslice config value * as a reference and sets up the interrupt handler for clock ticks. @@ -117,7 +114,6 @@ Install_clock(rtems_isr_entry clock_isr) } } - /* Clock_initialize -- * This is called to setup the clock driver. It calls the hardware * setup function and make the driver major/minor values available @@ -145,7 +141,6 @@ Clock_initialize(rtems_device_major_number major, return RTEMS_SUCCESSFUL; } - /* Clock_control -- * I/O control (IOCTL) function for Clock driver. At this moment this * just runs the interrupt handler or re-registers the interrupt handler diff --git a/c/src/lib/libbsp/sh/simsh4/console/console.c b/c/src/lib/libbsp/sh/simsh4/console/console.c index f6d12c20d2..c0af42111b 100644 --- a/c/src/lib/libbsp/sh/simsh4/console/console.c +++ b/c/src/lib/libbsp/sh/simsh4/console/console.c @@ -20,7 +20,6 @@ #include <rtems/libio.h> #include <syscall.h> - /* Console operations mode: * 0 - raw (non-termios) polled input/output * 1 - termios-based polled input/output @@ -32,7 +31,6 @@ int console_mode = CONSOLE_MODE_RAW; - /* console_poll_read -- * poll read operation for simulator console through trap 34 mechanism. * diff --git a/c/src/lib/libbsp/sh/simsh4/include/bsp.h b/c/src/lib/libbsp/sh/simsh4/include/bsp.h index 4b9205b4b5..e978e624c8 100644 --- a/c/src/lib/libbsp/sh/simsh4/include/bsp.h +++ b/c/src/lib/libbsp/sh/simsh4/include/bsp.h @@ -103,7 +103,6 @@ extern "C" { #define delay( microseconds ) CPU_delay(microseconds) #define sh_delay( microseconds ) CPU_delay( microseconds ) - /* * Defined in the linker script 'linkcmds' */ @@ -116,7 +115,6 @@ extern uint32_t WorkSpaceEnd ; extern void *CPU_Interrupt_stack_low ; extern void *CPU_Interrupt_stack_high ; - /* miscellaneous stuff assumed to exist */ extern rtems_configuration_table BSP_Configuration; @@ -138,7 +136,6 @@ extern void bsp_cleanup( void ); { ramdisk_initialize, ramdisk_open, ramdisk_close, \ ramdisk_read, ramdisk_write, ramdisk_control } - /* * NOTE: Use the standard Clock driver entry */ diff --git a/c/src/lib/libbsp/sh/simsh4/include/ramdisk.h b/c/src/lib/libbsp/sh/simsh4/include/ramdisk.h index 82e0dc51e1..f77a3f6eeb 100644 --- a/c/src/lib/libbsp/sh/simsh4/include/ramdisk.h +++ b/c/src/lib/libbsp/sh/simsh4/include/ramdisk.h @@ -22,7 +22,6 @@ extern "C" { #endif - rtems_device_driver ramdisk_initialize(rtems_device_major_number major, rtems_device_minor_number minor, void *arg); diff --git a/c/src/lib/libbsp/sh/simsh4/include/syscall.h b/c/src/lib/libbsp/sh/simsh4/include/syscall.h index f141df764c..79fcc07a20 100644 --- a/c/src/lib/libbsp/sh/simsh4/include/syscall.h +++ b/c/src/lib/libbsp/sh/simsh4/include/syscall.h @@ -20,7 +20,6 @@ #define SYS_fstat 22 #define SYS_time 23 - #define SYS_ARG 24 #define SYS_stat 38 diff --git a/c/src/lib/libbsp/sh/simsh4/start/start.S b/c/src/lib/libbsp/sh/simsh4/start/start.S index 0466ded3e5..3b7cce61f6 100644 --- a/c/src/lib/libbsp/sh/simsh4/start/start.S +++ b/c/src/lib/libbsp/sh/simsh4/start/start.S @@ -54,7 +54,6 @@ SYM (start): mov.l _vbr_base_k,r0 ldc r0,vbr - #ifdef START_HW_INIT /* from $RTEMS_BSP.cfg */ ! Initialize minimal hardware mov.l hw_init_k, r0 @@ -112,7 +111,6 @@ ___trap34: !perrno: ! .long _errno - END_CODE .align 2 diff --git a/c/src/lib/libbsp/sh/simsh4/startup/bspstart.c b/c/src/lib/libbsp/sh/simsh4/startup/bspstart.c index f0b9f04ff8..5eaa59989a 100644 --- a/c/src/lib/libbsp/sh/simsh4/startup/bspstart.c +++ b/c/src/lib/libbsp/sh/simsh4/startup/bspstart.c @@ -129,7 +129,6 @@ void bsp_start(void) (uint32_t) (&CPU_Interrupt_stack_low) ; #endif - Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */ Cpu_table.postdriver_hook = bsp_postdriver_hook; diff --git a/c/src/lib/libbsp/sh/simsh4/timer/timer.c b/c/src/lib/libbsp/sh/simsh4/timer/timer.c index 236f4fd226..5b47dc7d47 100644 --- a/c/src/lib/libbsp/sh/simsh4/timer/timer.c +++ b/c/src/lib/libbsp/sh/simsh4/timer/timer.c @@ -27,7 +27,6 @@ rtems_boolean Timer_driver_Find_average_overhead; /* External assembler interrupt handler routine */ extern rtems_isr timerisr(rtems_vector_number vector); - /* Timer_initialize -- * Initialize timer 2 for accurate time measurement. * @@ -75,7 +74,6 @@ Read_timer( void ) return 0; } - /* Empty_function -- * Empty function call used in loops to measure basic cost of looping * in Timing Test Suite. |