Lines Matching +full:address +full:- +full:aligned
4 * SPDX-License-Identifier: Apache-2.0
36 /** Write-through caching. Used by certain drivers. */
39 /** Full write-back caching. Any RAM mapped wants this. */
48 #define K_MEM_CACHE_MASK (BIT(3) - 1)
55 * Default is read-only, no user, no exec
60 /** Region will have read/write access (and not read-only) */
66 /** Region will be accessible to user mode (normally supervisor-only) */
77 /** Region will be mapped to 1:1 virtual and physical address */
111 * Such memory is guaranteed to never produce a page fault due to page-outs
112 * or copy-on-write once the mapping call has returned. Physical page frames
113 * will be pre-fetched as necessary and pinned.
122 * Corresponding memory address range will be set so no actual memory will
128 * is interpreted as a backing store location value not a physical address.
145 * concurrent memory mappings or page-ins take place.
152 * Map anonymous memory into Zephyr's address space
155 * The kernel will choose a base virtual address and return it to the caller.
171 * Pages mapped in this way have write-back cache settings.
173 * The returned virtual memory pointer will be page-aligned. The size
174 * parameter, and any base address for re-mapping purposes must be page-
175 * aligned.
184 * @param size Size of the memory mapping. This must be page-aligned.
186 * @return The mapped memory location, or NULL if insufficient virtual address
199 * This maps backing-store "location" tokens into Zephyr's address space.
200 * Corresponding memory address range will be set so no actual memory will
204 * The kernel will choose a base virtual address and return it to the caller.
216 * The provided backing-store "location" token must be linearly incrementable
219 * Allocated pages will have write-back cache settings.
221 * The returned virtual memory pointer will be page-aligned. The size
222 * parameter, and any base address for re-mapping purposes must be page-
223 * aligned.
230 * @param size Size of the memory mapping. This must be page-aligned.
232 * @return The mapping location, or NULL if insufficient virtual address
244 * Un-map mapped memory
246 * This removes a memory mapping for the provided page-aligned region.
247 * Associated page frames will be free and the kernel may re-use the associated
248 * virtual address region. Any paged out data pages may be discarded.
253 * @param addr Page-aligned memory region base virtual address
254 * @param size Page-aligned memory region size
265 * page-aligned memory region.
271 * @param addr Page-aligned memory region base virtual address
272 * @param size Page-aligned memory region size
279 * Given an arbitrary region, provide a aligned region that covers it
281 * The returned region will have both its base address and size aligned
284 * @param[out] aligned_addr Aligned address
285 * @param[out] aligned_size Aligned region size
286 * @param[in] addr Region base address
288 * @param[in] align What to align the address and size to