Skip to content
Commit fe48f5a9 authored by Daniel Leung's avatar Daniel Leung Committed by Anas Nashif
Browse files

kernel: mmu: always use before/after guard pages for k_mem_map()



When we start allowing unmapping of memory region, there is no
exact way to know if k_mem_map() is called with guard page option
specified or not. So just unconditionally enable guard pages on
both sides of the memory region to hopefully catch access
violations.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent cb0e3ede
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment