Skip to content
Commit 88ddce65 authored by Andrew Boie's avatar Andrew Boie Committed by Anas Nashif
Browse files

mmu: add CONFIG_SRAM_REGION_PERMISSIONS



If CONFIG_MMU is active, choose whether to separate text,
rodata, and ram into their own page-aligned regions so that
they have have different MMU permissions applied.

If disabled, all RAM pages will have RWX permission to
supervisor mode, but some memory may be saved due to lack
of page alignment padding between these regions.

This used to always happen. This patch adds the Kconfig,
linker script changes to come in a subsequent patch.

Signed-off-by: default avatarAndrew Boie <andrew.p.boie@intel.com>
parent fd07e255
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment