Lines Matching full:memory

22  * @defgroup mem_domain_apis Memory domain APIs
31 * @brief Statically declare a memory partition
45 * @brief Memory Partition
47 * A memory partition is a region of memory in the linear address space
52 * underlying memory management hardware; arbitrary values are unlikely
56 /** start address of memory partition */
58 /** size of memory partition */
60 /** attribute of memory partition */
65 * @brief Memory Domain
67 * A memory domain is a collection of memory partitions, used to represent
69 * may be a member of only one memory domain, but any memory domain may
72 * Supervisor threads may also be a member of a memory domain; this has
73 * no implications on their memory access but can be useful as any child
74 * threads inherit the memory domain membership of the parent.
76 * A user thread belonging to a memory domain with no active partitions
93 * Default memory domain
95 * All threads are a member of some memory domain, even if running in
96 * supervisor mode. Threads belong to this default memory domain if they
99 * This memory domain has the z_libc_partition partition for the C library
110 * @brief Initialize a memory domain.
112 * Initialize a memory domain with given name and memory partitions.
117 * Do not call k_mem_domain_init() on the same memory domain more than once,
120 * @param domain The memory domain to be initialized.
122 * @param parts An array of pointers to the memory partitions. Can be NULL
127 * @retval -ENOMEM if insufficient memory
133 * @brief Add a memory partition into a memory domain.
135 * Add a memory partition into a memory domain. Partitions must conform to
138 * - Partitions in the same memory domain may not overlap each other.
142 * the constraints of the underlying memory management hardware, which
144 * - Memory domain partitions are only intended to control access to memory
152 * @param domain The memory domain to be added a memory partition.
153 * @param part The memory partition to be added
163 * @brief Remove a memory partition from a memory domain.
165 * Remove a memory partition from a memory domain.
167 * @param domain The memory domain to be removed a memory partition.
168 * @param part The memory partition to be removed
178 * @brief Add a thread into a memory domain.
180 * Add a thread into a memory domain. It will be removed from whatever
181 * memory domain it previously belonged to.
183 * @param domain The memory domain that the thread is going to be added into.
184 * @param thread ID of thread going to be added into the memory domain.