1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-03 09:00:21 +00:00

Exclude memory from the /reserved-memory mappings with the no-map property

set. This memory must not be mapped by the operating system other than
under control of the device driver.

Obtained from:	ABT Systems Ltd
Sponsored by:	Turing Robotic Industries
This commit is contained in:
Andrew Turner 2018-05-24 14:55:50 +00:00
parent be37ee791f
commit c602678b57
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334155

View File

@ -1063,6 +1063,9 @@ initarm(struct arm64_bootparams *abp)
&physmap_idx);
arm_physmem_hardware_regions(mem_regions, mem_regions_sz);
}
if (fdt_get_reserved_mem(mem_regions, &mem_regions_sz) == 0)
arm_physmem_exclude_regions(mem_regions, mem_regions_sz,
EXFLAG_NODUMP | EXFLAG_NOALLOC);
#endif
/* Set the pcpu data, this is needed by pmap_bootstrap */