Skip to content

Commit

Permalink
fix(armv8-r/mem): fix mem flag to allow guests decide cacheability attr
Browse files Browse the repository at this point in the history
Signed-off-by: Afonso Santos <afomms@gmail.com>
  • Loading branch information
AfonsoSantos96 authored and josecm committed May 23, 2024
1 parent d2d208f commit d8626c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/arch/armv8/armv8-r/inc/arch/mem.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ typedef union {
#define PTE_HYP_FLAGS PTE_FLAGS(PRBAR_AP_RW_EL2 | PRBAR_SH_IS, PRLAR_ATTR(1) | PRLAR_EN)
#define PTE_HYP_DEV_FLAGS \
PTE_FLAGS(PRBAR_XN | PRBAR_AP_RW_EL2 | PRBAR_SH_IS, PRLAR_ATTR(2) | PRLAR_EN)
#define PTE_VM_FLAGS PTE_FLAGS(PRBAR_AP_RW_EL1_EL2 | PRBAR_SH_IS, PRLAR_ATTR(1) | PRLAR_EN)
#define PTE_VM_FLAGS PTE_FLAGS(PRBAR_AP_RW_EL1_EL2 | PRBAR_SH_NS, PRLAR_ATTR(1) | PRLAR_EN)
#define PTE_VM_DEV_FLAGS \
PTE_FLAGS(PRBAR_XN | PRBAR_AP_RW_EL1_EL2 | PRBAR_SH_IS, PRLAR_ATTR(2) | PRLAR_EN)

Expand Down

0 comments on commit d8626c7

Please sign in to comment.