mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-10 08:07:46 -04:00
Merge branch 'main' into blocking_buffer
This commit is contained in:
commit
ab31cf4b0f
679 changed files with 18989 additions and 12515 deletions
17
.github/.cSpellWords.txt
vendored
17
.github/.cSpellWords.txt
vendored
|
@ -549,6 +549,10 @@ NTRST
|
|||
NVIC
|
||||
ODAT
|
||||
ODSR
|
||||
OINC
|
||||
OIWBNOWA
|
||||
OIWBWA
|
||||
OIWTNOWA
|
||||
OPMOD
|
||||
optimisations
|
||||
OPTIMISED
|
||||
|
@ -630,6 +634,7 @@ PREB
|
|||
PRIA
|
||||
Prioritised
|
||||
PRIS
|
||||
PRIVDEFENA
|
||||
PROCDLY
|
||||
PRODH
|
||||
PRODL
|
||||
|
@ -795,6 +800,15 @@ SWRST
|
|||
SWTRG
|
||||
synchronise
|
||||
SYSC
|
||||
sysclk
|
||||
Sysclk
|
||||
SysClk
|
||||
SYSClk
|
||||
SYSCLK
|
||||
sysclock
|
||||
Sysclock
|
||||
SysClock
|
||||
SYSCLOCK
|
||||
TACCR
|
||||
TACCTL
|
||||
TACLR
|
||||
|
@ -877,6 +891,9 @@ UNDADD
|
|||
unpadded
|
||||
Unpadded
|
||||
UNPADDED
|
||||
unprotect
|
||||
Unprotect
|
||||
Unprotected
|
||||
UNRE
|
||||
UNSUB
|
||||
UNSUBACK
|
||||
|
|
11
.github/scripts/kernel_checker.py
vendored
11
.github/scripts/kernel_checker.py
vendored
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env python3
|
||||
#/*
|
||||
# * FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
# * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
# * Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
# *
|
||||
# * SPDX-License-Identifier: MIT
|
||||
# *
|
||||
|
@ -37,7 +37,8 @@ KERNEL_IGNORED_FILES = [
|
|||
'FreeRTOS-openocd.c',
|
||||
'Makefile',
|
||||
'.DS_Store',
|
||||
'cspell.config.yaml'
|
||||
'cspell.config.yaml',
|
||||
'.clang-format'
|
||||
]
|
||||
|
||||
KERNEL_IGNORED_EXTENSIONS = [
|
||||
|
@ -108,7 +109,7 @@ KERNEL_THIRD_PARTY_PATTERNS = [
|
|||
KERNEL_HEADER = [
|
||||
'/*\n',
|
||||
' * FreeRTOS Kernel <DEVELOPMENT BRANCH>\n',
|
||||
' * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n',
|
||||
' * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n',
|
||||
' *\n',
|
||||
' * SPDX-License-Identifier: MIT\n',
|
||||
' *\n',
|
||||
|
@ -135,12 +136,16 @@ KERNEL_HEADER = [
|
|||
' */\n',
|
||||
]
|
||||
|
||||
|
||||
FREERTOS_COPYRIGHT_REGEX = r"^(;|#)?( *(\/\*|\*|#|\/\/))? Copyright \(C\) 20\d\d Amazon.com, Inc. or its affiliates. All Rights Reserved\.( \*\/)?$"
|
||||
|
||||
def main():
|
||||
parser = HeaderChecker.configArgParser()
|
||||
args = parser.parse_args()
|
||||
|
||||
# Configure the checks then run
|
||||
checker = HeaderChecker(KERNEL_HEADER,
|
||||
copyright_regex=FREERTOS_COPYRIGHT_REGEX,
|
||||
ignored_files=KERNEL_IGNORED_FILES,
|
||||
ignored_ext=KERNEL_IGNORED_EXTENSIONS,
|
||||
ignored_patterns=KERNEL_IGNORED_PATTERNS,
|
||||
|
|
4
.github/workflows/auto-release.yml
vendored
4
.github/workflows/auto-release.yml
vendored
|
@ -31,14 +31,14 @@ jobs:
|
|||
|
||||
# Currently FreeRTOS/.github/scripts houses the release script. Download it for upcoming usage
|
||||
- name: Checkout FreeRTOS Release Tools
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4.1.1
|
||||
with:
|
||||
repository: FreeRTOS/FreeRTOS
|
||||
path: tools
|
||||
|
||||
# Simpler git auth if we use checkout action and forward the repo to release script
|
||||
- name: Checkout FreeRTOS Kernel
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4.1.1
|
||||
with:
|
||||
path: local_kernel
|
||||
fetch-depth: 0
|
||||
|
|
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
@ -9,7 +9,7 @@ jobs:
|
|||
formatting:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4.1.1
|
||||
- name: Check Formatting of FreeRTOS-Kernel Files
|
||||
uses: FreeRTOS/CI-CD-Github-Actions/formatting@main
|
||||
with:
|
||||
|
@ -19,7 +19,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Clone This Repo
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4.1.1
|
||||
- name: Run spellings check
|
||||
uses: FreeRTOS/CI-CD-Github-Actions/spellings@main
|
||||
with:
|
||||
|
@ -30,14 +30,14 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Clone This Repo
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4.1.1
|
||||
- name: Link Verification
|
||||
uses: FreeRTOS/CI-CD-Github-Actions/link-verifier@main
|
||||
|
||||
verify-manifest:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4.1.1
|
||||
with:
|
||||
submodules: true
|
||||
fetch-depth: 0
|
||||
|
|
2
.github/workflows/coverity_scan.yml
vendored
2
.github/workflows/coverity_scan.yml
vendored
|
@ -19,7 +19,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout the Repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4.1.1
|
||||
|
||||
- env:
|
||||
stepName: Install Build Essentials
|
||||
|
|
4
.github/workflows/git-secrets.yml
vendored
4
.github/workflows/git-secrets.yml
vendored
|
@ -7,11 +7,11 @@ jobs:
|
|||
git-secrets:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4.1.1
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: Checkout awslabs/git-secrets
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4.1.1
|
||||
with:
|
||||
repository: awslabs/git-secrets
|
||||
ref: master
|
||||
|
|
4
.github/workflows/kernel-checks.yml
vendored
4
.github/workflows/kernel-checks.yml
vendored
|
@ -15,7 +15,7 @@ jobs:
|
|||
|
||||
# There is shared code, hosted by FreeRTOS/FreeRTOS, with deps needed by header checker
|
||||
- name: Checkout FreeRTOS Tools
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4.1.1
|
||||
with:
|
||||
repository: FreeRTOS/FreeRTOS
|
||||
sparse-checkout: '.github'
|
||||
|
@ -24,7 +24,7 @@ jobs:
|
|||
|
||||
# Checkout user pull request changes
|
||||
- name: Checkout Pull Request
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4.1.1
|
||||
with:
|
||||
path: inspect
|
||||
|
||||
|
|
53
.github/workflows/kernel-demos.yml
vendored
53
.github/workflows/kernel-demos.yml
vendored
|
@ -14,7 +14,7 @@ jobs:
|
|||
runs-on: windows-latest
|
||||
steps:
|
||||
- name: Checkout the FreeRTOS/FreeRTOS Repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4.1.1
|
||||
with:
|
||||
ref: main
|
||||
repository: FreeRTOS/FreeRTOS
|
||||
|
@ -23,7 +23,7 @@ jobs:
|
|||
|
||||
# Checkout user pull request changes
|
||||
- name: Checkout Pull Request
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4.1.1
|
||||
with:
|
||||
path: ./FreeRTOS/Source
|
||||
|
||||
|
@ -43,7 +43,7 @@ jobs:
|
|||
runs-on: windows-latest
|
||||
steps:
|
||||
- name: Checkout the FreeRTOS/FreeRTOS Repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4.1.1
|
||||
with:
|
||||
ref: main
|
||||
repository: FreeRTOS/FreeRTOS
|
||||
|
@ -52,7 +52,7 @@ jobs:
|
|||
|
||||
# Checkout user pull request changes
|
||||
- name: Checkout Pull Request
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4.1.1
|
||||
with:
|
||||
path: ./FreeRTOS/Source
|
||||
|
||||
|
@ -74,7 +74,7 @@ jobs:
|
|||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: Checkout the FreeRTOS/FreeRTOS Repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4.1.1
|
||||
with:
|
||||
ref: main
|
||||
repository: FreeRTOS/FreeRTOS
|
||||
|
@ -83,7 +83,7 @@ jobs:
|
|||
|
||||
# Checkout user pull request changes
|
||||
- name: Checkout Pull Request
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4.1.1
|
||||
with:
|
||||
path: ./FreeRTOS/Source
|
||||
|
||||
|
@ -110,7 +110,7 @@ jobs:
|
|||
steps:
|
||||
# Checkout user pull request changes
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4.1.1
|
||||
|
||||
- name: Install GCC
|
||||
shell: bash
|
||||
|
@ -137,7 +137,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout the FreeRTOS/FreeRTOS Repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4.1.1
|
||||
with:
|
||||
ref: main
|
||||
repository: FreeRTOS/FreeRTOS
|
||||
|
@ -146,7 +146,7 @@ jobs:
|
|||
|
||||
# Checkout user pull request changes
|
||||
- name: Checkout Pull Request
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4.1.1
|
||||
with:
|
||||
path: ./FreeRTOS/Source
|
||||
|
||||
|
@ -166,7 +166,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout the FreeRTOS/FreeRTOS Repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4.1.1
|
||||
with:
|
||||
ref: main
|
||||
repository: FreeRTOS/FreeRTOS
|
||||
|
@ -176,7 +176,7 @@ jobs:
|
|||
stepName: Fetch Community-Supported-Demos Submodule
|
||||
shell: bash
|
||||
run: |
|
||||
# Fetch Community-Supported-Demos Submodule
|
||||
# ${{ env.stepName }}
|
||||
echo -e "::group::${{ env.bashInfo }} ${{ env.stepName }} ${{ env.bashEnd }}"
|
||||
git submodule update --checkout --init --depth 1 FreeRTOS/Demo/ThirdParty/Community-Supported-Demos
|
||||
# This repository contains the microblaze_instructions.h header file
|
||||
|
@ -186,7 +186,7 @@ jobs:
|
|||
|
||||
# Checkout user pull request changes
|
||||
- name: Checkout Pull Request
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4.1.1
|
||||
with:
|
||||
path: ./FreeRTOS/Source
|
||||
|
||||
|
@ -252,29 +252,24 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout the FreeRTOS/FreeRTOS Repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4.1.1
|
||||
with:
|
||||
ref: main
|
||||
repository: FreeRTOS/FreeRTOS
|
||||
fetch-depth: 1
|
||||
|
||||
- name: Fetch Community-Supported-Demos Submodule
|
||||
- env:
|
||||
stepName: Fetch Community-Supported-Demos Submodule
|
||||
shell: bash
|
||||
run: |
|
||||
# Fetch Community-Supported-Demos Submodule
|
||||
echo "::group::Fetch Community-Supported-Demos Submodule"
|
||||
# ${{ env.stepName }}
|
||||
echo -e "::group::${{ env.bashInfo }} ${{ env.stepName }} ${{ env.bashEnd }}"
|
||||
git submodule update --checkout --init --depth 1 FreeRTOS/Demo/ThirdParty/Community-Supported-Demos
|
||||
echo "::endgroup::"
|
||||
if [ "$?" = "0" ]; then
|
||||
echo -e "\033[32;3mCloned the Community-Supported-Demos\033[0m"
|
||||
else
|
||||
echo -e "\033[32;31mCommunity-Supported-Demos Clone Failed...\033[0m"
|
||||
exit 1
|
||||
fi
|
||||
echo -e "${{ env.bashPass }} ${{ env.stepName }} ${{ env.bashEnd }}"
|
||||
|
||||
# Checkout user pull request changes
|
||||
- name: Checkout Pull Request
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4.1.1
|
||||
with:
|
||||
path: ./FreeRTOS/Source
|
||||
|
||||
|
@ -289,6 +284,16 @@ jobs:
|
|||
working-directory: FreeRTOS/Demo/CORTEX_MPU_M3_MPS2_QEMU_GCC
|
||||
run: make -j
|
||||
|
||||
- name: Build CORTEX_MPU_R4F_TI_RM46_HERCULES_GCC Demo
|
||||
shell: bash
|
||||
working-directory: FreeRTOS/Demo/CORTEX_MPU_R4F_TI_RM46_HERCULES_GCC
|
||||
run: cmake -S . -B build && make -j -C build all
|
||||
|
||||
- name: Build CORTEX_MPU_R5F_TI_RM57_HERCULES_GCC Demo
|
||||
shell: bash
|
||||
working-directory: FreeRTOS/Demo/CORTEX_MPU_R5F_TI_RM57_HERCULES_GCC
|
||||
run: cmake -S . -B build && make -j -C build all
|
||||
|
||||
- name: Build CORTEX_LM3S102_GCC Demo
|
||||
shell: bash
|
||||
working-directory: FreeRTOS/Demo/CORTEX_LM3S102_GCC
|
||||
|
|
4
.github/workflows/unit-tests.yml
vendored
4
.github/workflows/unit-tests.yml
vendored
|
@ -6,7 +6,7 @@ jobs:
|
|||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Checkout Parent Repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4.1.1
|
||||
with:
|
||||
ref: main
|
||||
repository: FreeRTOS/FreeRTOS
|
||||
|
@ -15,7 +15,7 @@ jobs:
|
|||
|
||||
# Checkout user pull request changes
|
||||
- name: Checkout Pull Request
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4.1.1
|
||||
with:
|
||||
path: ./FreeRTOS/Source
|
||||
|
||||
|
|
|
@ -85,6 +85,7 @@ if(NOT FREERTOS_PORT)
|
|||
" GCC_ARM_CM85_NTZ_NONSECURE - Compiler: GCC Target: ARM Cortex-M85 non-trustzone non-secure\n"
|
||||
" GCC_ARM_CM85_TFM - Compiler: GCC Target: ARM Cortex-M85 non-secure for TF-M\n"
|
||||
" GCC_ARM_CR5 - Compiler: GCC Target: ARM Cortex-R5\n"
|
||||
" GCC_ARM_CRX_MPU - Compiler: GCC Target: ARM Cortex-Rx with MPU\n"
|
||||
" GCC_ARM_CRX_NOGIC - Compiler: GCC Target: ARM Cortex-Rx no GIC\n"
|
||||
" GCC_ARM7_AT91FR40008 - Compiler: GCC Target: ARM7 Atmel AT91R40008\n"
|
||||
" GCC_ARM7_AT91SAM7S - Compiler: GCC Target: ARM7 Atmel AT91SAM7S\n"
|
||||
|
|
10
MISRA.md
10
MISRA.md
|
@ -2,11 +2,11 @@
|
|||
|
||||
FreeRTOS-Kernel conforms to [MISRA C:2012](https://www.misra.org.uk/misra-c)
|
||||
guidelines, with the deviations listed below. Compliance is checked with
|
||||
Coverity static analysis. Since the FreeRTOS kernel is designed for
|
||||
small-embedded devices, it needs to have a very small memory footprint and
|
||||
has to be efficient. To achieve that and to increase the performance, it
|
||||
deviates from some MISRA rules. The specific deviations, suppressed inline,
|
||||
are listed below.
|
||||
Coverity static analysis version 2023.6.1. Since the FreeRTOS kernel is
|
||||
designed for small-embedded devices, it needs to have a very small memory
|
||||
footprint and has to be efficient. To achieve that and to increase the
|
||||
performance, it deviates from some MISRA rules. The specific deviations,
|
||||
suppressed inline, are listed below.
|
||||
|
||||
Additionally, [MISRA configuration file](examples/coverity/coverity_misra.config)
|
||||
contains project wide deviations.
|
||||
|
|
31
croutine.c
31
croutine.c
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
@ -30,7 +30,7 @@
|
|||
#include "task.h"
|
||||
#include "croutine.h"
|
||||
|
||||
/* Remove the whole file is co-routines are not being used. */
|
||||
/* Remove the whole file if co-routines are not being used. */
|
||||
#if ( configUSE_CO_ROUTINES != 0 )
|
||||
|
||||
/*
|
||||
|
@ -52,8 +52,10 @@
|
|||
|
||||
/* Other file private variables. --------------------------------*/
|
||||
CRCB_t * pxCurrentCoRoutine = NULL;
|
||||
static UBaseType_t uxTopCoRoutineReadyPriority = 0;
|
||||
static TickType_t xCoRoutineTickCount = 0, xLastTickCount = 0, xPassedTicks = 0;
|
||||
static UBaseType_t uxTopCoRoutineReadyPriority = ( UBaseType_t ) 0U;
|
||||
static TickType_t xCoRoutineTickCount = ( TickType_t ) 0U;
|
||||
static TickType_t xLastTickCount = ( TickType_t ) 0U;
|
||||
static TickType_t xPassedTicks = ( TickType_t ) 0U;
|
||||
|
||||
/* The initial state of the co-routine when it is created. */
|
||||
#define corINITIAL_STATE ( 0 )
|
||||
|
@ -378,5 +380,26 @@
|
|||
|
||||
return xReturn;
|
||||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
/*
|
||||
* Reset state in this file. This state is normally initialized at start up.
|
||||
* This function must be called by the application before restarting the
|
||||
* scheduler.
|
||||
*/
|
||||
void vCoRoutineResetState( void )
|
||||
{
|
||||
/* Lists for ready and blocked co-routines. */
|
||||
pxDelayedCoRoutineList = NULL;
|
||||
pxOverflowDelayedCoRoutineList = NULL;
|
||||
|
||||
/* Other file private variables. */
|
||||
pxCurrentCoRoutine = NULL;
|
||||
uxTopCoRoutineReadyPriority = ( UBaseType_t ) 0U;
|
||||
xCoRoutineTickCount = ( TickType_t ) 0U;
|
||||
xLastTickCount = ( TickType_t ) 0U;
|
||||
xPassedTicks = ( TickType_t ) 0U;
|
||||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
#endif /* configUSE_CO_ROUTINES == 0 */
|
||||
|
|
1401
event_groups.c
1401
event_groups.c
File diff suppressed because it is too large
Load diff
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
@ -43,7 +43,13 @@
|
|||
/* Standard includes. */
|
||||
#include <stdio.h>
|
||||
|
||||
void exampleTask( void * parameters )
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
static void exampleTask( void * parameters );
|
||||
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
static void exampleTask( void * parameters )
|
||||
{
|
||||
/* Unused parameters. */
|
||||
( void ) parameters;
|
||||
|
@ -61,15 +67,15 @@ void main( void )
|
|||
static StaticTask_t exampleTaskTCB;
|
||||
static StackType_t exampleTaskStack[ configMINIMAL_STACK_SIZE ];
|
||||
|
||||
printf( "Example FreeRTOS Project\n" );
|
||||
( void ) printf( "Example FreeRTOS Project\n" );
|
||||
|
||||
xTaskCreateStatic( exampleTask,
|
||||
"example",
|
||||
configMINIMAL_STACK_SIZE,
|
||||
NULL,
|
||||
configMAX_PRIORITIES - 1,
|
||||
&( exampleTaskStack[ 0 ] ),
|
||||
&( exampleTaskTCB ) );
|
||||
( void ) xTaskCreateStatic( exampleTask,
|
||||
"example",
|
||||
configMINIMAL_STACK_SIZE,
|
||||
NULL,
|
||||
configMAX_PRIORITIES - 1U,
|
||||
&( exampleTaskStack[ 0 ] ),
|
||||
&( exampleTaskTCB ) );
|
||||
|
||||
/* Start the scheduler. */
|
||||
vTaskStartScheduler();
|
||||
|
@ -81,12 +87,16 @@ void main( void )
|
|||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
void vApplicationStackOverflowHook( TaskHandle_t xTask,
|
||||
char * pcTaskName )
|
||||
{
|
||||
/* Check pcTaskName for the name of the offending task,
|
||||
* or pxCurrentTCB if pcTaskName has itself been corrupted. */
|
||||
( void ) xTask;
|
||||
( void ) pcTaskName;
|
||||
}
|
||||
#if ( configCHECK_FOR_STACK_OVERFLOW > 0 )
|
||||
|
||||
void vApplicationStackOverflowHook( TaskHandle_t xTask,
|
||||
char * pcTaskName )
|
||||
{
|
||||
/* Check pcTaskName for the name of the offending task,
|
||||
* or pxCurrentTCB if pcTaskName has itself been corrupted. */
|
||||
( void ) xTask;
|
||||
( void ) pcTaskName;
|
||||
}
|
||||
|
||||
#endif /* #if ( configCHECK_FOR_STACK_OVERFLOW > 0 ) */
|
||||
/*-----------------------------------------------------------*/
|
||||
|
|
|
@ -2,8 +2,9 @@ cmake_minimum_required(VERSION 3.15)
|
|||
|
||||
project(coverity)
|
||||
|
||||
set(FREERTOS_KERNEL_PATH "../../")
|
||||
FILE(GLOB FREERTOS_KERNEL_SOURCE ${FREERTOS_KERNEL_PATH}*.c)
|
||||
set(FREERTOS_KERNEL_PATH "../..")
|
||||
FILE(GLOB FREERTOS_KERNEL_SOURCE ${FREERTOS_KERNEL_PATH}/*.c)
|
||||
FILE(GLOB FREERTOS_PORT_CODE ${FREERTOS_KERNEL_PATH}/portable/template/*.c)
|
||||
|
||||
# Coverity incorrectly infers the type of pdTRUE and pdFALSE as boolean because
|
||||
# of their names. This generates multiple false positive warnings about type
|
||||
|
@ -12,8 +13,8 @@ FILE(GLOB FREERTOS_KERNEL_SOURCE ${FREERTOS_KERNEL_PATH}*.c)
|
|||
# fixes the issue of incorrectly inferring the type of pdTRUE and pdFALSE as
|
||||
# boolean.
|
||||
add_custom_target(fix_source ALL
|
||||
COMMAND sed -i -b -e 's/pdFALSE/pdFAIL/g' -e 's/pdTRUE/pdPASS/g' ${FREERTOS_KERNEL_SOURCE}
|
||||
DEPENDS ${FREERTOS_KERNEL_SOURCE})
|
||||
COMMAND sed -i -b -e 's/pdFALSE/pdFAIL/g' -e 's/pdTRUE/pdPASS/g' ${FREERTOS_KERNEL_SOURCE} ${FREERTOS_PORT_CODE}
|
||||
DEPENDS ${FREERTOS_KERNEL_SOURCE} ${FREERTOS_PORT_CODE})
|
||||
|
||||
# Add the freertos_config for FreeRTOS-Kernel.
|
||||
add_library(freertos_config INTERFACE)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -4,7 +4,7 @@ run [Synopsys Coverity](https://www.synopsys.com/software-integrity/security-tes
|
|||
for checking MISRA compliance.
|
||||
|
||||
> **Note**
|
||||
Coverity version 2022.6.1 incorrectly infers the type of `pdTRUE` and `pdFALSE`
|
||||
Coverity version 2023.6.1 incorrectly infers the type of `pdTRUE` and `pdFALSE`
|
||||
as boolean because of their names, resulting in multiple false positive warnings
|
||||
about type mismatch. We replace `pdTRUE` with `pdPASS` and `pdFALSE` with
|
||||
`pdFAIL` to avoid these false positive warnings. This workaround will not be
|
||||
|
@ -40,15 +40,14 @@ commands in a terminal:
|
|||
3. Build the (pseudo) application:
|
||||
~~~
|
||||
cd build/
|
||||
cov-build --emit-complementary-info --dir cov-out make
|
||||
cov-build --emit-complementary-info --dir cov-out make coverity
|
||||
~~~
|
||||
4. Go to the Coverity output directory (`cov-out`) and begin Coverity static
|
||||
analysis:
|
||||
~~~
|
||||
cd cov-out/
|
||||
cov-analyze --dir ./cov-out \
|
||||
--coding-standard-config ../examples/coverity/coverity_misra.config \
|
||||
--tu-pattern "file('.*/FreeRTOS/Source/[A-Za-z_]*\.c')
|
||||
--tu-pattern "file('[A-Za-z_]+\.c')"
|
||||
~~~
|
||||
5. Generate the HTML report:
|
||||
~~~
|
||||
|
|
|
@ -1,97 +1,91 @@
|
|||
// MISRA C-2012 Rules
|
||||
|
||||
{
|
||||
version : "2.0",
|
||||
standard : "c2012",
|
||||
title: "Coverity MISRA Configuration",
|
||||
deviations : [
|
||||
// Disable the following rules.
|
||||
"version" : "2.0",
|
||||
"standard" : "c2012",
|
||||
"title": "Coverity MISRA Configuration",
|
||||
"deviations" : [
|
||||
{
|
||||
deviation: "Rule 3.1",
|
||||
reason: "We post HTTP links in code comments which contain // inside comments blocks."
|
||||
"deviation": "Rule 3.1",
|
||||
"reason": "We post HTTP links in code comments which contain // inside comments blocks."
|
||||
},
|
||||
{
|
||||
deviation: "Rule 14.4",
|
||||
reason: "do while( 0 ) pattern is used in macros to prevent extra semi-colon."
|
||||
},
|
||||
|
||||
// Disable the following advisory rules and directives.
|
||||
{
|
||||
deviation: "Directive 4.4",
|
||||
reason: "Code snippet is used in comment to help explanation."
|
||||
"deviation": "Rule 14.4",
|
||||
"reason": "do while( 0 ) pattern is used in macros to prevent extra semi-colon."
|
||||
},
|
||||
{
|
||||
deviation: "Directive 4.5",
|
||||
reason: "Allow names that MISRA considers ambiguous."
|
||||
"deviation": "Directive 4.4",
|
||||
"reason": "Code snippet is used in comment to help explanation."
|
||||
},
|
||||
{
|
||||
deviation: "Directive 4.6",
|
||||
reason: "Allow port to use primitive type with typedefs."
|
||||
"deviation": "Directive 4.5",
|
||||
"reason": "Allow names that MISRA considers ambiguous."
|
||||
},
|
||||
{
|
||||
deviation: "Directive 4.8",
|
||||
reason: "HeapRegion_t and HeapStats_t are used only in heap files but declared in portable.h which is included in multiple source files. As a result, these definitions appear in multiple source files where they are not used."
|
||||
"deviation": "Directive 4.6",
|
||||
"reason": "Allow port to use primitive type with typedefs."
|
||||
},
|
||||
{
|
||||
deviation: "Directive 4.9",
|
||||
reason: "FreeRTOS-Kernel is optimised to work on small micro-controllers. To achieve that, function-like macros are used."
|
||||
"deviation": "Directive 4.8",
|
||||
"reason": "HeapRegion_t and HeapStats_t are used only in heap files but declared in portable.h which is included in multiple source files. As a result, these definitions appear in multiple source files where they are not used."
|
||||
},
|
||||
{
|
||||
deviation: "Rule 2.3",
|
||||
reason: "FreeRTOS defines types which is used in application."
|
||||
"deviation": "Directive 4.9",
|
||||
"reason": "FreeRTOS-Kernel is optimised to work on small micro-controllers. To achieve that, function-like macros are used."
|
||||
},
|
||||
{
|
||||
deviation: "Rule 2.4",
|
||||
reason: "Allow to define unused tag."
|
||||
"deviation": "Rule 2.3",
|
||||
"reason": "FreeRTOS defines types which is used in application."
|
||||
},
|
||||
{
|
||||
deviation: "Rule 2.5",
|
||||
reason: "Allow to define unused macro."
|
||||
"deviation": "Rule 2.4",
|
||||
"reason": "Allow to define unused tag."
|
||||
},
|
||||
{
|
||||
deviation: "Rule 5.9",
|
||||
reason: "Allow to define identifier with the same name in structure and global variable."
|
||||
"deviation": "Rule 2.5",
|
||||
"reason": "Allow to define unused macro."
|
||||
},
|
||||
{
|
||||
deviation: "Rule 8.7",
|
||||
reason: "API functions are not used by the library outside of the files they are defined; however, they must be externally visible in order to be used by an application."
|
||||
"deviation": "Rule 5.9",
|
||||
"reason": "Allow to define identifier with the same name in structure and global variable."
|
||||
},
|
||||
{
|
||||
deviation: "Rule 8.9",
|
||||
reason: "Allow to object to be defined in wider scope for debug purpose."
|
||||
"deviation": "Rule 8.7",
|
||||
"reason": "API functions are not used by the library outside of the files they are defined; however, they must be externally visible in order to be used by an application."
|
||||
},
|
||||
{
|
||||
deviation: "Rule 8.13",
|
||||
reason: "Allow to not to use const-qualified type for callback function."
|
||||
"deviation": "Rule 8.9",
|
||||
"reason": "Allow to object to be defined in wider scope for debug purpose."
|
||||
},
|
||||
{
|
||||
deviation: "Rule 11.4",
|
||||
reason: "Allow to convert between a pointer to object and an interger type for stack alignment."
|
||||
"deviation": "Rule 8.13",
|
||||
"reason": "Allow to not to use const-qualified type for callback function."
|
||||
},
|
||||
{
|
||||
deviation: "Rule 15.4",
|
||||
reason: "Allow to use multiple break statements in a loop."
|
||||
"deviation": "Rule 11.4",
|
||||
"reason": "Allow to convert between a pointer to object and an interger type for stack alignment."
|
||||
},
|
||||
{
|
||||
deviation: "Rule 15.5",
|
||||
reason: "Allow to use multiple points of exit."
|
||||
"deviation": "Rule 15.4",
|
||||
"reason": "Allow to use multiple break statements in a loop."
|
||||
},
|
||||
{
|
||||
deviation: "Rule 17.8",
|
||||
reason: "Allow to update the parameters of a function."
|
||||
"deviation": "Rule 15.5",
|
||||
"reason": "Allow to use multiple points of exit."
|
||||
},
|
||||
{
|
||||
deviation: "Rule 18.4",
|
||||
reason: "Allow to use pointer arithmetic."
|
||||
"deviation": "Rule 17.8",
|
||||
"reason": "Allow to update the parameters of a function."
|
||||
},
|
||||
{
|
||||
deviation: "Rule 19.2",
|
||||
reason: "Allow to use union."
|
||||
"deviation": "Rule 18.4",
|
||||
"reason": "Allow to use pointer arithmetic."
|
||||
},
|
||||
{
|
||||
deviation: "Rule 20.5",
|
||||
reason: "Allow to use #undef for MPU wrappers."
|
||||
"deviation": "Rule 19.2",
|
||||
"reason": "Allow to use union."
|
||||
},
|
||||
{
|
||||
"deviation": "Rule 20.5",
|
||||
"reason": "Allow to use #undef for MPU wrappers."
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
@ -236,6 +236,28 @@
|
|||
* if configUSE_TIMERS is set to 1. */
|
||||
#define configTIMER_QUEUE_LENGTH 10
|
||||
|
||||
/******************************************************************************/
|
||||
/* Event Group related definitions. *******************************************/
|
||||
/******************************************************************************/
|
||||
|
||||
/* Set configUSE_EVENT_GROUPS to 1 to include event group functionality in the
|
||||
* build. Set to 0 to exclude event group functionality from the build. The
|
||||
* FreeRTOS/source/event_groups.c source file must be included in the build if
|
||||
* configUSE_EVENT_GROUPS is set to 1. Defaults to 1 if left undefined. */
|
||||
|
||||
#define configUSE_EVENT_GROUPS 1
|
||||
|
||||
/******************************************************************************/
|
||||
/* Stream Buffer related definitions. *****************************************/
|
||||
/******************************************************************************/
|
||||
|
||||
/* Set configUSE_STREAM_BUFFERS to 1 to include stream buffer functionality in
|
||||
* the build. Set to 0 to exclude event group functionality from the build. The
|
||||
* FreeRTOS/source/stream_buffer.c source file must be included in the build if
|
||||
* configUSE_STREAM_BUFFERS is set to 1. Defaults to 1 if left undefined. */
|
||||
|
||||
#define configUSE_STREAM_BUFFERS 1
|
||||
|
||||
/******************************************************************************/
|
||||
/* Memory allocation related definitions. *************************************/
|
||||
/******************************************************************************/
|
||||
|
@ -283,10 +305,9 @@
|
|||
/******************************************************************************/
|
||||
|
||||
/* configKERNEL_INTERRUPT_PRIORITY sets the priority of the tick and context
|
||||
* switch performing interrupts. The default value is set to the highest interrupt
|
||||
* priority (0). Not supported by all FreeRTOS ports. See
|
||||
* https://www.freertos.org/RTOS-Cortex-M3-M4.html for information specific to ARM
|
||||
* Cortex-M devices. */
|
||||
* switch performing interrupts. Not supported by all FreeRTOS ports. See
|
||||
* https://www.freertos.org/RTOS-Cortex-M3-M4.html for information specific to
|
||||
* ARM Cortex-M devices. */
|
||||
#define configKERNEL_INTERRUPT_PRIORITY 0
|
||||
|
||||
/* configMAX_SYSCALL_INTERRUPT_PRIORITY sets the interrupt priority above which
|
||||
|
@ -432,7 +453,7 @@
|
|||
#define configENFORCE_SYSTEM_CALLS_FROM_KERNEL_ONLY 1
|
||||
|
||||
/* Set configALLOW_UNPRIVILEGED_CRITICAL_SECTIONS to 1 to allow unprivileged
|
||||
* tasks enter critical sections (effectively mask interrupts). Set to 0 to
|
||||
* tasks enter critical sections (effectively mask interrupts). Set to 0 to
|
||||
* prevent unprivileged tasks entering critical sections. Defaults to 1 if left
|
||||
* undefined. Only used by the FreeRTOS Cortex-M MPU ports, not the standard
|
||||
* ARMv7-M Cortex-M port. */
|
||||
|
@ -496,6 +517,15 @@
|
|||
* run any task on any available core. */
|
||||
#define configUSE_CORE_AFFINITY 0
|
||||
|
||||
/* When using SMP with core affinity feature enabled, set
|
||||
* configTASK_DEFAULT_CORE_AFFINITY to change the default core affinity mask for
|
||||
* tasks created without an affinity mask specified. Setting the define to 1 would
|
||||
* make such tasks run on core 0 and setting it to (1 << portGET_CORE_ID()) would
|
||||
* make such tasks run on the current core. This config value is useful, if
|
||||
* swapping tasks between cores is not supported (e.g. Tricore) or if legacy code
|
||||
* should be controlled. Defaults to tskNO_AFFINITY if left undefined. */
|
||||
#define configTASK_DEFAULT_CORE_AFFINITY tskNO_AFFINITY
|
||||
|
||||
/* When using SMP (i.e. configNUMBER_OF_CORES is greater than one), if
|
||||
* configUSE_TASK_PREEMPTION_DISABLE is set to 1, individual tasks can be set to
|
||||
* either pre-emptive or co-operative mode using the vTaskPreemptionDisable and
|
||||
|
@ -563,6 +593,24 @@
|
|||
* for the Cortex-M23,Cortex-M33 and Cortex-M35P ports. */
|
||||
#define configENABLE_MVE 1
|
||||
|
||||
/******************************************************************************/
|
||||
/* ARMv7-M and ARMv8-M port Specific Configuration definitions. ***************/
|
||||
/******************************************************************************/
|
||||
|
||||
/* Set configCHECK_HANDLER_INSTALLATION to 1 to enable additional asserts to verify
|
||||
* that the application has correctly installed FreeRTOS interrupt handlers.
|
||||
*
|
||||
* An application can install FreeRTOS interrupt handlers in one of the following ways:
|
||||
* 1. Direct Routing - Install the functions vPortSVCHandler and xPortPendSVHandler
|
||||
* for SVC call and PendSV interrupts respectively.
|
||||
* 2. Indirect Routing - Install separate handlers for SVC call and PendSV
|
||||
* interrupts and route program control from those handlers
|
||||
* to vPortSVCHandler and xPortPendSVHandler functions.
|
||||
* The applications that use Indirect Routing must set configCHECK_HANDLER_INSTALLATION to 0.
|
||||
*
|
||||
* Defaults to 1 if left undefined. */
|
||||
#define configCHECK_HANDLER_INSTALLATION 1
|
||||
|
||||
/******************************************************************************/
|
||||
/* Definitions that include or exclude functionality. *************************/
|
||||
/******************************************************************************/
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
@ -96,6 +96,10 @@
|
|||
#define configNUMBER_OF_CORES 1
|
||||
#endif
|
||||
|
||||
#ifndef configUSE_MALLOC_FAILED_HOOK
|
||||
#define configUSE_MALLOC_FAILED_HOOK 0
|
||||
#endif
|
||||
|
||||
/* Basic FreeRTOS definitions. */
|
||||
#include "projdefs.h"
|
||||
|
||||
|
@ -294,10 +298,6 @@
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef configUSE_DAEMON_TASK_STARTUP_HOOK
|
||||
#define configUSE_DAEMON_TASK_STARTUP_HOOK 0
|
||||
#endif
|
||||
|
||||
#ifndef configUSE_APPLICATION_TASK_TAG
|
||||
#define configUSE_APPLICATION_TASK_TAG 0
|
||||
#endif
|
||||
|
@ -318,6 +318,24 @@
|
|||
#define configUSE_TIMERS 0
|
||||
#endif
|
||||
|
||||
#ifndef configUSE_EVENT_GROUPS
|
||||
#define configUSE_EVENT_GROUPS 1
|
||||
#endif
|
||||
|
||||
#ifndef configUSE_STREAM_BUFFERS
|
||||
#define configUSE_STREAM_BUFFERS 1
|
||||
#endif
|
||||
|
||||
#ifndef configUSE_DAEMON_TASK_STARTUP_HOOK
|
||||
#define configUSE_DAEMON_TASK_STARTUP_HOOK 0
|
||||
#endif
|
||||
|
||||
#if ( configUSE_DAEMON_TASK_STARTUP_HOOK != 0 )
|
||||
#if ( configUSE_TIMERS == 0 )
|
||||
#error configUSE_DAEMON_TASK_STARTUP_HOOK is set, but the daemon task is not created because configUSE_TIMERS is 0.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef configUSE_COUNTING_SEMAPHORES
|
||||
#define configUSE_COUNTING_SEMAPHORES 0
|
||||
#endif
|
||||
|
@ -484,6 +502,12 @@
|
|||
#define configUSE_CORE_AFFINITY 0
|
||||
#endif /* configUSE_CORE_AFFINITY */
|
||||
|
||||
#if ( ( configNUMBER_OF_CORES > 1 ) && ( configUSE_CORE_AFFINITY == 1 ) )
|
||||
#ifndef configTASK_DEFAULT_CORE_AFFINITY
|
||||
#define configTASK_DEFAULT_CORE_AFFINITY tskNO_AFFINITY
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef configUSE_PASSIVE_IDLE_HOOK
|
||||
#define configUSE_PASSIVE_IDLE_HOOK 0
|
||||
#endif /* configUSE_PASSIVE_IDLE_HOOK */
|
||||
|
@ -2643,10 +2667,6 @@
|
|||
#define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS()
|
||||
#endif
|
||||
|
||||
#ifndef configUSE_MALLOC_FAILED_HOOK
|
||||
#define configUSE_MALLOC_FAILED_HOOK 0
|
||||
#endif
|
||||
|
||||
#ifndef portPRIVILEGE_BIT
|
||||
#define portPRIVILEGE_BIT ( ( UBaseType_t ) 0x00 )
|
||||
#endif
|
||||
|
@ -2799,9 +2819,9 @@
|
|||
|
||||
#ifndef configSTACK_DEPTH_TYPE
|
||||
|
||||
/* Defaults to uint16_t for backward compatibility, but can be overridden
|
||||
* in FreeRTOSConfig.h if uint16_t is too restrictive. */
|
||||
#define configSTACK_DEPTH_TYPE uint16_t
|
||||
/* Defaults to StackType_t for backward compatibility, but can be overridden
|
||||
* in FreeRTOSConfig.h if StackType_t is too restrictive. */
|
||||
#define configSTACK_DEPTH_TYPE StackType_t
|
||||
#endif
|
||||
|
||||
#ifndef configRUN_TIME_COUNTER_TYPE
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
@ -746,6 +746,13 @@ void vCoRoutineAddToDelayedList( TickType_t xTicksToDelay,
|
|||
*/
|
||||
BaseType_t xCoRoutineRemoveFromEventList( const List_t * pxEventList );
|
||||
|
||||
|
||||
/*
|
||||
* This function resets the internal state of the coroutine module. It must be
|
||||
* called by the application before restarting the scheduler.
|
||||
*/
|
||||
void vCoRoutineResetState( void ) PRIVILEGED_FUNCTION;
|
||||
|
||||
/* *INDENT-OFF* */
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
@ -139,6 +139,9 @@ typedef TickType_t EventBits_t;
|
|||
* each event group has 56 usable bits (bit 0 to bit 53). The EventBits_t type
|
||||
* is used to store event bits within an event group.
|
||||
*
|
||||
* The configUSE_EVENT_GROUPS configuration constant must be set to 1 for xEventGroupCreate()
|
||||
* to be available.
|
||||
*
|
||||
* @return If the event group was created then a handle to the event group is
|
||||
* returned. If there was insufficient FreeRTOS heap available to create the
|
||||
* event group then NULL is returned. See https://www.FreeRTOS.org/a00111.html
|
||||
|
@ -196,6 +199,9 @@ typedef TickType_t EventBits_t;
|
|||
* each event group has 56 usable bits (bit 0 to bit 53). The EventBits_t type
|
||||
* is used to store event bits within an event group.
|
||||
*
|
||||
* The configUSE_EVENT_GROUPS configuration constant must be set to 1 for xEventGroupCreateStatic()
|
||||
* to be available.
|
||||
*
|
||||
* @param pxEventGroupBuffer pxEventGroupBuffer must point to a variable of type
|
||||
* StaticEventGroup_t, which will be then be used to hold the event group's data
|
||||
* structures, removing the need for the memory to be allocated dynamically.
|
||||
|
@ -238,6 +244,9 @@ typedef TickType_t EventBits_t;
|
|||
*
|
||||
* This function cannot be called from an interrupt.
|
||||
*
|
||||
* The configUSE_EVENT_GROUPS configuration constant must be set to 1 for xEventGroupWaitBits()
|
||||
* to be available.
|
||||
*
|
||||
* @param xEventGroup The event group in which the bits are being tested. The
|
||||
* event group must have previously been created using a call to
|
||||
* xEventGroupCreate().
|
||||
|
@ -331,6 +340,9 @@ EventBits_t xEventGroupWaitBits( EventGroupHandle_t xEventGroup,
|
|||
* Clear bits within an event group. This function cannot be called from an
|
||||
* interrupt.
|
||||
*
|
||||
* The configUSE_EVENT_GROUPS configuration constant must be set to 1 for xEventGroupClearBits()
|
||||
* to be available.
|
||||
*
|
||||
* @param xEventGroup The event group in which the bits are to be cleared.
|
||||
*
|
||||
* @param uxBitsToClear A bitwise value that indicates the bit or bits to clear
|
||||
|
@ -461,6 +473,9 @@ EventBits_t xEventGroupClearBits( EventGroupHandle_t xEventGroup,
|
|||
* Setting bits in an event group will automatically unblock tasks that are
|
||||
* blocked waiting for the bits.
|
||||
*
|
||||
* The configUSE_EVENT_GROUPS configuration constant must be set to 1 for xEventGroupSetBits()
|
||||
* to be available.
|
||||
*
|
||||
* @param xEventGroup The event group in which the bits are to be set.
|
||||
*
|
||||
* @param uxBitsToSet A bitwise value that indicates the bit or bits to set.
|
||||
|
@ -625,6 +640,9 @@ EventBits_t xEventGroupSetBits( EventGroupHandle_t xEventGroup,
|
|||
* this case all the bits specified by uxBitsToWait will be automatically
|
||||
* cleared before the function returns.
|
||||
*
|
||||
* The configUSE_EVENT_GROUPS configuration constant must be set to 1 for xEventGroupSync()
|
||||
* to be available.
|
||||
*
|
||||
* @param xEventGroup The event group in which the bits are being tested. The
|
||||
* event group must have previously been created using a call to
|
||||
* xEventGroupCreate().
|
||||
|
@ -743,6 +761,9 @@ EventBits_t xEventGroupSync( EventGroupHandle_t xEventGroup,
|
|||
* Returns the current value of the bits in an event group. This function
|
||||
* cannot be used from an interrupt.
|
||||
*
|
||||
* The configUSE_EVENT_GROUPS configuration constant must be set to 1 for xEventGroupGetBits()
|
||||
* to be available.
|
||||
*
|
||||
* @param xEventGroup The event group being queried.
|
||||
*
|
||||
* @return The event group bits at the time xEventGroupGetBits() was called.
|
||||
|
@ -760,6 +781,9 @@ EventBits_t xEventGroupSync( EventGroupHandle_t xEventGroup,
|
|||
*
|
||||
* A version of xEventGroupGetBits() that can be called from an ISR.
|
||||
*
|
||||
* The configUSE_EVENT_GROUPS configuration constant must be set to 1 for xEventGroupGetBitsFromISR()
|
||||
* to be available.
|
||||
*
|
||||
* @param xEventGroup The event group being queried.
|
||||
*
|
||||
* @return The event group bits at the time xEventGroupGetBitsFromISR() was called.
|
||||
|
@ -779,6 +803,9 @@ EventBits_t xEventGroupGetBitsFromISR( EventGroupHandle_t xEventGroup ) PRIVILEG
|
|||
* xEventGroupCreate(). Tasks that are blocked on the event group will be
|
||||
* unblocked and obtain 0 as the event group's value.
|
||||
*
|
||||
* The configUSE_EVENT_GROUPS configuration constant must be set to 1 for vEventGroupDelete()
|
||||
* to be available.
|
||||
*
|
||||
* @param xEventGroup The event group being deleted.
|
||||
*/
|
||||
void vEventGroupDelete( EventGroupHandle_t xEventGroup ) PRIVILEGED_FUNCTION;
|
||||
|
@ -793,6 +820,9 @@ void vEventGroupDelete( EventGroupHandle_t xEventGroup ) PRIVILEGED_FUNCTION;
|
|||
* Retrieve a pointer to a statically created event groups's data structure
|
||||
* buffer. It is the same buffer that is supplied at the time of creation.
|
||||
*
|
||||
* The configUSE_EVENT_GROUPS configuration constant must be set to 1 for xEventGroupGetStaticBuffer()
|
||||
* to be available.
|
||||
*
|
||||
* @param xEventGroup The event group for which to retrieve the buffer.
|
||||
*
|
||||
* @param ppxEventGroupBuffer Used to return a pointer to the event groups's
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
@ -172,7 +172,7 @@ typedef struct xLIST_ITEM ListItem_t;
|
|||
typedef struct xLIST
|
||||
{
|
||||
listFIRST_LIST_INTEGRITY_CHECK_VALUE /**< Set to a known value if configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES is set to 1. */
|
||||
volatile UBaseType_t uxNumberOfItems;
|
||||
configLIST_VOLATILE UBaseType_t uxNumberOfItems;
|
||||
ListItem_t * configLIST_VOLATILE pxIndex; /**< Used to walk through the list. Points to the last item returned by a call to listGET_OWNER_OF_NEXT_ENTRY (). */
|
||||
MiniListItem_t xListEnd; /**< List item that contains the maximum possible item value meaning it is always at the end of the list and is therefore used as a marker. */
|
||||
listSECOND_LIST_INTEGRITY_CHECK_VALUE /**< Set to a known value if configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES is set to 1. */
|
||||
|
@ -282,7 +282,8 @@ typedef struct xLIST
|
|||
* \page listGET_OWNER_OF_NEXT_ENTRY listGET_OWNER_OF_NEXT_ENTRY
|
||||
* \ingroup LinkedList
|
||||
*/
|
||||
#define listGET_OWNER_OF_NEXT_ENTRY( pxTCB, pxList ) \
|
||||
#if ( configNUMBER_OF_CORES == 1 )
|
||||
#define listGET_OWNER_OF_NEXT_ENTRY( pxTCB, pxList ) \
|
||||
do { \
|
||||
List_t * const pxConstList = ( pxList ); \
|
||||
/* Increment the index to the next item and return the item, ensuring */ \
|
||||
|
@ -294,6 +295,13 @@ typedef struct xLIST
|
|||
} \
|
||||
( pxTCB ) = ( pxConstList )->pxIndex->pvOwner; \
|
||||
} while( 0 )
|
||||
#else /* #if ( configNUMBER_OF_CORES == 1 ) */
|
||||
|
||||
/* This function is not required in SMP. FreeRTOS SMP scheduler doesn't use
|
||||
* pxIndex and it should always point to the xListEnd. Not defining this macro
|
||||
* here to prevent updating pxIndex.
|
||||
*/
|
||||
#endif /* #if ( configNUMBER_OF_CORES == 1 ) */
|
||||
|
||||
/*
|
||||
* Version of uxListRemove() that does not return a value. Provided as a slight
|
||||
|
@ -326,7 +334,7 @@ typedef struct xLIST
|
|||
} \
|
||||
\
|
||||
( pxItemToRemove )->pxContainer = NULL; \
|
||||
( pxList->uxNumberOfItems )--; \
|
||||
( ( pxList )->uxNumberOfItems ) -= ( UBaseType_t ) 1U; \
|
||||
} while( 0 )
|
||||
|
||||
/*
|
||||
|
@ -363,17 +371,17 @@ typedef struct xLIST
|
|||
\
|
||||
/* Insert a new list item into ( pxList ), but rather than sort the list, \
|
||||
* makes the new list item the last item to be removed by a call to \
|
||||
* listGET_OWNER_OF_NEXT_ENTRY(). */ \
|
||||
( pxNewListItem )->pxNext = pxIndex; \
|
||||
( pxNewListItem )->pxPrevious = pxIndex->pxPrevious; \
|
||||
\
|
||||
pxIndex->pxPrevious->pxNext = ( pxNewListItem ); \
|
||||
pxIndex->pxPrevious = ( pxNewListItem ); \
|
||||
\
|
||||
/* Remember which list the item is in. */ \
|
||||
( pxNewListItem )->pxContainer = ( pxList ); \
|
||||
\
|
||||
( ( pxList )->uxNumberOfItems )++; \
|
||||
* listGET_OWNER_OF_NEXT_ENTRY(). */ \
|
||||
( pxNewListItem )->pxNext = pxIndex; \
|
||||
( pxNewListItem )->pxPrevious = pxIndex->pxPrevious; \
|
||||
\
|
||||
pxIndex->pxPrevious->pxNext = ( pxNewListItem ); \
|
||||
pxIndex->pxPrevious = ( pxNewListItem ); \
|
||||
\
|
||||
/* Remember which list the item is in. */ \
|
||||
( pxNewListItem )->pxContainer = ( pxList ); \
|
||||
\
|
||||
( ( pxList )->uxNumberOfItems ) += ( UBaseType_t ) 1U; \
|
||||
} while( 0 )
|
||||
|
||||
/*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
@ -100,6 +100,8 @@ typedef StreamBufferHandle_t MessageBufferHandle_t;
|
|||
*
|
||||
* configSUPPORT_DYNAMIC_ALLOCATION must be set to 1 or left undefined in
|
||||
* FreeRTOSConfig.h for xMessageBufferCreate() to be available.
|
||||
* configUSE_STREAM_BUFFERS must be set to 1 in for FreeRTOSConfig.h for
|
||||
* xMessageBufferCreate() to be available.
|
||||
*
|
||||
* @param xBufferSizeBytes The total number of bytes (not messages) the message
|
||||
* buffer will be able to hold at any one time. When a message is written to
|
||||
|
@ -168,12 +170,15 @@ typedef StreamBufferHandle_t MessageBufferHandle_t;
|
|||
*
|
||||
* @code{c}
|
||||
* MessageBufferHandle_t xMessageBufferCreateStatic( size_t xBufferSizeBytes,
|
||||
* uint8_t *pucMessageBufferStorageArea,
|
||||
* StaticMessageBuffer_t *pxStaticMessageBuffer );
|
||||
* uint8_t *pucMessageBufferStorageArea,
|
||||
* StaticMessageBuffer_t *pxStaticMessageBuffer );
|
||||
* @endcode
|
||||
* Creates a new message buffer using statically allocated memory. See
|
||||
* xMessageBufferCreate() for a version that uses dynamically allocated memory.
|
||||
*
|
||||
* configUSE_STREAM_BUFFERS must be set to 1 in for FreeRTOSConfig.h for
|
||||
* xMessageBufferCreateStatic() to be available.
|
||||
*
|
||||
* @param xBufferSizeBytes The size, in bytes, of the buffer pointed to by the
|
||||
* pucMessageBufferStorageArea parameter. When a message is written to the
|
||||
* message buffer an additional sizeof( size_t ) bytes are also written to store
|
||||
|
@ -258,6 +263,9 @@ typedef StreamBufferHandle_t MessageBufferHandle_t;
|
|||
* buffer and storage area buffer. These are the same buffers that are supplied
|
||||
* at the time of creation.
|
||||
*
|
||||
* configUSE_STREAM_BUFFERS must be set to 1 in for FreeRTOSConfig.h for
|
||||
* xMessageBufferGetStaticBuffers() to be available.
|
||||
*
|
||||
* @param xMessageBuffer The message buffer for which to retrieve the buffers.
|
||||
*
|
||||
* @param ppucMessageBufferStorageArea Used to return a pointer to the
|
||||
|
@ -281,9 +289,9 @@ typedef StreamBufferHandle_t MessageBufferHandle_t;
|
|||
*
|
||||
* @code{c}
|
||||
* size_t xMessageBufferSend( MessageBufferHandle_t xMessageBuffer,
|
||||
* const void *pvTxData,
|
||||
* size_t xDataLengthBytes,
|
||||
* TickType_t xTicksToWait );
|
||||
* const void *pvTxData,
|
||||
* size_t xDataLengthBytes,
|
||||
* TickType_t xTicksToWait );
|
||||
* @endcode
|
||||
*
|
||||
* Sends a discrete message to the message buffer. The message can be any
|
||||
|
@ -309,6 +317,9 @@ typedef StreamBufferHandle_t MessageBufferHandle_t;
|
|||
* xMessageBufferSendFromISR() to write to a message buffer from an interrupt
|
||||
* service routine (ISR).
|
||||
*
|
||||
* configUSE_STREAM_BUFFERS must be set to 1 in for FreeRTOSConfig.h for
|
||||
* xMessageBufferSend() to be available.
|
||||
*
|
||||
* @param xMessageBuffer The handle of the message buffer to which a message is
|
||||
* being sent.
|
||||
*
|
||||
|
@ -381,9 +392,9 @@ typedef StreamBufferHandle_t MessageBufferHandle_t;
|
|||
*
|
||||
* @code{c}
|
||||
* size_t xMessageBufferSendFromISR( MessageBufferHandle_t xMessageBuffer,
|
||||
* const void *pvTxData,
|
||||
* size_t xDataLengthBytes,
|
||||
* BaseType_t *pxHigherPriorityTaskWoken );
|
||||
* const void *pvTxData,
|
||||
* size_t xDataLengthBytes,
|
||||
* BaseType_t *pxHigherPriorityTaskWoken );
|
||||
* @endcode
|
||||
*
|
||||
* Interrupt safe version of the API function that sends a discrete message to
|
||||
|
@ -409,6 +420,9 @@ typedef StreamBufferHandle_t MessageBufferHandle_t;
|
|||
* xMessageBufferSendFromISR() to write to a message buffer from an interrupt
|
||||
* service routine (ISR).
|
||||
*
|
||||
* configUSE_STREAM_BUFFERS must be set to 1 in for FreeRTOSConfig.h for
|
||||
* xMessageBufferSendFromISR() to be available.
|
||||
*
|
||||
* @param xMessageBuffer The handle of the message buffer to which a message is
|
||||
* being sent.
|
||||
*
|
||||
|
@ -486,9 +500,9 @@ typedef StreamBufferHandle_t MessageBufferHandle_t;
|
|||
*
|
||||
* @code{c}
|
||||
* size_t xMessageBufferReceive( MessageBufferHandle_t xMessageBuffer,
|
||||
* void *pvRxData,
|
||||
* size_t xBufferLengthBytes,
|
||||
* TickType_t xTicksToWait );
|
||||
* void *pvRxData,
|
||||
* size_t xBufferLengthBytes,
|
||||
* TickType_t xTicksToWait );
|
||||
* @endcode
|
||||
*
|
||||
* Receives a discrete message from a message buffer. Messages can be of
|
||||
|
@ -513,6 +527,9 @@ typedef StreamBufferHandle_t MessageBufferHandle_t;
|
|||
* xMessageBufferReceiveFromISR() to read from a message buffer from an
|
||||
* interrupt service routine (ISR).
|
||||
*
|
||||
* configUSE_STREAM_BUFFERS must be set to 1 in for FreeRTOSConfig.h for
|
||||
* xMessageBufferReceive() to be available.
|
||||
*
|
||||
* @param xMessageBuffer The handle of the message buffer from which a message
|
||||
* is being received.
|
||||
*
|
||||
|
@ -576,9 +593,9 @@ typedef StreamBufferHandle_t MessageBufferHandle_t;
|
|||
*
|
||||
* @code{c}
|
||||
* size_t xMessageBufferReceiveFromISR( MessageBufferHandle_t xMessageBuffer,
|
||||
* void *pvRxData,
|
||||
* size_t xBufferLengthBytes,
|
||||
* BaseType_t *pxHigherPriorityTaskWoken );
|
||||
* void *pvRxData,
|
||||
* size_t xBufferLengthBytes,
|
||||
* BaseType_t *pxHigherPriorityTaskWoken );
|
||||
* @endcode
|
||||
*
|
||||
* An interrupt safe version of the API function that receives a discrete
|
||||
|
@ -604,6 +621,9 @@ typedef StreamBufferHandle_t MessageBufferHandle_t;
|
|||
* xMessageBufferReceiveFromISR() to read from a message buffer from an
|
||||
* interrupt service routine (ISR).
|
||||
*
|
||||
* configUSE_STREAM_BUFFERS must be set to 1 in for FreeRTOSConfig.h for
|
||||
* xMessageBufferReceiveFromISR() to be available.
|
||||
*
|
||||
* @param xMessageBuffer The handle of the message buffer from which a message
|
||||
* is being received.
|
||||
*
|
||||
|
@ -687,6 +707,9 @@ typedef StreamBufferHandle_t MessageBufferHandle_t;
|
|||
* A message buffer handle must not be used after the message buffer has been
|
||||
* deleted.
|
||||
*
|
||||
* configUSE_STREAM_BUFFERS must be set to 1 in for FreeRTOSConfig.h for
|
||||
* vMessageBufferDelete() to be available.
|
||||
*
|
||||
* @param xMessageBuffer The handle of the message buffer to be deleted.
|
||||
*
|
||||
*/
|
||||
|
@ -703,6 +726,9 @@ typedef StreamBufferHandle_t MessageBufferHandle_t;
|
|||
* cannot accept any more messages, of any size, until space is made available
|
||||
* by a message being removed from the message buffer.
|
||||
*
|
||||
* configUSE_STREAM_BUFFERS must be set to 1 in for FreeRTOSConfig.h for
|
||||
* xMessageBufferIsFull() to be available.
|
||||
*
|
||||
* @param xMessageBuffer The handle of the message buffer being queried.
|
||||
*
|
||||
* @return If the message buffer referenced by xMessageBuffer is full then
|
||||
|
@ -719,6 +745,9 @@ typedef StreamBufferHandle_t MessageBufferHandle_t;
|
|||
*
|
||||
* Tests to see if a message buffer is empty (does not contain any messages).
|
||||
*
|
||||
* configUSE_STREAM_BUFFERS must be set to 1 in for FreeRTOSConfig.h for
|
||||
* xMessageBufferIsEmpty() to be available.
|
||||
*
|
||||
* @param xMessageBuffer The handle of the message buffer being queried.
|
||||
*
|
||||
* @return If the message buffer referenced by xMessageBuffer is empty then
|
||||
|
@ -739,6 +768,9 @@ typedef StreamBufferHandle_t MessageBufferHandle_t;
|
|||
*
|
||||
* A message buffer can only be reset if there are no tasks blocked on it.
|
||||
*
|
||||
* configUSE_STREAM_BUFFERS must be set to 1 in for FreeRTOSConfig.h for
|
||||
* xMessageBufferReset() to be available.
|
||||
*
|
||||
* @param xMessageBuffer The handle of the message buffer being reset.
|
||||
*
|
||||
* @return If the message buffer was reset then pdPASS is returned. If the
|
||||
|
@ -760,6 +792,9 @@ typedef StreamBufferHandle_t MessageBufferHandle_t;
|
|||
* @endcode
|
||||
* Returns the number of bytes of free space in the message buffer.
|
||||
*
|
||||
* configUSE_STREAM_BUFFERS must be set to 1 in for FreeRTOSConfig.h for
|
||||
* xMessageBufferSpaceAvailable() to be available.
|
||||
*
|
||||
* @param xMessageBuffer The handle of the message buffer being queried.
|
||||
*
|
||||
* @return The number of bytes that can be written to the message buffer before
|
||||
|
@ -786,6 +821,9 @@ typedef StreamBufferHandle_t MessageBufferHandle_t;
|
|||
* Useful if xMessageBufferReceive() returned 0 because the size of the buffer
|
||||
* passed into xMessageBufferReceive() was too small to hold the next message.
|
||||
*
|
||||
* configUSE_STREAM_BUFFERS must be set to 1 in for FreeRTOSConfig.h for
|
||||
* xMessageBufferNextLengthBytes() to be available.
|
||||
*
|
||||
* @param xMessageBuffer The handle of the message buffer being queried.
|
||||
*
|
||||
* @return The length (in bytes) of the next message in the message buffer, or 0
|
||||
|
@ -795,7 +833,7 @@ typedef StreamBufferHandle_t MessageBufferHandle_t;
|
|||
* \ingroup MessageBufferManagement
|
||||
*/
|
||||
#define xMessageBufferNextLengthBytes( xMessageBuffer ) \
|
||||
xStreamBufferNextMessageLengthBytes( xMessageBuffer ) PRIVILEGED_FUNCTION;
|
||||
xStreamBufferNextMessageLengthBytes( xMessageBuffer )
|
||||
|
||||
/**
|
||||
* message_buffer.h
|
||||
|
@ -817,6 +855,9 @@ typedef StreamBufferHandle_t MessageBufferHandle_t;
|
|||
* See the example implemented in FreeRTOS/Demo/Minimal/MessageBufferAMP.c for
|
||||
* additional information.
|
||||
*
|
||||
* configUSE_STREAM_BUFFERS must be set to 1 in for FreeRTOSConfig.h for
|
||||
* xMessageBufferSendCompletedFromISR() to be available.
|
||||
*
|
||||
* @param xMessageBuffer The handle of the stream buffer to which data was
|
||||
* written.
|
||||
*
|
||||
|
@ -858,6 +899,9 @@ typedef StreamBufferHandle_t MessageBufferHandle_t;
|
|||
* See the example implemented in FreeRTOS/Demo/Minimal/MessageBufferAMP.c for
|
||||
* additional information.
|
||||
*
|
||||
* configUSE_STREAM_BUFFERS must be set to 1 in for FreeRTOSConfig.h for
|
||||
* xMessageBufferReceiveCompletedFromISR() to be available.
|
||||
*
|
||||
* @param xMessageBuffer The handle of the stream buffer from which data was
|
||||
* read.
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
@ -178,7 +178,7 @@ void vPortGetHeapStats( HeapStats_t * pxHeapStats );
|
|||
/*
|
||||
* Map to the memory management routines required for the port.
|
||||
*/
|
||||
void * pvPortMalloc( size_t xSize ) PRIVILEGED_FUNCTION;
|
||||
void * pvPortMalloc( size_t xWantedSize ) PRIVILEGED_FUNCTION;
|
||||
void * pvPortCalloc( size_t xNum,
|
||||
size_t xSize ) PRIVILEGED_FUNCTION;
|
||||
void vPortFree( void * pv ) PRIVILEGED_FUNCTION;
|
||||
|
@ -194,6 +194,12 @@ size_t xPortGetMinimumEverFreeHeapSize( void ) PRIVILEGED_FUNCTION;
|
|||
#define vPortFreeStack vPortFree
|
||||
#endif
|
||||
|
||||
/*
|
||||
* This function resets the internal state of the heap module. It must be called
|
||||
* by the application before restarting the scheduler.
|
||||
*/
|
||||
void vPortHeapResetState( void ) PRIVILEGED_FUNCTION;
|
||||
|
||||
#if ( configUSE_MALLOC_FAILED_HOOK == 1 )
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
@ -91,6 +91,8 @@ typedef void (* StreamBufferCallbackFunction_t)( StreamBufferHandle_t xStreamBuf
|
|||
*
|
||||
* configSUPPORT_DYNAMIC_ALLOCATION must be set to 1 or left undefined in
|
||||
* FreeRTOSConfig.h for xStreamBufferCreate() to be available.
|
||||
* configUSE_STREAM_BUFFERS must be set to 1 in for FreeRTOSConfig.h for
|
||||
* xStreamBufferCreate() to be available.
|
||||
*
|
||||
* @param xBufferSizeBytes The total number of bytes the stream buffer will be
|
||||
* able to hold at any one time.
|
||||
|
@ -167,15 +169,17 @@ typedef void (* StreamBufferCallbackFunction_t)( StreamBufferHandle_t xStreamBuf
|
|||
*
|
||||
* @code{c}
|
||||
* StreamBufferHandle_t xStreamBufferCreateStatic( size_t xBufferSizeBytes,
|
||||
* size_t xTriggerLevelBytes,
|
||||
* uint8_t *pucStreamBufferStorageArea,
|
||||
* StaticStreamBuffer_t *pxStaticStreamBuffer );
|
||||
* size_t xTriggerLevelBytes,
|
||||
* uint8_t *pucStreamBufferStorageArea,
|
||||
* StaticStreamBuffer_t *pxStaticStreamBuffer );
|
||||
* @endcode
|
||||
* Creates a new stream buffer using statically allocated memory. See
|
||||
* xStreamBufferCreate() for a version that uses dynamically allocated memory.
|
||||
*
|
||||
* configSUPPORT_STATIC_ALLOCATION must be set to 1 in FreeRTOSConfig.h for
|
||||
* xStreamBufferCreateStatic() to be available.
|
||||
* xStreamBufferCreateStatic() to be available. configUSE_STREAM_BUFFERS must be
|
||||
* set to 1 in for FreeRTOSConfig.h for xStreamBufferCreateStatic() to be
|
||||
* available.
|
||||
*
|
||||
* @param xBufferSizeBytes The size, in bytes, of the buffer pointed to by the
|
||||
* pucStreamBufferStorageArea parameter.
|
||||
|
@ -273,6 +277,9 @@ typedef void (* StreamBufferCallbackFunction_t)( StreamBufferHandle_t xStreamBuf
|
|||
* buffer and storage area buffer. These are the same buffers that are supplied
|
||||
* at the time of creation.
|
||||
*
|
||||
* configUSE_STREAM_BUFFERS must be set to 1 in for FreeRTOSConfig.h for
|
||||
* xStreamBufferGetStaticBuffers() to be available.
|
||||
*
|
||||
* @param xStreamBuffer The stream buffer for which to retrieve the buffers.
|
||||
*
|
||||
* @param ppucStreamBufferStorageArea Used to return a pointer to the stream
|
||||
|
@ -297,9 +304,9 @@ typedef void (* StreamBufferCallbackFunction_t)( StreamBufferHandle_t xStreamBuf
|
|||
*
|
||||
* @code{c}
|
||||
* size_t xStreamBufferSend( StreamBufferHandle_t xStreamBuffer,
|
||||
* const void *pvTxData,
|
||||
* size_t xDataLengthBytes,
|
||||
* TickType_t xTicksToWait );
|
||||
* const void *pvTxData,
|
||||
* size_t xDataLengthBytes,
|
||||
* TickType_t xTicksToWait );
|
||||
* @endcode
|
||||
*
|
||||
* Sends bytes to a stream buffer. The bytes are copied into the stream buffer.
|
||||
|
@ -323,6 +330,9 @@ typedef void (* StreamBufferCallbackFunction_t)( StreamBufferHandle_t xStreamBuf
|
|||
* xStreamBufferSendFromISR() to write to a stream buffer from an interrupt
|
||||
* service routine (ISR).
|
||||
*
|
||||
* configUSE_STREAM_BUFFERS must be set to 1 in for FreeRTOSConfig.h for
|
||||
* xStreamBufferSend() to be available.
|
||||
*
|
||||
* @param xStreamBuffer The handle of the stream buffer to which a stream is
|
||||
* being sent.
|
||||
*
|
||||
|
@ -394,9 +404,9 @@ size_t xStreamBufferSend( StreamBufferHandle_t xStreamBuffer,
|
|||
*
|
||||
* @code{c}
|
||||
* size_t xStreamBufferSendFromISR( StreamBufferHandle_t xStreamBuffer,
|
||||
* const void *pvTxData,
|
||||
* size_t xDataLengthBytes,
|
||||
* BaseType_t *pxHigherPriorityTaskWoken );
|
||||
* const void *pvTxData,
|
||||
* size_t xDataLengthBytes,
|
||||
* BaseType_t *pxHigherPriorityTaskWoken );
|
||||
* @endcode
|
||||
*
|
||||
* Interrupt safe version of the API function that sends a stream of bytes to
|
||||
|
@ -421,6 +431,9 @@ size_t xStreamBufferSend( StreamBufferHandle_t xStreamBuffer,
|
|||
* xStreamBufferSendFromISR() to write to a stream buffer from an interrupt
|
||||
* service routine (ISR).
|
||||
*
|
||||
* configUSE_STREAM_BUFFERS must be set to 1 in for FreeRTOSConfig.h for
|
||||
* xStreamBufferSendFromISR() to be available.
|
||||
*
|
||||
* @param xStreamBuffer The handle of the stream buffer to which a stream is
|
||||
* being sent.
|
||||
*
|
||||
|
@ -495,9 +508,9 @@ size_t xStreamBufferSendFromISR( StreamBufferHandle_t xStreamBuffer,
|
|||
*
|
||||
* @code{c}
|
||||
* size_t xStreamBufferReceive( StreamBufferHandle_t xStreamBuffer,
|
||||
* void *pvRxData,
|
||||
* size_t xBufferLengthBytes,
|
||||
* TickType_t xTicksToWait );
|
||||
* void *pvRxData,
|
||||
* size_t xBufferLengthBytes,
|
||||
* TickType_t xTicksToWait );
|
||||
* @endcode
|
||||
*
|
||||
* Receives bytes from a stream buffer.
|
||||
|
@ -521,6 +534,9 @@ size_t xStreamBufferSendFromISR( StreamBufferHandle_t xStreamBuffer,
|
|||
* xStreamBufferReceiveFromISR() to read from a stream buffer from an
|
||||
* interrupt service routine (ISR).
|
||||
*
|
||||
* configUSE_STREAM_BUFFERS must be set to 1 in for FreeRTOSConfig.h for
|
||||
* xStreamBufferReceive() to be available.
|
||||
*
|
||||
* @param xStreamBuffer The handle of the stream buffer from which bytes are to
|
||||
* be received.
|
||||
*
|
||||
|
@ -584,9 +600,9 @@ size_t xStreamBufferReceive( StreamBufferHandle_t xStreamBuffer,
|
|||
*
|
||||
* @code{c}
|
||||
* size_t xStreamBufferReceiveFromISR( StreamBufferHandle_t xStreamBuffer,
|
||||
* void *pvRxData,
|
||||
* size_t xBufferLengthBytes,
|
||||
* BaseType_t *pxHigherPriorityTaskWoken );
|
||||
* void *pvRxData,
|
||||
* size_t xBufferLengthBytes,
|
||||
* BaseType_t *pxHigherPriorityTaskWoken );
|
||||
* @endcode
|
||||
*
|
||||
* An interrupt safe version of the API function that receives bytes from a
|
||||
|
@ -596,6 +612,9 @@ size_t xStreamBufferReceive( StreamBufferHandle_t xStreamBuffer,
|
|||
* Use xStreamBufferReceiveFromISR() to read bytes from a stream buffer from an
|
||||
* interrupt service routine (ISR).
|
||||
*
|
||||
* configUSE_STREAM_BUFFERS must be set to 1 in for FreeRTOSConfig.h for
|
||||
* xStreamBufferReceiveFromISR() to be available.
|
||||
*
|
||||
* @param xStreamBuffer The handle of the stream buffer from which a stream
|
||||
* is being received.
|
||||
*
|
||||
|
@ -680,6 +699,9 @@ size_t xStreamBufferReceiveFromISR( StreamBufferHandle_t xStreamBuffer,
|
|||
* A stream buffer handle must not be used after the stream buffer has been
|
||||
* deleted.
|
||||
*
|
||||
* configUSE_STREAM_BUFFERS must be set to 1 in for FreeRTOSConfig.h for
|
||||
* vStreamBufferDelete() to be available.
|
||||
*
|
||||
* @param xStreamBuffer The handle of the stream buffer to be deleted.
|
||||
*
|
||||
* \defgroup vStreamBufferDelete vStreamBufferDelete
|
||||
|
@ -697,6 +719,9 @@ void vStreamBufferDelete( StreamBufferHandle_t xStreamBuffer ) PRIVILEGED_FUNCTI
|
|||
* Queries a stream buffer to see if it is full. A stream buffer is full if it
|
||||
* does not have any free space, and therefore cannot accept any more data.
|
||||
*
|
||||
* configUSE_STREAM_BUFFERS must be set to 1 in for FreeRTOSConfig.h for
|
||||
* xStreamBufferIsFull() to be available.
|
||||
*
|
||||
* @param xStreamBuffer The handle of the stream buffer being queried.
|
||||
*
|
||||
* @return If the stream buffer is full then pdTRUE is returned. Otherwise
|
||||
|
@ -717,6 +742,9 @@ BaseType_t xStreamBufferIsFull( StreamBufferHandle_t xStreamBuffer ) PRIVILEGED_
|
|||
* Queries a stream buffer to see if it is empty. A stream buffer is empty if
|
||||
* it does not contain any data.
|
||||
*
|
||||
* configUSE_STREAM_BUFFERS must be set to 1 in for FreeRTOSConfig.h for
|
||||
* xStreamBufferIsEmpty() to be available.
|
||||
*
|
||||
* @param xStreamBuffer The handle of the stream buffer being queried.
|
||||
*
|
||||
* @return If the stream buffer is empty then pdTRUE is returned. Otherwise
|
||||
|
@ -739,6 +767,9 @@ BaseType_t xStreamBufferIsEmpty( StreamBufferHandle_t xStreamBuffer ) PRIVILEGED
|
|||
* are no tasks blocked waiting to either send to or receive from the stream
|
||||
* buffer.
|
||||
*
|
||||
* configUSE_STREAM_BUFFERS must be set to 1 in for FreeRTOSConfig.h for
|
||||
* xStreamBufferReset() to be available.
|
||||
*
|
||||
* @param xStreamBuffer The handle of the stream buffer being reset.
|
||||
*
|
||||
* @return If the stream buffer is reset then pdPASS is returned. If there was
|
||||
|
@ -761,6 +792,9 @@ BaseType_t xStreamBufferReset( StreamBufferHandle_t xStreamBuffer ) PRIVILEGED_F
|
|||
* equal to the amount of data that can be sent to the stream buffer before it
|
||||
* is full.
|
||||
*
|
||||
* configUSE_STREAM_BUFFERS must be set to 1 in for FreeRTOSConfig.h for
|
||||
* xStreamBufferSpacesAvailable() to be available.
|
||||
*
|
||||
* @param xStreamBuffer The handle of the stream buffer being queried.
|
||||
*
|
||||
* @return The number of bytes that can be written to the stream buffer before
|
||||
|
@ -782,6 +816,9 @@ size_t xStreamBufferSpacesAvailable( StreamBufferHandle_t xStreamBuffer ) PRIVIL
|
|||
* the number of bytes that can be read from the stream buffer before the stream
|
||||
* buffer would be empty.
|
||||
*
|
||||
* configUSE_STREAM_BUFFERS must be set to 1 in for FreeRTOSConfig.h for
|
||||
* xStreamBufferBytesAvailable() to be available.
|
||||
*
|
||||
* @param xStreamBuffer The handle of the stream buffer being queried.
|
||||
*
|
||||
* @return The number of bytes that can be read from the stream buffer before
|
||||
|
@ -816,6 +853,9 @@ size_t xStreamBufferBytesAvailable( StreamBufferHandle_t xStreamBuffer ) PRIVILE
|
|||
* A trigger level is set when the stream buffer is created, and can be modified
|
||||
* using xStreamBufferSetTriggerLevel().
|
||||
*
|
||||
* configUSE_STREAM_BUFFERS must be set to 1 in for FreeRTOSConfig.h for
|
||||
* xStreamBufferSetTriggerLevel() to be available.
|
||||
*
|
||||
* @param xStreamBuffer The handle of the stream buffer being updated.
|
||||
*
|
||||
* @param xTriggerLevel The new trigger level for the stream buffer.
|
||||
|
@ -850,6 +890,9 @@ BaseType_t xStreamBufferSetTriggerLevel( StreamBufferHandle_t xStreamBuffer,
|
|||
* See the example implemented in FreeRTOS/Demo/Minimal/MessageBufferAMP.c for
|
||||
* additional information.
|
||||
*
|
||||
* configUSE_STREAM_BUFFERS must be set to 1 in for FreeRTOSConfig.h for
|
||||
* xStreamBufferSendCompletedFromISR() to be available.
|
||||
*
|
||||
* @param xStreamBuffer The handle of the stream buffer to which data was
|
||||
* written.
|
||||
*
|
||||
|
@ -891,6 +934,9 @@ BaseType_t xStreamBufferSendCompletedFromISR( StreamBufferHandle_t xStreamBuffer
|
|||
* See the example implemented in FreeRTOS/Demo/Minimal/MessageBufferAMP.c for
|
||||
* additional information.
|
||||
*
|
||||
* configUSE_STREAM_BUFFERS must be set to 1 in for FreeRTOSConfig.h for
|
||||
* xStreamBufferReceiveCompletedFromISR() to be available.
|
||||
*
|
||||
* @param xStreamBuffer The handle of the stream buffer from which data was
|
||||
* read.
|
||||
*
|
||||
|
@ -924,6 +970,9 @@ BaseType_t xStreamBufferReceiveCompletedFromISR( StreamBufferHandle_t xStreamBuf
|
|||
* vStreamBufferSetStreamBufferNotificationIndex, this function returns the
|
||||
* default value (tskDEFAULT_INDEX_TO_NOTIFY).
|
||||
*
|
||||
* configUSE_STREAM_BUFFERS must be set to 1 in for FreeRTOSConfig.h for
|
||||
* uxStreamBufferGetStreamBufferNotificationIndex() to be available.
|
||||
*
|
||||
* @param xStreamBuffer The handle of the stream buffer for which the task
|
||||
* notification index is retrieved.
|
||||
*
|
||||
|
@ -951,6 +1000,9 @@ UBaseType_t uxStreamBufferGetStreamBufferNotificationIndex( StreamBufferHandle_t
|
|||
* before attempting to send or receive data from the stream buffer to avoid
|
||||
* inconsistencies.
|
||||
*
|
||||
* configUSE_STREAM_BUFFERS must be set to 1 in for FreeRTOSConfig.h for
|
||||
* vStreamBufferSetStreamBufferNotificationIndex() to be available.
|
||||
*
|
||||
* @param xStreamBuffer The handle of the stream buffer for which the task
|
||||
* notification index is set.
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
@ -53,10 +53,10 @@
|
|||
* The tskKERNEL_VERSION_MAJOR, tskKERNEL_VERSION_MINOR, tskKERNEL_VERSION_BUILD
|
||||
* values will reflect the last released version number.
|
||||
*/
|
||||
#define tskKERNEL_VERSION_NUMBER "V10.4.4+"
|
||||
#define tskKERNEL_VERSION_MAJOR 10
|
||||
#define tskKERNEL_VERSION_MINOR 4
|
||||
#define tskKERNEL_VERSION_BUILD 4
|
||||
#define tskKERNEL_VERSION_NUMBER "V11.0.1+"
|
||||
#define tskKERNEL_VERSION_MAJOR 11
|
||||
#define tskKERNEL_VERSION_MINOR 0
|
||||
#define tskKERNEL_VERSION_BUILD 1
|
||||
|
||||
/* MPU region parameters passed in ulParameters
|
||||
* of MemoryRegion_t struct. */
|
||||
|
@ -2289,7 +2289,7 @@ char * pcTaskGetName( TaskHandle_t xTaskToQuery ) PRIVILEGED_FUNCTION;
|
|||
* \defgroup vTaskList vTaskList
|
||||
* \ingroup TaskUtils
|
||||
*/
|
||||
#define vTaskList( pcWriteBuffer ) vTaskListTasks( pcWriteBuffer, configSTATS_BUFFER_MAX_LENGTH )
|
||||
#define vTaskList( pcWriteBuffer ) vTaskListTasks( ( pcWriteBuffer ), configSTATS_BUFFER_MAX_LENGTH )
|
||||
|
||||
/**
|
||||
* task. h
|
||||
|
@ -2412,7 +2412,7 @@ char * pcTaskGetName( TaskHandle_t xTaskToQuery ) PRIVILEGED_FUNCTION;
|
|||
* \defgroup vTaskGetRunTimeStats vTaskGetRunTimeStats
|
||||
* \ingroup TaskUtils
|
||||
*/
|
||||
#define vTaskGetRunTimeStats( pcWriteBuffer ) vTaskGetRunTimeStatistics( pcWriteBuffer, configSTATS_BUFFER_MAX_LENGTH )
|
||||
#define vTaskGetRunTimeStats( pcWriteBuffer ) vTaskGetRunTimeStatistics( ( pcWriteBuffer ), configSTATS_BUFFER_MAX_LENGTH )
|
||||
|
||||
/**
|
||||
* task. h
|
||||
|
@ -3438,6 +3438,20 @@ BaseType_t xTaskCheckForTimeOut( TimeOut_t * const pxTimeOut,
|
|||
*/
|
||||
BaseType_t xTaskCatchUpTicks( TickType_t xTicksToCatchUp ) PRIVILEGED_FUNCTION;
|
||||
|
||||
/**
|
||||
* task.h
|
||||
* @code{c}
|
||||
* void vTaskResetState( void );
|
||||
* @endcode
|
||||
*
|
||||
* This function resets the internal state of the task. It must be called by the
|
||||
* application before restarting the scheduler.
|
||||
*
|
||||
* \defgroup vTaskResetState vTaskResetState
|
||||
* \ingroup SchedulerControl
|
||||
*/
|
||||
void vTaskResetState( void ) PRIVILEGED_FUNCTION;
|
||||
|
||||
|
||||
/*-----------------------------------------------------------
|
||||
* SCHEDULER INTERNALS AVAILABLE FOR PORTING PURPOSES
|
||||
|
@ -3574,9 +3588,7 @@ TaskHandle_t xTaskGetCurrentTaskHandle( void ) PRIVILEGED_FUNCTION;
|
|||
/*
|
||||
* Return the handle of the task running on specified core.
|
||||
*/
|
||||
#if ( configNUMBER_OF_CORES > 1 )
|
||||
TaskHandle_t xTaskGetCurrentTaskHandleForCore( BaseType_t xCoreID ) PRIVILEGED_FUNCTION;
|
||||
#endif
|
||||
TaskHandle_t xTaskGetCurrentTaskHandleForCore( BaseType_t xCoreID ) PRIVILEGED_FUNCTION;
|
||||
|
||||
/*
|
||||
* Shortcut used by the queue implementation to prevent unnecessary call to
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
@ -1417,6 +1417,12 @@ BaseType_t xTimerGenericCommandFromISR( TimerHandle_t xTimer,
|
|||
|
||||
#endif
|
||||
|
||||
/*
|
||||
* This function resets the internal state of the timer module. It must be called
|
||||
* by the application before restarting the scheduler.
|
||||
*/
|
||||
void vTimerResetState( void ) PRIVILEGED_FUNCTION;
|
||||
|
||||
/* *INDENT-OFF* */
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
11
list.c
11
list.c
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
@ -130,7 +130,7 @@ void vListInsertEnd( List_t * const pxList,
|
|||
/* Remember which list the item is in. */
|
||||
pxNewListItem->pxContainer = pxList;
|
||||
|
||||
( pxList->uxNumberOfItems )++;
|
||||
( pxList->uxNumberOfItems ) += ( UBaseType_t ) 1U;
|
||||
|
||||
traceRETURN_vListInsertEnd();
|
||||
}
|
||||
|
@ -205,12 +205,13 @@ void vListInsert( List_t * const pxList,
|
|||
* item later. */
|
||||
pxNewListItem->pxContainer = pxList;
|
||||
|
||||
( pxList->uxNumberOfItems )++;
|
||||
( pxList->uxNumberOfItems ) += ( UBaseType_t ) 1U;
|
||||
|
||||
traceRETURN_vListInsert();
|
||||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
||||
UBaseType_t uxListRemove( ListItem_t * const pxItemToRemove )
|
||||
{
|
||||
/* The list item knows which list it is in. Obtain the list from the list
|
||||
|
@ -219,8 +220,6 @@ UBaseType_t uxListRemove( ListItem_t * const pxItemToRemove )
|
|||
|
||||
traceENTER_uxListRemove( pxItemToRemove );
|
||||
|
||||
|
||||
|
||||
pxItemToRemove->pxNext->pxPrevious = pxItemToRemove->pxPrevious;
|
||||
pxItemToRemove->pxPrevious->pxNext = pxItemToRemove->pxNext;
|
||||
|
||||
|
@ -238,7 +237,7 @@ UBaseType_t uxListRemove( ListItem_t * const pxItemToRemove )
|
|||
}
|
||||
|
||||
pxItemToRemove->pxContainer = NULL;
|
||||
( pxList->uxNumberOfItems )--;
|
||||
( pxList->uxNumberOfItems ) -= ( UBaseType_t ) 1U;
|
||||
|
||||
traceRETURN_uxListRemove( pxList->uxNumberOfItems );
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
name : "FreeRTOS-Kernel"
|
||||
version: "v10.5.1"
|
||||
version: "v11.0.1+"
|
||||
description: "FreeRTOS Kernel."
|
||||
license: "MIT"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#/*
|
||||
# * FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
# * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
# * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
# *
|
||||
# * SPDX-License-Identifier: MIT
|
||||
# *
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
@ -496,14 +496,14 @@ portDONT_DISCARD void vPortSVCHandler_C( uint32_t * pulCallerStackAddress ) PRIV
|
|||
#endif /* configENABLE_MPU == 1 */
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
#if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) && ( configENABLE_ACCESS_CONTROL_LIST == 1 ) )
|
||||
#if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) )
|
||||
|
||||
/**
|
||||
* @brief This variable is set to pdTRUE when the scheduler is started.
|
||||
*/
|
||||
PRIVILEGED_DATA static BaseType_t xSchedulerRunning = pdFALSE;
|
||||
|
||||
#endif
|
||||
#endif /* ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) */
|
||||
|
||||
/**
|
||||
* @brief Each task maintains its own interrupt status in the critical nesting
|
||||
|
@ -555,6 +555,7 @@ PRIVILEGED_DATA static volatile uint32_t ulCriticalNesting = 0xaaaaaaaaUL;
|
|||
/*-----------------------------------------------------------*/
|
||||
|
||||
#if ( configUSE_TICKLESS_IDLE == 1 )
|
||||
|
||||
__attribute__( ( weak ) ) void vPortSuppressTicksAndSleep( TickType_t xExpectedIdleTime )
|
||||
{
|
||||
uint32_t ulReloadValue, ulCompleteTickPeriods, ulCompletedSysTickDecrements, ulSysTickDecrementsLeft;
|
||||
|
@ -770,6 +771,7 @@ PRIVILEGED_DATA static volatile uint32_t ulCriticalNesting = 0xaaaaaaaaUL;
|
|||
__asm volatile ( "cpsie i" ::: "memory" );
|
||||
}
|
||||
}
|
||||
|
||||
#endif /* configUSE_TICKLESS_IDLE */
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -827,6 +829,7 @@ static void prvTaskExitError( void )
|
|||
/*-----------------------------------------------------------*/
|
||||
|
||||
#if ( configENABLE_MPU == 1 )
|
||||
|
||||
static uint32_t prvGetRegionAccessPermissions( uint32_t ulRBARValue ) /* PRIVILEGED_FUNCTION */
|
||||
{
|
||||
uint32_t ulAccessPermissions = 0;
|
||||
|
@ -843,10 +846,12 @@ static void prvTaskExitError( void )
|
|||
|
||||
return ulAccessPermissions;
|
||||
}
|
||||
|
||||
#endif /* configENABLE_MPU */
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
#if ( configENABLE_MPU == 1 )
|
||||
|
||||
static void prvSetupMPU( void ) /* PRIVILEGED_FUNCTION */
|
||||
{
|
||||
#if defined( __ARMCC_VERSION )
|
||||
|
@ -935,10 +940,12 @@ static void prvTaskExitError( void )
|
|||
portMPU_CTRL_REG |= ( portMPU_PRIV_BACKGROUND_ENABLE_BIT | portMPU_ENABLE_BIT );
|
||||
}
|
||||
}
|
||||
|
||||
#endif /* configENABLE_MPU */
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
#if ( configENABLE_FPU == 1 )
|
||||
|
||||
static void prvSetupFPU( void ) /* PRIVILEGED_FUNCTION */
|
||||
{
|
||||
#if ( configENABLE_TRUSTZONE == 1 )
|
||||
|
@ -960,6 +967,7 @@ static void prvTaskExitError( void )
|
|||
* LSPEN = 1 ==> Enable lazy context save of FP state. */
|
||||
*( portFPCCR ) |= ( portFPCCR_ASPEN_MASK | portFPCCR_LSPEN_MASK );
|
||||
}
|
||||
|
||||
#endif /* configENABLE_FPU */
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -1613,7 +1621,7 @@ void vPortSVCHandler_C( uint32_t * pulCallerStackAddress ) /* PRIVILEGED_FUNCTIO
|
|||
BaseType_t xPortStartScheduler( void ) /* PRIVILEGED_FUNCTION */
|
||||
{
|
||||
/* An application can install FreeRTOS interrupt handlers in one of the
|
||||
* folllowing ways:
|
||||
* following ways:
|
||||
* 1. Direct Routing - Install the functions SVC_Handler and PendSV_Handler
|
||||
* for SVCall and PendSV interrupts respectively.
|
||||
* 2. Indirect Routing - Install separate handlers for SVCall and PendSV
|
||||
|
@ -1740,11 +1748,11 @@ BaseType_t xPortStartScheduler( void ) /* PRIVILEGED_FUNCTION */
|
|||
/* Initialize the critical nesting count ready for the first task. */
|
||||
ulCriticalNesting = 0;
|
||||
|
||||
#if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) && ( configENABLE_ACCESS_CONTROL_LIST == 1 ) )
|
||||
#if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) )
|
||||
{
|
||||
xSchedulerRunning = pdTRUE;
|
||||
}
|
||||
#endif
|
||||
#endif /* ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) ) */
|
||||
|
||||
/* Start the first task. */
|
||||
vStartFirstTask();
|
||||
|
@ -1772,6 +1780,7 @@ void vPortEndScheduler( void ) /* PRIVILEGED_FUNCTION */
|
|||
/*-----------------------------------------------------------*/
|
||||
|
||||
#if ( configENABLE_MPU == 1 )
|
||||
|
||||
void vPortStoreTaskMPUSettings( xMPU_SETTINGS * xMPUSettings,
|
||||
const struct xMEMORY_REGION * const xRegions,
|
||||
StackType_t * pxBottomOfStack,
|
||||
|
@ -1893,10 +1902,12 @@ void vPortEndScheduler( void ) /* PRIVILEGED_FUNCTION */
|
|||
lIndex++;
|
||||
}
|
||||
}
|
||||
|
||||
#endif /* configENABLE_MPU */
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
#if ( configENABLE_MPU == 1 )
|
||||
#if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) )
|
||||
|
||||
BaseType_t xPortIsAuthorizedToAccessBuffer( const void * pvBuffer,
|
||||
uint32_t ulBufferLength,
|
||||
uint32_t ulAccessRequested ) /* PRIVILEGED_FUNCTION */
|
||||
|
@ -1949,7 +1960,8 @@ void vPortEndScheduler( void ) /* PRIVILEGED_FUNCTION */
|
|||
|
||||
return xAccessGranted;
|
||||
}
|
||||
#endif /* configENABLE_MPU */
|
||||
|
||||
#endif /* #if ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) */
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
BaseType_t xPortIsInsideInterrupt( void )
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
@ -48,12 +48,11 @@ MPU_xTaskDelayUntil:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xTaskDelayUntil_Unpriv
|
||||
MPU_xTaskDelayUntil_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xTaskDelayUntilImpl
|
||||
MPU_xTaskDelayUntil_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xTaskDelayUntil
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -63,12 +62,11 @@ MPU_xTaskAbortDelay:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xTaskAbortDelay_Unpriv
|
||||
MPU_xTaskAbortDelay_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xTaskAbortDelayImpl
|
||||
MPU_xTaskAbortDelay_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xTaskAbortDelay
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -78,12 +76,11 @@ MPU_vTaskDelay:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_vTaskDelay_Unpriv
|
||||
MPU_vTaskDelay_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_vTaskDelayImpl
|
||||
MPU_vTaskDelay_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_vTaskDelay
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -93,12 +90,11 @@ MPU_uxTaskPriorityGet:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_uxTaskPriorityGet_Unpriv
|
||||
MPU_uxTaskPriorityGet_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_uxTaskPriorityGetImpl
|
||||
MPU_uxTaskPriorityGet_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_uxTaskPriorityGet
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -108,12 +104,11 @@ MPU_eTaskGetState:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_eTaskGetState_Unpriv
|
||||
MPU_eTaskGetState_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_eTaskGetStateImpl
|
||||
MPU_eTaskGetState_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_eTaskGetState
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -123,12 +118,11 @@ MPU_vTaskGetInfo:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_vTaskGetInfo_Unpriv
|
||||
MPU_vTaskGetInfo_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_vTaskGetInfoImpl
|
||||
MPU_vTaskGetInfo_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_vTaskGetInfo
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -138,12 +132,11 @@ MPU_xTaskGetIdleTaskHandle:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xTaskGetIdleTaskHandle_Unpriv
|
||||
MPU_xTaskGetIdleTaskHandle_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xTaskGetIdleTaskHandleImpl
|
||||
MPU_xTaskGetIdleTaskHandle_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xTaskGetIdleTaskHandle
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -153,12 +146,11 @@ MPU_vTaskSuspend:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_vTaskSuspend_Unpriv
|
||||
MPU_vTaskSuspend_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_vTaskSuspendImpl
|
||||
MPU_vTaskSuspend_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_vTaskSuspend
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -168,12 +160,11 @@ MPU_vTaskResume:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_vTaskResume_Unpriv
|
||||
MPU_vTaskResume_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_vTaskResumeImpl
|
||||
MPU_vTaskResume_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_vTaskResume
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -183,12 +174,11 @@ MPU_xTaskGetTickCount:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xTaskGetTickCount_Unpriv
|
||||
MPU_xTaskGetTickCount_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xTaskGetTickCountImpl
|
||||
MPU_xTaskGetTickCount_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xTaskGetTickCount
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -198,12 +188,11 @@ MPU_uxTaskGetNumberOfTasks:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_uxTaskGetNumberOfTasks_Unpriv
|
||||
MPU_uxTaskGetNumberOfTasks_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_uxTaskGetNumberOfTasksImpl
|
||||
MPU_uxTaskGetNumberOfTasks_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_uxTaskGetNumberOfTasks
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -213,12 +202,11 @@ MPU_ulTaskGetRunTimeCounter:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_ulTaskGetRunTimeCounter_Unpriv
|
||||
MPU_ulTaskGetRunTimeCounter_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_ulTaskGetRunTimeCounterImpl
|
||||
MPU_ulTaskGetRunTimeCounter_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_ulTaskGetRunTimeCounter
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -228,12 +216,11 @@ MPU_ulTaskGetRunTimePercent:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_ulTaskGetRunTimePercent_Unpriv
|
||||
MPU_ulTaskGetRunTimePercent_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_ulTaskGetRunTimePercentImpl
|
||||
MPU_ulTaskGetRunTimePercent_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_ulTaskGetRunTimePercent
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -243,12 +230,11 @@ MPU_ulTaskGetIdleRunTimePercent:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_ulTaskGetIdleRunTimePercent_Unpriv
|
||||
MPU_ulTaskGetIdleRunTimePercent_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_ulTaskGetIdleRunTimePercentImpl
|
||||
MPU_ulTaskGetIdleRunTimePercent_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_ulTaskGetIdleRunTimePercent
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -258,12 +244,11 @@ MPU_ulTaskGetIdleRunTimeCounter:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_ulTaskGetIdleRunTimeCounter_Unpriv
|
||||
MPU_ulTaskGetIdleRunTimeCounter_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_ulTaskGetIdleRunTimeCounterImpl
|
||||
MPU_ulTaskGetIdleRunTimeCounter_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_ulTaskGetIdleRunTimeCounter
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -273,12 +258,11 @@ MPU_vTaskSetApplicationTaskTag:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_vTaskSetApplicationTaskTag_Unpriv
|
||||
MPU_vTaskSetApplicationTaskTag_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_vTaskSetApplicationTaskTagImpl
|
||||
MPU_vTaskSetApplicationTaskTag_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_vTaskSetApplicationTaskTag
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -288,12 +272,11 @@ MPU_xTaskGetApplicationTaskTag:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xTaskGetApplicationTaskTag_Unpriv
|
||||
MPU_xTaskGetApplicationTaskTag_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xTaskGetApplicationTaskTagImpl
|
||||
MPU_xTaskGetApplicationTaskTag_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xTaskGetApplicationTaskTag
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -303,12 +286,11 @@ MPU_vTaskSetThreadLocalStoragePointer:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_vTaskSetThreadLocalStoragePointer_Unpriv
|
||||
MPU_vTaskSetThreadLocalStoragePointer_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_vTaskSetThreadLocalStoragePointerImpl
|
||||
MPU_vTaskSetThreadLocalStoragePointer_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_vTaskSetThreadLocalStoragePointer
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -318,12 +300,11 @@ MPU_pvTaskGetThreadLocalStoragePointer:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_pvTaskGetThreadLocalStoragePointer_Unpriv
|
||||
MPU_pvTaskGetThreadLocalStoragePointer_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_pvTaskGetThreadLocalStoragePointerImpl
|
||||
MPU_pvTaskGetThreadLocalStoragePointer_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_pvTaskGetThreadLocalStoragePointer
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -333,12 +314,11 @@ MPU_uxTaskGetSystemState:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_uxTaskGetSystemState_Unpriv
|
||||
MPU_uxTaskGetSystemState_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_uxTaskGetSystemStateImpl
|
||||
MPU_uxTaskGetSystemState_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_uxTaskGetSystemState
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -348,12 +328,11 @@ MPU_uxTaskGetStackHighWaterMark:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_uxTaskGetStackHighWaterMark_Unpriv
|
||||
MPU_uxTaskGetStackHighWaterMark_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_uxTaskGetStackHighWaterMarkImpl
|
||||
MPU_uxTaskGetStackHighWaterMark_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_uxTaskGetStackHighWaterMark
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -363,12 +342,11 @@ MPU_uxTaskGetStackHighWaterMark2:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_uxTaskGetStackHighWaterMark2_Unpriv
|
||||
MPU_uxTaskGetStackHighWaterMark2_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_uxTaskGetStackHighWaterMark2Impl
|
||||
MPU_uxTaskGetStackHighWaterMark2_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_uxTaskGetStackHighWaterMark2
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -378,12 +356,11 @@ MPU_xTaskGetCurrentTaskHandle:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xTaskGetCurrentTaskHandle_Unpriv
|
||||
MPU_xTaskGetCurrentTaskHandle_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xTaskGetCurrentTaskHandleImpl
|
||||
MPU_xTaskGetCurrentTaskHandle_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xTaskGetCurrentTaskHandle
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -393,12 +370,11 @@ MPU_xTaskGetSchedulerState:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xTaskGetSchedulerState_Unpriv
|
||||
MPU_xTaskGetSchedulerState_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xTaskGetSchedulerStateImpl
|
||||
MPU_xTaskGetSchedulerState_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xTaskGetSchedulerState
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -408,12 +384,11 @@ MPU_vTaskSetTimeOutState:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_vTaskSetTimeOutState_Unpriv
|
||||
MPU_vTaskSetTimeOutState_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_vTaskSetTimeOutStateImpl
|
||||
MPU_vTaskSetTimeOutState_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_vTaskSetTimeOutState
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -423,12 +398,11 @@ MPU_xTaskCheckForTimeOut:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xTaskCheckForTimeOut_Unpriv
|
||||
MPU_xTaskCheckForTimeOut_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xTaskCheckForTimeOutImpl
|
||||
MPU_xTaskCheckForTimeOut_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xTaskCheckForTimeOut
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -438,12 +412,11 @@ MPU_xTaskGenericNotifyEntry:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xTaskGenericNotify_Unpriv
|
||||
MPU_xTaskGenericNotify_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xTaskGenericNotifyImpl
|
||||
MPU_xTaskGenericNotify_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xTaskGenericNotify
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -453,12 +426,11 @@ MPU_xTaskGenericNotifyWaitEntry:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xTaskGenericNotifyWait_Unpriv
|
||||
MPU_xTaskGenericNotifyWait_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xTaskGenericNotifyWaitImpl
|
||||
MPU_xTaskGenericNotifyWait_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xTaskGenericNotifyWait
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -468,12 +440,11 @@ MPU_ulTaskGenericNotifyTake:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_ulTaskGenericNotifyTake_Unpriv
|
||||
MPU_ulTaskGenericNotifyTake_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_ulTaskGenericNotifyTakeImpl
|
||||
MPU_ulTaskGenericNotifyTake_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_ulTaskGenericNotifyTake
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -483,12 +454,11 @@ MPU_xTaskGenericNotifyStateClear:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xTaskGenericNotifyStateClear_Unpriv
|
||||
MPU_xTaskGenericNotifyStateClear_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xTaskGenericNotifyStateClearImpl
|
||||
MPU_xTaskGenericNotifyStateClear_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xTaskGenericNotifyStateClear
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -498,12 +468,11 @@ MPU_ulTaskGenericNotifyValueClear:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_ulTaskGenericNotifyValueClear_Unpriv
|
||||
MPU_ulTaskGenericNotifyValueClear_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_ulTaskGenericNotifyValueClearImpl
|
||||
MPU_ulTaskGenericNotifyValueClear_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_ulTaskGenericNotifyValueClear
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -513,12 +482,11 @@ MPU_xQueueGenericSend:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xQueueGenericSend_Unpriv
|
||||
MPU_xQueueGenericSend_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xQueueGenericSendImpl
|
||||
MPU_xQueueGenericSend_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xQueueGenericSend
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -528,12 +496,11 @@ MPU_uxQueueMessagesWaiting:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_uxQueueMessagesWaiting_Unpriv
|
||||
MPU_uxQueueMessagesWaiting_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_uxQueueMessagesWaitingImpl
|
||||
MPU_uxQueueMessagesWaiting_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_uxQueueMessagesWaiting
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -543,12 +510,11 @@ MPU_uxQueueSpacesAvailable:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_uxQueueSpacesAvailable_Unpriv
|
||||
MPU_uxQueueSpacesAvailable_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_uxQueueSpacesAvailableImpl
|
||||
MPU_uxQueueSpacesAvailable_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_uxQueueSpacesAvailable
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -558,12 +524,11 @@ MPU_xQueueReceive:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xQueueReceive_Unpriv
|
||||
MPU_xQueueReceive_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xQueueReceiveImpl
|
||||
MPU_xQueueReceive_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xQueueReceive
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -573,12 +538,11 @@ MPU_xQueuePeek:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xQueuePeek_Unpriv
|
||||
MPU_xQueuePeek_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xQueuePeekImpl
|
||||
MPU_xQueuePeek_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xQueuePeek
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -588,12 +552,11 @@ MPU_xQueueSemaphoreTake:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xQueueSemaphoreTake_Unpriv
|
||||
MPU_xQueueSemaphoreTake_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xQueueSemaphoreTakeImpl
|
||||
MPU_xQueueSemaphoreTake_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xQueueSemaphoreTake
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -603,12 +566,11 @@ MPU_xQueueGetMutexHolder:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xQueueGetMutexHolder_Unpriv
|
||||
MPU_xQueueGetMutexHolder_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xQueueGetMutexHolderImpl
|
||||
MPU_xQueueGetMutexHolder_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xQueueGetMutexHolder
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -618,12 +580,11 @@ MPU_xQueueTakeMutexRecursive:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xQueueTakeMutexRecursive_Unpriv
|
||||
MPU_xQueueTakeMutexRecursive_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xQueueTakeMutexRecursiveImpl
|
||||
MPU_xQueueTakeMutexRecursive_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xQueueTakeMutexRecursive
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -633,12 +594,11 @@ MPU_xQueueGiveMutexRecursive:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xQueueGiveMutexRecursive_Unpriv
|
||||
MPU_xQueueGiveMutexRecursive_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xQueueGiveMutexRecursiveImpl
|
||||
MPU_xQueueGiveMutexRecursive_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xQueueGiveMutexRecursive
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -648,12 +608,11 @@ MPU_xQueueSelectFromSet:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xQueueSelectFromSet_Unpriv
|
||||
MPU_xQueueSelectFromSet_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xQueueSelectFromSetImpl
|
||||
MPU_xQueueSelectFromSet_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xQueueSelectFromSet
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -663,12 +622,11 @@ MPU_xQueueAddToSet:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xQueueAddToSet_Unpriv
|
||||
MPU_xQueueAddToSet_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xQueueAddToSetImpl
|
||||
MPU_xQueueAddToSet_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xQueueAddToSet
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -678,12 +636,11 @@ MPU_vQueueAddToRegistry:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_vQueueAddToRegistry_Unpriv
|
||||
MPU_vQueueAddToRegistry_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_vQueueAddToRegistryImpl
|
||||
MPU_vQueueAddToRegistry_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_vQueueAddToRegistry
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -693,12 +650,11 @@ MPU_vQueueUnregisterQueue:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_vQueueUnregisterQueue_Unpriv
|
||||
MPU_vQueueUnregisterQueue_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_vQueueUnregisterQueueImpl
|
||||
MPU_vQueueUnregisterQueue_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_vQueueUnregisterQueue
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -708,12 +664,11 @@ MPU_pcQueueGetName:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_pcQueueGetName_Unpriv
|
||||
MPU_pcQueueGetName_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_pcQueueGetNameImpl
|
||||
MPU_pcQueueGetName_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_pcQueueGetName
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -723,12 +678,11 @@ MPU_pvTimerGetTimerID:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_pvTimerGetTimerID_Unpriv
|
||||
MPU_pvTimerGetTimerID_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_pvTimerGetTimerIDImpl
|
||||
MPU_pvTimerGetTimerID_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_pvTimerGetTimerID
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -738,12 +692,11 @@ MPU_vTimerSetTimerID:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_vTimerSetTimerID_Unpriv
|
||||
MPU_vTimerSetTimerID_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_vTimerSetTimerIDImpl
|
||||
MPU_vTimerSetTimerID_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_vTimerSetTimerID
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -753,12 +706,11 @@ MPU_xTimerIsTimerActive:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xTimerIsTimerActive_Unpriv
|
||||
MPU_xTimerIsTimerActive_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xTimerIsTimerActiveImpl
|
||||
MPU_xTimerIsTimerActive_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xTimerIsTimerActive
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -768,12 +720,11 @@ MPU_xTimerGetTimerDaemonTaskHandle:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xTimerGetTimerDaemonTaskHandle_Unpriv
|
||||
MPU_xTimerGetTimerDaemonTaskHandle_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xTimerGetTimerDaemonTaskHandleImpl
|
||||
MPU_xTimerGetTimerDaemonTaskHandle_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xTimerGetTimerDaemonTaskHandle
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -783,12 +734,11 @@ MPU_xTimerGenericCommandFromTaskEntry:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xTimerGenericCommandFromTask_Unpriv
|
||||
MPU_xTimerGenericCommandFromTask_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xTimerGenericCommandFromTaskImpl
|
||||
MPU_xTimerGenericCommandFromTask_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xTimerGenericCommandFromTask
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -798,12 +748,11 @@ MPU_pcTimerGetName:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_pcTimerGetName_Unpriv
|
||||
MPU_pcTimerGetName_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_pcTimerGetNameImpl
|
||||
MPU_pcTimerGetName_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_pcTimerGetName
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -813,12 +762,11 @@ MPU_vTimerSetReloadMode:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_vTimerSetReloadMode_Unpriv
|
||||
MPU_vTimerSetReloadMode_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_vTimerSetReloadModeImpl
|
||||
MPU_vTimerSetReloadMode_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_vTimerSetReloadMode
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -828,12 +776,11 @@ MPU_xTimerGetReloadMode:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xTimerGetReloadMode_Unpriv
|
||||
MPU_xTimerGetReloadMode_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xTimerGetReloadModeImpl
|
||||
MPU_xTimerGetReloadMode_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xTimerGetReloadMode
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -843,12 +790,11 @@ MPU_uxTimerGetReloadMode:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_uxTimerGetReloadMode_Unpriv
|
||||
MPU_uxTimerGetReloadMode_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_uxTimerGetReloadModeImpl
|
||||
MPU_uxTimerGetReloadMode_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_uxTimerGetReloadMode
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -858,12 +804,11 @@ MPU_xTimerGetPeriod:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xTimerGetPeriod_Unpriv
|
||||
MPU_xTimerGetPeriod_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xTimerGetPeriodImpl
|
||||
MPU_xTimerGetPeriod_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xTimerGetPeriod
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -873,12 +818,11 @@ MPU_xTimerGetExpiryTime:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xTimerGetExpiryTime_Unpriv
|
||||
MPU_xTimerGetExpiryTime_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xTimerGetExpiryTimeImpl
|
||||
MPU_xTimerGetExpiryTime_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xTimerGetExpiryTime
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -888,12 +832,11 @@ MPU_xEventGroupWaitBitsEntry:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xEventGroupWaitBits_Unpriv
|
||||
MPU_xEventGroupWaitBits_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xEventGroupWaitBitsImpl
|
||||
MPU_xEventGroupWaitBits_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xEventGroupWaitBits
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -903,12 +846,11 @@ MPU_xEventGroupClearBits:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xEventGroupClearBits_Unpriv
|
||||
MPU_xEventGroupClearBits_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xEventGroupClearBitsImpl
|
||||
MPU_xEventGroupClearBits_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xEventGroupClearBits
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -918,12 +860,11 @@ MPU_xEventGroupSetBits:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xEventGroupSetBits_Unpriv
|
||||
MPU_xEventGroupSetBits_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xEventGroupSetBitsImpl
|
||||
MPU_xEventGroupSetBits_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xEventGroupSetBits
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -933,12 +874,11 @@ MPU_xEventGroupSync:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xEventGroupSync_Unpriv
|
||||
MPU_xEventGroupSync_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xEventGroupSyncImpl
|
||||
MPU_xEventGroupSync_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xEventGroupSync
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -948,12 +888,11 @@ MPU_uxEventGroupGetNumber:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_uxEventGroupGetNumber_Unpriv
|
||||
MPU_uxEventGroupGetNumber_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_uxEventGroupGetNumberImpl
|
||||
MPU_uxEventGroupGetNumber_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_uxEventGroupGetNumber
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -963,12 +902,11 @@ MPU_vEventGroupSetNumber:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_vEventGroupSetNumber_Unpriv
|
||||
MPU_vEventGroupSetNumber_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_vEventGroupSetNumberImpl
|
||||
MPU_vEventGroupSetNumber_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_vEventGroupSetNumber
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -978,12 +916,11 @@ MPU_xStreamBufferSend:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xStreamBufferSend_Unpriv
|
||||
MPU_xStreamBufferSend_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xStreamBufferSendImpl
|
||||
MPU_xStreamBufferSend_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xStreamBufferSend
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -993,12 +930,11 @@ MPU_xStreamBufferReceive:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xStreamBufferReceive_Unpriv
|
||||
MPU_xStreamBufferReceive_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xStreamBufferReceiveImpl
|
||||
MPU_xStreamBufferReceive_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xStreamBufferReceive
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -1008,12 +944,11 @@ MPU_xStreamBufferIsFull:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xStreamBufferIsFull_Unpriv
|
||||
MPU_xStreamBufferIsFull_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xStreamBufferIsFullImpl
|
||||
MPU_xStreamBufferIsFull_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xStreamBufferIsFull
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -1023,12 +958,11 @@ MPU_xStreamBufferIsEmpty:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xStreamBufferIsEmpty_Unpriv
|
||||
MPU_xStreamBufferIsEmpty_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xStreamBufferIsEmptyImpl
|
||||
MPU_xStreamBufferIsEmpty_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xStreamBufferIsEmpty
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -1038,12 +972,11 @@ MPU_xStreamBufferSpacesAvailable:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xStreamBufferSpacesAvailable_Unpriv
|
||||
MPU_xStreamBufferSpacesAvailable_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xStreamBufferSpacesAvailableImpl
|
||||
MPU_xStreamBufferSpacesAvailable_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xStreamBufferSpacesAvailable
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -1053,12 +986,11 @@ MPU_xStreamBufferBytesAvailable:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xStreamBufferBytesAvailable_Unpriv
|
||||
MPU_xStreamBufferBytesAvailable_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xStreamBufferBytesAvailableImpl
|
||||
MPU_xStreamBufferBytesAvailable_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xStreamBufferBytesAvailable
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -1068,12 +1000,11 @@ MPU_xStreamBufferSetTriggerLevel:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xStreamBufferSetTriggerLevel_Unpriv
|
||||
MPU_xStreamBufferSetTriggerLevel_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xStreamBufferSetTriggerLevelImpl
|
||||
MPU_xStreamBufferSetTriggerLevel_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xStreamBufferSetTriggerLevel
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -1083,12 +1014,11 @@ MPU_xStreamBufferNextMessageLengthBytes:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xStreamBufferNextMessageLengthBytes_Unpriv
|
||||
MPU_xStreamBufferNextMessageLengthBytes_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xStreamBufferNextMessageLengthBytesImpl
|
||||
MPU_xStreamBufferNextMessageLengthBytes_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xStreamBufferNextMessageLengthBytes
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
@ -48,12 +48,11 @@ MPU_xTaskDelayUntil:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xTaskDelayUntil_Unpriv
|
||||
MPU_xTaskDelayUntil_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xTaskDelayUntilImpl
|
||||
MPU_xTaskDelayUntil_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xTaskDelayUntil
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -63,12 +62,11 @@ MPU_xTaskAbortDelay:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xTaskAbortDelay_Unpriv
|
||||
MPU_xTaskAbortDelay_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xTaskAbortDelayImpl
|
||||
MPU_xTaskAbortDelay_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xTaskAbortDelay
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -78,12 +76,11 @@ MPU_vTaskDelay:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_vTaskDelay_Unpriv
|
||||
MPU_vTaskDelay_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_vTaskDelayImpl
|
||||
MPU_vTaskDelay_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_vTaskDelay
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -93,12 +90,11 @@ MPU_uxTaskPriorityGet:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_uxTaskPriorityGet_Unpriv
|
||||
MPU_uxTaskPriorityGet_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_uxTaskPriorityGetImpl
|
||||
MPU_uxTaskPriorityGet_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_uxTaskPriorityGet
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -108,12 +104,11 @@ MPU_eTaskGetState:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_eTaskGetState_Unpriv
|
||||
MPU_eTaskGetState_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_eTaskGetStateImpl
|
||||
MPU_eTaskGetState_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_eTaskGetState
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -123,12 +118,11 @@ MPU_vTaskGetInfo:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_vTaskGetInfo_Unpriv
|
||||
MPU_vTaskGetInfo_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_vTaskGetInfoImpl
|
||||
MPU_vTaskGetInfo_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_vTaskGetInfo
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -138,12 +132,11 @@ MPU_xTaskGetIdleTaskHandle:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xTaskGetIdleTaskHandle_Unpriv
|
||||
MPU_xTaskGetIdleTaskHandle_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xTaskGetIdleTaskHandleImpl
|
||||
MPU_xTaskGetIdleTaskHandle_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xTaskGetIdleTaskHandle
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -153,12 +146,11 @@ MPU_vTaskSuspend:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_vTaskSuspend_Unpriv
|
||||
MPU_vTaskSuspend_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_vTaskSuspendImpl
|
||||
MPU_vTaskSuspend_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_vTaskSuspend
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -168,12 +160,11 @@ MPU_vTaskResume:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_vTaskResume_Unpriv
|
||||
MPU_vTaskResume_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_vTaskResumeImpl
|
||||
MPU_vTaskResume_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_vTaskResume
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -183,12 +174,11 @@ MPU_xTaskGetTickCount:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xTaskGetTickCount_Unpriv
|
||||
MPU_xTaskGetTickCount_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xTaskGetTickCountImpl
|
||||
MPU_xTaskGetTickCount_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xTaskGetTickCount
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -198,12 +188,11 @@ MPU_uxTaskGetNumberOfTasks:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_uxTaskGetNumberOfTasks_Unpriv
|
||||
MPU_uxTaskGetNumberOfTasks_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_uxTaskGetNumberOfTasksImpl
|
||||
MPU_uxTaskGetNumberOfTasks_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_uxTaskGetNumberOfTasks
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -213,12 +202,11 @@ MPU_ulTaskGetRunTimeCounter:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_ulTaskGetRunTimeCounter_Unpriv
|
||||
MPU_ulTaskGetRunTimeCounter_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_ulTaskGetRunTimeCounterImpl
|
||||
MPU_ulTaskGetRunTimeCounter_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_ulTaskGetRunTimeCounter
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -228,12 +216,11 @@ MPU_ulTaskGetRunTimePercent:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_ulTaskGetRunTimePercent_Unpriv
|
||||
MPU_ulTaskGetRunTimePercent_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_ulTaskGetRunTimePercentImpl
|
||||
MPU_ulTaskGetRunTimePercent_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_ulTaskGetRunTimePercent
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -243,12 +230,11 @@ MPU_ulTaskGetIdleRunTimePercent:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_ulTaskGetIdleRunTimePercent_Unpriv
|
||||
MPU_ulTaskGetIdleRunTimePercent_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_ulTaskGetIdleRunTimePercentImpl
|
||||
MPU_ulTaskGetIdleRunTimePercent_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_ulTaskGetIdleRunTimePercent
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -258,12 +244,11 @@ MPU_ulTaskGetIdleRunTimeCounter:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_ulTaskGetIdleRunTimeCounter_Unpriv
|
||||
MPU_ulTaskGetIdleRunTimeCounter_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_ulTaskGetIdleRunTimeCounterImpl
|
||||
MPU_ulTaskGetIdleRunTimeCounter_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_ulTaskGetIdleRunTimeCounter
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -273,12 +258,11 @@ MPU_vTaskSetApplicationTaskTag:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_vTaskSetApplicationTaskTag_Unpriv
|
||||
MPU_vTaskSetApplicationTaskTag_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_vTaskSetApplicationTaskTagImpl
|
||||
MPU_vTaskSetApplicationTaskTag_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_vTaskSetApplicationTaskTag
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -288,12 +272,11 @@ MPU_xTaskGetApplicationTaskTag:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xTaskGetApplicationTaskTag_Unpriv
|
||||
MPU_xTaskGetApplicationTaskTag_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xTaskGetApplicationTaskTagImpl
|
||||
MPU_xTaskGetApplicationTaskTag_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xTaskGetApplicationTaskTag
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -303,12 +286,11 @@ MPU_vTaskSetThreadLocalStoragePointer:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_vTaskSetThreadLocalStoragePointer_Unpriv
|
||||
MPU_vTaskSetThreadLocalStoragePointer_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_vTaskSetThreadLocalStoragePointerImpl
|
||||
MPU_vTaskSetThreadLocalStoragePointer_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_vTaskSetThreadLocalStoragePointer
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -318,12 +300,11 @@ MPU_pvTaskGetThreadLocalStoragePointer:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_pvTaskGetThreadLocalStoragePointer_Unpriv
|
||||
MPU_pvTaskGetThreadLocalStoragePointer_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_pvTaskGetThreadLocalStoragePointerImpl
|
||||
MPU_pvTaskGetThreadLocalStoragePointer_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_pvTaskGetThreadLocalStoragePointer
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -333,12 +314,11 @@ MPU_uxTaskGetSystemState:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_uxTaskGetSystemState_Unpriv
|
||||
MPU_uxTaskGetSystemState_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_uxTaskGetSystemStateImpl
|
||||
MPU_uxTaskGetSystemState_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_uxTaskGetSystemState
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -348,12 +328,11 @@ MPU_uxTaskGetStackHighWaterMark:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_uxTaskGetStackHighWaterMark_Unpriv
|
||||
MPU_uxTaskGetStackHighWaterMark_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_uxTaskGetStackHighWaterMarkImpl
|
||||
MPU_uxTaskGetStackHighWaterMark_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_uxTaskGetStackHighWaterMark
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -363,12 +342,11 @@ MPU_uxTaskGetStackHighWaterMark2:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_uxTaskGetStackHighWaterMark2_Unpriv
|
||||
MPU_uxTaskGetStackHighWaterMark2_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_uxTaskGetStackHighWaterMark2Impl
|
||||
MPU_uxTaskGetStackHighWaterMark2_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_uxTaskGetStackHighWaterMark2
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -378,12 +356,11 @@ MPU_xTaskGetCurrentTaskHandle:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xTaskGetCurrentTaskHandle_Unpriv
|
||||
MPU_xTaskGetCurrentTaskHandle_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xTaskGetCurrentTaskHandleImpl
|
||||
MPU_xTaskGetCurrentTaskHandle_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xTaskGetCurrentTaskHandle
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -393,12 +370,11 @@ MPU_xTaskGetSchedulerState:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xTaskGetSchedulerState_Unpriv
|
||||
MPU_xTaskGetSchedulerState_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xTaskGetSchedulerStateImpl
|
||||
MPU_xTaskGetSchedulerState_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xTaskGetSchedulerState
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -408,12 +384,11 @@ MPU_vTaskSetTimeOutState:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_vTaskSetTimeOutState_Unpriv
|
||||
MPU_vTaskSetTimeOutState_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_vTaskSetTimeOutStateImpl
|
||||
MPU_vTaskSetTimeOutState_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_vTaskSetTimeOutState
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -423,12 +398,11 @@ MPU_xTaskCheckForTimeOut:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xTaskCheckForTimeOut_Unpriv
|
||||
MPU_xTaskCheckForTimeOut_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xTaskCheckForTimeOutImpl
|
||||
MPU_xTaskCheckForTimeOut_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xTaskCheckForTimeOut
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -438,12 +412,11 @@ MPU_xTaskGenericNotifyEntry:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xTaskGenericNotify_Unpriv
|
||||
MPU_xTaskGenericNotify_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xTaskGenericNotifyImpl
|
||||
MPU_xTaskGenericNotify_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xTaskGenericNotify
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -453,12 +426,11 @@ MPU_xTaskGenericNotifyWaitEntry:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xTaskGenericNotifyWait_Unpriv
|
||||
MPU_xTaskGenericNotifyWait_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xTaskGenericNotifyWaitImpl
|
||||
MPU_xTaskGenericNotifyWait_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xTaskGenericNotifyWait
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -468,12 +440,11 @@ MPU_ulTaskGenericNotifyTake:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_ulTaskGenericNotifyTake_Unpriv
|
||||
MPU_ulTaskGenericNotifyTake_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_ulTaskGenericNotifyTakeImpl
|
||||
MPU_ulTaskGenericNotifyTake_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_ulTaskGenericNotifyTake
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -483,12 +454,11 @@ MPU_xTaskGenericNotifyStateClear:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xTaskGenericNotifyStateClear_Unpriv
|
||||
MPU_xTaskGenericNotifyStateClear_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xTaskGenericNotifyStateClearImpl
|
||||
MPU_xTaskGenericNotifyStateClear_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xTaskGenericNotifyStateClear
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -498,12 +468,11 @@ MPU_ulTaskGenericNotifyValueClear:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_ulTaskGenericNotifyValueClear_Unpriv
|
||||
MPU_ulTaskGenericNotifyValueClear_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_ulTaskGenericNotifyValueClearImpl
|
||||
MPU_ulTaskGenericNotifyValueClear_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_ulTaskGenericNotifyValueClear
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -513,12 +482,11 @@ MPU_xQueueGenericSend:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xQueueGenericSend_Unpriv
|
||||
MPU_xQueueGenericSend_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xQueueGenericSendImpl
|
||||
MPU_xQueueGenericSend_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xQueueGenericSend
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -528,12 +496,11 @@ MPU_uxQueueMessagesWaiting:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_uxQueueMessagesWaiting_Unpriv
|
||||
MPU_uxQueueMessagesWaiting_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_uxQueueMessagesWaitingImpl
|
||||
MPU_uxQueueMessagesWaiting_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_uxQueueMessagesWaiting
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -543,12 +510,11 @@ MPU_uxQueueSpacesAvailable:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_uxQueueSpacesAvailable_Unpriv
|
||||
MPU_uxQueueSpacesAvailable_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_uxQueueSpacesAvailableImpl
|
||||
MPU_uxQueueSpacesAvailable_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_uxQueueSpacesAvailable
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -558,12 +524,11 @@ MPU_xQueueReceive:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xQueueReceive_Unpriv
|
||||
MPU_xQueueReceive_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xQueueReceiveImpl
|
||||
MPU_xQueueReceive_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xQueueReceive
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -573,12 +538,11 @@ MPU_xQueuePeek:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xQueuePeek_Unpriv
|
||||
MPU_xQueuePeek_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xQueuePeekImpl
|
||||
MPU_xQueuePeek_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xQueuePeek
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -588,12 +552,11 @@ MPU_xQueueSemaphoreTake:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xQueueSemaphoreTake_Unpriv
|
||||
MPU_xQueueSemaphoreTake_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xQueueSemaphoreTakeImpl
|
||||
MPU_xQueueSemaphoreTake_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xQueueSemaphoreTake
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -603,12 +566,11 @@ MPU_xQueueGetMutexHolder:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xQueueGetMutexHolder_Unpriv
|
||||
MPU_xQueueGetMutexHolder_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xQueueGetMutexHolderImpl
|
||||
MPU_xQueueGetMutexHolder_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xQueueGetMutexHolder
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -618,12 +580,11 @@ MPU_xQueueTakeMutexRecursive:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xQueueTakeMutexRecursive_Unpriv
|
||||
MPU_xQueueTakeMutexRecursive_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xQueueTakeMutexRecursiveImpl
|
||||
MPU_xQueueTakeMutexRecursive_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xQueueTakeMutexRecursive
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -633,12 +594,11 @@ MPU_xQueueGiveMutexRecursive:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xQueueGiveMutexRecursive_Unpriv
|
||||
MPU_xQueueGiveMutexRecursive_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xQueueGiveMutexRecursiveImpl
|
||||
MPU_xQueueGiveMutexRecursive_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xQueueGiveMutexRecursive
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -648,12 +608,11 @@ MPU_xQueueSelectFromSet:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xQueueSelectFromSet_Unpriv
|
||||
MPU_xQueueSelectFromSet_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xQueueSelectFromSetImpl
|
||||
MPU_xQueueSelectFromSet_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xQueueSelectFromSet
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -663,12 +622,11 @@ MPU_xQueueAddToSet:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xQueueAddToSet_Unpriv
|
||||
MPU_xQueueAddToSet_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xQueueAddToSetImpl
|
||||
MPU_xQueueAddToSet_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xQueueAddToSet
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -678,12 +636,11 @@ MPU_vQueueAddToRegistry:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_vQueueAddToRegistry_Unpriv
|
||||
MPU_vQueueAddToRegistry_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_vQueueAddToRegistryImpl
|
||||
MPU_vQueueAddToRegistry_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_vQueueAddToRegistry
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -693,12 +650,11 @@ MPU_vQueueUnregisterQueue:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_vQueueUnregisterQueue_Unpriv
|
||||
MPU_vQueueUnregisterQueue_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_vQueueUnregisterQueueImpl
|
||||
MPU_vQueueUnregisterQueue_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_vQueueUnregisterQueue
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -708,12 +664,11 @@ MPU_pcQueueGetName:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_pcQueueGetName_Unpriv
|
||||
MPU_pcQueueGetName_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_pcQueueGetNameImpl
|
||||
MPU_pcQueueGetName_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_pcQueueGetName
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -723,12 +678,11 @@ MPU_pvTimerGetTimerID:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_pvTimerGetTimerID_Unpriv
|
||||
MPU_pvTimerGetTimerID_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_pvTimerGetTimerIDImpl
|
||||
MPU_pvTimerGetTimerID_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_pvTimerGetTimerID
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -738,12 +692,11 @@ MPU_vTimerSetTimerID:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_vTimerSetTimerID_Unpriv
|
||||
MPU_vTimerSetTimerID_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_vTimerSetTimerIDImpl
|
||||
MPU_vTimerSetTimerID_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_vTimerSetTimerID
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -753,12 +706,11 @@ MPU_xTimerIsTimerActive:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xTimerIsTimerActive_Unpriv
|
||||
MPU_xTimerIsTimerActive_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xTimerIsTimerActiveImpl
|
||||
MPU_xTimerIsTimerActive_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xTimerIsTimerActive
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -768,12 +720,11 @@ MPU_xTimerGetTimerDaemonTaskHandle:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xTimerGetTimerDaemonTaskHandle_Unpriv
|
||||
MPU_xTimerGetTimerDaemonTaskHandle_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xTimerGetTimerDaemonTaskHandleImpl
|
||||
MPU_xTimerGetTimerDaemonTaskHandle_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xTimerGetTimerDaemonTaskHandle
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -783,12 +734,11 @@ MPU_xTimerGenericCommandFromTaskEntry:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xTimerGenericCommandFromTask_Unpriv
|
||||
MPU_xTimerGenericCommandFromTask_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xTimerGenericCommandFromTaskImpl
|
||||
MPU_xTimerGenericCommandFromTask_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xTimerGenericCommandFromTask
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -798,12 +748,11 @@ MPU_pcTimerGetName:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_pcTimerGetName_Unpriv
|
||||
MPU_pcTimerGetName_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_pcTimerGetNameImpl
|
||||
MPU_pcTimerGetName_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_pcTimerGetName
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -813,12 +762,11 @@ MPU_vTimerSetReloadMode:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_vTimerSetReloadMode_Unpriv
|
||||
MPU_vTimerSetReloadMode_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_vTimerSetReloadModeImpl
|
||||
MPU_vTimerSetReloadMode_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_vTimerSetReloadMode
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -828,12 +776,11 @@ MPU_xTimerGetReloadMode:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xTimerGetReloadMode_Unpriv
|
||||
MPU_xTimerGetReloadMode_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xTimerGetReloadModeImpl
|
||||
MPU_xTimerGetReloadMode_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xTimerGetReloadMode
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -843,12 +790,11 @@ MPU_uxTimerGetReloadMode:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_uxTimerGetReloadMode_Unpriv
|
||||
MPU_uxTimerGetReloadMode_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_uxTimerGetReloadModeImpl
|
||||
MPU_uxTimerGetReloadMode_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_uxTimerGetReloadMode
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -858,12 +804,11 @@ MPU_xTimerGetPeriod:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xTimerGetPeriod_Unpriv
|
||||
MPU_xTimerGetPeriod_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xTimerGetPeriodImpl
|
||||
MPU_xTimerGetPeriod_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xTimerGetPeriod
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -873,12 +818,11 @@ MPU_xTimerGetExpiryTime:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xTimerGetExpiryTime_Unpriv
|
||||
MPU_xTimerGetExpiryTime_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xTimerGetExpiryTimeImpl
|
||||
MPU_xTimerGetExpiryTime_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xTimerGetExpiryTime
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -888,12 +832,11 @@ MPU_xEventGroupWaitBitsEntry:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xEventGroupWaitBits_Unpriv
|
||||
MPU_xEventGroupWaitBits_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xEventGroupWaitBitsImpl
|
||||
MPU_xEventGroupWaitBits_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xEventGroupWaitBits
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -903,12 +846,11 @@ MPU_xEventGroupClearBits:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xEventGroupClearBits_Unpriv
|
||||
MPU_xEventGroupClearBits_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xEventGroupClearBitsImpl
|
||||
MPU_xEventGroupClearBits_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xEventGroupClearBits
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -918,12 +860,11 @@ MPU_xEventGroupSetBits:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xEventGroupSetBits_Unpriv
|
||||
MPU_xEventGroupSetBits_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xEventGroupSetBitsImpl
|
||||
MPU_xEventGroupSetBits_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xEventGroupSetBits
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -933,12 +874,11 @@ MPU_xEventGroupSync:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xEventGroupSync_Unpriv
|
||||
MPU_xEventGroupSync_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xEventGroupSyncImpl
|
||||
MPU_xEventGroupSync_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xEventGroupSync
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -948,12 +888,11 @@ MPU_uxEventGroupGetNumber:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_uxEventGroupGetNumber_Unpriv
|
||||
MPU_uxEventGroupGetNumber_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_uxEventGroupGetNumberImpl
|
||||
MPU_uxEventGroupGetNumber_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_uxEventGroupGetNumber
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -963,12 +902,11 @@ MPU_vEventGroupSetNumber:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_vEventGroupSetNumber_Unpriv
|
||||
MPU_vEventGroupSetNumber_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_vEventGroupSetNumberImpl
|
||||
MPU_vEventGroupSetNumber_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_vEventGroupSetNumber
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -978,12 +916,11 @@ MPU_xStreamBufferSend:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xStreamBufferSend_Unpriv
|
||||
MPU_xStreamBufferSend_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xStreamBufferSendImpl
|
||||
MPU_xStreamBufferSend_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xStreamBufferSend
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -993,12 +930,11 @@ MPU_xStreamBufferReceive:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xStreamBufferReceive_Unpriv
|
||||
MPU_xStreamBufferReceive_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xStreamBufferReceiveImpl
|
||||
MPU_xStreamBufferReceive_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xStreamBufferReceive
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -1008,12 +944,11 @@ MPU_xStreamBufferIsFull:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xStreamBufferIsFull_Unpriv
|
||||
MPU_xStreamBufferIsFull_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xStreamBufferIsFullImpl
|
||||
MPU_xStreamBufferIsFull_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xStreamBufferIsFull
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -1023,12 +958,11 @@ MPU_xStreamBufferIsEmpty:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xStreamBufferIsEmpty_Unpriv
|
||||
MPU_xStreamBufferIsEmpty_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xStreamBufferIsEmptyImpl
|
||||
MPU_xStreamBufferIsEmpty_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xStreamBufferIsEmpty
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -1038,12 +972,11 @@ MPU_xStreamBufferSpacesAvailable:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xStreamBufferSpacesAvailable_Unpriv
|
||||
MPU_xStreamBufferSpacesAvailable_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xStreamBufferSpacesAvailableImpl
|
||||
MPU_xStreamBufferSpacesAvailable_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xStreamBufferSpacesAvailable
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -1053,12 +986,11 @@ MPU_xStreamBufferBytesAvailable:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xStreamBufferBytesAvailable_Unpriv
|
||||
MPU_xStreamBufferBytesAvailable_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xStreamBufferBytesAvailableImpl
|
||||
MPU_xStreamBufferBytesAvailable_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xStreamBufferBytesAvailable
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -1068,12 +1000,11 @@ MPU_xStreamBufferSetTriggerLevel:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xStreamBufferSetTriggerLevel_Unpriv
|
||||
MPU_xStreamBufferSetTriggerLevel_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xStreamBufferSetTriggerLevelImpl
|
||||
MPU_xStreamBufferSetTriggerLevel_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xStreamBufferSetTriggerLevel
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -1083,12 +1014,11 @@ MPU_xStreamBufferNextMessageLengthBytes:
|
|||
mrs r0, control
|
||||
movs r1, #1
|
||||
tst r0, r1
|
||||
pop {r0, r1}
|
||||
bne MPU_xStreamBufferNextMessageLengthBytes_Unpriv
|
||||
MPU_xStreamBufferNextMessageLengthBytes_Priv:
|
||||
pop {r0, r1}
|
||||
b MPU_xStreamBufferNextMessageLengthBytesImpl
|
||||
MPU_xStreamBufferNextMessageLengthBytes_Unpriv:
|
||||
pop {r0, r1}
|
||||
svc #SYSTEM_CALL_xStreamBufferNextMessageLengthBytes
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
@ -47,12 +47,11 @@ MPU_xTaskDelayUntil:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xTaskDelayUntil_Unpriv
|
||||
MPU_xTaskDelayUntil_Priv:
|
||||
pop {r0}
|
||||
b MPU_xTaskDelayUntilImpl
|
||||
MPU_xTaskDelayUntil_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xTaskDelayUntil
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -61,12 +60,11 @@ MPU_xTaskAbortDelay:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xTaskAbortDelay_Unpriv
|
||||
MPU_xTaskAbortDelay_Priv:
|
||||
pop {r0}
|
||||
b MPU_xTaskAbortDelayImpl
|
||||
MPU_xTaskAbortDelay_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xTaskAbortDelay
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -75,12 +73,11 @@ MPU_vTaskDelay:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_vTaskDelay_Unpriv
|
||||
MPU_vTaskDelay_Priv:
|
||||
pop {r0}
|
||||
b MPU_vTaskDelayImpl
|
||||
MPU_vTaskDelay_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_vTaskDelay
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -89,12 +86,11 @@ MPU_uxTaskPriorityGet:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_uxTaskPriorityGet_Unpriv
|
||||
MPU_uxTaskPriorityGet_Priv:
|
||||
pop {r0}
|
||||
b MPU_uxTaskPriorityGetImpl
|
||||
MPU_uxTaskPriorityGet_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_uxTaskPriorityGet
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -103,12 +99,11 @@ MPU_eTaskGetState:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_eTaskGetState_Unpriv
|
||||
MPU_eTaskGetState_Priv:
|
||||
pop {r0}
|
||||
b MPU_eTaskGetStateImpl
|
||||
MPU_eTaskGetState_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_eTaskGetState
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -117,12 +112,11 @@ MPU_vTaskGetInfo:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_vTaskGetInfo_Unpriv
|
||||
MPU_vTaskGetInfo_Priv:
|
||||
pop {r0}
|
||||
b MPU_vTaskGetInfoImpl
|
||||
MPU_vTaskGetInfo_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_vTaskGetInfo
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -131,12 +125,11 @@ MPU_xTaskGetIdleTaskHandle:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xTaskGetIdleTaskHandle_Unpriv
|
||||
MPU_xTaskGetIdleTaskHandle_Priv:
|
||||
pop {r0}
|
||||
b MPU_xTaskGetIdleTaskHandleImpl
|
||||
MPU_xTaskGetIdleTaskHandle_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xTaskGetIdleTaskHandle
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -145,12 +138,11 @@ MPU_vTaskSuspend:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_vTaskSuspend_Unpriv
|
||||
MPU_vTaskSuspend_Priv:
|
||||
pop {r0}
|
||||
b MPU_vTaskSuspendImpl
|
||||
MPU_vTaskSuspend_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_vTaskSuspend
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -159,12 +151,11 @@ MPU_vTaskResume:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_vTaskResume_Unpriv
|
||||
MPU_vTaskResume_Priv:
|
||||
pop {r0}
|
||||
b MPU_vTaskResumeImpl
|
||||
MPU_vTaskResume_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_vTaskResume
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -173,12 +164,11 @@ MPU_xTaskGetTickCount:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xTaskGetTickCount_Unpriv
|
||||
MPU_xTaskGetTickCount_Priv:
|
||||
pop {r0}
|
||||
b MPU_xTaskGetTickCountImpl
|
||||
MPU_xTaskGetTickCount_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xTaskGetTickCount
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -187,12 +177,11 @@ MPU_uxTaskGetNumberOfTasks:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_uxTaskGetNumberOfTasks_Unpriv
|
||||
MPU_uxTaskGetNumberOfTasks_Priv:
|
||||
pop {r0}
|
||||
b MPU_uxTaskGetNumberOfTasksImpl
|
||||
MPU_uxTaskGetNumberOfTasks_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_uxTaskGetNumberOfTasks
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -201,12 +190,11 @@ MPU_ulTaskGetRunTimeCounter:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_ulTaskGetRunTimeCounter_Unpriv
|
||||
MPU_ulTaskGetRunTimeCounter_Priv:
|
||||
pop {r0}
|
||||
b MPU_ulTaskGetRunTimeCounterImpl
|
||||
MPU_ulTaskGetRunTimeCounter_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_ulTaskGetRunTimeCounter
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -215,12 +203,11 @@ MPU_ulTaskGetRunTimePercent:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_ulTaskGetRunTimePercent_Unpriv
|
||||
MPU_ulTaskGetRunTimePercent_Priv:
|
||||
pop {r0}
|
||||
b MPU_ulTaskGetRunTimePercentImpl
|
||||
MPU_ulTaskGetRunTimePercent_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_ulTaskGetRunTimePercent
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -229,12 +216,11 @@ MPU_ulTaskGetIdleRunTimePercent:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_ulTaskGetIdleRunTimePercent_Unpriv
|
||||
MPU_ulTaskGetIdleRunTimePercent_Priv:
|
||||
pop {r0}
|
||||
b MPU_ulTaskGetIdleRunTimePercentImpl
|
||||
MPU_ulTaskGetIdleRunTimePercent_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_ulTaskGetIdleRunTimePercent
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -243,12 +229,11 @@ MPU_ulTaskGetIdleRunTimeCounter:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_ulTaskGetIdleRunTimeCounter_Unpriv
|
||||
MPU_ulTaskGetIdleRunTimeCounter_Priv:
|
||||
pop {r0}
|
||||
b MPU_ulTaskGetIdleRunTimeCounterImpl
|
||||
MPU_ulTaskGetIdleRunTimeCounter_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_ulTaskGetIdleRunTimeCounter
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -257,12 +242,11 @@ MPU_vTaskSetApplicationTaskTag:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_vTaskSetApplicationTaskTag_Unpriv
|
||||
MPU_vTaskSetApplicationTaskTag_Priv:
|
||||
pop {r0}
|
||||
b MPU_vTaskSetApplicationTaskTagImpl
|
||||
MPU_vTaskSetApplicationTaskTag_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_vTaskSetApplicationTaskTag
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -271,12 +255,11 @@ MPU_xTaskGetApplicationTaskTag:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xTaskGetApplicationTaskTag_Unpriv
|
||||
MPU_xTaskGetApplicationTaskTag_Priv:
|
||||
pop {r0}
|
||||
b MPU_xTaskGetApplicationTaskTagImpl
|
||||
MPU_xTaskGetApplicationTaskTag_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xTaskGetApplicationTaskTag
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -285,12 +268,11 @@ MPU_vTaskSetThreadLocalStoragePointer:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_vTaskSetThreadLocalStoragePointer_Unpriv
|
||||
MPU_vTaskSetThreadLocalStoragePointer_Priv:
|
||||
pop {r0}
|
||||
b MPU_vTaskSetThreadLocalStoragePointerImpl
|
||||
MPU_vTaskSetThreadLocalStoragePointer_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_vTaskSetThreadLocalStoragePointer
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -299,12 +281,11 @@ MPU_pvTaskGetThreadLocalStoragePointer:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_pvTaskGetThreadLocalStoragePointer_Unpriv
|
||||
MPU_pvTaskGetThreadLocalStoragePointer_Priv:
|
||||
pop {r0}
|
||||
b MPU_pvTaskGetThreadLocalStoragePointerImpl
|
||||
MPU_pvTaskGetThreadLocalStoragePointer_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_pvTaskGetThreadLocalStoragePointer
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -313,12 +294,11 @@ MPU_uxTaskGetSystemState:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_uxTaskGetSystemState_Unpriv
|
||||
MPU_uxTaskGetSystemState_Priv:
|
||||
pop {r0}
|
||||
b MPU_uxTaskGetSystemStateImpl
|
||||
MPU_uxTaskGetSystemState_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_uxTaskGetSystemState
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -327,12 +307,11 @@ MPU_uxTaskGetStackHighWaterMark:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_uxTaskGetStackHighWaterMark_Unpriv
|
||||
MPU_uxTaskGetStackHighWaterMark_Priv:
|
||||
pop {r0}
|
||||
b MPU_uxTaskGetStackHighWaterMarkImpl
|
||||
MPU_uxTaskGetStackHighWaterMark_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_uxTaskGetStackHighWaterMark
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -341,12 +320,11 @@ MPU_uxTaskGetStackHighWaterMark2:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_uxTaskGetStackHighWaterMark2_Unpriv
|
||||
MPU_uxTaskGetStackHighWaterMark2_Priv:
|
||||
pop {r0}
|
||||
b MPU_uxTaskGetStackHighWaterMark2Impl
|
||||
MPU_uxTaskGetStackHighWaterMark2_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_uxTaskGetStackHighWaterMark2
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -355,12 +333,11 @@ MPU_xTaskGetCurrentTaskHandle:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xTaskGetCurrentTaskHandle_Unpriv
|
||||
MPU_xTaskGetCurrentTaskHandle_Priv:
|
||||
pop {r0}
|
||||
b MPU_xTaskGetCurrentTaskHandleImpl
|
||||
MPU_xTaskGetCurrentTaskHandle_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xTaskGetCurrentTaskHandle
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -369,12 +346,11 @@ MPU_xTaskGetSchedulerState:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xTaskGetSchedulerState_Unpriv
|
||||
MPU_xTaskGetSchedulerState_Priv:
|
||||
pop {r0}
|
||||
b MPU_xTaskGetSchedulerStateImpl
|
||||
MPU_xTaskGetSchedulerState_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xTaskGetSchedulerState
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -383,12 +359,11 @@ MPU_vTaskSetTimeOutState:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_vTaskSetTimeOutState_Unpriv
|
||||
MPU_vTaskSetTimeOutState_Priv:
|
||||
pop {r0}
|
||||
b MPU_vTaskSetTimeOutStateImpl
|
||||
MPU_vTaskSetTimeOutState_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_vTaskSetTimeOutState
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -397,12 +372,11 @@ MPU_xTaskCheckForTimeOut:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xTaskCheckForTimeOut_Unpriv
|
||||
MPU_xTaskCheckForTimeOut_Priv:
|
||||
pop {r0}
|
||||
b MPU_xTaskCheckForTimeOutImpl
|
||||
MPU_xTaskCheckForTimeOut_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xTaskCheckForTimeOut
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -411,12 +385,11 @@ MPU_xTaskGenericNotifyEntry:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xTaskGenericNotify_Unpriv
|
||||
MPU_xTaskGenericNotify_Priv:
|
||||
pop {r0}
|
||||
b MPU_xTaskGenericNotifyImpl
|
||||
MPU_xTaskGenericNotify_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xTaskGenericNotify
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -425,12 +398,11 @@ MPU_xTaskGenericNotifyWaitEntry:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xTaskGenericNotifyWait_Unpriv
|
||||
MPU_xTaskGenericNotifyWait_Priv:
|
||||
pop {r0}
|
||||
b MPU_xTaskGenericNotifyWaitImpl
|
||||
MPU_xTaskGenericNotifyWait_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xTaskGenericNotifyWait
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -439,12 +411,11 @@ MPU_ulTaskGenericNotifyTake:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_ulTaskGenericNotifyTake_Unpriv
|
||||
MPU_ulTaskGenericNotifyTake_Priv:
|
||||
pop {r0}
|
||||
b MPU_ulTaskGenericNotifyTakeImpl
|
||||
MPU_ulTaskGenericNotifyTake_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_ulTaskGenericNotifyTake
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -453,12 +424,11 @@ MPU_xTaskGenericNotifyStateClear:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xTaskGenericNotifyStateClear_Unpriv
|
||||
MPU_xTaskGenericNotifyStateClear_Priv:
|
||||
pop {r0}
|
||||
b MPU_xTaskGenericNotifyStateClearImpl
|
||||
MPU_xTaskGenericNotifyStateClear_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xTaskGenericNotifyStateClear
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -467,12 +437,11 @@ MPU_ulTaskGenericNotifyValueClear:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_ulTaskGenericNotifyValueClear_Unpriv
|
||||
MPU_ulTaskGenericNotifyValueClear_Priv:
|
||||
pop {r0}
|
||||
b MPU_ulTaskGenericNotifyValueClearImpl
|
||||
MPU_ulTaskGenericNotifyValueClear_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_ulTaskGenericNotifyValueClear
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -481,12 +450,11 @@ MPU_xQueueGenericSend:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xQueueGenericSend_Unpriv
|
||||
MPU_xQueueGenericSend_Priv:
|
||||
pop {r0}
|
||||
b MPU_xQueueGenericSendImpl
|
||||
MPU_xQueueGenericSend_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xQueueGenericSend
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -495,12 +463,11 @@ MPU_uxQueueMessagesWaiting:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_uxQueueMessagesWaiting_Unpriv
|
||||
MPU_uxQueueMessagesWaiting_Priv:
|
||||
pop {r0}
|
||||
b MPU_uxQueueMessagesWaitingImpl
|
||||
MPU_uxQueueMessagesWaiting_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_uxQueueMessagesWaiting
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -509,12 +476,11 @@ MPU_uxQueueSpacesAvailable:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_uxQueueSpacesAvailable_Unpriv
|
||||
MPU_uxQueueSpacesAvailable_Priv:
|
||||
pop {r0}
|
||||
b MPU_uxQueueSpacesAvailableImpl
|
||||
MPU_uxQueueSpacesAvailable_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_uxQueueSpacesAvailable
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -523,12 +489,11 @@ MPU_xQueueReceive:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xQueueReceive_Unpriv
|
||||
MPU_xQueueReceive_Priv:
|
||||
pop {r0}
|
||||
b MPU_xQueueReceiveImpl
|
||||
MPU_xQueueReceive_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xQueueReceive
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -537,12 +502,11 @@ MPU_xQueuePeek:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xQueuePeek_Unpriv
|
||||
MPU_xQueuePeek_Priv:
|
||||
pop {r0}
|
||||
b MPU_xQueuePeekImpl
|
||||
MPU_xQueuePeek_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xQueuePeek
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -551,12 +515,11 @@ MPU_xQueueSemaphoreTake:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xQueueSemaphoreTake_Unpriv
|
||||
MPU_xQueueSemaphoreTake_Priv:
|
||||
pop {r0}
|
||||
b MPU_xQueueSemaphoreTakeImpl
|
||||
MPU_xQueueSemaphoreTake_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xQueueSemaphoreTake
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -565,12 +528,11 @@ MPU_xQueueGetMutexHolder:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xQueueGetMutexHolder_Unpriv
|
||||
MPU_xQueueGetMutexHolder_Priv:
|
||||
pop {r0}
|
||||
b MPU_xQueueGetMutexHolderImpl
|
||||
MPU_xQueueGetMutexHolder_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xQueueGetMutexHolder
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -579,12 +541,11 @@ MPU_xQueueTakeMutexRecursive:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xQueueTakeMutexRecursive_Unpriv
|
||||
MPU_xQueueTakeMutexRecursive_Priv:
|
||||
pop {r0}
|
||||
b MPU_xQueueTakeMutexRecursiveImpl
|
||||
MPU_xQueueTakeMutexRecursive_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xQueueTakeMutexRecursive
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -593,12 +554,11 @@ MPU_xQueueGiveMutexRecursive:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xQueueGiveMutexRecursive_Unpriv
|
||||
MPU_xQueueGiveMutexRecursive_Priv:
|
||||
pop {r0}
|
||||
b MPU_xQueueGiveMutexRecursiveImpl
|
||||
MPU_xQueueGiveMutexRecursive_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xQueueGiveMutexRecursive
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -607,12 +567,11 @@ MPU_xQueueSelectFromSet:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xQueueSelectFromSet_Unpriv
|
||||
MPU_xQueueSelectFromSet_Priv:
|
||||
pop {r0}
|
||||
b MPU_xQueueSelectFromSetImpl
|
||||
MPU_xQueueSelectFromSet_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xQueueSelectFromSet
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -621,12 +580,11 @@ MPU_xQueueAddToSet:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xQueueAddToSet_Unpriv
|
||||
MPU_xQueueAddToSet_Priv:
|
||||
pop {r0}
|
||||
b MPU_xQueueAddToSetImpl
|
||||
MPU_xQueueAddToSet_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xQueueAddToSet
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -635,12 +593,11 @@ MPU_vQueueAddToRegistry:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_vQueueAddToRegistry_Unpriv
|
||||
MPU_vQueueAddToRegistry_Priv:
|
||||
pop {r0}
|
||||
b MPU_vQueueAddToRegistryImpl
|
||||
MPU_vQueueAddToRegistry_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_vQueueAddToRegistry
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -649,12 +606,11 @@ MPU_vQueueUnregisterQueue:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_vQueueUnregisterQueue_Unpriv
|
||||
MPU_vQueueUnregisterQueue_Priv:
|
||||
pop {r0}
|
||||
b MPU_vQueueUnregisterQueueImpl
|
||||
MPU_vQueueUnregisterQueue_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_vQueueUnregisterQueue
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -663,12 +619,11 @@ MPU_pcQueueGetName:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_pcQueueGetName_Unpriv
|
||||
MPU_pcQueueGetName_Priv:
|
||||
pop {r0}
|
||||
b MPU_pcQueueGetNameImpl
|
||||
MPU_pcQueueGetName_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_pcQueueGetName
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -677,12 +632,11 @@ MPU_pvTimerGetTimerID:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_pvTimerGetTimerID_Unpriv
|
||||
MPU_pvTimerGetTimerID_Priv:
|
||||
pop {r0}
|
||||
b MPU_pvTimerGetTimerIDImpl
|
||||
MPU_pvTimerGetTimerID_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_pvTimerGetTimerID
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -691,12 +645,11 @@ MPU_vTimerSetTimerID:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_vTimerSetTimerID_Unpriv
|
||||
MPU_vTimerSetTimerID_Priv:
|
||||
pop {r0}
|
||||
b MPU_vTimerSetTimerIDImpl
|
||||
MPU_vTimerSetTimerID_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_vTimerSetTimerID
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -705,12 +658,11 @@ MPU_xTimerIsTimerActive:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xTimerIsTimerActive_Unpriv
|
||||
MPU_xTimerIsTimerActive_Priv:
|
||||
pop {r0}
|
||||
b MPU_xTimerIsTimerActiveImpl
|
||||
MPU_xTimerIsTimerActive_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xTimerIsTimerActive
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -719,12 +671,11 @@ MPU_xTimerGetTimerDaemonTaskHandle:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xTimerGetTimerDaemonTaskHandle_Unpriv
|
||||
MPU_xTimerGetTimerDaemonTaskHandle_Priv:
|
||||
pop {r0}
|
||||
b MPU_xTimerGetTimerDaemonTaskHandleImpl
|
||||
MPU_xTimerGetTimerDaemonTaskHandle_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xTimerGetTimerDaemonTaskHandle
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -733,12 +684,11 @@ MPU_xTimerGenericCommandFromTaskEntry:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xTimerGenericCommandFromTask_Unpriv
|
||||
MPU_xTimerGenericCommandFromTask_Priv:
|
||||
pop {r0}
|
||||
b MPU_xTimerGenericCommandFromTaskImpl
|
||||
MPU_xTimerGenericCommandFromTask_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xTimerGenericCommandFromTask
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -747,12 +697,11 @@ MPU_pcTimerGetName:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_pcTimerGetName_Unpriv
|
||||
MPU_pcTimerGetName_Priv:
|
||||
pop {r0}
|
||||
b MPU_pcTimerGetNameImpl
|
||||
MPU_pcTimerGetName_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_pcTimerGetName
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -761,12 +710,11 @@ MPU_vTimerSetReloadMode:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_vTimerSetReloadMode_Unpriv
|
||||
MPU_vTimerSetReloadMode_Priv:
|
||||
pop {r0}
|
||||
b MPU_vTimerSetReloadModeImpl
|
||||
MPU_vTimerSetReloadMode_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_vTimerSetReloadMode
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -775,12 +723,11 @@ MPU_xTimerGetReloadMode:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xTimerGetReloadMode_Unpriv
|
||||
MPU_xTimerGetReloadMode_Priv:
|
||||
pop {r0}
|
||||
b MPU_xTimerGetReloadModeImpl
|
||||
MPU_xTimerGetReloadMode_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xTimerGetReloadMode
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -789,12 +736,11 @@ MPU_uxTimerGetReloadMode:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_uxTimerGetReloadMode_Unpriv
|
||||
MPU_uxTimerGetReloadMode_Priv:
|
||||
pop {r0}
|
||||
b MPU_uxTimerGetReloadModeImpl
|
||||
MPU_uxTimerGetReloadMode_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_uxTimerGetReloadMode
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -803,12 +749,11 @@ MPU_xTimerGetPeriod:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xTimerGetPeriod_Unpriv
|
||||
MPU_xTimerGetPeriod_Priv:
|
||||
pop {r0}
|
||||
b MPU_xTimerGetPeriodImpl
|
||||
MPU_xTimerGetPeriod_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xTimerGetPeriod
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -817,12 +762,11 @@ MPU_xTimerGetExpiryTime:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xTimerGetExpiryTime_Unpriv
|
||||
MPU_xTimerGetExpiryTime_Priv:
|
||||
pop {r0}
|
||||
b MPU_xTimerGetExpiryTimeImpl
|
||||
MPU_xTimerGetExpiryTime_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xTimerGetExpiryTime
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -831,12 +775,11 @@ MPU_xEventGroupWaitBitsEntry:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xEventGroupWaitBits_Unpriv
|
||||
MPU_xEventGroupWaitBits_Priv:
|
||||
pop {r0}
|
||||
b MPU_xEventGroupWaitBitsImpl
|
||||
MPU_xEventGroupWaitBits_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xEventGroupWaitBits
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -845,12 +788,11 @@ MPU_xEventGroupClearBits:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xEventGroupClearBits_Unpriv
|
||||
MPU_xEventGroupClearBits_Priv:
|
||||
pop {r0}
|
||||
b MPU_xEventGroupClearBitsImpl
|
||||
MPU_xEventGroupClearBits_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xEventGroupClearBits
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -859,12 +801,11 @@ MPU_xEventGroupSetBits:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xEventGroupSetBits_Unpriv
|
||||
MPU_xEventGroupSetBits_Priv:
|
||||
pop {r0}
|
||||
b MPU_xEventGroupSetBitsImpl
|
||||
MPU_xEventGroupSetBits_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xEventGroupSetBits
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -873,12 +814,11 @@ MPU_xEventGroupSync:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xEventGroupSync_Unpriv
|
||||
MPU_xEventGroupSync_Priv:
|
||||
pop {r0}
|
||||
b MPU_xEventGroupSyncImpl
|
||||
MPU_xEventGroupSync_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xEventGroupSync
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -887,12 +827,11 @@ MPU_uxEventGroupGetNumber:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_uxEventGroupGetNumber_Unpriv
|
||||
MPU_uxEventGroupGetNumber_Priv:
|
||||
pop {r0}
|
||||
b MPU_uxEventGroupGetNumberImpl
|
||||
MPU_uxEventGroupGetNumber_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_uxEventGroupGetNumber
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -901,12 +840,11 @@ MPU_vEventGroupSetNumber:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_vEventGroupSetNumber_Unpriv
|
||||
MPU_vEventGroupSetNumber_Priv:
|
||||
pop {r0}
|
||||
b MPU_vEventGroupSetNumberImpl
|
||||
MPU_vEventGroupSetNumber_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_vEventGroupSetNumber
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -915,12 +853,11 @@ MPU_xStreamBufferSend:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xStreamBufferSend_Unpriv
|
||||
MPU_xStreamBufferSend_Priv:
|
||||
pop {r0}
|
||||
b MPU_xStreamBufferSendImpl
|
||||
MPU_xStreamBufferSend_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xStreamBufferSend
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -929,12 +866,11 @@ MPU_xStreamBufferReceive:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xStreamBufferReceive_Unpriv
|
||||
MPU_xStreamBufferReceive_Priv:
|
||||
pop {r0}
|
||||
b MPU_xStreamBufferReceiveImpl
|
||||
MPU_xStreamBufferReceive_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xStreamBufferReceive
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -943,12 +879,11 @@ MPU_xStreamBufferIsFull:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xStreamBufferIsFull_Unpriv
|
||||
MPU_xStreamBufferIsFull_Priv:
|
||||
pop {r0}
|
||||
b MPU_xStreamBufferIsFullImpl
|
||||
MPU_xStreamBufferIsFull_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xStreamBufferIsFull
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -957,12 +892,11 @@ MPU_xStreamBufferIsEmpty:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xStreamBufferIsEmpty_Unpriv
|
||||
MPU_xStreamBufferIsEmpty_Priv:
|
||||
pop {r0}
|
||||
b MPU_xStreamBufferIsEmptyImpl
|
||||
MPU_xStreamBufferIsEmpty_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xStreamBufferIsEmpty
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -971,12 +905,11 @@ MPU_xStreamBufferSpacesAvailable:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xStreamBufferSpacesAvailable_Unpriv
|
||||
MPU_xStreamBufferSpacesAvailable_Priv:
|
||||
pop {r0}
|
||||
b MPU_xStreamBufferSpacesAvailableImpl
|
||||
MPU_xStreamBufferSpacesAvailable_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xStreamBufferSpacesAvailable
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -985,12 +918,11 @@ MPU_xStreamBufferBytesAvailable:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xStreamBufferBytesAvailable_Unpriv
|
||||
MPU_xStreamBufferBytesAvailable_Priv:
|
||||
pop {r0}
|
||||
b MPU_xStreamBufferBytesAvailableImpl
|
||||
MPU_xStreamBufferBytesAvailable_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xStreamBufferBytesAvailable
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -999,12 +931,11 @@ MPU_xStreamBufferSetTriggerLevel:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xStreamBufferSetTriggerLevel_Unpriv
|
||||
MPU_xStreamBufferSetTriggerLevel_Priv:
|
||||
pop {r0}
|
||||
b MPU_xStreamBufferSetTriggerLevelImpl
|
||||
MPU_xStreamBufferSetTriggerLevel_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xStreamBufferSetTriggerLevel
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -1013,12 +944,11 @@ MPU_xStreamBufferNextMessageLengthBytes:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xStreamBufferNextMessageLengthBytes_Unpriv
|
||||
MPU_xStreamBufferNextMessageLengthBytes_Priv:
|
||||
pop {r0}
|
||||
b MPU_xStreamBufferNextMessageLengthBytesImpl
|
||||
MPU_xStreamBufferNextMessageLengthBytes_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xStreamBufferNextMessageLengthBytes
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
@ -47,12 +47,11 @@ MPU_xTaskDelayUntil:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xTaskDelayUntil_Unpriv
|
||||
MPU_xTaskDelayUntil_Priv:
|
||||
pop {r0}
|
||||
b MPU_xTaskDelayUntilImpl
|
||||
MPU_xTaskDelayUntil_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xTaskDelayUntil
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -61,12 +60,11 @@ MPU_xTaskAbortDelay:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xTaskAbortDelay_Unpriv
|
||||
MPU_xTaskAbortDelay_Priv:
|
||||
pop {r0}
|
||||
b MPU_xTaskAbortDelayImpl
|
||||
MPU_xTaskAbortDelay_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xTaskAbortDelay
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -75,12 +73,11 @@ MPU_vTaskDelay:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_vTaskDelay_Unpriv
|
||||
MPU_vTaskDelay_Priv:
|
||||
pop {r0}
|
||||
b MPU_vTaskDelayImpl
|
||||
MPU_vTaskDelay_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_vTaskDelay
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -89,12 +86,11 @@ MPU_uxTaskPriorityGet:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_uxTaskPriorityGet_Unpriv
|
||||
MPU_uxTaskPriorityGet_Priv:
|
||||
pop {r0}
|
||||
b MPU_uxTaskPriorityGetImpl
|
||||
MPU_uxTaskPriorityGet_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_uxTaskPriorityGet
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -103,12 +99,11 @@ MPU_eTaskGetState:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_eTaskGetState_Unpriv
|
||||
MPU_eTaskGetState_Priv:
|
||||
pop {r0}
|
||||
b MPU_eTaskGetStateImpl
|
||||
MPU_eTaskGetState_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_eTaskGetState
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -117,12 +112,11 @@ MPU_vTaskGetInfo:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_vTaskGetInfo_Unpriv
|
||||
MPU_vTaskGetInfo_Priv:
|
||||
pop {r0}
|
||||
b MPU_vTaskGetInfoImpl
|
||||
MPU_vTaskGetInfo_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_vTaskGetInfo
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -131,12 +125,11 @@ MPU_xTaskGetIdleTaskHandle:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xTaskGetIdleTaskHandle_Unpriv
|
||||
MPU_xTaskGetIdleTaskHandle_Priv:
|
||||
pop {r0}
|
||||
b MPU_xTaskGetIdleTaskHandleImpl
|
||||
MPU_xTaskGetIdleTaskHandle_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xTaskGetIdleTaskHandle
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -145,12 +138,11 @@ MPU_vTaskSuspend:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_vTaskSuspend_Unpriv
|
||||
MPU_vTaskSuspend_Priv:
|
||||
pop {r0}
|
||||
b MPU_vTaskSuspendImpl
|
||||
MPU_vTaskSuspend_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_vTaskSuspend
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -159,12 +151,11 @@ MPU_vTaskResume:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_vTaskResume_Unpriv
|
||||
MPU_vTaskResume_Priv:
|
||||
pop {r0}
|
||||
b MPU_vTaskResumeImpl
|
||||
MPU_vTaskResume_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_vTaskResume
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -173,12 +164,11 @@ MPU_xTaskGetTickCount:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xTaskGetTickCount_Unpriv
|
||||
MPU_xTaskGetTickCount_Priv:
|
||||
pop {r0}
|
||||
b MPU_xTaskGetTickCountImpl
|
||||
MPU_xTaskGetTickCount_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xTaskGetTickCount
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -187,12 +177,11 @@ MPU_uxTaskGetNumberOfTasks:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_uxTaskGetNumberOfTasks_Unpriv
|
||||
MPU_uxTaskGetNumberOfTasks_Priv:
|
||||
pop {r0}
|
||||
b MPU_uxTaskGetNumberOfTasksImpl
|
||||
MPU_uxTaskGetNumberOfTasks_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_uxTaskGetNumberOfTasks
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -201,12 +190,11 @@ MPU_ulTaskGetRunTimeCounter:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_ulTaskGetRunTimeCounter_Unpriv
|
||||
MPU_ulTaskGetRunTimeCounter_Priv:
|
||||
pop {r0}
|
||||
b MPU_ulTaskGetRunTimeCounterImpl
|
||||
MPU_ulTaskGetRunTimeCounter_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_ulTaskGetRunTimeCounter
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -215,12 +203,11 @@ MPU_ulTaskGetRunTimePercent:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_ulTaskGetRunTimePercent_Unpriv
|
||||
MPU_ulTaskGetRunTimePercent_Priv:
|
||||
pop {r0}
|
||||
b MPU_ulTaskGetRunTimePercentImpl
|
||||
MPU_ulTaskGetRunTimePercent_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_ulTaskGetRunTimePercent
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -229,12 +216,11 @@ MPU_ulTaskGetIdleRunTimePercent:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_ulTaskGetIdleRunTimePercent_Unpriv
|
||||
MPU_ulTaskGetIdleRunTimePercent_Priv:
|
||||
pop {r0}
|
||||
b MPU_ulTaskGetIdleRunTimePercentImpl
|
||||
MPU_ulTaskGetIdleRunTimePercent_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_ulTaskGetIdleRunTimePercent
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -243,12 +229,11 @@ MPU_ulTaskGetIdleRunTimeCounter:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_ulTaskGetIdleRunTimeCounter_Unpriv
|
||||
MPU_ulTaskGetIdleRunTimeCounter_Priv:
|
||||
pop {r0}
|
||||
b MPU_ulTaskGetIdleRunTimeCounterImpl
|
||||
MPU_ulTaskGetIdleRunTimeCounter_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_ulTaskGetIdleRunTimeCounter
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -257,12 +242,11 @@ MPU_vTaskSetApplicationTaskTag:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_vTaskSetApplicationTaskTag_Unpriv
|
||||
MPU_vTaskSetApplicationTaskTag_Priv:
|
||||
pop {r0}
|
||||
b MPU_vTaskSetApplicationTaskTagImpl
|
||||
MPU_vTaskSetApplicationTaskTag_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_vTaskSetApplicationTaskTag
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -271,12 +255,11 @@ MPU_xTaskGetApplicationTaskTag:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xTaskGetApplicationTaskTag_Unpriv
|
||||
MPU_xTaskGetApplicationTaskTag_Priv:
|
||||
pop {r0}
|
||||
b MPU_xTaskGetApplicationTaskTagImpl
|
||||
MPU_xTaskGetApplicationTaskTag_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xTaskGetApplicationTaskTag
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -285,12 +268,11 @@ MPU_vTaskSetThreadLocalStoragePointer:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_vTaskSetThreadLocalStoragePointer_Unpriv
|
||||
MPU_vTaskSetThreadLocalStoragePointer_Priv:
|
||||
pop {r0}
|
||||
b MPU_vTaskSetThreadLocalStoragePointerImpl
|
||||
MPU_vTaskSetThreadLocalStoragePointer_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_vTaskSetThreadLocalStoragePointer
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -299,12 +281,11 @@ MPU_pvTaskGetThreadLocalStoragePointer:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_pvTaskGetThreadLocalStoragePointer_Unpriv
|
||||
MPU_pvTaskGetThreadLocalStoragePointer_Priv:
|
||||
pop {r0}
|
||||
b MPU_pvTaskGetThreadLocalStoragePointerImpl
|
||||
MPU_pvTaskGetThreadLocalStoragePointer_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_pvTaskGetThreadLocalStoragePointer
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -313,12 +294,11 @@ MPU_uxTaskGetSystemState:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_uxTaskGetSystemState_Unpriv
|
||||
MPU_uxTaskGetSystemState_Priv:
|
||||
pop {r0}
|
||||
b MPU_uxTaskGetSystemStateImpl
|
||||
MPU_uxTaskGetSystemState_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_uxTaskGetSystemState
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -327,12 +307,11 @@ MPU_uxTaskGetStackHighWaterMark:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_uxTaskGetStackHighWaterMark_Unpriv
|
||||
MPU_uxTaskGetStackHighWaterMark_Priv:
|
||||
pop {r0}
|
||||
b MPU_uxTaskGetStackHighWaterMarkImpl
|
||||
MPU_uxTaskGetStackHighWaterMark_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_uxTaskGetStackHighWaterMark
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -341,12 +320,11 @@ MPU_uxTaskGetStackHighWaterMark2:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_uxTaskGetStackHighWaterMark2_Unpriv
|
||||
MPU_uxTaskGetStackHighWaterMark2_Priv:
|
||||
pop {r0}
|
||||
b MPU_uxTaskGetStackHighWaterMark2Impl
|
||||
MPU_uxTaskGetStackHighWaterMark2_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_uxTaskGetStackHighWaterMark2
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -355,12 +333,11 @@ MPU_xTaskGetCurrentTaskHandle:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xTaskGetCurrentTaskHandle_Unpriv
|
||||
MPU_xTaskGetCurrentTaskHandle_Priv:
|
||||
pop {r0}
|
||||
b MPU_xTaskGetCurrentTaskHandleImpl
|
||||
MPU_xTaskGetCurrentTaskHandle_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xTaskGetCurrentTaskHandle
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -369,12 +346,11 @@ MPU_xTaskGetSchedulerState:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xTaskGetSchedulerState_Unpriv
|
||||
MPU_xTaskGetSchedulerState_Priv:
|
||||
pop {r0}
|
||||
b MPU_xTaskGetSchedulerStateImpl
|
||||
MPU_xTaskGetSchedulerState_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xTaskGetSchedulerState
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -383,12 +359,11 @@ MPU_vTaskSetTimeOutState:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_vTaskSetTimeOutState_Unpriv
|
||||
MPU_vTaskSetTimeOutState_Priv:
|
||||
pop {r0}
|
||||
b MPU_vTaskSetTimeOutStateImpl
|
||||
MPU_vTaskSetTimeOutState_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_vTaskSetTimeOutState
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -397,12 +372,11 @@ MPU_xTaskCheckForTimeOut:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xTaskCheckForTimeOut_Unpriv
|
||||
MPU_xTaskCheckForTimeOut_Priv:
|
||||
pop {r0}
|
||||
b MPU_xTaskCheckForTimeOutImpl
|
||||
MPU_xTaskCheckForTimeOut_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xTaskCheckForTimeOut
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -411,12 +385,11 @@ MPU_xTaskGenericNotifyEntry:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xTaskGenericNotify_Unpriv
|
||||
MPU_xTaskGenericNotify_Priv:
|
||||
pop {r0}
|
||||
b MPU_xTaskGenericNotifyImpl
|
||||
MPU_xTaskGenericNotify_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xTaskGenericNotify
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -425,12 +398,11 @@ MPU_xTaskGenericNotifyWaitEntry:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xTaskGenericNotifyWait_Unpriv
|
||||
MPU_xTaskGenericNotifyWait_Priv:
|
||||
pop {r0}
|
||||
b MPU_xTaskGenericNotifyWaitImpl
|
||||
MPU_xTaskGenericNotifyWait_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xTaskGenericNotifyWait
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -439,12 +411,11 @@ MPU_ulTaskGenericNotifyTake:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_ulTaskGenericNotifyTake_Unpriv
|
||||
MPU_ulTaskGenericNotifyTake_Priv:
|
||||
pop {r0}
|
||||
b MPU_ulTaskGenericNotifyTakeImpl
|
||||
MPU_ulTaskGenericNotifyTake_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_ulTaskGenericNotifyTake
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -453,12 +424,11 @@ MPU_xTaskGenericNotifyStateClear:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xTaskGenericNotifyStateClear_Unpriv
|
||||
MPU_xTaskGenericNotifyStateClear_Priv:
|
||||
pop {r0}
|
||||
b MPU_xTaskGenericNotifyStateClearImpl
|
||||
MPU_xTaskGenericNotifyStateClear_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xTaskGenericNotifyStateClear
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -467,12 +437,11 @@ MPU_ulTaskGenericNotifyValueClear:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_ulTaskGenericNotifyValueClear_Unpriv
|
||||
MPU_ulTaskGenericNotifyValueClear_Priv:
|
||||
pop {r0}
|
||||
b MPU_ulTaskGenericNotifyValueClearImpl
|
||||
MPU_ulTaskGenericNotifyValueClear_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_ulTaskGenericNotifyValueClear
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -481,12 +450,11 @@ MPU_xQueueGenericSend:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xQueueGenericSend_Unpriv
|
||||
MPU_xQueueGenericSend_Priv:
|
||||
pop {r0}
|
||||
b MPU_xQueueGenericSendImpl
|
||||
MPU_xQueueGenericSend_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xQueueGenericSend
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -495,12 +463,11 @@ MPU_uxQueueMessagesWaiting:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_uxQueueMessagesWaiting_Unpriv
|
||||
MPU_uxQueueMessagesWaiting_Priv:
|
||||
pop {r0}
|
||||
b MPU_uxQueueMessagesWaitingImpl
|
||||
MPU_uxQueueMessagesWaiting_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_uxQueueMessagesWaiting
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -509,12 +476,11 @@ MPU_uxQueueSpacesAvailable:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_uxQueueSpacesAvailable_Unpriv
|
||||
MPU_uxQueueSpacesAvailable_Priv:
|
||||
pop {r0}
|
||||
b MPU_uxQueueSpacesAvailableImpl
|
||||
MPU_uxQueueSpacesAvailable_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_uxQueueSpacesAvailable
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -523,12 +489,11 @@ MPU_xQueueReceive:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xQueueReceive_Unpriv
|
||||
MPU_xQueueReceive_Priv:
|
||||
pop {r0}
|
||||
b MPU_xQueueReceiveImpl
|
||||
MPU_xQueueReceive_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xQueueReceive
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -537,12 +502,11 @@ MPU_xQueuePeek:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xQueuePeek_Unpriv
|
||||
MPU_xQueuePeek_Priv:
|
||||
pop {r0}
|
||||
b MPU_xQueuePeekImpl
|
||||
MPU_xQueuePeek_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xQueuePeek
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -551,12 +515,11 @@ MPU_xQueueSemaphoreTake:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xQueueSemaphoreTake_Unpriv
|
||||
MPU_xQueueSemaphoreTake_Priv:
|
||||
pop {r0}
|
||||
b MPU_xQueueSemaphoreTakeImpl
|
||||
MPU_xQueueSemaphoreTake_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xQueueSemaphoreTake
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -565,12 +528,11 @@ MPU_xQueueGetMutexHolder:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xQueueGetMutexHolder_Unpriv
|
||||
MPU_xQueueGetMutexHolder_Priv:
|
||||
pop {r0}
|
||||
b MPU_xQueueGetMutexHolderImpl
|
||||
MPU_xQueueGetMutexHolder_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xQueueGetMutexHolder
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -579,12 +541,11 @@ MPU_xQueueTakeMutexRecursive:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xQueueTakeMutexRecursive_Unpriv
|
||||
MPU_xQueueTakeMutexRecursive_Priv:
|
||||
pop {r0}
|
||||
b MPU_xQueueTakeMutexRecursiveImpl
|
||||
MPU_xQueueTakeMutexRecursive_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xQueueTakeMutexRecursive
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -593,12 +554,11 @@ MPU_xQueueGiveMutexRecursive:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xQueueGiveMutexRecursive_Unpriv
|
||||
MPU_xQueueGiveMutexRecursive_Priv:
|
||||
pop {r0}
|
||||
b MPU_xQueueGiveMutexRecursiveImpl
|
||||
MPU_xQueueGiveMutexRecursive_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xQueueGiveMutexRecursive
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -607,12 +567,11 @@ MPU_xQueueSelectFromSet:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xQueueSelectFromSet_Unpriv
|
||||
MPU_xQueueSelectFromSet_Priv:
|
||||
pop {r0}
|
||||
b MPU_xQueueSelectFromSetImpl
|
||||
MPU_xQueueSelectFromSet_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xQueueSelectFromSet
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -621,12 +580,11 @@ MPU_xQueueAddToSet:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xQueueAddToSet_Unpriv
|
||||
MPU_xQueueAddToSet_Priv:
|
||||
pop {r0}
|
||||
b MPU_xQueueAddToSetImpl
|
||||
MPU_xQueueAddToSet_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xQueueAddToSet
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -635,12 +593,11 @@ MPU_vQueueAddToRegistry:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_vQueueAddToRegistry_Unpriv
|
||||
MPU_vQueueAddToRegistry_Priv:
|
||||
pop {r0}
|
||||
b MPU_vQueueAddToRegistryImpl
|
||||
MPU_vQueueAddToRegistry_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_vQueueAddToRegistry
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -649,12 +606,11 @@ MPU_vQueueUnregisterQueue:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_vQueueUnregisterQueue_Unpriv
|
||||
MPU_vQueueUnregisterQueue_Priv:
|
||||
pop {r0}
|
||||
b MPU_vQueueUnregisterQueueImpl
|
||||
MPU_vQueueUnregisterQueue_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_vQueueUnregisterQueue
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -663,12 +619,11 @@ MPU_pcQueueGetName:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_pcQueueGetName_Unpriv
|
||||
MPU_pcQueueGetName_Priv:
|
||||
pop {r0}
|
||||
b MPU_pcQueueGetNameImpl
|
||||
MPU_pcQueueGetName_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_pcQueueGetName
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -677,12 +632,11 @@ MPU_pvTimerGetTimerID:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_pvTimerGetTimerID_Unpriv
|
||||
MPU_pvTimerGetTimerID_Priv:
|
||||
pop {r0}
|
||||
b MPU_pvTimerGetTimerIDImpl
|
||||
MPU_pvTimerGetTimerID_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_pvTimerGetTimerID
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -691,12 +645,11 @@ MPU_vTimerSetTimerID:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_vTimerSetTimerID_Unpriv
|
||||
MPU_vTimerSetTimerID_Priv:
|
||||
pop {r0}
|
||||
b MPU_vTimerSetTimerIDImpl
|
||||
MPU_vTimerSetTimerID_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_vTimerSetTimerID
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -705,12 +658,11 @@ MPU_xTimerIsTimerActive:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xTimerIsTimerActive_Unpriv
|
||||
MPU_xTimerIsTimerActive_Priv:
|
||||
pop {r0}
|
||||
b MPU_xTimerIsTimerActiveImpl
|
||||
MPU_xTimerIsTimerActive_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xTimerIsTimerActive
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -719,12 +671,11 @@ MPU_xTimerGetTimerDaemonTaskHandle:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xTimerGetTimerDaemonTaskHandle_Unpriv
|
||||
MPU_xTimerGetTimerDaemonTaskHandle_Priv:
|
||||
pop {r0}
|
||||
b MPU_xTimerGetTimerDaemonTaskHandleImpl
|
||||
MPU_xTimerGetTimerDaemonTaskHandle_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xTimerGetTimerDaemonTaskHandle
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -733,12 +684,11 @@ MPU_xTimerGenericCommandFromTaskEntry:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xTimerGenericCommandFromTask_Unpriv
|
||||
MPU_xTimerGenericCommandFromTask_Priv:
|
||||
pop {r0}
|
||||
b MPU_xTimerGenericCommandFromTaskImpl
|
||||
MPU_xTimerGenericCommandFromTask_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xTimerGenericCommandFromTask
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -747,12 +697,11 @@ MPU_pcTimerGetName:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_pcTimerGetName_Unpriv
|
||||
MPU_pcTimerGetName_Priv:
|
||||
pop {r0}
|
||||
b MPU_pcTimerGetNameImpl
|
||||
MPU_pcTimerGetName_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_pcTimerGetName
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -761,12 +710,11 @@ MPU_vTimerSetReloadMode:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_vTimerSetReloadMode_Unpriv
|
||||
MPU_vTimerSetReloadMode_Priv:
|
||||
pop {r0}
|
||||
b MPU_vTimerSetReloadModeImpl
|
||||
MPU_vTimerSetReloadMode_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_vTimerSetReloadMode
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -775,12 +723,11 @@ MPU_xTimerGetReloadMode:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xTimerGetReloadMode_Unpriv
|
||||
MPU_xTimerGetReloadMode_Priv:
|
||||
pop {r0}
|
||||
b MPU_xTimerGetReloadModeImpl
|
||||
MPU_xTimerGetReloadMode_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xTimerGetReloadMode
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -789,12 +736,11 @@ MPU_uxTimerGetReloadMode:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_uxTimerGetReloadMode_Unpriv
|
||||
MPU_uxTimerGetReloadMode_Priv:
|
||||
pop {r0}
|
||||
b MPU_uxTimerGetReloadModeImpl
|
||||
MPU_uxTimerGetReloadMode_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_uxTimerGetReloadMode
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -803,12 +749,11 @@ MPU_xTimerGetPeriod:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xTimerGetPeriod_Unpriv
|
||||
MPU_xTimerGetPeriod_Priv:
|
||||
pop {r0}
|
||||
b MPU_xTimerGetPeriodImpl
|
||||
MPU_xTimerGetPeriod_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xTimerGetPeriod
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -817,12 +762,11 @@ MPU_xTimerGetExpiryTime:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xTimerGetExpiryTime_Unpriv
|
||||
MPU_xTimerGetExpiryTime_Priv:
|
||||
pop {r0}
|
||||
b MPU_xTimerGetExpiryTimeImpl
|
||||
MPU_xTimerGetExpiryTime_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xTimerGetExpiryTime
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -831,12 +775,11 @@ MPU_xEventGroupWaitBitsEntry:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xEventGroupWaitBits_Unpriv
|
||||
MPU_xEventGroupWaitBits_Priv:
|
||||
pop {r0}
|
||||
b MPU_xEventGroupWaitBitsImpl
|
||||
MPU_xEventGroupWaitBits_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xEventGroupWaitBits
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -845,12 +788,11 @@ MPU_xEventGroupClearBits:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xEventGroupClearBits_Unpriv
|
||||
MPU_xEventGroupClearBits_Priv:
|
||||
pop {r0}
|
||||
b MPU_xEventGroupClearBitsImpl
|
||||
MPU_xEventGroupClearBits_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xEventGroupClearBits
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -859,12 +801,11 @@ MPU_xEventGroupSetBits:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xEventGroupSetBits_Unpriv
|
||||
MPU_xEventGroupSetBits_Priv:
|
||||
pop {r0}
|
||||
b MPU_xEventGroupSetBitsImpl
|
||||
MPU_xEventGroupSetBits_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xEventGroupSetBits
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -873,12 +814,11 @@ MPU_xEventGroupSync:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xEventGroupSync_Unpriv
|
||||
MPU_xEventGroupSync_Priv:
|
||||
pop {r0}
|
||||
b MPU_xEventGroupSyncImpl
|
||||
MPU_xEventGroupSync_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xEventGroupSync
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -887,12 +827,11 @@ MPU_uxEventGroupGetNumber:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_uxEventGroupGetNumber_Unpriv
|
||||
MPU_uxEventGroupGetNumber_Priv:
|
||||
pop {r0}
|
||||
b MPU_uxEventGroupGetNumberImpl
|
||||
MPU_uxEventGroupGetNumber_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_uxEventGroupGetNumber
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -901,12 +840,11 @@ MPU_vEventGroupSetNumber:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_vEventGroupSetNumber_Unpriv
|
||||
MPU_vEventGroupSetNumber_Priv:
|
||||
pop {r0}
|
||||
b MPU_vEventGroupSetNumberImpl
|
||||
MPU_vEventGroupSetNumber_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_vEventGroupSetNumber
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -915,12 +853,11 @@ MPU_xStreamBufferSend:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xStreamBufferSend_Unpriv
|
||||
MPU_xStreamBufferSend_Priv:
|
||||
pop {r0}
|
||||
b MPU_xStreamBufferSendImpl
|
||||
MPU_xStreamBufferSend_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xStreamBufferSend
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -929,12 +866,11 @@ MPU_xStreamBufferReceive:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xStreamBufferReceive_Unpriv
|
||||
MPU_xStreamBufferReceive_Priv:
|
||||
pop {r0}
|
||||
b MPU_xStreamBufferReceiveImpl
|
||||
MPU_xStreamBufferReceive_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xStreamBufferReceive
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -943,12 +879,11 @@ MPU_xStreamBufferIsFull:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xStreamBufferIsFull_Unpriv
|
||||
MPU_xStreamBufferIsFull_Priv:
|
||||
pop {r0}
|
||||
b MPU_xStreamBufferIsFullImpl
|
||||
MPU_xStreamBufferIsFull_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xStreamBufferIsFull
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -957,12 +892,11 @@ MPU_xStreamBufferIsEmpty:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xStreamBufferIsEmpty_Unpriv
|
||||
MPU_xStreamBufferIsEmpty_Priv:
|
||||
pop {r0}
|
||||
b MPU_xStreamBufferIsEmptyImpl
|
||||
MPU_xStreamBufferIsEmpty_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xStreamBufferIsEmpty
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -971,12 +905,11 @@ MPU_xStreamBufferSpacesAvailable:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xStreamBufferSpacesAvailable_Unpriv
|
||||
MPU_xStreamBufferSpacesAvailable_Priv:
|
||||
pop {r0}
|
||||
b MPU_xStreamBufferSpacesAvailableImpl
|
||||
MPU_xStreamBufferSpacesAvailable_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xStreamBufferSpacesAvailable
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -985,12 +918,11 @@ MPU_xStreamBufferBytesAvailable:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xStreamBufferBytesAvailable_Unpriv
|
||||
MPU_xStreamBufferBytesAvailable_Priv:
|
||||
pop {r0}
|
||||
b MPU_xStreamBufferBytesAvailableImpl
|
||||
MPU_xStreamBufferBytesAvailable_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xStreamBufferBytesAvailable
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -999,12 +931,11 @@ MPU_xStreamBufferSetTriggerLevel:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xStreamBufferSetTriggerLevel_Unpriv
|
||||
MPU_xStreamBufferSetTriggerLevel_Priv:
|
||||
pop {r0}
|
||||
b MPU_xStreamBufferSetTriggerLevelImpl
|
||||
MPU_xStreamBufferSetTriggerLevel_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xStreamBufferSetTriggerLevel
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -1013,12 +944,11 @@ MPU_xStreamBufferNextMessageLengthBytes:
|
|||
push {r0}
|
||||
mrs r0, control
|
||||
tst r0, #1
|
||||
pop {r0}
|
||||
bne MPU_xStreamBufferNextMessageLengthBytes_Unpriv
|
||||
MPU_xStreamBufferNextMessageLengthBytes_Priv:
|
||||
pop {r0}
|
||||
b MPU_xStreamBufferNextMessageLengthBytesImpl
|
||||
MPU_xStreamBufferNextMessageLengthBytes_Unpriv:
|
||||
pop {r0}
|
||||
svc #SYSTEM_CALL_xStreamBufferNextMessageLengthBytes
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;/*
|
||||
; * FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
; * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
; * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
; *
|
||||
; * SPDX-License-Identifier: MIT
|
||||
; *
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;/*
|
||||
; * FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
; * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
; * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
; *
|
||||
; * SPDX-License-Identifier: MIT
|
||||
; *
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue