Update RV32 port to use 16 byte-alignment all the time (only strictly necessary when using FLOP instructions).
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2726
1d2547de-c912-0410-9cb9-
b8ca96c0e9e2
// priority of the currently executing task was unblocked and a context\r
// switch should be performed to ensure the ISR returns to the unblocked\r
// task. In most FreeRTOS ports this is done by simply passing\r
// priority of the currently executing task was unblocked and a context\r
// switch should be performed to ensure the ISR returns to the unblocked\r
// task. In most FreeRTOS ports this is done by simply passing\r
- // xHigherPriorityTaskWoken into taskYIELD_FROM_ISR(), which will test the\r
+ // xHigherPriorityTaskWoken into portYIELD_FROM_ISR(), which will test the\r
// variables value, and perform the context switch if necessary. Check the\r
// documentation for the port in use for port specific instructions.\r
// variables value, and perform the context switch if necessary. Check the\r
// documentation for the port in use for port specific instructions.\r
- taskYIELD_FROM_ISR( xHigherPriorityTaskWoken );\r
+ portYIELD_FROM_ISR( xHigherPriorityTaskWoken );\r
}\r
</pre>\r
* \defgroup xMessageBufferSendFromISR xMessageBufferSendFromISR\r
}\r
</pre>\r
* \defgroup xMessageBufferSendFromISR xMessageBufferSendFromISR\r
// priority of the currently executing task was unblocked and a context\r
// switch should be performed to ensure the ISR returns to the unblocked\r
// task. In most FreeRTOS ports this is done by simply passing\r
// priority of the currently executing task was unblocked and a context\r
// switch should be performed to ensure the ISR returns to the unblocked\r
// task. In most FreeRTOS ports this is done by simply passing\r
- // xHigherPriorityTaskWoken into taskYIELD_FROM_ISR(), which will test the\r
+ // xHigherPriorityTaskWoken into portYIELD_FROM_ISR(), which will test the\r
// variables value, and perform the context switch if necessary. Check the\r
// documentation for the port in use for port specific instructions.\r
// variables value, and perform the context switch if necessary. Check the\r
// documentation for the port in use for port specific instructions.\r
- taskYIELD_FROM_ISR( xHigherPriorityTaskWoken );\r
+ portYIELD_FROM_ISR( xHigherPriorityTaskWoken );\r
}\r
</pre>\r
* \defgroup xMessageBufferReceiveFromISR xMessageBufferReceiveFromISR\r
}\r
</pre>\r
* \defgroup xMessageBufferReceiveFromISR xMessageBufferReceiveFromISR\r
// name of the yield function required is port specific.\r
if( xHigherPriorityTaskWokenByPost )\r
{\r
// name of the yield function required is port specific.\r
if( xHigherPriorityTaskWokenByPost )\r
{\r
- taskYIELD_YIELD_FROM_ISR();\r
+ portYIELD_FROM_ISR();\r
#error This is the RV32 port that has not yet been adapted for 64.\r
#define portBYTE_ALIGNMENT 16\r
#else\r
#error This is the RV32 port that has not yet been adapted for 64.\r
#define portBYTE_ALIGNMENT 16\r
#else\r
- #define portBYTE_ALIGNMENT 8\r
+ #define portBYTE_ALIGNMENT 16\r
#endif\r
/*-----------------------------------------------------------*/\r
\r
#endif\r
/*-----------------------------------------------------------*/\r
\r
#error This is the RV32 port that has not yet been adapted for 64.\r
#define portBYTE_ALIGNMENT 16\r
#else\r
#error This is the RV32 port that has not yet been adapted for 64.\r
#define portBYTE_ALIGNMENT 16\r
#else\r
- #define portBYTE_ALIGNMENT 8\r
+ #define portBYTE_ALIGNMENT 16\r
#endif\r
/*-----------------------------------------------------------*/\r
\r
#endif\r
/*-----------------------------------------------------------*/\r
\r