mirror of
https://github.com/opnsense/src.git
synced 2026-06-06 23:32:52 -04:00
set_memory_* is currently implemented using PHYS_TO_DMAP but not all architectures have a DMAP. Looking at how this function is used the given address isn't physical but virtual so the PHYS_TO_DMAP call can simply be removed. Also cast numpages before shifting it to avoid overflow. Reviewed by: kib, markj MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D45057 |
||
|---|---|---|
| .. | ||
| common | ||
| dummy/include | ||