nuttx/mm
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
..
bin build: add initial cmake build system 2023-07-08 13:50:48 +08:00
circbuf mm: Fix some typos 2023-11-24 09:57:10 -08:00
iob mm/iob: Support alloc IOB via malloc 2024-04-26 01:06:21 +08:00
kasan kasan: Implementing global variable out of bounds detection 2024-04-07 23:31:13 +08:00
kbin build: add initial cmake build system 2023-07-08 13:50:48 +08:00
kmap mm/kmap: Finalize kmap implementation for RISC-V 2023-11-23 16:38:41 -08:00
kmm_heap cmake:complete missing changes during cmake reforming for mm 2023-09-08 21:20:16 +03:00
map mm/arch: userspace device mapping support 2024-04-26 12:11:35 +08:00
mempool mm: Using Macros Instead of Memory to Fill Labels 2024-03-14 22:48:19 +08:00
mm_gran mm/mm_gran: remove allocation size limitation 2024-04-20 16:24:37 -03:00
mm_heap sched/cpu: replace up_cpu_index() to this_cpu() 2024-03-21 18:52:35 +08:00
shm Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
tlsf sched/cpu: replace up_cpu_index() to this_cpu() 2024-03-21 18:52:35 +08:00
ubsan cmake:complete missing changes during cmake reforming for mm 2023-09-08 21:20:16 +03:00
umm_heap cmake:complete missing changes during cmake reforming for mm 2023-09-08 21:20:16 +03:00
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Kconfig mm/arch: userspace device mapping support 2024-04-26 12:11:35 +08:00
Makefile mm/kmm_map: Add support to dynamically map pages into kernel virtual memory 2023-06-02 10:50:26 +08:00