mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 05:55:46 +08:00
mm/kmm_map: Add support to dynamically map pages into kernel virtual memory
This adds functionality to map pages dynamically into kernel virtual memory. This allows implementing I/O remap for example, which is a useful (future) feature. Now, the first target is to support mapping user pages for the kernel. Why? There are some userspace structures that might be needed when the userspace process is not running. Semaphores are one such example. Signals and the WDT timeout both need access to the user semaphore to work properly. Even though for this only obtaining the kernel addressable page pool virtual address is needed, for completeness a procedure is provided to map several pages.
This commit is contained in:
@@ -34,6 +34,7 @@ include kasan/Make.defs
|
||||
include ubsan/Make.defs
|
||||
include tlsf/Make.defs
|
||||
include map/Make.defs
|
||||
include kmap/Make.defs
|
||||
|
||||
BINDIR ?= bin
|
||||
|
||||
|
||||
Reference in New Issue
Block a user