Lines Matching full:memory

3 Virtual Memory
6 Virtual memory (VM) in Zephyr provides developers with the ability to fine tune
7 access to memory. To utilize virtual memory, the platform must support
8 Memory Management Unit (MMU) and it must be enabled in the build. Due to
9 the target of Zephyr mainly being embedded systems, virtual memory
15 between physical and virtual memory address spaces, if demand paging
20 Basic virtual memory support does not utilize secondary storage to
21 extend usable memory. The maximum usable memory is the same as
22 the physical memory.
25 secondary storage as a backing store for virtual memory, thus
26 allowing larger usable memory than the available physical memory.
29 * Although the virtual memory space can be larger than physical
30 memory space, without enabling demand paging, all virtually
31 mapped memory must be backed by physical memory.
41 virtual memory.
43 * :kconfig:option:`CONFIG_MMU`: must be enabled for virtual memory support in
46 * :kconfig:option:`CONFIG_MMU_PAGE_SIZE`: size of a memory page. Default is 4KB.
65 Memory Map Overview
68 This is an overview of the memory map of the virtual memory address space.
97 +--------------+ <- memory mappings start here
101 * ``K_MEM_VIRT_RAM_START`` is the beginning of the virtual memory address space.
105 * ``K_MEM_VIRT_RAM_SIZE`` is the size of the virtual memory address space.
119 can be allocated for memory mapping. This depends on whether
122 * If it is enabled, which means all physical memory are mapped in virtual
123 memory address space, and it is the same as
133 Virtual Memory Mappings
139 In general, most supported architectures set up the memory mappings at boot as
155 Refer to :ref:`Memory Domains and Partitions<memory_domain>` on how to
167 Mapping Anonymous Memory
170 The unused physical memory can be mapped in virtual address space on demand.
171 This is conceptually similar to memory allocation from heap, but these
174 * :c:func:`k_mem_map` can be used to map unused physical memory:
181 * The mapped region is not guaranteed to be physically contiguous in memory.