Cadence/Xtensa: Enabling XT_USE_L2RAM overrides PRIVILEGED_DATA (#32) - Removed portMOVE_PRIVILEGED_DATA config option after updates to mpu_wrappers.h - Improvement suggested via FreeRTOS-Kernel PR #1433 Signed-off-by: Ian Thompson <ianst@cadence.com>
diff --git a/Cadence/Xtensa/xtensa_api.h b/Cadence/Xtensa/xtensa_api.h index 02996e9..7042a78 100644 --- a/Cadence/Xtensa/xtensa_api.h +++ b/Cadence/Xtensa/xtensa_api.h
@@ -37,8 +37,8 @@ #include <stdint.h> #include <xtensa/hal.h> -#include "mpu_wrappers.h" #include "xtensa_context.h" +#include "mpu_wrappers.h" /* Typedef for C-callable interrupt handler function */
diff --git a/Cadence/Xtensa/xtensa_config.h b/Cadence/Xtensa/xtensa_config.h index 2fb42bb..69109ac 100644 --- a/Cadence/Xtensa/xtensa_config.h +++ b/Cadence/Xtensa/xtensa_config.h
@@ -225,7 +225,7 @@ #define XT_L2RAM_SIXTEENTHS 8 #define XT_L2CACHE_SIXTEENTHS 8 - #define portMOVE_PRIVILEGED_DATA __attribute__( ( section( ".l2ram.bss" ) ) ) + #define PRIVILEGED_DATA __attribute__( ( section( ".l2ram.bss" ) ) ) #endif /**