Skip to content
Commit f587c5f0 authored by Abhishek Shah's avatar Abhishek Shah Committed by Johan Hedberg
Browse files

arch: arm64: mmu: Add zephyr execution regions



Add zephyr execution regions(text, rodata, data, noinit, bss, etc.)
with proper attributes to translation tables.
Linker script has been modified a little to align these sections to
minimum translation granule(4 kB).

With this in place, code cannot be overwritten accidently as it is
marked read only. Similarly, execution is prohibited from data/RW
section as it is marked execute-never.

Signed-off-by: default avatarAbhishek Shah <abhishek.shah@broadcom.com>
parent 10a05a16
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment