mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
cpukit or1k: 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
9b3cb64b13
commit
0bd0ff6b3c
@@ -131,6 +131,8 @@ void _CPU_ISR_install_vector(
|
||||
|
||||
void *_CPU_Thread_Idle_body( uintptr_t ignored )
|
||||
{
|
||||
(void) ignored;
|
||||
|
||||
do {
|
||||
_OR1K_CPU_Sleep();
|
||||
} while (1);
|
||||
|
||||
@@ -48,6 +48,10 @@ void _CPU_Context_Initialize(
|
||||
void *tls_area
|
||||
)
|
||||
{
|
||||
(void) new_level;
|
||||
(void) is_fp;
|
||||
(void) tls_area;
|
||||
|
||||
/* Decrement 200 byte to account for red-zone */
|
||||
uint32_t stack = ((uint32_t) stack_area_begin) - 200;
|
||||
uint32_t sr;
|
||||
|
||||
@@ -37,5 +37,7 @@ void _OR1K_Exception_default(uint32_t vector, CPU_Exception_frame *frame);
|
||||
|
||||
void _OR1K_Exception_default(uint32_t vector, CPU_Exception_frame *frame)
|
||||
{
|
||||
(void) vector;
|
||||
|
||||
rtems_fatal( RTEMS_FATAL_SOURCE_EXCEPTION, (rtems_fatal_code) frame );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user