From d877cd53989eba16c5092761056e31e1dcddba2f Mon Sep 17 00:00:00 2001 From: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com> Date: Sat, 30 May 2026 08:38:02 +0530 Subject: [PATCH] Fix MPU wrapper macro mapping for ARMv8M ports (#1419) --- portable/ARMv8M/non_secure/port.c | 5 +++++ portable/ARMv8M/non_secure/portmacrocommon.h | 7 ------- portable/GCC/ARM_CM23/non_secure/port.c | 5 +++++ portable/GCC/ARM_CM23/non_secure/portmacrocommon.h | 7 ------- portable/GCC/ARM_CM23_NTZ/non_secure/port.c | 5 +++++ portable/GCC/ARM_CM23_NTZ/non_secure/portmacrocommon.h | 7 ------- portable/GCC/ARM_CM33/non_secure/port.c | 5 +++++ portable/GCC/ARM_CM33/non_secure/portmacrocommon.h | 7 ------- portable/GCC/ARM_CM33_NTZ/non_secure/port.c | 5 +++++ portable/GCC/ARM_CM33_NTZ/non_secure/portmacrocommon.h | 7 ------- portable/GCC/ARM_CM35P/non_secure/port.c | 5 +++++ portable/GCC/ARM_CM35P/non_secure/portmacrocommon.h | 7 ------- portable/GCC/ARM_CM35P_NTZ/non_secure/port.c | 5 +++++ portable/GCC/ARM_CM35P_NTZ/non_secure/portmacrocommon.h | 7 ------- portable/GCC/ARM_CM52/non_secure/port.c | 5 +++++ portable/GCC/ARM_CM52/non_secure/portmacrocommon.h | 7 ------- portable/GCC/ARM_CM52_NTZ/non_secure/port.c | 5 +++++ portable/GCC/ARM_CM52_NTZ/non_secure/portmacrocommon.h | 7 ------- portable/GCC/ARM_CM55/non_secure/port.c | 5 +++++ portable/GCC/ARM_CM55/non_secure/portmacrocommon.h | 7 ------- portable/GCC/ARM_CM55_NTZ/non_secure/port.c | 5 +++++ portable/GCC/ARM_CM55_NTZ/non_secure/portmacrocommon.h | 7 ------- portable/GCC/ARM_CM85/non_secure/port.c | 5 +++++ portable/GCC/ARM_CM85/non_secure/portmacrocommon.h | 7 ------- portable/GCC/ARM_CM85_NTZ/non_secure/port.c | 5 +++++ portable/GCC/ARM_CM85_NTZ/non_secure/portmacrocommon.h | 7 ------- portable/GCC/ARM_STAR_MC3/non_secure/port.c | 5 +++++ portable/GCC/ARM_STAR_MC3/non_secure/portmacrocommon.h | 7 ------- portable/GCC/ARM_STAR_MC3_NTZ/non_secure/port.c | 5 +++++ portable/GCC/ARM_STAR_MC3_NTZ/non_secure/portmacrocommon.h | 7 ------- portable/IAR/ARM_CM23/non_secure/port.c | 5 +++++ portable/IAR/ARM_CM23/non_secure/portmacrocommon.h | 7 ------- portable/IAR/ARM_CM23_NTZ/non_secure/port.c | 5 +++++ portable/IAR/ARM_CM23_NTZ/non_secure/portmacrocommon.h | 7 ------- portable/IAR/ARM_CM33/non_secure/port.c | 5 +++++ portable/IAR/ARM_CM33/non_secure/portmacrocommon.h | 7 ------- portable/IAR/ARM_CM33_NTZ/non_secure/port.c | 5 +++++ portable/IAR/ARM_CM33_NTZ/non_secure/portmacrocommon.h | 7 ------- portable/IAR/ARM_CM35P/non_secure/port.c | 5 +++++ portable/IAR/ARM_CM35P/non_secure/portmacrocommon.h | 7 ------- portable/IAR/ARM_CM35P_NTZ/non_secure/port.c | 5 +++++ portable/IAR/ARM_CM35P_NTZ/non_secure/portmacrocommon.h | 7 ------- portable/IAR/ARM_CM52/non_secure/port.c | 5 +++++ portable/IAR/ARM_CM52/non_secure/portmacrocommon.h | 7 ------- portable/IAR/ARM_CM52_NTZ/non_secure/port.c | 5 +++++ portable/IAR/ARM_CM52_NTZ/non_secure/portmacrocommon.h | 7 ------- portable/IAR/ARM_CM55/non_secure/port.c | 5 +++++ portable/IAR/ARM_CM55/non_secure/portmacrocommon.h | 7 ------- portable/IAR/ARM_CM55_NTZ/non_secure/port.c | 5 +++++ portable/IAR/ARM_CM55_NTZ/non_secure/portmacrocommon.h | 7 ------- portable/IAR/ARM_CM85/non_secure/port.c | 5 +++++ portable/IAR/ARM_CM85/non_secure/portmacrocommon.h | 7 ------- portable/IAR/ARM_CM85_NTZ/non_secure/port.c | 5 +++++ portable/IAR/ARM_CM85_NTZ/non_secure/portmacrocommon.h | 7 ------- portable/IAR/ARM_STAR_MC3/non_secure/port.c | 5 +++++ portable/IAR/ARM_STAR_MC3/non_secure/portmacrocommon.h | 7 ------- portable/IAR/ARM_STAR_MC3_NTZ/non_secure/port.c | 5 +++++ portable/IAR/ARM_STAR_MC3_NTZ/non_secure/portmacrocommon.h | 7 ------- 58 files changed, 145 insertions(+), 203 deletions(-) diff --git a/portable/ARMv8M/non_secure/port.c b/portable/ARMv8M/non_secure/port.c index 44a06555f..2bb4c1d44 100644 --- a/portable/ARMv8M/non_secure/port.c +++ b/portable/ARMv8M/non_secure/port.c @@ -550,6 +550,11 @@ portDONT_DISCARD void vPortSVCHandler_C( uint32_t * pulCallerStackAddress ) PRIV extern BaseType_t configWAKE_SECONDARY_CORES( void ); #endif /* #if ( configNUMBER_OF_CORES > 1 ) */ + +/** + * @brief Configures interrupt priorities. + */ +void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) ) diff --git a/portable/ARMv8M/non_secure/portmacrocommon.h b/portable/ARMv8M/non_secure/portmacrocommon.h index 8e602a1d0..f1f19b358 100644 --- a/portable/ARMv8M/non_secure/portmacrocommon.h +++ b/portable/ARMv8M/non_secure/portmacrocommon.h @@ -30,8 +30,6 @@ #ifndef PORTMACROCOMMON_H #define PORTMACROCOMMON_H -#include "mpu_wrappers.h" - /* *INDENT-OFF* */ #ifdef __cplusplus extern "C" { @@ -153,11 +151,6 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P void vApplicationGenerateTaskRandomPacKey( uint32_t * pulTaskPacKey ); #endif /* configENABLE_PAC */ - -/** - * @brief Configures interrupt priorities. - */ -void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ /** diff --git a/portable/GCC/ARM_CM23/non_secure/port.c b/portable/GCC/ARM_CM23/non_secure/port.c index 44a06555f..2bb4c1d44 100644 --- a/portable/GCC/ARM_CM23/non_secure/port.c +++ b/portable/GCC/ARM_CM23/non_secure/port.c @@ -550,6 +550,11 @@ portDONT_DISCARD void vPortSVCHandler_C( uint32_t * pulCallerStackAddress ) PRIV extern BaseType_t configWAKE_SECONDARY_CORES( void ); #endif /* #if ( configNUMBER_OF_CORES > 1 ) */ + +/** + * @brief Configures interrupt priorities. + */ +void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) ) diff --git a/portable/GCC/ARM_CM23/non_secure/portmacrocommon.h b/portable/GCC/ARM_CM23/non_secure/portmacrocommon.h index 8e602a1d0..f1f19b358 100644 --- a/portable/GCC/ARM_CM23/non_secure/portmacrocommon.h +++ b/portable/GCC/ARM_CM23/non_secure/portmacrocommon.h @@ -30,8 +30,6 @@ #ifndef PORTMACROCOMMON_H #define PORTMACROCOMMON_H -#include "mpu_wrappers.h" - /* *INDENT-OFF* */ #ifdef __cplusplus extern "C" { @@ -153,11 +151,6 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P void vApplicationGenerateTaskRandomPacKey( uint32_t * pulTaskPacKey ); #endif /* configENABLE_PAC */ - -/** - * @brief Configures interrupt priorities. - */ -void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ /** diff --git a/portable/GCC/ARM_CM23_NTZ/non_secure/port.c b/portable/GCC/ARM_CM23_NTZ/non_secure/port.c index 44a06555f..2bb4c1d44 100644 --- a/portable/GCC/ARM_CM23_NTZ/non_secure/port.c +++ b/portable/GCC/ARM_CM23_NTZ/non_secure/port.c @@ -550,6 +550,11 @@ portDONT_DISCARD void vPortSVCHandler_C( uint32_t * pulCallerStackAddress ) PRIV extern BaseType_t configWAKE_SECONDARY_CORES( void ); #endif /* #if ( configNUMBER_OF_CORES > 1 ) */ + +/** + * @brief Configures interrupt priorities. + */ +void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) ) diff --git a/portable/GCC/ARM_CM23_NTZ/non_secure/portmacrocommon.h b/portable/GCC/ARM_CM23_NTZ/non_secure/portmacrocommon.h index 8e602a1d0..f1f19b358 100644 --- a/portable/GCC/ARM_CM23_NTZ/non_secure/portmacrocommon.h +++ b/portable/GCC/ARM_CM23_NTZ/non_secure/portmacrocommon.h @@ -30,8 +30,6 @@ #ifndef PORTMACROCOMMON_H #define PORTMACROCOMMON_H -#include "mpu_wrappers.h" - /* *INDENT-OFF* */ #ifdef __cplusplus extern "C" { @@ -153,11 +151,6 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P void vApplicationGenerateTaskRandomPacKey( uint32_t * pulTaskPacKey ); #endif /* configENABLE_PAC */ - -/** - * @brief Configures interrupt priorities. - */ -void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ /** diff --git a/portable/GCC/ARM_CM33/non_secure/port.c b/portable/GCC/ARM_CM33/non_secure/port.c index 44a06555f..2bb4c1d44 100644 --- a/portable/GCC/ARM_CM33/non_secure/port.c +++ b/portable/GCC/ARM_CM33/non_secure/port.c @@ -550,6 +550,11 @@ portDONT_DISCARD void vPortSVCHandler_C( uint32_t * pulCallerStackAddress ) PRIV extern BaseType_t configWAKE_SECONDARY_CORES( void ); #endif /* #if ( configNUMBER_OF_CORES > 1 ) */ + +/** + * @brief Configures interrupt priorities. + */ +void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) ) diff --git a/portable/GCC/ARM_CM33/non_secure/portmacrocommon.h b/portable/GCC/ARM_CM33/non_secure/portmacrocommon.h index 8e602a1d0..f1f19b358 100644 --- a/portable/GCC/ARM_CM33/non_secure/portmacrocommon.h +++ b/portable/GCC/ARM_CM33/non_secure/portmacrocommon.h @@ -30,8 +30,6 @@ #ifndef PORTMACROCOMMON_H #define PORTMACROCOMMON_H -#include "mpu_wrappers.h" - /* *INDENT-OFF* */ #ifdef __cplusplus extern "C" { @@ -153,11 +151,6 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P void vApplicationGenerateTaskRandomPacKey( uint32_t * pulTaskPacKey ); #endif /* configENABLE_PAC */ - -/** - * @brief Configures interrupt priorities. - */ -void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ /** diff --git a/portable/GCC/ARM_CM33_NTZ/non_secure/port.c b/portable/GCC/ARM_CM33_NTZ/non_secure/port.c index 44a06555f..2bb4c1d44 100644 --- a/portable/GCC/ARM_CM33_NTZ/non_secure/port.c +++ b/portable/GCC/ARM_CM33_NTZ/non_secure/port.c @@ -550,6 +550,11 @@ portDONT_DISCARD void vPortSVCHandler_C( uint32_t * pulCallerStackAddress ) PRIV extern BaseType_t configWAKE_SECONDARY_CORES( void ); #endif /* #if ( configNUMBER_OF_CORES > 1 ) */ + +/** + * @brief Configures interrupt priorities. + */ +void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) ) diff --git a/portable/GCC/ARM_CM33_NTZ/non_secure/portmacrocommon.h b/portable/GCC/ARM_CM33_NTZ/non_secure/portmacrocommon.h index 8e602a1d0..f1f19b358 100644 --- a/portable/GCC/ARM_CM33_NTZ/non_secure/portmacrocommon.h +++ b/portable/GCC/ARM_CM33_NTZ/non_secure/portmacrocommon.h @@ -30,8 +30,6 @@ #ifndef PORTMACROCOMMON_H #define PORTMACROCOMMON_H -#include "mpu_wrappers.h" - /* *INDENT-OFF* */ #ifdef __cplusplus extern "C" { @@ -153,11 +151,6 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P void vApplicationGenerateTaskRandomPacKey( uint32_t * pulTaskPacKey ); #endif /* configENABLE_PAC */ - -/** - * @brief Configures interrupt priorities. - */ -void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ /** diff --git a/portable/GCC/ARM_CM35P/non_secure/port.c b/portable/GCC/ARM_CM35P/non_secure/port.c index 44a06555f..2bb4c1d44 100644 --- a/portable/GCC/ARM_CM35P/non_secure/port.c +++ b/portable/GCC/ARM_CM35P/non_secure/port.c @@ -550,6 +550,11 @@ portDONT_DISCARD void vPortSVCHandler_C( uint32_t * pulCallerStackAddress ) PRIV extern BaseType_t configWAKE_SECONDARY_CORES( void ); #endif /* #if ( configNUMBER_OF_CORES > 1 ) */ + +/** + * @brief Configures interrupt priorities. + */ +void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) ) diff --git a/portable/GCC/ARM_CM35P/non_secure/portmacrocommon.h b/portable/GCC/ARM_CM35P/non_secure/portmacrocommon.h index 8e602a1d0..f1f19b358 100644 --- a/portable/GCC/ARM_CM35P/non_secure/portmacrocommon.h +++ b/portable/GCC/ARM_CM35P/non_secure/portmacrocommon.h @@ -30,8 +30,6 @@ #ifndef PORTMACROCOMMON_H #define PORTMACROCOMMON_H -#include "mpu_wrappers.h" - /* *INDENT-OFF* */ #ifdef __cplusplus extern "C" { @@ -153,11 +151,6 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P void vApplicationGenerateTaskRandomPacKey( uint32_t * pulTaskPacKey ); #endif /* configENABLE_PAC */ - -/** - * @brief Configures interrupt priorities. - */ -void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ /** diff --git a/portable/GCC/ARM_CM35P_NTZ/non_secure/port.c b/portable/GCC/ARM_CM35P_NTZ/non_secure/port.c index 44a06555f..2bb4c1d44 100644 --- a/portable/GCC/ARM_CM35P_NTZ/non_secure/port.c +++ b/portable/GCC/ARM_CM35P_NTZ/non_secure/port.c @@ -550,6 +550,11 @@ portDONT_DISCARD void vPortSVCHandler_C( uint32_t * pulCallerStackAddress ) PRIV extern BaseType_t configWAKE_SECONDARY_CORES( void ); #endif /* #if ( configNUMBER_OF_CORES > 1 ) */ + +/** + * @brief Configures interrupt priorities. + */ +void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) ) diff --git a/portable/GCC/ARM_CM35P_NTZ/non_secure/portmacrocommon.h b/portable/GCC/ARM_CM35P_NTZ/non_secure/portmacrocommon.h index 8e602a1d0..f1f19b358 100644 --- a/portable/GCC/ARM_CM35P_NTZ/non_secure/portmacrocommon.h +++ b/portable/GCC/ARM_CM35P_NTZ/non_secure/portmacrocommon.h @@ -30,8 +30,6 @@ #ifndef PORTMACROCOMMON_H #define PORTMACROCOMMON_H -#include "mpu_wrappers.h" - /* *INDENT-OFF* */ #ifdef __cplusplus extern "C" { @@ -153,11 +151,6 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P void vApplicationGenerateTaskRandomPacKey( uint32_t * pulTaskPacKey ); #endif /* configENABLE_PAC */ - -/** - * @brief Configures interrupt priorities. - */ -void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ /** diff --git a/portable/GCC/ARM_CM52/non_secure/port.c b/portable/GCC/ARM_CM52/non_secure/port.c index 44a06555f..2bb4c1d44 100644 --- a/portable/GCC/ARM_CM52/non_secure/port.c +++ b/portable/GCC/ARM_CM52/non_secure/port.c @@ -550,6 +550,11 @@ portDONT_DISCARD void vPortSVCHandler_C( uint32_t * pulCallerStackAddress ) PRIV extern BaseType_t configWAKE_SECONDARY_CORES( void ); #endif /* #if ( configNUMBER_OF_CORES > 1 ) */ + +/** + * @brief Configures interrupt priorities. + */ +void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) ) diff --git a/portable/GCC/ARM_CM52/non_secure/portmacrocommon.h b/portable/GCC/ARM_CM52/non_secure/portmacrocommon.h index 8e602a1d0..f1f19b358 100644 --- a/portable/GCC/ARM_CM52/non_secure/portmacrocommon.h +++ b/portable/GCC/ARM_CM52/non_secure/portmacrocommon.h @@ -30,8 +30,6 @@ #ifndef PORTMACROCOMMON_H #define PORTMACROCOMMON_H -#include "mpu_wrappers.h" - /* *INDENT-OFF* */ #ifdef __cplusplus extern "C" { @@ -153,11 +151,6 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P void vApplicationGenerateTaskRandomPacKey( uint32_t * pulTaskPacKey ); #endif /* configENABLE_PAC */ - -/** - * @brief Configures interrupt priorities. - */ -void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ /** diff --git a/portable/GCC/ARM_CM52_NTZ/non_secure/port.c b/portable/GCC/ARM_CM52_NTZ/non_secure/port.c index 44a06555f..2bb4c1d44 100644 --- a/portable/GCC/ARM_CM52_NTZ/non_secure/port.c +++ b/portable/GCC/ARM_CM52_NTZ/non_secure/port.c @@ -550,6 +550,11 @@ portDONT_DISCARD void vPortSVCHandler_C( uint32_t * pulCallerStackAddress ) PRIV extern BaseType_t configWAKE_SECONDARY_CORES( void ); #endif /* #if ( configNUMBER_OF_CORES > 1 ) */ + +/** + * @brief Configures interrupt priorities. + */ +void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) ) diff --git a/portable/GCC/ARM_CM52_NTZ/non_secure/portmacrocommon.h b/portable/GCC/ARM_CM52_NTZ/non_secure/portmacrocommon.h index 8e602a1d0..f1f19b358 100644 --- a/portable/GCC/ARM_CM52_NTZ/non_secure/portmacrocommon.h +++ b/portable/GCC/ARM_CM52_NTZ/non_secure/portmacrocommon.h @@ -30,8 +30,6 @@ #ifndef PORTMACROCOMMON_H #define PORTMACROCOMMON_H -#include "mpu_wrappers.h" - /* *INDENT-OFF* */ #ifdef __cplusplus extern "C" { @@ -153,11 +151,6 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P void vApplicationGenerateTaskRandomPacKey( uint32_t * pulTaskPacKey ); #endif /* configENABLE_PAC */ - -/** - * @brief Configures interrupt priorities. - */ -void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ /** diff --git a/portable/GCC/ARM_CM55/non_secure/port.c b/portable/GCC/ARM_CM55/non_secure/port.c index 44a06555f..2bb4c1d44 100644 --- a/portable/GCC/ARM_CM55/non_secure/port.c +++ b/portable/GCC/ARM_CM55/non_secure/port.c @@ -550,6 +550,11 @@ portDONT_DISCARD void vPortSVCHandler_C( uint32_t * pulCallerStackAddress ) PRIV extern BaseType_t configWAKE_SECONDARY_CORES( void ); #endif /* #if ( configNUMBER_OF_CORES > 1 ) */ + +/** + * @brief Configures interrupt priorities. + */ +void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) ) diff --git a/portable/GCC/ARM_CM55/non_secure/portmacrocommon.h b/portable/GCC/ARM_CM55/non_secure/portmacrocommon.h index 8e602a1d0..f1f19b358 100644 --- a/portable/GCC/ARM_CM55/non_secure/portmacrocommon.h +++ b/portable/GCC/ARM_CM55/non_secure/portmacrocommon.h @@ -30,8 +30,6 @@ #ifndef PORTMACROCOMMON_H #define PORTMACROCOMMON_H -#include "mpu_wrappers.h" - /* *INDENT-OFF* */ #ifdef __cplusplus extern "C" { @@ -153,11 +151,6 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P void vApplicationGenerateTaskRandomPacKey( uint32_t * pulTaskPacKey ); #endif /* configENABLE_PAC */ - -/** - * @brief Configures interrupt priorities. - */ -void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ /** diff --git a/portable/GCC/ARM_CM55_NTZ/non_secure/port.c b/portable/GCC/ARM_CM55_NTZ/non_secure/port.c index 44a06555f..2bb4c1d44 100644 --- a/portable/GCC/ARM_CM55_NTZ/non_secure/port.c +++ b/portable/GCC/ARM_CM55_NTZ/non_secure/port.c @@ -550,6 +550,11 @@ portDONT_DISCARD void vPortSVCHandler_C( uint32_t * pulCallerStackAddress ) PRIV extern BaseType_t configWAKE_SECONDARY_CORES( void ); #endif /* #if ( configNUMBER_OF_CORES > 1 ) */ + +/** + * @brief Configures interrupt priorities. + */ +void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) ) diff --git a/portable/GCC/ARM_CM55_NTZ/non_secure/portmacrocommon.h b/portable/GCC/ARM_CM55_NTZ/non_secure/portmacrocommon.h index 8e602a1d0..f1f19b358 100644 --- a/portable/GCC/ARM_CM55_NTZ/non_secure/portmacrocommon.h +++ b/portable/GCC/ARM_CM55_NTZ/non_secure/portmacrocommon.h @@ -30,8 +30,6 @@ #ifndef PORTMACROCOMMON_H #define PORTMACROCOMMON_H -#include "mpu_wrappers.h" - /* *INDENT-OFF* */ #ifdef __cplusplus extern "C" { @@ -153,11 +151,6 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P void vApplicationGenerateTaskRandomPacKey( uint32_t * pulTaskPacKey ); #endif /* configENABLE_PAC */ - -/** - * @brief Configures interrupt priorities. - */ -void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ /** diff --git a/portable/GCC/ARM_CM85/non_secure/port.c b/portable/GCC/ARM_CM85/non_secure/port.c index 44a06555f..2bb4c1d44 100644 --- a/portable/GCC/ARM_CM85/non_secure/port.c +++ b/portable/GCC/ARM_CM85/non_secure/port.c @@ -550,6 +550,11 @@ portDONT_DISCARD void vPortSVCHandler_C( uint32_t * pulCallerStackAddress ) PRIV extern BaseType_t configWAKE_SECONDARY_CORES( void ); #endif /* #if ( configNUMBER_OF_CORES > 1 ) */ + +/** + * @brief Configures interrupt priorities. + */ +void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) ) diff --git a/portable/GCC/ARM_CM85/non_secure/portmacrocommon.h b/portable/GCC/ARM_CM85/non_secure/portmacrocommon.h index 8e602a1d0..f1f19b358 100644 --- a/portable/GCC/ARM_CM85/non_secure/portmacrocommon.h +++ b/portable/GCC/ARM_CM85/non_secure/portmacrocommon.h @@ -30,8 +30,6 @@ #ifndef PORTMACROCOMMON_H #define PORTMACROCOMMON_H -#include "mpu_wrappers.h" - /* *INDENT-OFF* */ #ifdef __cplusplus extern "C" { @@ -153,11 +151,6 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P void vApplicationGenerateTaskRandomPacKey( uint32_t * pulTaskPacKey ); #endif /* configENABLE_PAC */ - -/** - * @brief Configures interrupt priorities. - */ -void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ /** diff --git a/portable/GCC/ARM_CM85_NTZ/non_secure/port.c b/portable/GCC/ARM_CM85_NTZ/non_secure/port.c index 44a06555f..2bb4c1d44 100644 --- a/portable/GCC/ARM_CM85_NTZ/non_secure/port.c +++ b/portable/GCC/ARM_CM85_NTZ/non_secure/port.c @@ -550,6 +550,11 @@ portDONT_DISCARD void vPortSVCHandler_C( uint32_t * pulCallerStackAddress ) PRIV extern BaseType_t configWAKE_SECONDARY_CORES( void ); #endif /* #if ( configNUMBER_OF_CORES > 1 ) */ + +/** + * @brief Configures interrupt priorities. + */ +void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) ) diff --git a/portable/GCC/ARM_CM85_NTZ/non_secure/portmacrocommon.h b/portable/GCC/ARM_CM85_NTZ/non_secure/portmacrocommon.h index 8e602a1d0..f1f19b358 100644 --- a/portable/GCC/ARM_CM85_NTZ/non_secure/portmacrocommon.h +++ b/portable/GCC/ARM_CM85_NTZ/non_secure/portmacrocommon.h @@ -30,8 +30,6 @@ #ifndef PORTMACROCOMMON_H #define PORTMACROCOMMON_H -#include "mpu_wrappers.h" - /* *INDENT-OFF* */ #ifdef __cplusplus extern "C" { @@ -153,11 +151,6 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P void vApplicationGenerateTaskRandomPacKey( uint32_t * pulTaskPacKey ); #endif /* configENABLE_PAC */ - -/** - * @brief Configures interrupt priorities. - */ -void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ /** diff --git a/portable/GCC/ARM_STAR_MC3/non_secure/port.c b/portable/GCC/ARM_STAR_MC3/non_secure/port.c index 44a06555f..2bb4c1d44 100644 --- a/portable/GCC/ARM_STAR_MC3/non_secure/port.c +++ b/portable/GCC/ARM_STAR_MC3/non_secure/port.c @@ -550,6 +550,11 @@ portDONT_DISCARD void vPortSVCHandler_C( uint32_t * pulCallerStackAddress ) PRIV extern BaseType_t configWAKE_SECONDARY_CORES( void ); #endif /* #if ( configNUMBER_OF_CORES > 1 ) */ + +/** + * @brief Configures interrupt priorities. + */ +void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) ) diff --git a/portable/GCC/ARM_STAR_MC3/non_secure/portmacrocommon.h b/portable/GCC/ARM_STAR_MC3/non_secure/portmacrocommon.h index 8e602a1d0..f1f19b358 100644 --- a/portable/GCC/ARM_STAR_MC3/non_secure/portmacrocommon.h +++ b/portable/GCC/ARM_STAR_MC3/non_secure/portmacrocommon.h @@ -30,8 +30,6 @@ #ifndef PORTMACROCOMMON_H #define PORTMACROCOMMON_H -#include "mpu_wrappers.h" - /* *INDENT-OFF* */ #ifdef __cplusplus extern "C" { @@ -153,11 +151,6 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P void vApplicationGenerateTaskRandomPacKey( uint32_t * pulTaskPacKey ); #endif /* configENABLE_PAC */ - -/** - * @brief Configures interrupt priorities. - */ -void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ /** diff --git a/portable/GCC/ARM_STAR_MC3_NTZ/non_secure/port.c b/portable/GCC/ARM_STAR_MC3_NTZ/non_secure/port.c index 44a06555f..2bb4c1d44 100644 --- a/portable/GCC/ARM_STAR_MC3_NTZ/non_secure/port.c +++ b/portable/GCC/ARM_STAR_MC3_NTZ/non_secure/port.c @@ -550,6 +550,11 @@ portDONT_DISCARD void vPortSVCHandler_C( uint32_t * pulCallerStackAddress ) PRIV extern BaseType_t configWAKE_SECONDARY_CORES( void ); #endif /* #if ( configNUMBER_OF_CORES > 1 ) */ + +/** + * @brief Configures interrupt priorities. + */ +void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) ) diff --git a/portable/GCC/ARM_STAR_MC3_NTZ/non_secure/portmacrocommon.h b/portable/GCC/ARM_STAR_MC3_NTZ/non_secure/portmacrocommon.h index 8e602a1d0..f1f19b358 100644 --- a/portable/GCC/ARM_STAR_MC3_NTZ/non_secure/portmacrocommon.h +++ b/portable/GCC/ARM_STAR_MC3_NTZ/non_secure/portmacrocommon.h @@ -30,8 +30,6 @@ #ifndef PORTMACROCOMMON_H #define PORTMACROCOMMON_H -#include "mpu_wrappers.h" - /* *INDENT-OFF* */ #ifdef __cplusplus extern "C" { @@ -153,11 +151,6 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P void vApplicationGenerateTaskRandomPacKey( uint32_t * pulTaskPacKey ); #endif /* configENABLE_PAC */ - -/** - * @brief Configures interrupt priorities. - */ -void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ /** diff --git a/portable/IAR/ARM_CM23/non_secure/port.c b/portable/IAR/ARM_CM23/non_secure/port.c index 44a06555f..2bb4c1d44 100644 --- a/portable/IAR/ARM_CM23/non_secure/port.c +++ b/portable/IAR/ARM_CM23/non_secure/port.c @@ -550,6 +550,11 @@ portDONT_DISCARD void vPortSVCHandler_C( uint32_t * pulCallerStackAddress ) PRIV extern BaseType_t configWAKE_SECONDARY_CORES( void ); #endif /* #if ( configNUMBER_OF_CORES > 1 ) */ + +/** + * @brief Configures interrupt priorities. + */ +void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) ) diff --git a/portable/IAR/ARM_CM23/non_secure/portmacrocommon.h b/portable/IAR/ARM_CM23/non_secure/portmacrocommon.h index 8e602a1d0..f1f19b358 100644 --- a/portable/IAR/ARM_CM23/non_secure/portmacrocommon.h +++ b/portable/IAR/ARM_CM23/non_secure/portmacrocommon.h @@ -30,8 +30,6 @@ #ifndef PORTMACROCOMMON_H #define PORTMACROCOMMON_H -#include "mpu_wrappers.h" - /* *INDENT-OFF* */ #ifdef __cplusplus extern "C" { @@ -153,11 +151,6 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P void vApplicationGenerateTaskRandomPacKey( uint32_t * pulTaskPacKey ); #endif /* configENABLE_PAC */ - -/** - * @brief Configures interrupt priorities. - */ -void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ /** diff --git a/portable/IAR/ARM_CM23_NTZ/non_secure/port.c b/portable/IAR/ARM_CM23_NTZ/non_secure/port.c index 44a06555f..2bb4c1d44 100644 --- a/portable/IAR/ARM_CM23_NTZ/non_secure/port.c +++ b/portable/IAR/ARM_CM23_NTZ/non_secure/port.c @@ -550,6 +550,11 @@ portDONT_DISCARD void vPortSVCHandler_C( uint32_t * pulCallerStackAddress ) PRIV extern BaseType_t configWAKE_SECONDARY_CORES( void ); #endif /* #if ( configNUMBER_OF_CORES > 1 ) */ + +/** + * @brief Configures interrupt priorities. + */ +void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) ) diff --git a/portable/IAR/ARM_CM23_NTZ/non_secure/portmacrocommon.h b/portable/IAR/ARM_CM23_NTZ/non_secure/portmacrocommon.h index 8e602a1d0..f1f19b358 100644 --- a/portable/IAR/ARM_CM23_NTZ/non_secure/portmacrocommon.h +++ b/portable/IAR/ARM_CM23_NTZ/non_secure/portmacrocommon.h @@ -30,8 +30,6 @@ #ifndef PORTMACROCOMMON_H #define PORTMACROCOMMON_H -#include "mpu_wrappers.h" - /* *INDENT-OFF* */ #ifdef __cplusplus extern "C" { @@ -153,11 +151,6 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P void vApplicationGenerateTaskRandomPacKey( uint32_t * pulTaskPacKey ); #endif /* configENABLE_PAC */ - -/** - * @brief Configures interrupt priorities. - */ -void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ /** diff --git a/portable/IAR/ARM_CM33/non_secure/port.c b/portable/IAR/ARM_CM33/non_secure/port.c index 44a06555f..2bb4c1d44 100644 --- a/portable/IAR/ARM_CM33/non_secure/port.c +++ b/portable/IAR/ARM_CM33/non_secure/port.c @@ -550,6 +550,11 @@ portDONT_DISCARD void vPortSVCHandler_C( uint32_t * pulCallerStackAddress ) PRIV extern BaseType_t configWAKE_SECONDARY_CORES( void ); #endif /* #if ( configNUMBER_OF_CORES > 1 ) */ + +/** + * @brief Configures interrupt priorities. + */ +void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) ) diff --git a/portable/IAR/ARM_CM33/non_secure/portmacrocommon.h b/portable/IAR/ARM_CM33/non_secure/portmacrocommon.h index 8e602a1d0..f1f19b358 100644 --- a/portable/IAR/ARM_CM33/non_secure/portmacrocommon.h +++ b/portable/IAR/ARM_CM33/non_secure/portmacrocommon.h @@ -30,8 +30,6 @@ #ifndef PORTMACROCOMMON_H #define PORTMACROCOMMON_H -#include "mpu_wrappers.h" - /* *INDENT-OFF* */ #ifdef __cplusplus extern "C" { @@ -153,11 +151,6 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P void vApplicationGenerateTaskRandomPacKey( uint32_t * pulTaskPacKey ); #endif /* configENABLE_PAC */ - -/** - * @brief Configures interrupt priorities. - */ -void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ /** diff --git a/portable/IAR/ARM_CM33_NTZ/non_secure/port.c b/portable/IAR/ARM_CM33_NTZ/non_secure/port.c index 44a06555f..2bb4c1d44 100644 --- a/portable/IAR/ARM_CM33_NTZ/non_secure/port.c +++ b/portable/IAR/ARM_CM33_NTZ/non_secure/port.c @@ -550,6 +550,11 @@ portDONT_DISCARD void vPortSVCHandler_C( uint32_t * pulCallerStackAddress ) PRIV extern BaseType_t configWAKE_SECONDARY_CORES( void ); #endif /* #if ( configNUMBER_OF_CORES > 1 ) */ + +/** + * @brief Configures interrupt priorities. + */ +void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) ) diff --git a/portable/IAR/ARM_CM33_NTZ/non_secure/portmacrocommon.h b/portable/IAR/ARM_CM33_NTZ/non_secure/portmacrocommon.h index 8e602a1d0..f1f19b358 100644 --- a/portable/IAR/ARM_CM33_NTZ/non_secure/portmacrocommon.h +++ b/portable/IAR/ARM_CM33_NTZ/non_secure/portmacrocommon.h @@ -30,8 +30,6 @@ #ifndef PORTMACROCOMMON_H #define PORTMACROCOMMON_H -#include "mpu_wrappers.h" - /* *INDENT-OFF* */ #ifdef __cplusplus extern "C" { @@ -153,11 +151,6 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P void vApplicationGenerateTaskRandomPacKey( uint32_t * pulTaskPacKey ); #endif /* configENABLE_PAC */ - -/** - * @brief Configures interrupt priorities. - */ -void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ /** diff --git a/portable/IAR/ARM_CM35P/non_secure/port.c b/portable/IAR/ARM_CM35P/non_secure/port.c index 44a06555f..2bb4c1d44 100644 --- a/portable/IAR/ARM_CM35P/non_secure/port.c +++ b/portable/IAR/ARM_CM35P/non_secure/port.c @@ -550,6 +550,11 @@ portDONT_DISCARD void vPortSVCHandler_C( uint32_t * pulCallerStackAddress ) PRIV extern BaseType_t configWAKE_SECONDARY_CORES( void ); #endif /* #if ( configNUMBER_OF_CORES > 1 ) */ + +/** + * @brief Configures interrupt priorities. + */ +void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) ) diff --git a/portable/IAR/ARM_CM35P/non_secure/portmacrocommon.h b/portable/IAR/ARM_CM35P/non_secure/portmacrocommon.h index 8e602a1d0..f1f19b358 100644 --- a/portable/IAR/ARM_CM35P/non_secure/portmacrocommon.h +++ b/portable/IAR/ARM_CM35P/non_secure/portmacrocommon.h @@ -30,8 +30,6 @@ #ifndef PORTMACROCOMMON_H #define PORTMACROCOMMON_H -#include "mpu_wrappers.h" - /* *INDENT-OFF* */ #ifdef __cplusplus extern "C" { @@ -153,11 +151,6 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P void vApplicationGenerateTaskRandomPacKey( uint32_t * pulTaskPacKey ); #endif /* configENABLE_PAC */ - -/** - * @brief Configures interrupt priorities. - */ -void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ /** diff --git a/portable/IAR/ARM_CM35P_NTZ/non_secure/port.c b/portable/IAR/ARM_CM35P_NTZ/non_secure/port.c index 44a06555f..2bb4c1d44 100644 --- a/portable/IAR/ARM_CM35P_NTZ/non_secure/port.c +++ b/portable/IAR/ARM_CM35P_NTZ/non_secure/port.c @@ -550,6 +550,11 @@ portDONT_DISCARD void vPortSVCHandler_C( uint32_t * pulCallerStackAddress ) PRIV extern BaseType_t configWAKE_SECONDARY_CORES( void ); #endif /* #if ( configNUMBER_OF_CORES > 1 ) */ + +/** + * @brief Configures interrupt priorities. + */ +void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) ) diff --git a/portable/IAR/ARM_CM35P_NTZ/non_secure/portmacrocommon.h b/portable/IAR/ARM_CM35P_NTZ/non_secure/portmacrocommon.h index 8e602a1d0..f1f19b358 100644 --- a/portable/IAR/ARM_CM35P_NTZ/non_secure/portmacrocommon.h +++ b/portable/IAR/ARM_CM35P_NTZ/non_secure/portmacrocommon.h @@ -30,8 +30,6 @@ #ifndef PORTMACROCOMMON_H #define PORTMACROCOMMON_H -#include "mpu_wrappers.h" - /* *INDENT-OFF* */ #ifdef __cplusplus extern "C" { @@ -153,11 +151,6 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P void vApplicationGenerateTaskRandomPacKey( uint32_t * pulTaskPacKey ); #endif /* configENABLE_PAC */ - -/** - * @brief Configures interrupt priorities. - */ -void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ /** diff --git a/portable/IAR/ARM_CM52/non_secure/port.c b/portable/IAR/ARM_CM52/non_secure/port.c index 44a06555f..2bb4c1d44 100644 --- a/portable/IAR/ARM_CM52/non_secure/port.c +++ b/portable/IAR/ARM_CM52/non_secure/port.c @@ -550,6 +550,11 @@ portDONT_DISCARD void vPortSVCHandler_C( uint32_t * pulCallerStackAddress ) PRIV extern BaseType_t configWAKE_SECONDARY_CORES( void ); #endif /* #if ( configNUMBER_OF_CORES > 1 ) */ + +/** + * @brief Configures interrupt priorities. + */ +void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) ) diff --git a/portable/IAR/ARM_CM52/non_secure/portmacrocommon.h b/portable/IAR/ARM_CM52/non_secure/portmacrocommon.h index 8e602a1d0..f1f19b358 100644 --- a/portable/IAR/ARM_CM52/non_secure/portmacrocommon.h +++ b/portable/IAR/ARM_CM52/non_secure/portmacrocommon.h @@ -30,8 +30,6 @@ #ifndef PORTMACROCOMMON_H #define PORTMACROCOMMON_H -#include "mpu_wrappers.h" - /* *INDENT-OFF* */ #ifdef __cplusplus extern "C" { @@ -153,11 +151,6 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P void vApplicationGenerateTaskRandomPacKey( uint32_t * pulTaskPacKey ); #endif /* configENABLE_PAC */ - -/** - * @brief Configures interrupt priorities. - */ -void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ /** diff --git a/portable/IAR/ARM_CM52_NTZ/non_secure/port.c b/portable/IAR/ARM_CM52_NTZ/non_secure/port.c index 44a06555f..2bb4c1d44 100644 --- a/portable/IAR/ARM_CM52_NTZ/non_secure/port.c +++ b/portable/IAR/ARM_CM52_NTZ/non_secure/port.c @@ -550,6 +550,11 @@ portDONT_DISCARD void vPortSVCHandler_C( uint32_t * pulCallerStackAddress ) PRIV extern BaseType_t configWAKE_SECONDARY_CORES( void ); #endif /* #if ( configNUMBER_OF_CORES > 1 ) */ + +/** + * @brief Configures interrupt priorities. + */ +void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) ) diff --git a/portable/IAR/ARM_CM52_NTZ/non_secure/portmacrocommon.h b/portable/IAR/ARM_CM52_NTZ/non_secure/portmacrocommon.h index 8e602a1d0..f1f19b358 100644 --- a/portable/IAR/ARM_CM52_NTZ/non_secure/portmacrocommon.h +++ b/portable/IAR/ARM_CM52_NTZ/non_secure/portmacrocommon.h @@ -30,8 +30,6 @@ #ifndef PORTMACROCOMMON_H #define PORTMACROCOMMON_H -#include "mpu_wrappers.h" - /* *INDENT-OFF* */ #ifdef __cplusplus extern "C" { @@ -153,11 +151,6 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P void vApplicationGenerateTaskRandomPacKey( uint32_t * pulTaskPacKey ); #endif /* configENABLE_PAC */ - -/** - * @brief Configures interrupt priorities. - */ -void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ /** diff --git a/portable/IAR/ARM_CM55/non_secure/port.c b/portable/IAR/ARM_CM55/non_secure/port.c index 44a06555f..2bb4c1d44 100644 --- a/portable/IAR/ARM_CM55/non_secure/port.c +++ b/portable/IAR/ARM_CM55/non_secure/port.c @@ -550,6 +550,11 @@ portDONT_DISCARD void vPortSVCHandler_C( uint32_t * pulCallerStackAddress ) PRIV extern BaseType_t configWAKE_SECONDARY_CORES( void ); #endif /* #if ( configNUMBER_OF_CORES > 1 ) */ + +/** + * @brief Configures interrupt priorities. + */ +void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) ) diff --git a/portable/IAR/ARM_CM55/non_secure/portmacrocommon.h b/portable/IAR/ARM_CM55/non_secure/portmacrocommon.h index 8e602a1d0..f1f19b358 100644 --- a/portable/IAR/ARM_CM55/non_secure/portmacrocommon.h +++ b/portable/IAR/ARM_CM55/non_secure/portmacrocommon.h @@ -30,8 +30,6 @@ #ifndef PORTMACROCOMMON_H #define PORTMACROCOMMON_H -#include "mpu_wrappers.h" - /* *INDENT-OFF* */ #ifdef __cplusplus extern "C" { @@ -153,11 +151,6 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P void vApplicationGenerateTaskRandomPacKey( uint32_t * pulTaskPacKey ); #endif /* configENABLE_PAC */ - -/** - * @brief Configures interrupt priorities. - */ -void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ /** diff --git a/portable/IAR/ARM_CM55_NTZ/non_secure/port.c b/portable/IAR/ARM_CM55_NTZ/non_secure/port.c index 44a06555f..2bb4c1d44 100644 --- a/portable/IAR/ARM_CM55_NTZ/non_secure/port.c +++ b/portable/IAR/ARM_CM55_NTZ/non_secure/port.c @@ -550,6 +550,11 @@ portDONT_DISCARD void vPortSVCHandler_C( uint32_t * pulCallerStackAddress ) PRIV extern BaseType_t configWAKE_SECONDARY_CORES( void ); #endif /* #if ( configNUMBER_OF_CORES > 1 ) */ + +/** + * @brief Configures interrupt priorities. + */ +void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) ) diff --git a/portable/IAR/ARM_CM55_NTZ/non_secure/portmacrocommon.h b/portable/IAR/ARM_CM55_NTZ/non_secure/portmacrocommon.h index 8e602a1d0..f1f19b358 100644 --- a/portable/IAR/ARM_CM55_NTZ/non_secure/portmacrocommon.h +++ b/portable/IAR/ARM_CM55_NTZ/non_secure/portmacrocommon.h @@ -30,8 +30,6 @@ #ifndef PORTMACROCOMMON_H #define PORTMACROCOMMON_H -#include "mpu_wrappers.h" - /* *INDENT-OFF* */ #ifdef __cplusplus extern "C" { @@ -153,11 +151,6 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P void vApplicationGenerateTaskRandomPacKey( uint32_t * pulTaskPacKey ); #endif /* configENABLE_PAC */ - -/** - * @brief Configures interrupt priorities. - */ -void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ /** diff --git a/portable/IAR/ARM_CM85/non_secure/port.c b/portable/IAR/ARM_CM85/non_secure/port.c index 44a06555f..2bb4c1d44 100644 --- a/portable/IAR/ARM_CM85/non_secure/port.c +++ b/portable/IAR/ARM_CM85/non_secure/port.c @@ -550,6 +550,11 @@ portDONT_DISCARD void vPortSVCHandler_C( uint32_t * pulCallerStackAddress ) PRIV extern BaseType_t configWAKE_SECONDARY_CORES( void ); #endif /* #if ( configNUMBER_OF_CORES > 1 ) */ + +/** + * @brief Configures interrupt priorities. + */ +void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) ) diff --git a/portable/IAR/ARM_CM85/non_secure/portmacrocommon.h b/portable/IAR/ARM_CM85/non_secure/portmacrocommon.h index 8e602a1d0..f1f19b358 100644 --- a/portable/IAR/ARM_CM85/non_secure/portmacrocommon.h +++ b/portable/IAR/ARM_CM85/non_secure/portmacrocommon.h @@ -30,8 +30,6 @@ #ifndef PORTMACROCOMMON_H #define PORTMACROCOMMON_H -#include "mpu_wrappers.h" - /* *INDENT-OFF* */ #ifdef __cplusplus extern "C" { @@ -153,11 +151,6 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P void vApplicationGenerateTaskRandomPacKey( uint32_t * pulTaskPacKey ); #endif /* configENABLE_PAC */ - -/** - * @brief Configures interrupt priorities. - */ -void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ /** diff --git a/portable/IAR/ARM_CM85_NTZ/non_secure/port.c b/portable/IAR/ARM_CM85_NTZ/non_secure/port.c index 44a06555f..2bb4c1d44 100644 --- a/portable/IAR/ARM_CM85_NTZ/non_secure/port.c +++ b/portable/IAR/ARM_CM85_NTZ/non_secure/port.c @@ -550,6 +550,11 @@ portDONT_DISCARD void vPortSVCHandler_C( uint32_t * pulCallerStackAddress ) PRIV extern BaseType_t configWAKE_SECONDARY_CORES( void ); #endif /* #if ( configNUMBER_OF_CORES > 1 ) */ + +/** + * @brief Configures interrupt priorities. + */ +void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) ) diff --git a/portable/IAR/ARM_CM85_NTZ/non_secure/portmacrocommon.h b/portable/IAR/ARM_CM85_NTZ/non_secure/portmacrocommon.h index 8e602a1d0..f1f19b358 100644 --- a/portable/IAR/ARM_CM85_NTZ/non_secure/portmacrocommon.h +++ b/portable/IAR/ARM_CM85_NTZ/non_secure/portmacrocommon.h @@ -30,8 +30,6 @@ #ifndef PORTMACROCOMMON_H #define PORTMACROCOMMON_H -#include "mpu_wrappers.h" - /* *INDENT-OFF* */ #ifdef __cplusplus extern "C" { @@ -153,11 +151,6 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P void vApplicationGenerateTaskRandomPacKey( uint32_t * pulTaskPacKey ); #endif /* configENABLE_PAC */ - -/** - * @brief Configures interrupt priorities. - */ -void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ /** diff --git a/portable/IAR/ARM_STAR_MC3/non_secure/port.c b/portable/IAR/ARM_STAR_MC3/non_secure/port.c index 44a06555f..2bb4c1d44 100644 --- a/portable/IAR/ARM_STAR_MC3/non_secure/port.c +++ b/portable/IAR/ARM_STAR_MC3/non_secure/port.c @@ -550,6 +550,11 @@ portDONT_DISCARD void vPortSVCHandler_C( uint32_t * pulCallerStackAddress ) PRIV extern BaseType_t configWAKE_SECONDARY_CORES( void ); #endif /* #if ( configNUMBER_OF_CORES > 1 ) */ + +/** + * @brief Configures interrupt priorities. + */ +void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) ) diff --git a/portable/IAR/ARM_STAR_MC3/non_secure/portmacrocommon.h b/portable/IAR/ARM_STAR_MC3/non_secure/portmacrocommon.h index 8e602a1d0..f1f19b358 100644 --- a/portable/IAR/ARM_STAR_MC3/non_secure/portmacrocommon.h +++ b/portable/IAR/ARM_STAR_MC3/non_secure/portmacrocommon.h @@ -30,8 +30,6 @@ #ifndef PORTMACROCOMMON_H #define PORTMACROCOMMON_H -#include "mpu_wrappers.h" - /* *INDENT-OFF* */ #ifdef __cplusplus extern "C" { @@ -153,11 +151,6 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P void vApplicationGenerateTaskRandomPacKey( uint32_t * pulTaskPacKey ); #endif /* configENABLE_PAC */ - -/** - * @brief Configures interrupt priorities. - */ -void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ /** diff --git a/portable/IAR/ARM_STAR_MC3_NTZ/non_secure/port.c b/portable/IAR/ARM_STAR_MC3_NTZ/non_secure/port.c index 44a06555f..2bb4c1d44 100644 --- a/portable/IAR/ARM_STAR_MC3_NTZ/non_secure/port.c +++ b/portable/IAR/ARM_STAR_MC3_NTZ/non_secure/port.c @@ -550,6 +550,11 @@ portDONT_DISCARD void vPortSVCHandler_C( uint32_t * pulCallerStackAddress ) PRIV extern BaseType_t configWAKE_SECONDARY_CORES( void ); #endif /* #if ( configNUMBER_OF_CORES > 1 ) */ + +/** + * @brief Configures interrupt priorities. + */ +void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) ) diff --git a/portable/IAR/ARM_STAR_MC3_NTZ/non_secure/portmacrocommon.h b/portable/IAR/ARM_STAR_MC3_NTZ/non_secure/portmacrocommon.h index 8e602a1d0..f1f19b358 100644 --- a/portable/IAR/ARM_STAR_MC3_NTZ/non_secure/portmacrocommon.h +++ b/portable/IAR/ARM_STAR_MC3_NTZ/non_secure/portmacrocommon.h @@ -30,8 +30,6 @@ #ifndef PORTMACROCOMMON_H #define PORTMACROCOMMON_H -#include "mpu_wrappers.h" - /* *INDENT-OFF* */ #ifdef __cplusplus extern "C" { @@ -153,11 +151,6 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P void vApplicationGenerateTaskRandomPacKey( uint32_t * pulTaskPacKey ); #endif /* configENABLE_PAC */ - -/** - * @brief Configures interrupt priorities. - */ -void vPortConfigureInterruptPriorities( void ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ /**