1 /* 2 * FreeRTOS Kernel V11.1.0 3 * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. 4 * 5 * SPDX-License-Identifier: MIT 6 * 7 * Permission is hereby granted, free of charge, to any person obtaining a copy of 8 * this software and associated documentation files (the "Software"), to deal in 9 * the Software without restriction, including without limitation the rights to 10 * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 11 * the Software, and to permit persons to whom the Software is furnished to do so, 12 * subject to the following conditions: 13 * 14 * The above copyright notice and this permission notice shall be included in all 15 * copies or substantial portions of the Software. 16 * 17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 19 * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 20 * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 21 * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 22 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 * 24 * https://www.FreeRTOS.org 25 * https://github.com/FreeRTOS 26 * 27 */ 28 29 #ifndef MPU_SYSCALL_NUMBERS_H 30 #define MPU_SYSCALL_NUMBERS_H 31 32 /* Numbers assigned to various system calls. */ 33 #define SYSTEM_CALL_xTaskGenericNotify 0 34 #define SYSTEM_CALL_xTaskGenericNotifyWait 1 35 #define SYSTEM_CALL_xTimerGenericCommandFromTask 2 36 #define SYSTEM_CALL_xEventGroupWaitBits 3 37 #define SYSTEM_CALL_xTaskDelayUntil 4 38 #define SYSTEM_CALL_xTaskAbortDelay 5 39 #define SYSTEM_CALL_vTaskDelay 6 40 #define SYSTEM_CALL_uxTaskPriorityGet 7 41 #define SYSTEM_CALL_eTaskGetState 8 42 #define SYSTEM_CALL_vTaskGetInfo 9 43 #define SYSTEM_CALL_xTaskGetIdleTaskHandle 10 44 #define SYSTEM_CALL_vTaskSuspend 11 45 #define SYSTEM_CALL_vTaskResume 12 46 #define SYSTEM_CALL_xTaskGetTickCount 13 47 #define SYSTEM_CALL_uxTaskGetNumberOfTasks 14 48 #define SYSTEM_CALL_ulTaskGetRunTimeCounter 15 49 #define SYSTEM_CALL_ulTaskGetRunTimePercent 16 50 #define SYSTEM_CALL_ulTaskGetIdleRunTimePercent 17 51 #define SYSTEM_CALL_ulTaskGetIdleRunTimeCounter 18 52 #define SYSTEM_CALL_vTaskSetApplicationTaskTag 19 53 #define SYSTEM_CALL_xTaskGetApplicationTaskTag 20 54 #define SYSTEM_CALL_vTaskSetThreadLocalStoragePointer 21 55 #define SYSTEM_CALL_pvTaskGetThreadLocalStoragePointer 22 56 #define SYSTEM_CALL_uxTaskGetSystemState 23 57 #define SYSTEM_CALL_uxTaskGetStackHighWaterMark 24 58 #define SYSTEM_CALL_uxTaskGetStackHighWaterMark2 25 59 #define SYSTEM_CALL_xTaskGetCurrentTaskHandle 26 60 #define SYSTEM_CALL_xTaskGetSchedulerState 27 61 #define SYSTEM_CALL_vTaskSetTimeOutState 28 62 #define SYSTEM_CALL_xTaskCheckForTimeOut 29 63 #define SYSTEM_CALL_ulTaskGenericNotifyTake 30 64 #define SYSTEM_CALL_xTaskGenericNotifyStateClear 31 65 #define SYSTEM_CALL_ulTaskGenericNotifyValueClear 32 66 #define SYSTEM_CALL_xQueueGenericSend 33 67 #define SYSTEM_CALL_uxQueueMessagesWaiting 34 68 #define SYSTEM_CALL_uxQueueSpacesAvailable 35 69 #define SYSTEM_CALL_xQueueReceive 36 70 #define SYSTEM_CALL_xQueuePeek 37 71 #define SYSTEM_CALL_xQueueSemaphoreTake 38 72 #define SYSTEM_CALL_xQueueGetMutexHolder 39 73 #define SYSTEM_CALL_xQueueTakeMutexRecursive 40 74 #define SYSTEM_CALL_xQueueGiveMutexRecursive 41 75 #define SYSTEM_CALL_xQueueSelectFromSet 42 76 #define SYSTEM_CALL_xQueueAddToSet 43 77 #define SYSTEM_CALL_vQueueAddToRegistry 44 78 #define SYSTEM_CALL_vQueueUnregisterQueue 45 79 #define SYSTEM_CALL_pcQueueGetName 46 80 #define SYSTEM_CALL_pvTimerGetTimerID 47 81 #define SYSTEM_CALL_vTimerSetTimerID 48 82 #define SYSTEM_CALL_xTimerIsTimerActive 49 83 #define SYSTEM_CALL_xTimerGetTimerDaemonTaskHandle 50 84 #define SYSTEM_CALL_pcTimerGetName 51 85 #define SYSTEM_CALL_vTimerSetReloadMode 52 86 #define SYSTEM_CALL_xTimerGetReloadMode 53 87 #define SYSTEM_CALL_uxTimerGetReloadMode 54 88 #define SYSTEM_CALL_xTimerGetPeriod 55 89 #define SYSTEM_CALL_xTimerGetExpiryTime 56 90 #define SYSTEM_CALL_xEventGroupClearBits 57 91 #define SYSTEM_CALL_xEventGroupSetBits 58 92 #define SYSTEM_CALL_xEventGroupSync 59 93 #define SYSTEM_CALL_uxEventGroupGetNumber 60 94 #define SYSTEM_CALL_vEventGroupSetNumber 61 95 #define SYSTEM_CALL_xStreamBufferSend 62 96 #define SYSTEM_CALL_xStreamBufferReceive 63 97 #define SYSTEM_CALL_xStreamBufferIsFull 64 98 #define SYSTEM_CALL_xStreamBufferIsEmpty 65 99 #define SYSTEM_CALL_xStreamBufferSpacesAvailable 66 100 #define SYSTEM_CALL_xStreamBufferBytesAvailable 67 101 #define SYSTEM_CALL_xStreamBufferSetTriggerLevel 68 102 #define SYSTEM_CALL_xStreamBufferNextMessageLengthBytes 69 103 #define NUM_SYSTEM_CALLS 70 /* Total number of system calls. */ 104 105 #endif /* MPU_SYSCALL_NUMBERS_H */ 106