]> git.sur5r.net Git - freertos/commitdiff
Correct code comments that referred to taskYIELD_FROM_ISR to portYIELD_FROM_ISR.
authorrtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Tue, 24 Sep 2019 16:06:21 +0000 (16:06 +0000)
committerrtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Tue, 24 Sep 2019 16:06:21 +0000 (16:06 +0000)
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

FreeRTOS/Source/include/message_buffer.h
FreeRTOS/Source/include/queue.h
FreeRTOS/Source/portable/GCC/RISC-V/portmacro.h
FreeRTOS/Source/portable/IAR/RISC-V/portmacro.h

index e088755f2d05ea20091b094833d68874eeec879a..745f0b6135fa12dae51f1acb1d16c75cfe9ed7af 100644 (file)
@@ -399,10 +399,10 @@ BaseType_t xHigherPriorityTaskWoken = pdFALSE; // Initialised to pdFALSE.
     // 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
-    taskYIELD_FROM_ISR( xHigherPriorityTaskWoken );\r
+    portYIELD_FROM_ISR( xHigherPriorityTaskWoken );\r
 }\r
 </pre>\r
  * \defgroup xMessageBufferSendFromISR xMessageBufferSendFromISR\r
@@ -588,10 +588,10 @@ BaseType_t xHigherPriorityTaskWoken = pdFALSE;  // Initialised to pdFALSE.
     // 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
-    taskYIELD_FROM_ISR( xHigherPriorityTaskWoken );\r
+    portYIELD_FROM_ISR( xHigherPriorityTaskWoken );\r
 }\r
 </pre>\r
  * \defgroup xMessageBufferReceiveFromISR xMessageBufferReceiveFromISR\r
index 5072c45f178b4d52fe374e26637ed771df8f7583..b8b6f028ffdf5957d19886b101700949aeeec189 100644 (file)
@@ -1284,7 +1284,7 @@ uint32_t ulVarToSend, ulValReceived;
        // name of the yield function required is port specific.\r
        if( xHigherPriorityTaskWokenByPost )\r
        {\r
-               taskYIELD_YIELD_FROM_ISR();\r
+               portYIELD_FROM_ISR();\r
        }\r
  }\r
  </pre>\r
index fac3c895a165b5c4b068d7d5fe1755b7cb6135aa..6f79672aa0ea3f295c09c2fb4c812401ad7b399a 100644 (file)
@@ -77,7 +77,7 @@ not need to be guarded with a critical section. */
        #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
index 2a485d320ec88939a9b21de91d1defb0e6e0d128..c2a15ddbfb90afe4fff2a7f13e1bff232de44090 100644 (file)
@@ -79,7 +79,7 @@ not need to be guarded with a critical section. */
        #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