mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-10 09:52:16 +08:00
bsps/m68k/shared : Address unused parameter warnings
Add "(void) param;" annotation to address unused parameter warnings. Found with GCC's warning -Wunused-parameter.
This commit is contained in:
committed by
Gedare Bloom
parent
ee6a90030a
commit
47d1b0a074
6
bsps/m68k/shared/cache/cache-mcf5235.c
vendored
6
bsps/m68k/shared/cache/cache-mcf5235.c
vendored
@@ -46,7 +46,11 @@ static void _CPU_cache_unfreeze_instruction(void) {}
|
||||
/*
|
||||
* Write-through data cache -- flushes are unnecessary
|
||||
*/
|
||||
static void _CPU_cache_flush_1_data_line(const void *d_addr) {}
|
||||
static void _CPU_cache_flush_1_data_line(const void *d_addr)
|
||||
{
|
||||
(void) d_addr;
|
||||
|
||||
}
|
||||
static void _CPU_cache_flush_entire_data(void) {}
|
||||
|
||||
static void _CPU_cache_enable_instruction(void)
|
||||
|
||||
6
bsps/m68k/shared/cache/cache-mcf5282.c
vendored
6
bsps/m68k/shared/cache/cache-mcf5282.c
vendored
@@ -48,7 +48,11 @@ static void _CPU_cache_unfreeze_instruction(void) {}
|
||||
/*
|
||||
* Write-through data cache -- flushes are unnecessary
|
||||
*/
|
||||
static void _CPU_cache_flush_1_data_line(const void *d_addr) {}
|
||||
static void _CPU_cache_flush_1_data_line(const void *d_addr)
|
||||
{
|
||||
(void) d_addr;
|
||||
|
||||
}
|
||||
static void _CPU_cache_flush_entire_data(void) {}
|
||||
|
||||
static void _CPU_cache_enable_instruction(void)
|
||||
|
||||
@@ -38,6 +38,8 @@
|
||||
|
||||
void *_CPU_Thread_Idle_body( uintptr_t ignored )
|
||||
{
|
||||
(void) ignored;
|
||||
|
||||
for( ; ; ) {
|
||||
/* supervisor mode, all interrupts on */
|
||||
__asm__ volatile( "stop #0x3000":::"cc" );
|
||||
|
||||
Reference in New Issue
Block a user