Skip to content

Commit

Permalink
arm64_mmu.h: Change ordering of access flags for user data
Browse files Browse the repository at this point in the history
This makes it more readable, no functional changes
  • Loading branch information
pussuw authored and xiaoxiang781216 committed Sep 10, 2024
1 parent 080f9ed commit eebff25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm64/src/common/arm64_mmu.h
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@
/* Flags for user FLASH (RX) and user RAM (RW) */

#define MMU_UTEXT_FLAGS (PTE_BLOCK_DESC_AP_RO | PTE_BLOCK_DESC_PXN | PTE_BLOCK_DESC_AP_USER | PTE_BLOCK_DESC_NG | MMU_MT_NORMAL_FLAGS)
#define MMU_UDATA_FLAGS (PTE_BLOCK_DESC_AP_RW | PTE_BLOCK_DESC_PXN | PTE_BLOCK_DESC_UXN | PTE_BLOCK_DESC_AP_USER | PTE_BLOCK_DESC_NG | MMU_MT_NORMAL_FLAGS)
#define MMU_UDATA_FLAGS (PTE_BLOCK_DESC_AP_RW | PTE_BLOCK_DESC_PXN | PTE_BLOCK_DESC_AP_USER | PTE_BLOCK_DESC_NG | PTE_BLOCK_DESC_UXN | MMU_MT_NORMAL_FLAGS)

/* I/O region flags */

Expand Down

0 comments on commit eebff25

Please sign in to comment.