Lines Matching full:memory
34 * of memory regions with different capabilities / attributes (cacheable,
39 * can be used by drivers or applications to request memory with certain
45 * framework using @ref shared_multi_heap_pool_init and add the memory
49 * - Each memory region encoded in a @ref shared_multi_heap_region structure.
54 * - When a driver or application needs some dynamic memory with a certain
56 * version) to request the memory by using the opaque parameter to select
57 * the correct set of attributes for the needed memory. The framework will
58 * take care of selecting the correct heap (thus memory region) to carve
59 * memory from, based on the opaque parameter and the runtime state of the
60 * heaps (available memory, heap state, etc...)
66 * Enumeration type for some common memory region attributes.
76 /** external Memory */
89 * This struct is carrying information about the memory region to be added in
93 /** Memory heap attribute */
96 /** Memory heap starting virtual address */
99 /** Memory heap size in bytes */
120 * @brief Allocate memory from the memory shared multi-heap pool
122 * Allocates a block of memory of the specified size in bytes and with a
124 * by the backend to select the correct heap to allocate memory from.
126 * @param attr capability / attribute requested for the memory block.
129 * @retval ptr a valid pointer to heap memory.
130 * @retval err NULL if no memory is available.
135 * @brief Allocate aligned memory from the memory shared multi-heap pool
137 * Allocates a block of memory of the specified size in bytes and with a
141 * @param attr capability / attribute requested for the memory block.
145 * @retval ptr a valid pointer to heap memory.
146 * @retval err NULL if no memory is available.
152 * @brief Free memory from the shared multi-heap pool
154 * Used to free the passed block of memory that must be the return value of a
170 * @param region pointer to the memory region to be added.