]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/portable/GCC/RISC-V/portmacro.h
Correct code comments that referred to taskYIELD_FROM_ISR to portYIELD_FROM_ISR.
[freertos] / FreeRTOS / Source / portable / GCC / RISC-V / portmacro.h
index 1264bfcd9992e034aacacd69b6d6c63ffc249449..6f79672aa0ea3f295c09c2fb4c812401ad7b399a 100644 (file)
@@ -45,10 +45,11 @@ extern "C" {
 \r
 /* Type definitions. */\r
 #if __riscv_xlen == 64\r
-       #define portSTACK_TYPE  uint64_t\r
-       #define portBASE_TYPE   int64_t\r
-       #define portUBASE_TYPE  uint64_t\r
-       #define portMAX_DELAY ( TickType_t ) 0xffffffffffffffffUL\r
+       #define portSTACK_TYPE                  uint64_t\r
+       #define portBASE_TYPE                   int64_t\r
+       #define portUBASE_TYPE                  uint64_t\r
+       #define portMAX_DELAY                   ( TickType_t ) 0xffffffffffffffffUL\r
+       #define portPOINTER_SIZE_TYPE   uint64_t\r
 #elif __riscv_xlen == 32\r
        #define portSTACK_TYPE  uint32_t\r
        #define portBASE_TYPE   int32_t\r
@@ -76,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