]> begriffs open source - freertos/commit
armv8.1-m: Remove portHAS_PACBTI_FEATURE macro (#1192)
authorAhmed Ismail <64546783+AhmedIsmail02@users.noreply.github.com>
Thu, 14 Nov 2024 04:31:06 +0000 (04:31 +0000)
committerGitHub <noreply@github.com>
Thu, 14 Nov 2024 04:31:06 +0000 (10:01 +0530)
commit25f9222fed15d0768c007fa22f7de711f474d1b3
treecda6819f362a6bb1b5405cae91d467e2e7bda736
parent73f6e3a1b461dd76b3e4d3043badda56d3f0efda
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>
56 files changed:
include/FreeRTOS.h
portable/ARMv8M/non_secure/port.c
portable/ARMv8M/non_secure/portable/GCC/ARM_CM23/portmacro.h
portable/ARMv8M/non_secure/portable/GCC/ARM_CM23_NTZ/portmacro.h
portable/ARMv8M/non_secure/portable/GCC/ARM_CM33/portmacro.h
portable/ARMv8M/non_secure/portable/GCC/ARM_CM33_NTZ/portmacro.h
portable/ARMv8M/non_secure/portable/GCC/ARM_CM35P/portmacro.h
portable/ARMv8M/non_secure/portable/GCC/ARM_CM55/portmacro.h
portable/ARMv8M/non_secure/portable/GCC/ARM_CM85/portmacro.h
portable/ARMv8M/non_secure/portable/IAR/ARM_CM23/portmacro.h
portable/ARMv8M/non_secure/portable/IAR/ARM_CM23_NTZ/portmacro.h
portable/ARMv8M/non_secure/portable/IAR/ARM_CM33/portmacro.h
portable/ARMv8M/non_secure/portable/IAR/ARM_CM33_NTZ/portmacro.h
portable/ARMv8M/non_secure/portable/IAR/ARM_CM35P/portmacro.h
portable/ARMv8M/non_secure/portable/IAR/ARM_CM55/portmacro.h
portable/ARMv8M/non_secure/portable/IAR/ARM_CM85/portmacro.h
portable/GCC/ARM_CM23/non_secure/port.c
portable/GCC/ARM_CM23/non_secure/portmacro.h
portable/GCC/ARM_CM23_NTZ/non_secure/port.c
portable/GCC/ARM_CM23_NTZ/non_secure/portmacro.h
portable/GCC/ARM_CM33/non_secure/port.c
portable/GCC/ARM_CM33/non_secure/portmacro.h
portable/GCC/ARM_CM33_NTZ/non_secure/port.c
portable/GCC/ARM_CM33_NTZ/non_secure/portmacro.h
portable/GCC/ARM_CM35P/non_secure/port.c
portable/GCC/ARM_CM35P/non_secure/portmacro.h
portable/GCC/ARM_CM35P_NTZ/non_secure/port.c
portable/GCC/ARM_CM35P_NTZ/non_secure/portmacro.h
portable/GCC/ARM_CM55/non_secure/port.c
portable/GCC/ARM_CM55/non_secure/portmacro.h
portable/GCC/ARM_CM55_NTZ/non_secure/port.c
portable/GCC/ARM_CM55_NTZ/non_secure/portmacro.h
portable/GCC/ARM_CM85/non_secure/port.c
portable/GCC/ARM_CM85/non_secure/portmacro.h
portable/GCC/ARM_CM85_NTZ/non_secure/port.c
portable/GCC/ARM_CM85_NTZ/non_secure/portmacro.h
portable/IAR/ARM_CM23/non_secure/port.c
portable/IAR/ARM_CM23/non_secure/portmacro.h
portable/IAR/ARM_CM23_NTZ/non_secure/port.c
portable/IAR/ARM_CM23_NTZ/non_secure/portmacro.h
portable/IAR/ARM_CM33/non_secure/port.c
portable/IAR/ARM_CM33/non_secure/portmacro.h
portable/IAR/ARM_CM33_NTZ/non_secure/port.c
portable/IAR/ARM_CM33_NTZ/non_secure/portmacro.h
portable/IAR/ARM_CM35P/non_secure/port.c
portable/IAR/ARM_CM35P/non_secure/portmacro.h
portable/IAR/ARM_CM35P_NTZ/non_secure/port.c
portable/IAR/ARM_CM35P_NTZ/non_secure/portmacro.h
portable/IAR/ARM_CM55/non_secure/port.c
portable/IAR/ARM_CM55/non_secure/portmacro.h
portable/IAR/ARM_CM55_NTZ/non_secure/port.c
portable/IAR/ARM_CM55_NTZ/non_secure/portmacro.h
portable/IAR/ARM_CM85/non_secure/port.c
portable/IAR/ARM_CM85/non_secure/portmacro.h
portable/IAR/ARM_CM85_NTZ/non_secure/port.c
portable/IAR/ARM_CM85_NTZ/non_secure/portmacro.h