mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-24 07:21:57 -04:00
Add portASSERT_IF_INTERRUPT_PRIORITY_INVALID() implementation to the RX ports that use the Renesas compiler.
Add portASSERT_IF_INTERRUPT_PRIORITY_INVALID() implementation to the Cortex-A9 ports.
This commit is contained in:
parent
0f6b0d3a59
commit
65704174c9
|
@ -183,8 +183,6 @@ not necessary for to use this port. They are defined so the common demo files
|
||||||
#ifdef configASSERT
|
#ifdef configASSERT
|
||||||
void vPortValidateInterruptPriority( void );
|
void vPortValidateInterruptPriority( void );
|
||||||
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()
|
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()
|
||||||
#else
|
|
||||||
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID()
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* portNOP() is not required by this port. */
|
/* portNOP() is not required by this port. */
|
||||||
|
|
|
@ -184,8 +184,6 @@ not necessary for to use this port. They are defined so the common demo files
|
||||||
#ifdef configASSERT
|
#ifdef configASSERT
|
||||||
void vPortValidateInterruptPriority( void );
|
void vPortValidateInterruptPriority( void );
|
||||||
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()
|
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()
|
||||||
#else
|
|
||||||
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID()
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* portNOP() is not required by this port. */
|
/* portNOP() is not required by this port. */
|
||||||
|
|
|
@ -185,9 +185,7 @@
|
||||||
#ifdef configASSERT
|
#ifdef configASSERT
|
||||||
void vPortValidateInterruptPriority( void );
|
void vPortValidateInterruptPriority( void );
|
||||||
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()
|
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()
|
||||||
#else
|
#endif
|
||||||
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID()
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define portNOP() __asm volatile( "NOP" )
|
#define portNOP() __asm volatile( "NOP" )
|
||||||
|
|
||||||
|
|
|
@ -174,8 +174,6 @@ not necessary for to use this port. They are defined so the common demo files
|
||||||
#ifdef configASSERT
|
#ifdef configASSERT
|
||||||
void vPortValidateInterruptPriority( void );
|
void vPortValidateInterruptPriority( void );
|
||||||
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()
|
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()
|
||||||
#else
|
|
||||||
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID()
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* portNOP() is not required by this port. */
|
/* portNOP() is not required by this port. */
|
||||||
|
|
|
@ -175,8 +175,6 @@ not necessary for to use this port. They are defined so the common demo files
|
||||||
#ifdef configASSERT
|
#ifdef configASSERT
|
||||||
void vPortValidateInterruptPriority( void );
|
void vPortValidateInterruptPriority( void );
|
||||||
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()
|
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()
|
||||||
#else
|
|
||||||
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID()
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* portNOP() is not required by this port. */
|
/* portNOP() is not required by this port. */
|
||||||
|
|
|
@ -185,8 +185,6 @@ void vPortTaskUsesFPU( void );
|
||||||
#ifdef configASSERT
|
#ifdef configASSERT
|
||||||
void vPortValidateInterruptPriority( void );
|
void vPortValidateInterruptPriority( void );
|
||||||
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()
|
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()
|
||||||
#else
|
|
||||||
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID()
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define portNOP() __nop()
|
#define portNOP() __nop()
|
||||||
|
|
|
@ -173,8 +173,6 @@ not necessary for to use this port. They are defined so the common demo files
|
||||||
#ifdef configASSERT
|
#ifdef configASSERT
|
||||||
void vPortValidateInterruptPriority( void );
|
void vPortValidateInterruptPriority( void );
|
||||||
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()
|
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()
|
||||||
#else
|
|
||||||
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID()
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* portNOP() is not required by this port. */
|
/* portNOP() is not required by this port. */
|
||||||
|
|
|
@ -174,8 +174,6 @@ not necessary for to use this port. They are defined so the common demo files
|
||||||
#ifdef configASSERT
|
#ifdef configASSERT
|
||||||
void vPortValidateInterruptPriority( void );
|
void vPortValidateInterruptPriority( void );
|
||||||
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()
|
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()
|
||||||
#else
|
|
||||||
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID()
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* portNOP() is not required by this port. */
|
/* portNOP() is not required by this port. */
|
||||||
|
|
|
@ -118,6 +118,10 @@ than portSTACK_TYPE and portBASE_TYPE. */
|
||||||
#define portTICK_RATE_MS ( ( portTickType ) 1000 / configTICK_RATE_HZ )
|
#define portTICK_RATE_MS ( ( portTickType ) 1000 / configTICK_RATE_HZ )
|
||||||
#define portNOP() nop()
|
#define portNOP() nop()
|
||||||
|
|
||||||
|
#ifdef configASSERT
|
||||||
|
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() configASSERT( ( get_ipl() <= configMAX_SYSCALL_INTERRUPT_PRIORITY ) )
|
||||||
|
#endif
|
||||||
|
|
||||||
#pragma inline_asm vPortYield
|
#pragma inline_asm vPortYield
|
||||||
static void vPortYield( void )
|
static void vPortYield( void )
|
||||||
{
|
{
|
||||||
|
|
|
@ -118,6 +118,10 @@ portSTACK_TYPE and portBASE_TYPE. */
|
||||||
#define portTICK_RATE_MS ( ( portTickType ) 1000 / configTICK_RATE_HZ )
|
#define portTICK_RATE_MS ( ( portTickType ) 1000 / configTICK_RATE_HZ )
|
||||||
#define portNOP() nop()
|
#define portNOP() nop()
|
||||||
|
|
||||||
|
#ifdef configASSERT
|
||||||
|
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() configASSERT( ( get_ipl() <= configMAX_SYSCALL_INTERRUPT_PRIORITY ) )
|
||||||
|
#endif
|
||||||
|
|
||||||
#pragma inline_asm vPortYield
|
#pragma inline_asm vPortYield
|
||||||
static void vPortYield( void )
|
static void vPortYield( void )
|
||||||
{
|
{
|
||||||
|
|
|
@ -118,6 +118,10 @@ portSTACK_TYPE and portBASE_TYPE. */
|
||||||
#define portTICK_RATE_MS ( ( portTickType ) 1000 / configTICK_RATE_HZ )
|
#define portTICK_RATE_MS ( ( portTickType ) 1000 / configTICK_RATE_HZ )
|
||||||
#define portNOP() nop()
|
#define portNOP() nop()
|
||||||
|
|
||||||
|
#ifdef configASSERT
|
||||||
|
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() configASSERT( ( get_ipl() <= configMAX_SYSCALL_INTERRUPT_PRIORITY ) )
|
||||||
|
#endif
|
||||||
|
|
||||||
#pragma inline_asm vPortYield
|
#pragma inline_asm vPortYield
|
||||||
static void vPortYield( void )
|
static void vPortYield( void )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue