Skip to content

Commit

Permalink
fix(armv8-r): mpu entry attributes
Browse files Browse the repository at this point in the history
Signed-off-by: David Cerdeira <[email protected]>
  • Loading branch information
DavidMCerdeira committed Aug 20, 2024
1 parent ae6a76d commit befbab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/arch/armv8/armv8-r/mpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ static inline mem_attrs_t mpu_entry_attrs(struct mp_region* mpr)
{
mem_flags_t flags = mpr->mem_flags;
flags.prbar &= PRBAR_MEM_ATTR_FLAGS_MSK;
flags.prbar &= PRLAR_MEM_ATTR_FLAGS_MSK;
flags.prlar &= PRLAR_MEM_ATTR_FLAGS_MSK;
return (mem_attrs_t)flags.raw;
}

Expand Down

0 comments on commit befbab1

Please sign in to comment.