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

kernel: mm: introduce k_mem_phys_map()/_unmap()



This is similar to k_mem_map()/_unmap(). But instead of using
anonymous memory, the provided physical region is mapped
into virtual address instead. In addition to simple mapping
physical ro virtual addresses, the mapping also adds two
guard pages before and after the virtual region to catch
buffer under-/over-flow.

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