Skip to content
Commit 01d35752 authored by Marcin Szkudlinski's avatar Marcin Szkudlinski Committed by Henrik Brix Andersen
Browse files

mm: add sys_mm_drv_map_* functions with region check



the commit adds sys_mm_drv_map_page_safe and sys_mm_drv_map_region_safe
functions, wrappers for sys_mm_drv_map_region and sys_mm_drv_map_region,
with additional check if a mapped region fits into given memory range

Using of those prevents collisions and/or hijacking of virtual memory

Signed-off-by: default avatarMarcin Szkudlinski <marcin.szkudlinski@intel.com>
parent 3d461ee4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment