POSIX mlock() and munlock() require an MMU as well as DEMAND_PAGING. Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
Fix a compile error because `k_mem_pin()` and `k_mem_unpin()` are not defined. Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
Add support for mlock() and munlock(). These two functions comprise the _POSIX_MEMLOCK_RANGE Option which is required by PSE51, PSE52, PSE53, and PSE54. Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>