This repository has been archived on 2023-11-05. You can view files and clone it, but cannot push or open issues or pull requests.
FreeRTOS-Kernel/portable
Gaurav-Aggarwal-AWS 4383c8fae3
Change the xRunningPrivileged check from "!=true" to "==false" (#109)
The expected behaviour of portIS_PRIVILEGED is:
- return 0 if the processor is not running privileged.
- return 1 if the processor is running privileged.

Some TI ports do not return 1 when the processor is running privileged
causing the following check to fail: if( xRunningPrivileged != pdTRUE )

This commit change the check to: if( xRunningPrivileged == pdFALSE ). It
ensures that the check is successful even on the ports which return incorrect
value from portIS_PRIVILEGED when the processor is running privileged.

See https://forums.freertos.org/t/kernel-bug-nested-mpu-wrapper-calls-generate-an-exception/10391

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2020-07-30 19:32:31 -07:00
..
ARMClang Re-sync with upstream and stripping away none kernel related. 2020-02-10 13:45:57 -08:00
ARMv8M Use configSYSTICK_CLOCK_HZ to configure SysTick (#103) 2020-07-24 09:45:42 -07:00
BCC/16BitDOS Style: uncrustify kernel files 2020-07-08 10:24:06 -07:00
CCS Update incorrect port in comments (#87) 2020-07-15 19:44:57 -07:00
CodeWarrior Style: uncrustify kernel files 2020-07-08 10:24:06 -07:00
Common Change the xRunningPrivileged check from "!=true" to "==false" (#109) 2020-07-30 19:32:31 -07:00
GCC Use configSYSTICK_CLOCK_HZ to configure SysTick (#103) 2020-07-24 09:45:42 -07:00
IAR Use configSYSTICK_CLOCK_HZ to configure SysTick (#103) 2020-07-24 09:45:42 -07:00
Keil Re-sync with upstream and stripping away none kernel related. 2020-02-10 13:45:57 -08:00
MemMang Place privileged symbols correctly (#84) 2020-07-14 16:22:42 -07:00
MikroC/ARM_CM4F Update portNVIC_SYSPRI2_REG to portNVIC_SHPR3_REG (#86) 2020-07-15 19:44:45 -07:00
MPLAB Style: uncrustify kernel files 2020-07-08 10:24:06 -07:00
MSVC-MingW Style: uncrustify kernel files 2020-07-08 10:24:06 -07:00
oWatcom/16BitDOS Style: uncrustify kernel files 2020-07-08 10:24:06 -07:00
Paradigm/Tern_EE Style: uncrustify kernel files 2020-07-08 10:24:06 -07:00
Renesas Style: uncrustify kernel files 2020-07-08 10:24:06 -07:00
Rowley Style: uncrustify kernel files 2020-07-08 10:24:06 -07:00
RVDS Add support for 16 MPU regions to Cortex-M4 MPU ports (#96) 2020-07-24 07:47:41 -07:00
SDCC/Cygnal Style: uncrustify kernel files 2020-07-08 10:24:06 -07:00
Softune Style: uncrustify kernel files 2020-07-08 10:24:06 -07:00
Tasking/ARM_CM4F Update portNVIC_SYSPRI2_REG to portNVIC_SHPR3_REG (#86) 2020-07-15 19:44:45 -07:00
ThirdParty Synopsys ARC update, with updated BSP support (#99) 2020-07-22 17:14:09 -07:00
WizC/PIC18 Style: uncrustify kernel files 2020-07-08 10:24:06 -07:00
readme.txt Re-sync with upstream and stripping away none kernel related. 2020-02-10 13:45:57 -08:00

Each real time kernel port consists of three files that contain the core kernel
components and are common to every port, and one or more files that are
specific to a particular microcontroller and/or compiler.


+ The FreeRTOS/Source/Portable/MemMang directory contains the five sample
memory allocators as described on the http://www.FreeRTOS.org WEB site.

+ The other directories each contain files specific to a particular
microcontroller or compiler, where the directory name denotes the compiler
specific files the directory contains.



For example, if you are interested in the [compiler] port for the [architecture]
microcontroller, then the port specific files are contained in
FreeRTOS/Source/Portable/[compiler]/[architecture] directory.  If this is the
only port you are interested in then all the other directories can be
ignored.