]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/include/mpu_wrappers.h
Added xTaskAbortDelayFromISR() and ulTaskNotifyValueClear() API functions.
[freertos] / FreeRTOS / Source / include / mpu_wrappers.h
index 3ab181f2fab172321ad02bbdfa04542df4ca2761..6ac0a3e9264178f4300c90248c7bd46684815770 100644 (file)
@@ -1,6 +1,6 @@
 /*\r
- * FreeRTOS Kernel V10.0.1\r
- * Copyright (C) 2017 Amazon.com, Inc. or its affiliates.  All Rights Reserved.\r
+ * FreeRTOS Kernel V10.2.1\r
+ * Copyright (C) 2019 Amazon.com, Inc. or its affiliates.  All Rights Reserved.\r
  *\r
  * Permission is hereby granted, free of charge, to any person obtaining a copy of\r
  * this software and associated documentation files (the "Software"), to deal in\r
@@ -67,6 +67,7 @@ only for ports that are using the MPU. */
                #define pcTaskGetName                                                   MPU_pcTaskGetName\r
                #define xTaskGetHandle                                                  MPU_xTaskGetHandle\r
                #define uxTaskGetStackHighWaterMark                             MPU_uxTaskGetStackHighWaterMark\r
+               #define uxTaskGetStackHighWaterMark2                    MPU_uxTaskGetStackHighWaterMark2\r
                #define vTaskSetApplicationTaskTag                              MPU_vTaskSetApplicationTaskTag\r
                #define xTaskGetApplicationTaskTag                              MPU_xTaskGetApplicationTaskTag\r
                #define vTaskSetThreadLocalStoragePointer               MPU_vTaskSetThreadLocalStoragePointer\r
@@ -76,10 +77,13 @@ only for ports that are using the MPU. */
                #define uxTaskGetSystemState                                    MPU_uxTaskGetSystemState\r
                #define vTaskList                                                               MPU_vTaskList\r
                #define vTaskGetRunTimeStats                                    MPU_vTaskGetRunTimeStats\r
+               #define ulTaskGetIdleRunTimeCounter                             MPU_ulTaskGetIdleRunTimeCounter\r
                #define xTaskGenericNotify                                              MPU_xTaskGenericNotify\r
                #define xTaskNotifyWait                                                 MPU_xTaskNotifyWait\r
                #define ulTaskNotifyTake                                                MPU_ulTaskNotifyTake\r
                #define xTaskNotifyStateClear                                   MPU_xTaskNotifyStateClear\r
+               #define ulTaskNotifyValueClear                                  MPU_ulTaskNotifyValueClear\r
+               #define xTaskCatchUpTicks                                               MPU_xTaskCatchUpTicks\r
 \r
                #define xTaskGetCurrentTaskHandle                               MPU_xTaskGetCurrentTaskHandle\r
                #define vTaskSetTimeOutState                                    MPU_vTaskSetTimeOutState\r
@@ -124,6 +128,7 @@ only for ports that are using the MPU. */
                #define xTimerGetTimerDaemonTaskHandle                  MPU_xTimerGetTimerDaemonTaskHandle\r
                #define xTimerPendFunctionCall                                  MPU_xTimerPendFunctionCall\r
                #define pcTimerGetName                                                  MPU_pcTimerGetName\r
+               #define vTimerSetReloadMode                                             MPU_vTimerSetReloadMode\r
                #define xTimerGetPeriod                                                 MPU_xTimerGetPeriod\r
                #define xTimerGetExpiryTime                                             MPU_xTimerGetExpiryTime\r
                #define xTimerGenericCommand                                    MPU_xTimerGenericCommand\r
@@ -140,10 +145,8 @@ only for ports that are using the MPU. */
                /* Map standard message/stream_buffer.h API functions to the MPU\r
                equivalents. */\r
                #define xStreamBufferSend                                               MPU_xStreamBufferSend\r
-               #define xStreamBufferSendFromISR                                MPU_xStreamBufferSendFromISR\r
                #define xStreamBufferReceive                                    MPU_xStreamBufferReceive\r
                #define xStreamBufferNextMessageLengthBytes             MPU_xStreamBufferNextMessageLengthBytes\r
-               #define xStreamBufferReceiveFromISR                             MPU_xStreamBufferReceiveFromISR\r
                #define vStreamBufferDelete                                             MPU_vStreamBufferDelete\r
                #define xStreamBufferIsFull                                             MPU_xStreamBufferIsFull\r
                #define xStreamBufferIsEmpty                                    MPU_xStreamBufferIsEmpty\r
@@ -160,12 +163,14 @@ only for ports that are using the MPU. */
                (useful when using statically allocated objects). */\r
                #define PRIVILEGED_FUNCTION\r
                #define PRIVILEGED_DATA __attribute__((section("privileged_data")))\r
+               #define FREERTOS_SYSTEM_CALL\r
 \r
        #else /* MPU_WRAPPERS_INCLUDED_FROM_API_FILE */\r
 \r
                /* Ensure API functions go in the privileged execution section. */\r
                #define PRIVILEGED_FUNCTION __attribute__((section("privileged_functions")))\r
                #define PRIVILEGED_DATA __attribute__((section("privileged_data")))\r
+               #define FREERTOS_SYSTEM_CALL __attribute__((section( "freertos_system_calls")))\r
 \r
        #endif /* MPU_WRAPPERS_INCLUDED_FROM_API_FILE */\r
 \r
@@ -173,6 +178,7 @@ only for ports that are using the MPU. */
 \r
        #define PRIVILEGED_FUNCTION\r
        #define PRIVILEGED_DATA\r
+       #define FREERTOS_SYSTEM_CALL\r
        #define portUSING_MPU_WRAPPERS 0\r
 \r
 #endif /* portUSING_MPU_WRAPPERS */\r