1. Virtual Memory Mapping
-
20. Memory Management framework ZEP-SYRS-9 The Zephyr RTOS shall support a memory management framework.
When an access that is not permitted for a virtual memory mapping is attempted, the Zephyr RTOS shall raise a fatal error.
-
20. Memory Management framework ZEP-SYRS-9 The Zephyr RTOS shall support a memory management framework.
When a virtual memory region is unmapped, the Zephyr RTOS shall reclaim its virtual address range so that it can be reused by subsequent mappings.
-
20. Memory Management framework ZEP-SYRS-9 The Zephyr RTOS shall support a memory management framework.
Where virtual memory is enabled, the Zephyr RTOS shall provide a mechanism to allocate and map an anonymous region of memory with caller-specified access permissions.
-
20. Memory Management framework ZEP-SYRS-9 The Zephyr RTOS shall support a memory management framework.
Where virtual memory is enabled, the Zephyr RTOS shall provide a mechanism to release an anonymous memory region back to the system.
-
20. Memory Management framework ZEP-SYRS-9 The Zephyr RTOS shall support a memory management framework.
When an anonymous memory region is mapped, the Zephyr RTOS shall place an inaccessible guard page immediately before and immediately after the region so that accesses beyond its bounds are detected.
-
20. Memory Management framework ZEP-SYRS-9 The Zephyr RTOS shall support a memory management framework.
Where user mode is enabled, the Zephyr RTOS shall control, for each memory mapping, whether user mode threads are permitted to access the mapping.
-
20. Memory Management framework ZEP-SYRS-9 The Zephyr RTOS shall support a memory management framework.
If a memory mapping request cannot be satisfied because available memory is exhausted, then the Zephyr RTOS shall report that the mapping failed.
2. Demand Paging
-
20. Memory Management framework ZEP-SYRS-9 The Zephyr RTOS shall support a memory management framework.
Where demand paging is enabled, the Zephyr RTOS shall service a page fault on a demand-paged region by bringing the required page into physical memory and resuming execution.
-
20. Memory Management framework ZEP-SYRS-9 The Zephyr RTOS shall support a memory management framework.
Where demand paging is enabled, the Zephyr RTOS shall provide a mechanism to evict a memory region from physical memory to the backing store.
-
20. Memory Management framework ZEP-SYRS-9 The Zephyr RTOS shall support a memory management framework.
Where demand paging is enabled, the Zephyr RTOS shall provide a mechanism to bring a memory region into physical memory ahead of access.
-
20. Memory Management framework ZEP-SYRS-9 The Zephyr RTOS shall support a memory management framework.
Where demand paging is enabled, the Zephyr RTOS shall provide a mechanism to pin a memory region in physical memory so that it is never evicted to the backing store.
-
20. Memory Management framework ZEP-SYRS-9 The Zephyr RTOS shall support a memory management framework.
Where demand paging is enabled, the Zephyr RTOS shall provide a mechanism to unpin a previously pinned memory region so that it becomes eligible for eviction again.
-
20. Memory Management framework ZEP-SYRS-9 The Zephyr RTOS shall support a memory management framework.
Where demand paging statistics are enabled, the Zephyr RTOS shall provide a mechanism to query system-wide demand paging statistics.
-
20. Memory Management framework ZEP-SYRS-9 The Zephyr RTOS shall support a memory management framework.
Where demand paging statistics are enabled, the Zephyr RTOS shall provide a mechanism to query the demand paging statistics of a specific thread.
-
20. Memory Management framework ZEP-SYRS-9 The Zephyr RTOS shall support a memory management framework.
Where demand paging timing histograms are enabled, the Zephyr RTOS shall provide a mechanism to query histograms of page eviction times.
-
20. Memory Management framework ZEP-SYRS-9 The Zephyr RTOS shall support a memory management framework.
Where demand paging timing histograms are enabled, the Zephyr RTOS shall provide a mechanism to query histograms of backing store access times.
-
20. Memory Management framework ZEP-SYRS-9 The Zephyr RTOS shall support a memory management framework.
Where demand paging is enabled, the Zephyr RTOS shall support designating code and data that are loaded into physical memory on demand and may be evicted when not in use.