nuttx/mm/map
Yanfeng Liu 3822d88669 mm/arch: userspace device mapping support
This patch adds definitions to support user space device mappings
that allows devices like frame buffer to be accessible from user
space in kernel mode.

The are mainly two changes:

- in `mm/`:
  added vm_map_region(), vm_unmap_region() for drivers to do
  device mapping easily.
- in `arch/`:
  extended ARCH_SHM_NPAGES as user-space mapping region size.
  decoupled ARCH_SHM_MAXREGIONS from region size calculations and
  limit its usage only for SysV shm purposes.

Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
2024-04-26 12:11:35 +08:00
..
CMakeLists.txt cmake:complete missing changes during cmake reforming for mm 2023-09-08 21:20:16 +03:00
Make.defs mm/map: limit the count of memory mapping for the task 2023-08-02 22:57:28 -07:00
mm_map.c mm/arch: userspace device mapping support 2024-04-26 12:11:35 +08:00
vm_map.c mm/arch: userspace device mapping support 2024-04-26 12:11:35 +08:00
vm_region.c mm/map: minor reformating 2024-04-11 14:15:57 +08:00