mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-07 13:45:00 -05:00
armv8.1-m: Add PACBTI support to kernel non-secure implementation
In this commit, Pointer Authentication, and Branch Target Identification Extension (PACBTI) support is added for Non-Secure and Non-TrustZone variants of Cortex-M85 FreeRTOS-Kernel Port. The PACBTI support is added for Arm Compiler For Embedded, and IAR toolchains only. The support in the kernel is not yet enabled for GNU toolchain due to known issues. Signed-off-by: Ahmed Ismail <Ahmed.Ismail@arm.com>
This commit is contained in:
parent
4d0a28d269
commit
11fe156c08
58 changed files with 2212 additions and 42 deletions
|
|
@ -3032,6 +3032,18 @@
|
|||
#define configCONTROL_INFINITE_LOOP()
|
||||
#endif
|
||||
|
||||
/* Set configENABLE_PAC and/or configENABLE_BTI to 1 to enable PAC and/or BTI
|
||||
* support and 0 to disable them. These are currently used in ARMv8.1-M ports. */
|
||||
#if ( portHAS_PACBTI_FEATURE == 1 )
|
||||
#ifndef configENABLE_PAC
|
||||
#define configENABLE_PAC 0
|
||||
#endif
|
||||
|
||||
#ifndef configENABLE_BTI
|
||||
#define configENABLE_BTI 0
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Sometimes the FreeRTOSConfig.h settings only allow a task to be created using
|
||||
* dynamically allocated RAM, in which case when any task is deleted it is known
|
||||
* that both the task's stack and TCB need to be freed. Sometimes the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue