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