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
30    SECTION freertos_system_calls:CODE:NOROOT(2)
31    THUMB
32/*-----------------------------------------------------------*/
33
34#include "FreeRTOSConfig.h"
35#include "mpu_syscall_numbers.h"
36
37#ifndef configUSE_MPU_WRAPPERS_V1
38    #define configUSE_MPU_WRAPPERS_V1 0
39#endif
40
41/*-----------------------------------------------------------*/
42
43#if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) )
44
45    PUBLIC MPU_xTaskDelayUntil
46MPU_xTaskDelayUntil:
47    push {r0}
48    mrs r0, control
49    tst r0, #1
50    pop {r0}
51    bne MPU_xTaskDelayUntil_Unpriv
52    MPU_xTaskDelayUntil_Priv:
53        b MPU_xTaskDelayUntilImpl
54    MPU_xTaskDelayUntil_Unpriv:
55        svc #SYSTEM_CALL_xTaskDelayUntil
56/*-----------------------------------------------------------*/
57
58    PUBLIC MPU_xTaskAbortDelay
59MPU_xTaskAbortDelay:
60    push {r0}
61    mrs r0, control
62    tst r0, #1
63    pop {r0}
64    bne MPU_xTaskAbortDelay_Unpriv
65    MPU_xTaskAbortDelay_Priv:
66        b MPU_xTaskAbortDelayImpl
67    MPU_xTaskAbortDelay_Unpriv:
68        svc #SYSTEM_CALL_xTaskAbortDelay
69/*-----------------------------------------------------------*/
70
71    PUBLIC MPU_vTaskDelay
72MPU_vTaskDelay:
73    push {r0}
74    mrs r0, control
75    tst r0, #1
76    pop {r0}
77    bne MPU_vTaskDelay_Unpriv
78    MPU_vTaskDelay_Priv:
79        b MPU_vTaskDelayImpl
80    MPU_vTaskDelay_Unpriv:
81        svc #SYSTEM_CALL_vTaskDelay
82/*-----------------------------------------------------------*/
83
84    PUBLIC MPU_uxTaskPriorityGet
85MPU_uxTaskPriorityGet:
86    push {r0}
87    mrs r0, control
88    tst r0, #1
89    pop {r0}
90    bne MPU_uxTaskPriorityGet_Unpriv
91    MPU_uxTaskPriorityGet_Priv:
92        b MPU_uxTaskPriorityGetImpl
93    MPU_uxTaskPriorityGet_Unpriv:
94        svc #SYSTEM_CALL_uxTaskPriorityGet
95/*-----------------------------------------------------------*/
96
97    PUBLIC MPU_eTaskGetState
98MPU_eTaskGetState:
99    push {r0}
100    mrs r0, control
101    tst r0, #1
102    pop {r0}
103    bne MPU_eTaskGetState_Unpriv
104    MPU_eTaskGetState_Priv:
105        b MPU_eTaskGetStateImpl
106    MPU_eTaskGetState_Unpriv:
107        svc #SYSTEM_CALL_eTaskGetState
108/*-----------------------------------------------------------*/
109
110    PUBLIC MPU_vTaskGetInfo
111MPU_vTaskGetInfo:
112    push {r0}
113    mrs r0, control
114    tst r0, #1
115    pop {r0}
116    bne MPU_vTaskGetInfo_Unpriv
117    MPU_vTaskGetInfo_Priv:
118        b MPU_vTaskGetInfoImpl
119    MPU_vTaskGetInfo_Unpriv:
120        svc #SYSTEM_CALL_vTaskGetInfo
121/*-----------------------------------------------------------*/
122
123    PUBLIC MPU_xTaskGetIdleTaskHandle
124MPU_xTaskGetIdleTaskHandle:
125    push {r0}
126    mrs r0, control
127    tst r0, #1
128    pop {r0}
129    bne MPU_xTaskGetIdleTaskHandle_Unpriv
130    MPU_xTaskGetIdleTaskHandle_Priv:
131        b MPU_xTaskGetIdleTaskHandleImpl
132    MPU_xTaskGetIdleTaskHandle_Unpriv:
133        svc #SYSTEM_CALL_xTaskGetIdleTaskHandle
134/*-----------------------------------------------------------*/
135
136    PUBLIC MPU_vTaskSuspend
137MPU_vTaskSuspend:
138    push {r0}
139    mrs r0, control
140    tst r0, #1
141    pop {r0}
142    bne MPU_vTaskSuspend_Unpriv
143    MPU_vTaskSuspend_Priv:
144        b MPU_vTaskSuspendImpl
145    MPU_vTaskSuspend_Unpriv:
146        svc #SYSTEM_CALL_vTaskSuspend
147/*-----------------------------------------------------------*/
148
149    PUBLIC MPU_vTaskResume
150MPU_vTaskResume:
151    push {r0}
152    mrs r0, control
153    tst r0, #1
154    pop {r0}
155    bne MPU_vTaskResume_Unpriv
156    MPU_vTaskResume_Priv:
157        b MPU_vTaskResumeImpl
158    MPU_vTaskResume_Unpriv:
159        svc #SYSTEM_CALL_vTaskResume
160/*-----------------------------------------------------------*/
161
162    PUBLIC MPU_xTaskGetTickCount
163MPU_xTaskGetTickCount:
164    push {r0}
165    mrs r0, control
166    tst r0, #1
167    pop {r0}
168    bne MPU_xTaskGetTickCount_Unpriv
169    MPU_xTaskGetTickCount_Priv:
170        b MPU_xTaskGetTickCountImpl
171    MPU_xTaskGetTickCount_Unpriv:
172        svc #SYSTEM_CALL_xTaskGetTickCount
173/*-----------------------------------------------------------*/
174
175    PUBLIC MPU_uxTaskGetNumberOfTasks
176MPU_uxTaskGetNumberOfTasks:
177    push {r0}
178    mrs r0, control
179    tst r0, #1
180    pop {r0}
181    bne MPU_uxTaskGetNumberOfTasks_Unpriv
182    MPU_uxTaskGetNumberOfTasks_Priv:
183        b MPU_uxTaskGetNumberOfTasksImpl
184    MPU_uxTaskGetNumberOfTasks_Unpriv:
185        svc #SYSTEM_CALL_uxTaskGetNumberOfTasks
186/*-----------------------------------------------------------*/
187
188    PUBLIC MPU_ulTaskGetRunTimeCounter
189MPU_ulTaskGetRunTimeCounter:
190    push {r0}
191    mrs r0, control
192    tst r0, #1
193    pop {r0}
194    bne MPU_ulTaskGetRunTimeCounter_Unpriv
195    MPU_ulTaskGetRunTimeCounter_Priv:
196        b MPU_ulTaskGetRunTimeCounterImpl
197    MPU_ulTaskGetRunTimeCounter_Unpriv:
198        svc #SYSTEM_CALL_ulTaskGetRunTimeCounter
199/*-----------------------------------------------------------*/
200
201    PUBLIC MPU_ulTaskGetRunTimePercent
202MPU_ulTaskGetRunTimePercent:
203    push {r0}
204    mrs r0, control
205    tst r0, #1
206    pop {r0}
207    bne MPU_ulTaskGetRunTimePercent_Unpriv
208    MPU_ulTaskGetRunTimePercent_Priv:
209        b MPU_ulTaskGetRunTimePercentImpl
210    MPU_ulTaskGetRunTimePercent_Unpriv:
211        svc #SYSTEM_CALL_ulTaskGetRunTimePercent
212/*-----------------------------------------------------------*/
213
214    PUBLIC MPU_ulTaskGetIdleRunTimePercent
215MPU_ulTaskGetIdleRunTimePercent:
216    push {r0}
217    mrs r0, control
218    tst r0, #1
219    pop {r0}
220    bne MPU_ulTaskGetIdleRunTimePercent_Unpriv
221    MPU_ulTaskGetIdleRunTimePercent_Priv:
222        b MPU_ulTaskGetIdleRunTimePercentImpl
223    MPU_ulTaskGetIdleRunTimePercent_Unpriv:
224        svc #SYSTEM_CALL_ulTaskGetIdleRunTimePercent
225/*-----------------------------------------------------------*/
226
227    PUBLIC MPU_ulTaskGetIdleRunTimeCounter
228MPU_ulTaskGetIdleRunTimeCounter:
229    push {r0}
230    mrs r0, control
231    tst r0, #1
232    pop {r0}
233    bne MPU_ulTaskGetIdleRunTimeCounter_Unpriv
234    MPU_ulTaskGetIdleRunTimeCounter_Priv:
235        b MPU_ulTaskGetIdleRunTimeCounterImpl
236    MPU_ulTaskGetIdleRunTimeCounter_Unpriv:
237        svc #SYSTEM_CALL_ulTaskGetIdleRunTimeCounter
238/*-----------------------------------------------------------*/
239
240    PUBLIC MPU_vTaskSetApplicationTaskTag
241MPU_vTaskSetApplicationTaskTag:
242    push {r0}
243    mrs r0, control
244    tst r0, #1
245    pop {r0}
246    bne MPU_vTaskSetApplicationTaskTag_Unpriv
247    MPU_vTaskSetApplicationTaskTag_Priv:
248        b MPU_vTaskSetApplicationTaskTagImpl
249    MPU_vTaskSetApplicationTaskTag_Unpriv:
250        svc #SYSTEM_CALL_vTaskSetApplicationTaskTag
251/*-----------------------------------------------------------*/
252
253    PUBLIC MPU_xTaskGetApplicationTaskTag
254MPU_xTaskGetApplicationTaskTag:
255    push {r0}
256    mrs r0, control
257    tst r0, #1
258    pop {r0}
259    bne MPU_xTaskGetApplicationTaskTag_Unpriv
260    MPU_xTaskGetApplicationTaskTag_Priv:
261        b MPU_xTaskGetApplicationTaskTagImpl
262    MPU_xTaskGetApplicationTaskTag_Unpriv:
263        svc #SYSTEM_CALL_xTaskGetApplicationTaskTag
264/*-----------------------------------------------------------*/
265
266    PUBLIC MPU_vTaskSetThreadLocalStoragePointer
267MPU_vTaskSetThreadLocalStoragePointer:
268    push {r0}
269    mrs r0, control
270    tst r0, #1
271    pop {r0}
272    bne MPU_vTaskSetThreadLocalStoragePointer_Unpriv
273    MPU_vTaskSetThreadLocalStoragePointer_Priv:
274        b MPU_vTaskSetThreadLocalStoragePointerImpl
275    MPU_vTaskSetThreadLocalStoragePointer_Unpriv:
276        svc #SYSTEM_CALL_vTaskSetThreadLocalStoragePointer
277/*-----------------------------------------------------------*/
278
279    PUBLIC MPU_pvTaskGetThreadLocalStoragePointer
280MPU_pvTaskGetThreadLocalStoragePointer:
281    push {r0}
282    mrs r0, control
283    tst r0, #1
284    pop {r0}
285    bne MPU_pvTaskGetThreadLocalStoragePointer_Unpriv
286    MPU_pvTaskGetThreadLocalStoragePointer_Priv:
287        b MPU_pvTaskGetThreadLocalStoragePointerImpl
288    MPU_pvTaskGetThreadLocalStoragePointer_Unpriv:
289        svc #SYSTEM_CALL_pvTaskGetThreadLocalStoragePointer
290/*-----------------------------------------------------------*/
291
292    PUBLIC MPU_uxTaskGetSystemState
293MPU_uxTaskGetSystemState:
294    push {r0}
295    mrs r0, control
296    tst r0, #1
297    pop {r0}
298    bne MPU_uxTaskGetSystemState_Unpriv
299    MPU_uxTaskGetSystemState_Priv:
300        b MPU_uxTaskGetSystemStateImpl
301    MPU_uxTaskGetSystemState_Unpriv:
302        svc #SYSTEM_CALL_uxTaskGetSystemState
303/*-----------------------------------------------------------*/
304
305    PUBLIC MPU_uxTaskGetStackHighWaterMark
306MPU_uxTaskGetStackHighWaterMark:
307    push {r0}
308    mrs r0, control
309    tst r0, #1
310    pop {r0}
311    bne MPU_uxTaskGetStackHighWaterMark_Unpriv
312    MPU_uxTaskGetStackHighWaterMark_Priv:
313        b MPU_uxTaskGetStackHighWaterMarkImpl
314    MPU_uxTaskGetStackHighWaterMark_Unpriv:
315        svc #SYSTEM_CALL_uxTaskGetStackHighWaterMark
316/*-----------------------------------------------------------*/
317
318    PUBLIC MPU_uxTaskGetStackHighWaterMark2
319MPU_uxTaskGetStackHighWaterMark2:
320    push {r0}
321    mrs r0, control
322    tst r0, #1
323    pop {r0}
324    bne MPU_uxTaskGetStackHighWaterMark2_Unpriv
325    MPU_uxTaskGetStackHighWaterMark2_Priv:
326        b MPU_uxTaskGetStackHighWaterMark2Impl
327    MPU_uxTaskGetStackHighWaterMark2_Unpriv:
328        svc #SYSTEM_CALL_uxTaskGetStackHighWaterMark2
329/*-----------------------------------------------------------*/
330
331    PUBLIC MPU_xTaskGetCurrentTaskHandle
332MPU_xTaskGetCurrentTaskHandle:
333    push {r0}
334    mrs r0, control
335    tst r0, #1
336    pop {r0}
337    bne MPU_xTaskGetCurrentTaskHandle_Unpriv
338    MPU_xTaskGetCurrentTaskHandle_Priv:
339        b MPU_xTaskGetCurrentTaskHandleImpl
340    MPU_xTaskGetCurrentTaskHandle_Unpriv:
341        svc #SYSTEM_CALL_xTaskGetCurrentTaskHandle
342/*-----------------------------------------------------------*/
343
344    PUBLIC MPU_xTaskGetSchedulerState
345MPU_xTaskGetSchedulerState:
346    push {r0}
347    mrs r0, control
348    tst r0, #1
349    pop {r0}
350    bne MPU_xTaskGetSchedulerState_Unpriv
351    MPU_xTaskGetSchedulerState_Priv:
352        b MPU_xTaskGetSchedulerStateImpl
353    MPU_xTaskGetSchedulerState_Unpriv:
354        svc #SYSTEM_CALL_xTaskGetSchedulerState
355/*-----------------------------------------------------------*/
356
357    PUBLIC MPU_vTaskSetTimeOutState
358MPU_vTaskSetTimeOutState:
359    push {r0}
360    mrs r0, control
361    tst r0, #1
362    pop {r0}
363    bne MPU_vTaskSetTimeOutState_Unpriv
364    MPU_vTaskSetTimeOutState_Priv:
365        b MPU_vTaskSetTimeOutStateImpl
366    MPU_vTaskSetTimeOutState_Unpriv:
367        svc #SYSTEM_CALL_vTaskSetTimeOutState
368/*-----------------------------------------------------------*/
369
370    PUBLIC MPU_xTaskCheckForTimeOut
371MPU_xTaskCheckForTimeOut:
372    push {r0}
373    mrs r0, control
374    tst r0, #1
375    pop {r0}
376    bne MPU_xTaskCheckForTimeOut_Unpriv
377    MPU_xTaskCheckForTimeOut_Priv:
378        b MPU_xTaskCheckForTimeOutImpl
379    MPU_xTaskCheckForTimeOut_Unpriv:
380        svc #SYSTEM_CALL_xTaskCheckForTimeOut
381/*-----------------------------------------------------------*/
382
383    PUBLIC MPU_xTaskGenericNotifyEntry
384MPU_xTaskGenericNotifyEntry:
385    push {r0}
386    mrs r0, control
387    tst r0, #1
388    pop {r0}
389    bne MPU_xTaskGenericNotify_Unpriv
390    MPU_xTaskGenericNotify_Priv:
391        b MPU_xTaskGenericNotifyImpl
392    MPU_xTaskGenericNotify_Unpriv:
393        svc #SYSTEM_CALL_xTaskGenericNotify
394/*-----------------------------------------------------------*/
395
396    PUBLIC MPU_xTaskGenericNotifyWaitEntry
397MPU_xTaskGenericNotifyWaitEntry:
398    push {r0}
399    mrs r0, control
400    tst r0, #1
401    pop {r0}
402    bne MPU_xTaskGenericNotifyWait_Unpriv
403    MPU_xTaskGenericNotifyWait_Priv:
404        b MPU_xTaskGenericNotifyWaitImpl
405    MPU_xTaskGenericNotifyWait_Unpriv:
406        svc #SYSTEM_CALL_xTaskGenericNotifyWait
407/*-----------------------------------------------------------*/
408
409    PUBLIC MPU_ulTaskGenericNotifyTake
410MPU_ulTaskGenericNotifyTake:
411    push {r0}
412    mrs r0, control
413    tst r0, #1
414    pop {r0}
415    bne MPU_ulTaskGenericNotifyTake_Unpriv
416    MPU_ulTaskGenericNotifyTake_Priv:
417        b MPU_ulTaskGenericNotifyTakeImpl
418    MPU_ulTaskGenericNotifyTake_Unpriv:
419        svc #SYSTEM_CALL_ulTaskGenericNotifyTake
420/*-----------------------------------------------------------*/
421
422    PUBLIC MPU_xTaskGenericNotifyStateClear
423MPU_xTaskGenericNotifyStateClear:
424    push {r0}
425    mrs r0, control
426    tst r0, #1
427    pop {r0}
428    bne MPU_xTaskGenericNotifyStateClear_Unpriv
429    MPU_xTaskGenericNotifyStateClear_Priv:
430        b MPU_xTaskGenericNotifyStateClearImpl
431    MPU_xTaskGenericNotifyStateClear_Unpriv:
432        svc #SYSTEM_CALL_xTaskGenericNotifyStateClear
433/*-----------------------------------------------------------*/
434
435    PUBLIC MPU_ulTaskGenericNotifyValueClear
436MPU_ulTaskGenericNotifyValueClear:
437    push {r0}
438    mrs r0, control
439    tst r0, #1
440    pop {r0}
441    bne MPU_ulTaskGenericNotifyValueClear_Unpriv
442    MPU_ulTaskGenericNotifyValueClear_Priv:
443        b MPU_ulTaskGenericNotifyValueClearImpl
444    MPU_ulTaskGenericNotifyValueClear_Unpriv:
445        svc #SYSTEM_CALL_ulTaskGenericNotifyValueClear
446/*-----------------------------------------------------------*/
447
448    PUBLIC MPU_xQueueGenericSend
449MPU_xQueueGenericSend:
450    push {r0}
451    mrs r0, control
452    tst r0, #1
453    pop {r0}
454    bne MPU_xQueueGenericSend_Unpriv
455    MPU_xQueueGenericSend_Priv:
456        b MPU_xQueueGenericSendImpl
457    MPU_xQueueGenericSend_Unpriv:
458        svc #SYSTEM_CALL_xQueueGenericSend
459/*-----------------------------------------------------------*/
460
461    PUBLIC MPU_uxQueueMessagesWaiting
462MPU_uxQueueMessagesWaiting:
463    push {r0}
464    mrs r0, control
465    tst r0, #1
466    pop {r0}
467    bne MPU_uxQueueMessagesWaiting_Unpriv
468    MPU_uxQueueMessagesWaiting_Priv:
469        b MPU_uxQueueMessagesWaitingImpl
470    MPU_uxQueueMessagesWaiting_Unpriv:
471        svc #SYSTEM_CALL_uxQueueMessagesWaiting
472/*-----------------------------------------------------------*/
473
474    PUBLIC MPU_uxQueueSpacesAvailable
475MPU_uxQueueSpacesAvailable:
476    push {r0}
477    mrs r0, control
478    tst r0, #1
479    pop {r0}
480    bne MPU_uxQueueSpacesAvailable_Unpriv
481    MPU_uxQueueSpacesAvailable_Priv:
482        b MPU_uxQueueSpacesAvailableImpl
483    MPU_uxQueueSpacesAvailable_Unpriv:
484        svc #SYSTEM_CALL_uxQueueSpacesAvailable
485/*-----------------------------------------------------------*/
486
487    PUBLIC MPU_xQueueReceive
488MPU_xQueueReceive:
489    push {r0}
490    mrs r0, control
491    tst r0, #1
492    pop {r0}
493    bne MPU_xQueueReceive_Unpriv
494    MPU_xQueueReceive_Priv:
495        b MPU_xQueueReceiveImpl
496    MPU_xQueueReceive_Unpriv:
497        svc #SYSTEM_CALL_xQueueReceive
498/*-----------------------------------------------------------*/
499
500    PUBLIC MPU_xQueuePeek
501MPU_xQueuePeek:
502    push {r0}
503    mrs r0, control
504    tst r0, #1
505    pop {r0}
506    bne MPU_xQueuePeek_Unpriv
507    MPU_xQueuePeek_Priv:
508        b MPU_xQueuePeekImpl
509    MPU_xQueuePeek_Unpriv:
510        svc #SYSTEM_CALL_xQueuePeek
511/*-----------------------------------------------------------*/
512
513    PUBLIC MPU_xQueueSemaphoreTake
514MPU_xQueueSemaphoreTake:
515    push {r0}
516    mrs r0, control
517    tst r0, #1
518    pop {r0}
519    bne MPU_xQueueSemaphoreTake_Unpriv
520    MPU_xQueueSemaphoreTake_Priv:
521        b MPU_xQueueSemaphoreTakeImpl
522    MPU_xQueueSemaphoreTake_Unpriv:
523        svc #SYSTEM_CALL_xQueueSemaphoreTake
524/*-----------------------------------------------------------*/
525
526    PUBLIC MPU_xQueueGetMutexHolder
527MPU_xQueueGetMutexHolder:
528    push {r0}
529    mrs r0, control
530    tst r0, #1
531    pop {r0}
532    bne MPU_xQueueGetMutexHolder_Unpriv
533    MPU_xQueueGetMutexHolder_Priv:
534        b MPU_xQueueGetMutexHolderImpl
535    MPU_xQueueGetMutexHolder_Unpriv:
536        svc #SYSTEM_CALL_xQueueGetMutexHolder
537/*-----------------------------------------------------------*/
538
539    PUBLIC MPU_xQueueTakeMutexRecursive
540MPU_xQueueTakeMutexRecursive:
541    push {r0}
542    mrs r0, control
543    tst r0, #1
544    pop {r0}
545    bne MPU_xQueueTakeMutexRecursive_Unpriv
546    MPU_xQueueTakeMutexRecursive_Priv:
547        b MPU_xQueueTakeMutexRecursiveImpl
548    MPU_xQueueTakeMutexRecursive_Unpriv:
549        svc #SYSTEM_CALL_xQueueTakeMutexRecursive
550/*-----------------------------------------------------------*/
551
552    PUBLIC MPU_xQueueGiveMutexRecursive
553MPU_xQueueGiveMutexRecursive:
554    push {r0}
555    mrs r0, control
556    tst r0, #1
557    pop {r0}
558    bne MPU_xQueueGiveMutexRecursive_Unpriv
559    MPU_xQueueGiveMutexRecursive_Priv:
560        b MPU_xQueueGiveMutexRecursiveImpl
561    MPU_xQueueGiveMutexRecursive_Unpriv:
562        svc #SYSTEM_CALL_xQueueGiveMutexRecursive
563/*-----------------------------------------------------------*/
564
565    PUBLIC MPU_xQueueSelectFromSet
566MPU_xQueueSelectFromSet:
567    push {r0}
568    mrs r0, control
569    tst r0, #1
570    pop {r0}
571    bne MPU_xQueueSelectFromSet_Unpriv
572    MPU_xQueueSelectFromSet_Priv:
573        b MPU_xQueueSelectFromSetImpl
574    MPU_xQueueSelectFromSet_Unpriv:
575        svc #SYSTEM_CALL_xQueueSelectFromSet
576/*-----------------------------------------------------------*/
577
578    PUBLIC MPU_xQueueAddToSet
579MPU_xQueueAddToSet:
580    push {r0}
581    mrs r0, control
582    tst r0, #1
583    pop {r0}
584    bne MPU_xQueueAddToSet_Unpriv
585    MPU_xQueueAddToSet_Priv:
586        b MPU_xQueueAddToSetImpl
587    MPU_xQueueAddToSet_Unpriv:
588        svc #SYSTEM_CALL_xQueueAddToSet
589/*-----------------------------------------------------------*/
590
591    PUBLIC MPU_vQueueAddToRegistry
592MPU_vQueueAddToRegistry:
593    push {r0}
594    mrs r0, control
595    tst r0, #1
596    pop {r0}
597    bne MPU_vQueueAddToRegistry_Unpriv
598    MPU_vQueueAddToRegistry_Priv:
599        b MPU_vQueueAddToRegistryImpl
600    MPU_vQueueAddToRegistry_Unpriv:
601        svc #SYSTEM_CALL_vQueueAddToRegistry
602/*-----------------------------------------------------------*/
603
604    PUBLIC MPU_vQueueUnregisterQueue
605MPU_vQueueUnregisterQueue:
606    push {r0}
607    mrs r0, control
608    tst r0, #1
609    pop {r0}
610    bne MPU_vQueueUnregisterQueue_Unpriv
611    MPU_vQueueUnregisterQueue_Priv:
612        b MPU_vQueueUnregisterQueueImpl
613    MPU_vQueueUnregisterQueue_Unpriv:
614        svc #SYSTEM_CALL_vQueueUnregisterQueue
615/*-----------------------------------------------------------*/
616
617    PUBLIC MPU_pcQueueGetName
618MPU_pcQueueGetName:
619    push {r0}
620    mrs r0, control
621    tst r0, #1
622    pop {r0}
623    bne MPU_pcQueueGetName_Unpriv
624    MPU_pcQueueGetName_Priv:
625        b MPU_pcQueueGetNameImpl
626    MPU_pcQueueGetName_Unpriv:
627        svc #SYSTEM_CALL_pcQueueGetName
628/*-----------------------------------------------------------*/
629
630    PUBLIC MPU_pvTimerGetTimerID
631MPU_pvTimerGetTimerID:
632    push {r0}
633    mrs r0, control
634    tst r0, #1
635    pop {r0}
636    bne MPU_pvTimerGetTimerID_Unpriv
637    MPU_pvTimerGetTimerID_Priv:
638        b MPU_pvTimerGetTimerIDImpl
639    MPU_pvTimerGetTimerID_Unpriv:
640        svc #SYSTEM_CALL_pvTimerGetTimerID
641/*-----------------------------------------------------------*/
642
643    PUBLIC MPU_vTimerSetTimerID
644MPU_vTimerSetTimerID:
645    push {r0}
646    mrs r0, control
647    tst r0, #1
648    pop {r0}
649    bne MPU_vTimerSetTimerID_Unpriv
650    MPU_vTimerSetTimerID_Priv:
651        b MPU_vTimerSetTimerIDImpl
652    MPU_vTimerSetTimerID_Unpriv:
653        svc #SYSTEM_CALL_vTimerSetTimerID
654/*-----------------------------------------------------------*/
655
656    PUBLIC MPU_xTimerIsTimerActive
657MPU_xTimerIsTimerActive:
658    push {r0}
659    mrs r0, control
660    tst r0, #1
661    pop {r0}
662    bne MPU_xTimerIsTimerActive_Unpriv
663    MPU_xTimerIsTimerActive_Priv:
664        b MPU_xTimerIsTimerActiveImpl
665    MPU_xTimerIsTimerActive_Unpriv:
666        svc #SYSTEM_CALL_xTimerIsTimerActive
667/*-----------------------------------------------------------*/
668
669    PUBLIC MPU_xTimerGetTimerDaemonTaskHandle
670MPU_xTimerGetTimerDaemonTaskHandle:
671    push {r0}
672    mrs r0, control
673    tst r0, #1
674    pop {r0}
675    bne MPU_xTimerGetTimerDaemonTaskHandle_Unpriv
676    MPU_xTimerGetTimerDaemonTaskHandle_Priv:
677        b MPU_xTimerGetTimerDaemonTaskHandleImpl
678    MPU_xTimerGetTimerDaemonTaskHandle_Unpriv:
679        svc #SYSTEM_CALL_xTimerGetTimerDaemonTaskHandle
680/*-----------------------------------------------------------*/
681
682    PUBLIC MPU_xTimerGenericCommandFromTaskEntry
683MPU_xTimerGenericCommandFromTaskEntry:
684    push {r0}
685    mrs r0, control
686    tst r0, #1
687    pop {r0}
688    bne MPU_xTimerGenericCommandFromTask_Unpriv
689    MPU_xTimerGenericCommandFromTask_Priv:
690        b MPU_xTimerGenericCommandFromTaskImpl
691    MPU_xTimerGenericCommandFromTask_Unpriv:
692        svc #SYSTEM_CALL_xTimerGenericCommandFromTask
693/*-----------------------------------------------------------*/
694
695    PUBLIC MPU_pcTimerGetName
696MPU_pcTimerGetName:
697    push {r0}
698    mrs r0, control
699    tst r0, #1
700    pop {r0}
701    bne MPU_pcTimerGetName_Unpriv
702    MPU_pcTimerGetName_Priv:
703        b MPU_pcTimerGetNameImpl
704    MPU_pcTimerGetName_Unpriv:
705        svc #SYSTEM_CALL_pcTimerGetName
706/*-----------------------------------------------------------*/
707
708    PUBLIC MPU_vTimerSetReloadMode
709MPU_vTimerSetReloadMode:
710    push {r0}
711    mrs r0, control
712    tst r0, #1
713    pop {r0}
714    bne MPU_vTimerSetReloadMode_Unpriv
715    MPU_vTimerSetReloadMode_Priv:
716        b MPU_vTimerSetReloadModeImpl
717    MPU_vTimerSetReloadMode_Unpriv:
718        svc #SYSTEM_CALL_vTimerSetReloadMode
719/*-----------------------------------------------------------*/
720
721    PUBLIC MPU_xTimerGetReloadMode
722MPU_xTimerGetReloadMode:
723    push {r0}
724    mrs r0, control
725    tst r0, #1
726    pop {r0}
727    bne MPU_xTimerGetReloadMode_Unpriv
728    MPU_xTimerGetReloadMode_Priv:
729        b MPU_xTimerGetReloadModeImpl
730    MPU_xTimerGetReloadMode_Unpriv:
731        svc #SYSTEM_CALL_xTimerGetReloadMode
732/*-----------------------------------------------------------*/
733
734    PUBLIC MPU_uxTimerGetReloadMode
735MPU_uxTimerGetReloadMode:
736    push {r0}
737    mrs r0, control
738    tst r0, #1
739    pop {r0}
740    bne MPU_uxTimerGetReloadMode_Unpriv
741    MPU_uxTimerGetReloadMode_Priv:
742        b MPU_uxTimerGetReloadModeImpl
743    MPU_uxTimerGetReloadMode_Unpriv:
744        svc #SYSTEM_CALL_uxTimerGetReloadMode
745/*-----------------------------------------------------------*/
746
747    PUBLIC MPU_xTimerGetPeriod
748MPU_xTimerGetPeriod:
749    push {r0}
750    mrs r0, control
751    tst r0, #1
752    pop {r0}
753    bne MPU_xTimerGetPeriod_Unpriv
754    MPU_xTimerGetPeriod_Priv:
755        b MPU_xTimerGetPeriodImpl
756    MPU_xTimerGetPeriod_Unpriv:
757        svc #SYSTEM_CALL_xTimerGetPeriod
758/*-----------------------------------------------------------*/
759
760    PUBLIC MPU_xTimerGetExpiryTime
761MPU_xTimerGetExpiryTime:
762    push {r0}
763    mrs r0, control
764    tst r0, #1
765    pop {r0}
766    bne MPU_xTimerGetExpiryTime_Unpriv
767    MPU_xTimerGetExpiryTime_Priv:
768        b MPU_xTimerGetExpiryTimeImpl
769    MPU_xTimerGetExpiryTime_Unpriv:
770        svc #SYSTEM_CALL_xTimerGetExpiryTime
771/*-----------------------------------------------------------*/
772
773    PUBLIC MPU_xEventGroupWaitBitsEntry
774MPU_xEventGroupWaitBitsEntry:
775    push {r0}
776    mrs r0, control
777    tst r0, #1
778    pop {r0}
779    bne MPU_xEventGroupWaitBits_Unpriv
780    MPU_xEventGroupWaitBits_Priv:
781        b MPU_xEventGroupWaitBitsImpl
782    MPU_xEventGroupWaitBits_Unpriv:
783        svc #SYSTEM_CALL_xEventGroupWaitBits
784/*-----------------------------------------------------------*/
785
786    PUBLIC MPU_xEventGroupClearBits
787MPU_xEventGroupClearBits:
788    push {r0}
789    mrs r0, control
790    tst r0, #1
791    pop {r0}
792    bne MPU_xEventGroupClearBits_Unpriv
793    MPU_xEventGroupClearBits_Priv:
794        b MPU_xEventGroupClearBitsImpl
795    MPU_xEventGroupClearBits_Unpriv:
796        svc #SYSTEM_CALL_xEventGroupClearBits
797/*-----------------------------------------------------------*/
798
799    PUBLIC MPU_xEventGroupSetBits
800MPU_xEventGroupSetBits:
801    push {r0}
802    mrs r0, control
803    tst r0, #1
804    pop {r0}
805    bne MPU_xEventGroupSetBits_Unpriv
806    MPU_xEventGroupSetBits_Priv:
807        b MPU_xEventGroupSetBitsImpl
808    MPU_xEventGroupSetBits_Unpriv:
809        svc #SYSTEM_CALL_xEventGroupSetBits
810/*-----------------------------------------------------------*/
811
812    PUBLIC MPU_xEventGroupSync
813MPU_xEventGroupSync:
814    push {r0}
815    mrs r0, control
816    tst r0, #1
817    pop {r0}
818    bne MPU_xEventGroupSync_Unpriv
819    MPU_xEventGroupSync_Priv:
820        b MPU_xEventGroupSyncImpl
821    MPU_xEventGroupSync_Unpriv:
822        svc #SYSTEM_CALL_xEventGroupSync
823/*-----------------------------------------------------------*/
824
825    PUBLIC MPU_uxEventGroupGetNumber
826MPU_uxEventGroupGetNumber:
827    push {r0}
828    mrs r0, control
829    tst r0, #1
830    pop {r0}
831    bne MPU_uxEventGroupGetNumber_Unpriv
832    MPU_uxEventGroupGetNumber_Priv:
833        b MPU_uxEventGroupGetNumberImpl
834    MPU_uxEventGroupGetNumber_Unpriv:
835        svc #SYSTEM_CALL_uxEventGroupGetNumber
836/*-----------------------------------------------------------*/
837
838    PUBLIC MPU_vEventGroupSetNumber
839MPU_vEventGroupSetNumber:
840    push {r0}
841    mrs r0, control
842    tst r0, #1
843    pop {r0}
844    bne MPU_vEventGroupSetNumber_Unpriv
845    MPU_vEventGroupSetNumber_Priv:
846        b MPU_vEventGroupSetNumberImpl
847    MPU_vEventGroupSetNumber_Unpriv:
848        svc #SYSTEM_CALL_vEventGroupSetNumber
849/*-----------------------------------------------------------*/
850
851    PUBLIC MPU_xStreamBufferSend
852MPU_xStreamBufferSend:
853    push {r0}
854    mrs r0, control
855    tst r0, #1
856    pop {r0}
857    bne MPU_xStreamBufferSend_Unpriv
858    MPU_xStreamBufferSend_Priv:
859        b MPU_xStreamBufferSendImpl
860    MPU_xStreamBufferSend_Unpriv:
861        svc #SYSTEM_CALL_xStreamBufferSend
862/*-----------------------------------------------------------*/
863
864    PUBLIC MPU_xStreamBufferReceive
865MPU_xStreamBufferReceive:
866    push {r0}
867    mrs r0, control
868    tst r0, #1
869    pop {r0}
870    bne MPU_xStreamBufferReceive_Unpriv
871    MPU_xStreamBufferReceive_Priv:
872        b MPU_xStreamBufferReceiveImpl
873    MPU_xStreamBufferReceive_Unpriv:
874        svc #SYSTEM_CALL_xStreamBufferReceive
875/*-----------------------------------------------------------*/
876
877    PUBLIC MPU_xStreamBufferIsFull
878MPU_xStreamBufferIsFull:
879    push {r0}
880    mrs r0, control
881    tst r0, #1
882    pop {r0}
883    bne MPU_xStreamBufferIsFull_Unpriv
884    MPU_xStreamBufferIsFull_Priv:
885        b MPU_xStreamBufferIsFullImpl
886    MPU_xStreamBufferIsFull_Unpriv:
887        svc #SYSTEM_CALL_xStreamBufferIsFull
888/*-----------------------------------------------------------*/
889
890    PUBLIC MPU_xStreamBufferIsEmpty
891MPU_xStreamBufferIsEmpty:
892    push {r0}
893    mrs r0, control
894    tst r0, #1
895    pop {r0}
896    bne MPU_xStreamBufferIsEmpty_Unpriv
897    MPU_xStreamBufferIsEmpty_Priv:
898        b MPU_xStreamBufferIsEmptyImpl
899    MPU_xStreamBufferIsEmpty_Unpriv:
900        svc #SYSTEM_CALL_xStreamBufferIsEmpty
901/*-----------------------------------------------------------*/
902
903    PUBLIC MPU_xStreamBufferSpacesAvailable
904MPU_xStreamBufferSpacesAvailable:
905    push {r0}
906    mrs r0, control
907    tst r0, #1
908    pop {r0}
909    bne MPU_xStreamBufferSpacesAvailable_Unpriv
910    MPU_xStreamBufferSpacesAvailable_Priv:
911        b MPU_xStreamBufferSpacesAvailableImpl
912    MPU_xStreamBufferSpacesAvailable_Unpriv:
913        svc #SYSTEM_CALL_xStreamBufferSpacesAvailable
914/*-----------------------------------------------------------*/
915
916    PUBLIC MPU_xStreamBufferBytesAvailable
917MPU_xStreamBufferBytesAvailable:
918    push {r0}
919    mrs r0, control
920    tst r0, #1
921    pop {r0}
922    bne MPU_xStreamBufferBytesAvailable_Unpriv
923    MPU_xStreamBufferBytesAvailable_Priv:
924        b MPU_xStreamBufferBytesAvailableImpl
925    MPU_xStreamBufferBytesAvailable_Unpriv:
926        svc #SYSTEM_CALL_xStreamBufferBytesAvailable
927/*-----------------------------------------------------------*/
928
929    PUBLIC MPU_xStreamBufferSetTriggerLevel
930MPU_xStreamBufferSetTriggerLevel:
931    push {r0}
932    mrs r0, control
933    tst r0, #1
934    pop {r0}
935    bne MPU_xStreamBufferSetTriggerLevel_Unpriv
936    MPU_xStreamBufferSetTriggerLevel_Priv:
937        b MPU_xStreamBufferSetTriggerLevelImpl
938    MPU_xStreamBufferSetTriggerLevel_Unpriv:
939        svc #SYSTEM_CALL_xStreamBufferSetTriggerLevel
940/*-----------------------------------------------------------*/
941
942    PUBLIC MPU_xStreamBufferNextMessageLengthBytes
943MPU_xStreamBufferNextMessageLengthBytes:
944    push {r0}
945    mrs r0, control
946    tst r0, #1
947    pop {r0}
948    bne MPU_xStreamBufferNextMessageLengthBytes_Unpriv
949    MPU_xStreamBufferNextMessageLengthBytes_Priv:
950        b MPU_xStreamBufferNextMessageLengthBytesImpl
951    MPU_xStreamBufferNextMessageLengthBytes_Unpriv:
952        svc #SYSTEM_CALL_xStreamBufferNextMessageLengthBytes
953/*-----------------------------------------------------------*/
954
955/* Default weak implementations in case one is not available from
956 * mpu_wrappers because of config options. */
957
958    PUBWEAK MPU_xTaskDelayUntilImpl
959MPU_xTaskDelayUntilImpl:
960    b MPU_xTaskDelayUntilImpl
961
962    PUBWEAK MPU_xTaskAbortDelayImpl
963MPU_xTaskAbortDelayImpl:
964    b MPU_xTaskAbortDelayImpl
965
966    PUBWEAK MPU_vTaskDelayImpl
967MPU_vTaskDelayImpl:
968    b MPU_vTaskDelayImpl
969
970    PUBWEAK MPU_uxTaskPriorityGetImpl
971MPU_uxTaskPriorityGetImpl:
972    b MPU_uxTaskPriorityGetImpl
973
974    PUBWEAK MPU_eTaskGetStateImpl
975MPU_eTaskGetStateImpl:
976    b MPU_eTaskGetStateImpl
977
978    PUBWEAK MPU_vTaskGetInfoImpl
979MPU_vTaskGetInfoImpl:
980    b MPU_vTaskGetInfoImpl
981
982    PUBWEAK MPU_xTaskGetIdleTaskHandleImpl
983MPU_xTaskGetIdleTaskHandleImpl:
984    b MPU_xTaskGetIdleTaskHandleImpl
985
986    PUBWEAK MPU_vTaskSuspendImpl
987MPU_vTaskSuspendImpl:
988    b MPU_vTaskSuspendImpl
989
990    PUBWEAK MPU_vTaskResumeImpl
991MPU_vTaskResumeImpl:
992    b MPU_vTaskResumeImpl
993
994    PUBWEAK MPU_xTaskGetTickCountImpl
995MPU_xTaskGetTickCountImpl:
996    b MPU_xTaskGetTickCountImpl
997
998    PUBWEAK MPU_uxTaskGetNumberOfTasksImpl
999MPU_uxTaskGetNumberOfTasksImpl:
1000    b MPU_uxTaskGetNumberOfTasksImpl
1001
1002    PUBWEAK MPU_ulTaskGetRunTimeCounterImpl
1003MPU_ulTaskGetRunTimeCounterImpl:
1004    b MPU_ulTaskGetRunTimeCounterImpl
1005
1006    PUBWEAK MPU_ulTaskGetRunTimePercentImpl
1007MPU_ulTaskGetRunTimePercentImpl:
1008    b MPU_ulTaskGetRunTimePercentImpl
1009
1010    PUBWEAK MPU_ulTaskGetIdleRunTimePercentImpl
1011MPU_ulTaskGetIdleRunTimePercentImpl:
1012    b MPU_ulTaskGetIdleRunTimePercentImpl
1013
1014    PUBWEAK MPU_ulTaskGetIdleRunTimeCounterImpl
1015MPU_ulTaskGetIdleRunTimeCounterImpl:
1016    b MPU_ulTaskGetIdleRunTimeCounterImpl
1017
1018    PUBWEAK MPU_vTaskSetApplicationTaskTagImpl
1019MPU_vTaskSetApplicationTaskTagImpl:
1020    b MPU_vTaskSetApplicationTaskTagImpl
1021
1022    PUBWEAK MPU_xTaskGetApplicationTaskTagImpl
1023MPU_xTaskGetApplicationTaskTagImpl:
1024    b MPU_xTaskGetApplicationTaskTagImpl
1025
1026    PUBWEAK MPU_vTaskSetThreadLocalStoragePointerImpl
1027MPU_vTaskSetThreadLocalStoragePointerImpl:
1028    b MPU_vTaskSetThreadLocalStoragePointerImpl
1029
1030    PUBWEAK MPU_pvTaskGetThreadLocalStoragePointerImpl
1031MPU_pvTaskGetThreadLocalStoragePointerImpl:
1032    b MPU_pvTaskGetThreadLocalStoragePointerImpl
1033
1034    PUBWEAK MPU_uxTaskGetSystemStateImpl
1035MPU_uxTaskGetSystemStateImpl:
1036    b MPU_uxTaskGetSystemStateImpl
1037
1038    PUBWEAK MPU_uxTaskGetStackHighWaterMarkImpl
1039MPU_uxTaskGetStackHighWaterMarkImpl:
1040    b MPU_uxTaskGetStackHighWaterMarkImpl
1041
1042    PUBWEAK MPU_uxTaskGetStackHighWaterMark2Impl
1043MPU_uxTaskGetStackHighWaterMark2Impl:
1044    b MPU_uxTaskGetStackHighWaterMark2Impl
1045
1046    PUBWEAK MPU_xTaskGetCurrentTaskHandleImpl
1047MPU_xTaskGetCurrentTaskHandleImpl:
1048    b MPU_xTaskGetCurrentTaskHandleImpl
1049
1050    PUBWEAK MPU_xTaskGetSchedulerStateImpl
1051MPU_xTaskGetSchedulerStateImpl:
1052    b MPU_xTaskGetSchedulerStateImpl
1053
1054    PUBWEAK MPU_vTaskSetTimeOutStateImpl
1055MPU_vTaskSetTimeOutStateImpl:
1056    b MPU_vTaskSetTimeOutStateImpl
1057
1058    PUBWEAK MPU_xTaskCheckForTimeOutImpl
1059MPU_xTaskCheckForTimeOutImpl:
1060    b MPU_xTaskCheckForTimeOutImpl
1061
1062    PUBWEAK MPU_xTaskGenericNotifyImpl
1063MPU_xTaskGenericNotifyImpl:
1064    b MPU_xTaskGenericNotifyImpl
1065
1066    PUBWEAK MPU_xTaskGenericNotifyWaitImpl
1067MPU_xTaskGenericNotifyWaitImpl:
1068    b MPU_xTaskGenericNotifyWaitImpl
1069
1070    PUBWEAK MPU_ulTaskGenericNotifyTakeImpl
1071MPU_ulTaskGenericNotifyTakeImpl:
1072    b MPU_ulTaskGenericNotifyTakeImpl
1073
1074    PUBWEAK MPU_xTaskGenericNotifyStateClearImpl
1075MPU_xTaskGenericNotifyStateClearImpl:
1076    b MPU_xTaskGenericNotifyStateClearImpl
1077
1078    PUBWEAK MPU_ulTaskGenericNotifyValueClearImpl
1079MPU_ulTaskGenericNotifyValueClearImpl:
1080    b MPU_ulTaskGenericNotifyValueClearImpl
1081
1082    PUBWEAK MPU_xQueueGenericSendImpl
1083MPU_xQueueGenericSendImpl:
1084    b MPU_xQueueGenericSendImpl
1085
1086    PUBWEAK MPU_uxQueueMessagesWaitingImpl
1087MPU_uxQueueMessagesWaitingImpl:
1088    b MPU_uxQueueMessagesWaitingImpl
1089
1090    PUBWEAK MPU_uxQueueSpacesAvailableImpl
1091MPU_uxQueueSpacesAvailableImpl:
1092    b MPU_uxQueueSpacesAvailableImpl
1093
1094    PUBWEAK MPU_xQueueReceiveImpl
1095MPU_xQueueReceiveImpl:
1096    b MPU_xQueueReceiveImpl
1097
1098    PUBWEAK MPU_xQueuePeekImpl
1099MPU_xQueuePeekImpl:
1100    b MPU_xQueuePeekImpl
1101
1102    PUBWEAK MPU_xQueueSemaphoreTakeImpl
1103MPU_xQueueSemaphoreTakeImpl:
1104    b MPU_xQueueSemaphoreTakeImpl
1105
1106    PUBWEAK MPU_xQueueGetMutexHolderImpl
1107MPU_xQueueGetMutexHolderImpl:
1108    b MPU_xQueueGetMutexHolderImpl
1109
1110    PUBWEAK MPU_xQueueTakeMutexRecursiveImpl
1111MPU_xQueueTakeMutexRecursiveImpl:
1112    b MPU_xQueueTakeMutexRecursiveImpl
1113
1114    PUBWEAK MPU_xQueueGiveMutexRecursiveImpl
1115MPU_xQueueGiveMutexRecursiveImpl:
1116    b MPU_xQueueGiveMutexRecursiveImpl
1117
1118    PUBWEAK MPU_xQueueSelectFromSetImpl
1119MPU_xQueueSelectFromSetImpl:
1120    b MPU_xQueueSelectFromSetImpl
1121
1122    PUBWEAK MPU_xQueueAddToSetImpl
1123MPU_xQueueAddToSetImpl:
1124    b MPU_xQueueAddToSetImpl
1125
1126    PUBWEAK MPU_vQueueAddToRegistryImpl
1127MPU_vQueueAddToRegistryImpl:
1128    b MPU_vQueueAddToRegistryImpl
1129
1130    PUBWEAK MPU_vQueueUnregisterQueueImpl
1131MPU_vQueueUnregisterQueueImpl:
1132    b MPU_vQueueUnregisterQueueImpl
1133
1134    PUBWEAK MPU_pcQueueGetNameImpl
1135MPU_pcQueueGetNameImpl:
1136    b MPU_pcQueueGetNameImpl
1137
1138    PUBWEAK MPU_pvTimerGetTimerIDImpl
1139MPU_pvTimerGetTimerIDImpl:
1140    b MPU_pvTimerGetTimerIDImpl
1141
1142    PUBWEAK MPU_vTimerSetTimerIDImpl
1143MPU_vTimerSetTimerIDImpl:
1144    b MPU_vTimerSetTimerIDImpl
1145
1146    PUBWEAK MPU_xTimerIsTimerActiveImpl
1147MPU_xTimerIsTimerActiveImpl:
1148    b MPU_xTimerIsTimerActiveImpl
1149
1150    PUBWEAK MPU_xTimerGetTimerDaemonTaskHandleImpl
1151MPU_xTimerGetTimerDaemonTaskHandleImpl:
1152    b MPU_xTimerGetTimerDaemonTaskHandleImpl
1153
1154    PUBWEAK MPU_xTimerGenericCommandFromTaskImpl
1155MPU_xTimerGenericCommandFromTaskImpl:
1156    b MPU_xTimerGenericCommandFromTaskImpl
1157
1158    PUBWEAK MPU_pcTimerGetNameImpl
1159MPU_pcTimerGetNameImpl:
1160    b MPU_pcTimerGetNameImpl
1161
1162    PUBWEAK MPU_vTimerSetReloadModeImpl
1163MPU_vTimerSetReloadModeImpl:
1164    b MPU_vTimerSetReloadModeImpl
1165
1166    PUBWEAK MPU_xTimerGetReloadModeImpl
1167MPU_xTimerGetReloadModeImpl:
1168    b MPU_xTimerGetReloadModeImpl
1169
1170    PUBWEAK MPU_uxTimerGetReloadModeImpl
1171MPU_uxTimerGetReloadModeImpl:
1172    b MPU_uxTimerGetReloadModeImpl
1173
1174    PUBWEAK MPU_xTimerGetPeriodImpl
1175MPU_xTimerGetPeriodImpl:
1176    b MPU_xTimerGetPeriodImpl
1177
1178    PUBWEAK MPU_xTimerGetExpiryTimeImpl
1179MPU_xTimerGetExpiryTimeImpl:
1180    b MPU_xTimerGetExpiryTimeImpl
1181
1182    PUBWEAK MPU_xEventGroupWaitBitsImpl
1183MPU_xEventGroupWaitBitsImpl:
1184    b MPU_xEventGroupWaitBitsImpl
1185
1186    PUBWEAK MPU_xEventGroupClearBitsImpl
1187MPU_xEventGroupClearBitsImpl:
1188    b MPU_xEventGroupClearBitsImpl
1189
1190    PUBWEAK MPU_xEventGroupSetBitsImpl
1191MPU_xEventGroupSetBitsImpl:
1192    b MPU_xEventGroupSetBitsImpl
1193
1194    PUBWEAK MPU_xEventGroupSyncImpl
1195MPU_xEventGroupSyncImpl:
1196    b MPU_xEventGroupSyncImpl
1197
1198    PUBWEAK MPU_uxEventGroupGetNumberImpl
1199MPU_uxEventGroupGetNumberImpl:
1200    b MPU_uxEventGroupGetNumberImpl
1201
1202    PUBWEAK MPU_vEventGroupSetNumberImpl
1203MPU_vEventGroupSetNumberImpl:
1204    b MPU_vEventGroupSetNumberImpl
1205
1206    PUBWEAK MPU_xStreamBufferSendImpl
1207MPU_xStreamBufferSendImpl:
1208    b MPU_xStreamBufferSendImpl
1209
1210    PUBWEAK MPU_xStreamBufferReceiveImpl
1211MPU_xStreamBufferReceiveImpl:
1212    b MPU_xStreamBufferReceiveImpl
1213
1214    PUBWEAK MPU_xStreamBufferIsFullImpl
1215MPU_xStreamBufferIsFullImpl:
1216    b MPU_xStreamBufferIsFullImpl
1217
1218    PUBWEAK MPU_xStreamBufferIsEmptyImpl
1219MPU_xStreamBufferIsEmptyImpl:
1220    b MPU_xStreamBufferIsEmptyImpl
1221
1222    PUBWEAK MPU_xStreamBufferSpacesAvailableImpl
1223MPU_xStreamBufferSpacesAvailableImpl:
1224    b MPU_xStreamBufferSpacesAvailableImpl
1225
1226    PUBWEAK MPU_xStreamBufferBytesAvailableImpl
1227MPU_xStreamBufferBytesAvailableImpl:
1228    b MPU_xStreamBufferBytesAvailableImpl
1229
1230    PUBWEAK MPU_xStreamBufferSetTriggerLevelImpl
1231MPU_xStreamBufferSetTriggerLevelImpl:
1232    b MPU_xStreamBufferSetTriggerLevelImpl
1233
1234    PUBWEAK MPU_xStreamBufferNextMessageLengthBytesImpl
1235MPU_xStreamBufferNextMessageLengthBytesImpl:
1236    b MPU_xStreamBufferNextMessageLengthBytesImpl
1237
1238/*-----------------------------------------------------------*/
1239
1240#endif /* ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) */
1241
1242    END
1243