diff --git a/bsps/m68k/uC5282/btimer/btimer.c b/bsps/m68k/uC5282/btimer/btimer.c index 5deb631015..c6207d95dc 100644 --- a/bsps/m68k/uC5282/btimer/btimer.c +++ b/bsps/m68k/uC5282/btimer/btimer.c @@ -48,4 +48,5 @@ benchmark_timer_read(void) void benchmark_timer_disable_subtracting_average_overhead(bool find_flag) { + (void) find_flag; } diff --git a/bsps/m68k/uC5282/clock/clock.c b/bsps/m68k/uC5282/clock/clock.c index 53275b6b3f..fc1d1b02a6 100644 --- a/bsps/m68k/uC5282/clock/clock.c +++ b/bsps/m68k/uC5282/clock/clock.c @@ -40,11 +40,15 @@ static rtems_timecounter_simple uC5282_tc; static uint32_t uC5282_tc_get(rtems_timecounter_simple *tc) { + (void) tc; + return MCF5282_PIT3_PCNTR; } static bool uC5282_tc_is_pending(rtems_timecounter_simple *tc) { + (void) tc; + return (MCF5282_PIT3_PCSR & MCF5282_PIT_PCSR_PIF) != 0; } @@ -59,6 +63,8 @@ static uint32_t uC5282_tc_get_timecount(struct timecounter *tc) static void uC5282_tc_at_tick(rtems_timecounter_simple *tc) { + (void) tc; + unsigned idle = IDLE_COUNTER; IDLE_COUNTER = 0; if (idle > MAX_IDLE_COUNT) @@ -146,6 +152,8 @@ static void uC5282_tc_tick(void) */ void * bsp_idle_thread(uintptr_t ignored) { + (void) ignored; + /* Atomic increment */ for(;;) __asm__ volatile ("addq.l #1,%0"::"m"(IDLE_COUNTER)); diff --git a/bsps/m68k/uC5282/console/console.c b/bsps/m68k/uC5282/console/console.c index ae624e75f9..08bf5f1871 100644 --- a/bsps/m68k/uC5282/console/console.c +++ b/bsps/m68k/uC5282/console/console.c @@ -439,6 +439,9 @@ IntUartInterruptWrite (int minor, const char *buf, size_t len) static int IntUartInterruptOpen(int major, int minor, void *arg) { + (void) major; + (void) arg; + struct IntUartInfoStruct *info = &IntUartInfo[minor]; int level; @@ -492,6 +495,9 @@ IntUartInterruptOpen(int major, int minor, void *arg) static int IntUartInterruptClose(int major, int minor, void *arg) { + (void) major; + (void) arg; + struct IntUartInfoStruct *info = &IntUartInfo[minor]; /* disable the interrupts and the uart */ @@ -612,6 +618,9 @@ rtems_device_driver console_initialize( rtems_device_minor_number minor, void *arg ) { + (void) minor; + (void) arg; + rtems_status_code status; int chan; @@ -738,6 +747,9 @@ rtems_device_driver console_close( rtems_device_minor_number minor, void * arg) { + (void) major; + (void) minor; + return(rtems_termios_close (arg)); } @@ -752,6 +764,9 @@ rtems_device_driver console_read( rtems_device_minor_number minor, void * arg) { + (void) major; + (void) minor; + return(rtems_termios_read (arg)); } @@ -765,6 +780,9 @@ rtems_device_driver console_write( rtems_device_minor_number minor, void * arg) { + (void) major; + (void) minor; + return(rtems_termios_write (arg)); } @@ -778,6 +796,9 @@ rtems_device_driver console_control( rtems_device_minor_number minor, void * arg) { + (void) major; + (void) minor; + return( rtems_termios_ioctl (arg) ); } diff --git a/bsps/m68k/uC5282/start/bspstart.c b/bsps/m68k/uC5282/start/bspstart.c index 9092afe971..83516bd18b 100644 --- a/bsps/m68k/uC5282/start/bspstart.c +++ b/bsps/m68k/uC5282/start/bspstart.c @@ -467,8 +467,20 @@ __asm__ ( */ rtems_status_code bspExtInit(void) { return RTEMS_SUCCESSFUL; } -int BSP_enableVME_int_lvl(unsigned int level) { return 0; } -int BSP_disableVME_int_lvl(unsigned int level) { return 0; } + +int BSP_enableVME_int_lvl(unsigned int level) +{ + (void) level; + + return 0; +} + +int BSP_disableVME_int_lvl(unsigned int level) +{ + (void) level; + + return 0; +} /* * 'VME' interrupt support