FreeRTOS-Kernel/portable/ARMv8M/non_secure
Ahmed Ismail 25f9222fed
armv8.1-m: Remove portHAS_PACBTI_FEATURE macro (#1192)
The PACBTI is an optional hardware security feature,
the current implementation assumes that every SoC that
has Armv8.1-M architecture extension, has the PACBTI
hardware feature, which does not have to be the case.
Hence, the `portHAS_PACBTI_FEATURE` is removed
and the implementation is modified to rely on
`configENABLE_PAC` and `configENABLE_BTI` macros
that can either be set using CMake or FreeRTOSConfig.h
header file.

Enabling PAC and/or BTI on a port variant that
doesn't have the PACBTI hardware feature would be
caught by a `configASSERT` statement.

Signed-off-by: Ahmed Ismail <Ahmed.Ismail@arm.com>
Co-authored-by: Tony Josi <tonyjosi@amazon.com>
2024-11-14 10:01:06 +05:30
..
portable armv8.1-m: Remove portHAS_PACBTI_FEATURE macro (#1192) 2024-11-14 10:01:06 +05:30
port.c armv8.1-m: Remove portHAS_PACBTI_FEATURE macro (#1192) 2024-11-14 10:01:06 +05:30
portasm.h Fix spelling typos (#1168) 2024-11-01 10:09:49 -07:00
portmacrocommon.h Move configASSERT default definition above before including portable.h. (#1185) 2024-11-04 16:35:52 +05:30
ReadMe.txt Normalize line endings and whitespace in source files 2022-11-29 15:38:47 -08:00

This directory tree contains the master copy of the FreeRTOS Armv8-M and
Armv8.1-M ports.
Do not use the files located here!  These file are copied into separate
FreeRTOS/Source/portable/[compiler]/ARM_CM[23|33|55|85]_NNN directories prior to
each FreeRTOS release.

If your Armv8-M/Armv8.1-M application uses TrustZone then use the files from the
FreeRTOS/Source/portable/[compiler]/ARM_CM[23|33|55|85] directories.

If your Armv8-M/Armv8.1-M application does not use TrustZone then use the files from
the FreeRTOS/Source/portable/[compiler]/ARM_CM[23|33|55|85]_NTZ directories.