mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-02-05 05:01:38 +00:00
cpukit microblaze: 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
0b37e327e4
commit
b42f8a9890
@@ -391,6 +391,8 @@ static void target_printk( const char *format, ... )
|
||||
|
||||
static int microblaze_debug_probe( rtems_debugger_target *target )
|
||||
{
|
||||
(void) target;
|
||||
|
||||
uint32_t msr;
|
||||
uint32_t pvr0;
|
||||
uint32_t pvr3;
|
||||
@@ -482,6 +484,8 @@ int rtems_debugger_target_configure( rtems_debugger_target *target )
|
||||
|
||||
static void target_print_frame( CPU_Exception_frame *frame )
|
||||
{
|
||||
(void) frame;
|
||||
|
||||
EXC_FRAME_PRINT( target_printk, "[} ", frame );
|
||||
}
|
||||
|
||||
@@ -602,6 +606,8 @@ static bool tid_is_excluded( const rtems_id tid )
|
||||
|
||||
static void mb_thread_switch( Thread_Control *executing, Thread_Control *heir )
|
||||
{
|
||||
(void) executing;
|
||||
|
||||
if ( tid_is_excluded( heir->Object.id ) == true ) {
|
||||
rtems_debugger_target_swbreak_remove();
|
||||
return;
|
||||
@@ -1374,6 +1380,11 @@ int rtems_debugger_target_hwbreak_control(
|
||||
DB_UINT kind
|
||||
)
|
||||
{
|
||||
(void) wp;
|
||||
(void) insert;
|
||||
(void) addr;
|
||||
(void) kind;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -135,6 +135,9 @@ rtems_rtl_elf_reloc_rela (rtems_rtl_obj* obj,
|
||||
const Elf_Byte syminfo,
|
||||
const Elf_Word symvalue,
|
||||
const bool parsing) {
|
||||
(void) symname;
|
||||
(void) syminfo;
|
||||
|
||||
Elf_Word *where;
|
||||
Elf_Word addend = (Elf_Word)rela->r_addend;
|
||||
Elf_Addr target;
|
||||
@@ -276,6 +279,14 @@ rtems_rtl_elf_relocate_rel (rtems_rtl_obj* obj,
|
||||
const char* symname,
|
||||
const Elf_Byte syminfo,
|
||||
const Elf_Word symvalue) {
|
||||
|
||||
(void) obj;
|
||||
(void) rel;
|
||||
(void) sect;
|
||||
(void) symname;
|
||||
(void) syminfo;
|
||||
(void) symvalue;
|
||||
|
||||
rtems_rtl_set_error (EINVAL, "rel type record not supported");
|
||||
return rtems_rtl_elf_rel_failure;
|
||||
}
|
||||
|
||||
@@ -60,6 +60,9 @@ void _CPU_Context_Initialize(
|
||||
void *tls_area
|
||||
)
|
||||
{
|
||||
(void) new_level;
|
||||
(void) is_fp;
|
||||
|
||||
uint32_t stack = (uint32_t) stack_area_begin;
|
||||
uint32_t stack_high = stack + stack_area_size;
|
||||
|
||||
@@ -173,6 +176,8 @@ void _CPU_ISR_install_vector(
|
||||
|
||||
void *_CPU_Thread_Idle_body( uintptr_t ignored )
|
||||
{
|
||||
(void) ignored;
|
||||
|
||||
while ( true ) {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user