Skip to content

Commit fccbbce

Browse files
authored
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>
1 parent a5b5d9b commit fccbbce

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Cadence/Xtensa/xtensa_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
#include <stdint.h>
3838
#include <xtensa/hal.h>
3939

40-
#include "mpu_wrappers.h"
4140
#include "xtensa_context.h"
41+
#include "mpu_wrappers.h"
4242

4343

4444
/* Typedef for C-callable interrupt handler function */

Cadence/Xtensa/xtensa_config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@
225225
#define XT_L2RAM_SIXTEENTHS 8
226226
#define XT_L2CACHE_SIXTEENTHS 8
227227

228-
#define portMOVE_PRIVILEGED_DATA __attribute__( ( section( ".l2ram.bss" ) ) )
228+
#define PRIVILEGED_DATA __attribute__( ( section( ".l2ram.bss" ) ) )
229229
#endif
230230

231231
/**

0 commit comments

Comments
 (0)