Skip to content

Commit

Permalink
Only add the change in posix GCC port
Browse files Browse the repository at this point in the history
  • Loading branch information
chinglee-iot committed Jun 12, 2023
1 parent 28c2b28 commit f9eee0b
Show file tree
Hide file tree
Showing 24 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion portable/GCC/ARM7_AT91FR40008/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ extern void vPortExitCritical( void );
/*-----------------------------------------------------------*/

/* Task function macros as described on the FreeRTOS.org WEB site. */
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters ) __attribute__( ( noreturn ) )
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )

/* *INDENT-OFF* */
Expand Down
2 changes: 1 addition & 1 deletion portable/GCC/ARM7_AT91SAM7S/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ extern void vPortExitCritical( void );
/*-----------------------------------------------------------*/

/* Task function macros as described on the FreeRTOS.org WEB site. */
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters ) __attribute__( ( noreturn ) )
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )

/* *INDENT-OFF* */
Expand Down
2 changes: 1 addition & 1 deletion portable/GCC/ARM7_LPC2000/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ extern void vPortExitCritical( void );
/*-----------------------------------------------------------*/

/* Task function macros as described on the FreeRTOS.org WEB site. */
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters ) __attribute__( ( noreturn ) )
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )

/* *INDENT-OFF* */
Expand Down
2 changes: 1 addition & 1 deletion portable/GCC/ARM7_LPC23xx/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ extern void vPortExitCritical( void );
/*-----------------------------------------------------------*/

/* Task function macros as described on the FreeRTOS.org WEB site. */
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters ) __attribute__( ( noreturn ) )
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )

/* *INDENT-OFF* */
Expand Down
2 changes: 1 addition & 1 deletion portable/GCC/ATMega323/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ extern void vPortYield( void ) __attribute__ ( ( naked ) );
/*-----------------------------------------------------------*/

/* Task function macros as described on the FreeRTOS.org WEB site. */
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters ) __attribute__( ( noreturn ) )
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )

/* *INDENT-OFF* */
Expand Down
2 changes: 1 addition & 1 deletion portable/GCC/AVR32_UC3/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ extern void *pvPortRealloc( void *pv, size_t xSize );
#define portYIELD() {__asm__ __volatile__ ("scall");}

/* Task function macros as described on the FreeRTOS.org WEB site. */
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters ) __attribute__( ( noreturn ) )
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )

/* *INDENT-OFF* */
Expand Down
2 changes: 1 addition & 1 deletion portable/GCC/CORTUS_APS3/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ extern void vTaskExitCritical( void );
/*---------------------------------------------------------------------------*/

/* Task function macros as described on the FreeRTOS.org WEB site. */
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters ) __attribute__( ( noreturn ) )
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )
/*---------------------------------------------------------------------------*/

Expand Down
2 changes: 1 addition & 1 deletion portable/GCC/ColdFire_V2/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ extern void vPortClearInterruptMaskFromISR( UBaseType_t );
/*-----------------------------------------------------------*/

/* Task function macros as described on the FreeRTOS.org WEB site. */
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters ) __attribute__( ( noreturn ) )
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )
/*-----------------------------------------------------------*/

Expand Down
2 changes: 1 addition & 1 deletion portable/GCC/H8S2329/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ extern void* pxCurrentTCB; \
/*-----------------------------------------------------------*/

/* Task function macros as described on the FreeRTOS.org WEB site. */
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters ) __attribute__( ( noreturn ) )
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )

/* *INDENT-OFF* */
Expand Down
2 changes: 1 addition & 1 deletion portable/GCC/HCS12/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ typedef unsigned char UBaseType_t;


/* Task function macros as described on the FreeRTOS.org WEB site. */
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters ) __attribute__( ( noreturn ) )
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )

/* *INDENT-OFF* */
Expand Down
2 changes: 1 addition & 1 deletion portable/GCC/MSP430F449/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ extern void vPortYield( void ) __attribute__ ( ( naked ) );
/*-----------------------------------------------------------*/

/* Task function macros as described on the FreeRTOS.org WEB site. */
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters ) __attribute__( ( noreturn ) )
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )

/* *INDENT-OFF* */
Expand Down
2 changes: 1 addition & 1 deletion portable/GCC/MicroBlaze/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ void vTaskSwitchContext();
/*-----------------------------------------------------------*/

/* Task function macros as described on the FreeRTOS.org WEB site. */
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters ) __attribute__( ( noreturn ) )
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )

/* *INDENT-OFF* */
Expand Down
2 changes: 1 addition & 1 deletion portable/GCC/MicroBlazeV8/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ extern volatile uint32_t ulTaskSwitchRequested;
/*-----------------------------------------------------------*/

/* Task function macros as described on the FreeRTOS.org WEB site. */
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters ) __attribute__( ( noreturn ) )
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )
/*-----------------------------------------------------------*/

Expand Down
2 changes: 1 addition & 1 deletion portable/GCC/MicroBlazeV9/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ extern volatile uint32_t ulTaskSwitchRequested;
/*-----------------------------------------------------------*/

/* Task function macros as described on the FreeRTOS.org WEB site. */
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters ) __attribute__( ( noreturn ) )
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )
/*-----------------------------------------------------------*/

Expand Down
2 changes: 1 addition & 1 deletion portable/GCC/NiosII/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ extern void vTaskExitCritical( void );
/*-----------------------------------------------------------*/

/* Task function macros as described on the FreeRTOS.org WEB site. */
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters ) __attribute__( ( noreturn ) )
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )

/* *INDENT-OFF* */
Expand Down
2 changes: 1 addition & 1 deletion portable/GCC/PPC405_Xilinx/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ void vPortYield( void );
/*-----------------------------------------------------------*/

/* Task function macros as described on the FreeRTOS.org WEB site. */
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters ) __attribute__( ( noreturn ) )
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )

/* Port specific interrupt handling functions. */
Expand Down
2 changes: 1 addition & 1 deletion portable/GCC/PPC440_Xilinx/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ void vPortYield( void );
/*-----------------------------------------------------------*/

/* Task function macros as described on the FreeRTOS.org WEB site. */
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters ) __attribute__( ( noreturn ) )
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )

/* Port specific interrupt handling functions. */
Expand Down
2 changes: 1 addition & 1 deletion portable/GCC/RISC-V/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ extern size_t xCriticalNesting;
/* Task function macros as described on the FreeRTOS.org WEB site. These are
* not necessary for to use this port. They are defined so the common demo
* files (which build with all the ports) will build. */
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters ) __attribute__( ( noreturn ) )
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )

/*-----------------------------------------------------------*/
Expand Down
2 changes: 1 addition & 1 deletion portable/GCC/RL78/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ extern volatile uint16_t usCriticalNesting;
/*-----------------------------------------------------------*/

/* Task function macros as described on the FreeRTOS.org WEB site. */
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters ) __attribute__( ( noreturn ) )
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )

#endif /* PORTMACRO_H */
2 changes: 1 addition & 1 deletion portable/GCC/RX100/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ void vPortSetIPL( uint32_t ulNewIPL ) __attribute__((naked));
/*-----------------------------------------------------------*/

/* Task function macros as described on the FreeRTOS.org WEB site. */
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters ) __attribute__( ( noreturn ) )
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )

/* *INDENT-OFF* */
Expand Down
2 changes: 1 addition & 1 deletion portable/GCC/RX200/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ void vPortSetIPL( uint32_t ulNewIPL ) __attribute__((naked));
/*-----------------------------------------------------------*/

/* Task function macros as described on the FreeRTOS.org WEB site. */
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters ) __attribute__( ( noreturn ) )
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )

/* *INDENT-OFF* */
Expand Down
2 changes: 1 addition & 1 deletion portable/GCC/RX600/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ void vPortSetIPL( uint32_t ulNewIPL ) __attribute__((naked));
/*-----------------------------------------------------------*/

/* Task function macros as described on the FreeRTOS.org WEB site. */
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters ) __attribute__( ( noreturn ) )
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )

/* *INDENT-OFF* */
Expand Down
2 changes: 1 addition & 1 deletion portable/GCC/RX600v2/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ void vPortSetIPL( uint32_t ulNewIPL ) __attribute__((naked));
/*-----------------------------------------------------------*/

/* Task function macros as described on the FreeRTOS.org WEB site. */
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters ) __attribute__( ( noreturn ) )
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )

/* *INDENT-OFF* */
Expand Down
2 changes: 1 addition & 1 deletion portable/GCC/TriCore_1782/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ extern uint32_t uxPortSetInterruptMaskFromISR( void );
/*---------------------------------------------------------------------------*/

/* Task function macros as described on the FreeRTOS.org WEB site. */
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters ) __attribute__( ( noreturn ) )
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )
/*---------------------------------------------------------------------------*/

Expand Down

0 comments on commit f9eee0b

Please sign in to comment.