You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
FreeRTOS-Kernel/portable/GCC
Ahmed Ismail 78e0cc778a
ARMv8.1-M: Add task dedicated PAC key support (#1195)
armv8.1-m: Add task dedicated PAC key

To harden the security, each task is assigned a dedicated PAC key, so that attackers needs to guess the all the tasks' PAC keys right to exploit the system using Return Oriented Programming.

The kernel is now updated to support the following:
* A PAC key set with a random number generated and is saved in the task's context when a task is created.
* As part of scheduling, the task's PAC key is stored/restored to/from the task's context when a task is unscheduled/scheduled from/to run.

stack-overflow-check: Introduce portGET_CURRENT_TOP_OF_STACK macro

When MPU wrapper v2 is used, the task's context is stored in TCB and `pxTopOfStack`` member of TCB points to the context location in TCB. We, therefore, need to read PSP to find the task's current top of stack.

Signed-off-by: Ahmed Ismail <Ahmed.Ismail@arm.com>
3 weeks ago
..
ARM7_AT91FR40008 Use Regex for Copyright Year in Header Check (#1002) 12 months ago
ARM7_AT91SAM7S Fix spelling typos (#1168) 3 months ago
ARM7_LPC23xx Use Regex for Copyright Year in Header Check (#1002) 12 months ago
ARM7_LPC2000 Use Regex for Copyright Year in Header Check (#1002) 12 months ago
ARM_AARCH64 Move configASSERT default definition above before including portable.h. (#1185) 3 months ago
ARM_AARCH64_SRE Move configASSERT default definition above before including portable.h. (#1185) 3 months ago
ARM_CA9 Fix function parameter shadowing global variable. (#1221) 4 weeks ago
ARM_CA53_64_BIT fix typos in comments: interace -> interface, swtich -> switch (#1022) 10 months ago
ARM_CA53_64_BIT_SRE fix typos in comments: interace -> interface, swtich -> switch (#1022) 10 months ago
ARM_CM0 Fix spelling typos (#1168) 3 months ago
ARM_CM3 Move configASSERT default definition above before including portable.h. (#1185) 3 months ago
ARM_CM3_MPU Move configASSERT default definition above before including portable.h. (#1185) 3 months ago
ARM_CM4F Move configASSERT default definition above before including portable.h. (#1185) 3 months ago
ARM_CM4_MPU Move configASSERT default definition above before including portable.h. (#1185) 3 months ago
ARM_CM7 Move configASSERT default definition above before including portable.h. (#1185) 3 months ago
ARM_CM23 ARMv8.1-M: Add task dedicated PAC key support (#1195) 3 weeks ago
ARM_CM23_NTZ/non_secure ARMv8.1-M: Add task dedicated PAC key support (#1195) 3 weeks ago
ARM_CM33 ARMv8.1-M: Add task dedicated PAC key support (#1195) 3 weeks ago
ARM_CM33_NTZ/non_secure ARMv8.1-M: Add task dedicated PAC key support (#1195) 3 weeks ago
ARM_CM35P ARMv8.1-M: Add task dedicated PAC key support (#1195) 3 weeks ago
ARM_CM35P_NTZ/non_secure ARMv8.1-M: Add task dedicated PAC key support (#1195) 3 weeks ago
ARM_CM55 ARMv8.1-M: Add task dedicated PAC key support (#1195) 3 weeks ago
ARM_CM55_NTZ/non_secure ARMv8.1-M: Add task dedicated PAC key support (#1195) 3 weeks ago
ARM_CM85 ARMv8.1-M: Add task dedicated PAC key support (#1195) 3 weeks ago
ARM_CM85_NTZ/non_secure ARMv8.1-M: Add task dedicated PAC key support (#1195) 3 weeks ago
ARM_CR5 Move configASSERT default definition above before including portable.h. (#1185) 3 months ago
ARM_CRx_MPU Fix spelling typos (#1168) 3 months ago
ARM_CRx_No_GIC Add support for vApplicationFPUSafeIRQHandler (#1113) 6 months ago
ATMega323 Use Regex for Copyright Year in Header Check (#1002) 12 months ago
AVR32_UC3 Fix spelling typos (#1168) 3 months ago
AVR_AVRDx Remove AVR ports from main repo (#394) 3 years ago
AVR_Mega0 Remove AVR ports from main repo (#394) 3 years ago
CORTUS_APS3 Use Regex for Copyright Year in Header Check (#1002) 12 months ago
ColdFire_V2 Use Regex for Copyright Year in Header Check (#1002) 12 months ago
H8S2329 Use Regex for Copyright Year in Header Check (#1002) 12 months ago
HCS12 Use Regex for Copyright Year in Header Check (#1002) 12 months ago
IA32_flat Fix IA32 compilation with common IRQ entry disabled (#1137) 5 months ago
MCF5235 Replace two dashes and one whitespace with their corresponding ASCII characters. (#362) 4 years ago
MSP430F449 Use Regex for Copyright Year in Header Check (#1002) 12 months ago
MicroBlaze Use Regex for Copyright Year in Header Check (#1002) 12 months ago
MicroBlazeV8 Use Regex for Copyright Year in Header Check (#1002) 12 months ago
MicroBlazeV9 Use Regex for Copyright Year in Header Check (#1002) 12 months ago
NiosII Use Regex for Copyright Year in Header Check (#1002) 12 months ago
PPC405_Xilinx Use Regex for Copyright Year in Header Check (#1002) 12 months ago
PPC440_Xilinx Use Regex for Copyright Year in Header Check (#1002) 12 months ago
RISC-V Removing the old -RV32 directory name from parts of the documentation (#1196) 3 months ago
RL78 [Fixed the Issue] Fixed the Issue#1102 of RL78 of the Context switch issue. https://github.com/FreeRTOS/FreeRTOS-Kernel/issues/1102 (#1157) 4 months ago
RX100 Move configASSERT default definition above before including portable.h. (#1185) 3 months ago
RX200 Move configASSERT default definition above before including portable.h. (#1185) 3 months ago
RX600 Move configASSERT default definition above before including portable.h. (#1185) 3 months ago
RX600v2 Move configASSERT default definition above before including portable.h. (#1185) 3 months ago
RX700v3_DPFPU Move configASSERT default definition above before including portable.h. (#1185) 3 months ago
STR75x Use Regex for Copyright Year in Header Check (#1002) 12 months ago
TriCore_1782 Use Regex for Copyright Year in Header Check (#1002) 12 months ago