[rtems commit] arm: Fix AARCH32_PMSA_ATTR_XN value

Sebastian Huber sebh at rtems.org
Tue Jun 29 12:59:26 UTC 2021


Module:    rtems
Branch:    master
Commit:    9b84adb4aa7bfbd39cf8417863eae559426bfedb
Changeset: http://git.rtems.org/rtems/commit/?id=9b84adb4aa7bfbd39cf8417863eae559426bfedb

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Jun 24 13:11:21 2021 +0200

arm: Fix AARCH32_PMSA_ATTR_XN value

Update #4202.

---

 cpukit/score/cpu/arm/include/rtems/score/aarch32-pmsa.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpukit/score/cpu/arm/include/rtems/score/aarch32-pmsa.h b/cpukit/score/cpu/arm/include/rtems/score/aarch32-pmsa.h
index 7a6ceae..825a057 100644
--- a/cpukit/score/cpu/arm/include/rtems/score/aarch32-pmsa.h
+++ b/cpukit/score/cpu/arm/include/rtems/score/aarch32-pmsa.h
@@ -64,7 +64,7 @@ extern "C" {
 #define AARCH32_PMSA_ATTR_IDX( _idx ) \
   ( ( _idx ) << AARCH32_PMSA_ATTR_IDX_SHIFT )
 
-#define AARCH32_PMSA_ATTR_XN 0x6U
+#define AARCH32_PMSA_ATTR_XN 0x40U
 
 #define AARCH32_PMSA_ATTR_AP_SHIFT 7
 #define AARCH32_PMSA_ATTR_AP_MASK 0x18U



More information about the vc mailing list