/nrf52832-nimble/packages/NimBLE-latest/porting/nimble/include/os/ |
H A D | os_mempool.h | 23 * @defgroup OSMempool Memory Pools 40 * A memory block structure. This simply contains a pointer to the free list 42 * has been removed from the free list the entire memory block is usable by the 50 /* XXX: add memory debug structure and associated code */ 55 * Memory pool 58 /** Size of the memory blocks, in bytes. */ 60 /** The number of memory blocks. */ 68 /** Address of memory buffer used by pool */ 72 /** Name for memory block */ 116 * Information describing a memory pool, used to return OS information [all …]
|
/nrf52832-nimble/rt-thread/components/net/uip/lib/ |
H A D | memb.h | 37 * \defgroup memb Memory block management functions 39 * The memory block allocation routines provide a simple yet powerful 40 * set of functions for managing a set of memory blocks of fixed 41 * size. A set of memory blocks is statically declared with the 42 * MEMB() macro. Memory blocks are allocated from the declared 43 * memory by the memb_alloc() function, and are deallocated with the 47 * declared per C module, and the name scope of a MEMB() memory 50 * The following example shows how to declare and use a memory block 51 * called "cmem" which has 8 chunks of memory with each memory chunk 60 * Memory block allocation routines. [all …]
|
/nrf52832-nimble/nordic/nrfx/drivers/include/ |
H A D | nrfx_qspi.h | 54 …uint32_t xip_offset; /**< Address offset into the external memory for Execute in Pla… 124 * If the busy bit is 1, this indicates issues with the external memory device. As a result, 129 * - Make sure that the memory device does not perform other operations like erasing or writing. 138 * @retval NRFX_ERROR_TIMEOUT If the peripheral cannot connect with external memory. 152 * @brief Function for reading data from QSPI memory. 154 * Write, read, and erase operations check memory device busy state before starting the operation. 155 …* If the memory is busy, the resulting action depends on the mode in which the read operation is u… 163 * @param[in] src_address Address in memory to read from. 175 * @brief Function for writing data to QSPI memory. 177 * Write, read, and erase operations check memory device busy state before starting the operation. [all …]
|
/nrf52832-nimble/rt-thread/documentation/doxygen/ |
H A D | kernel.h | 13 * - Memory management 62 * - memory pool 67 * Kernel objects can be static objects, whose memory is allocated in compiling. 68 * It can be dynamic objects as well, whose memory is allocated from system heaps 99 * @defgroup MM Memory Management 100 * @brief memory management for memory pool and heap memory 102 * RT-Thread operating system supports two types memory management: 103 * - Static memory pool management 104 * - Dynamic memory heap management. 106 * The time to allocate a memory block from the memory pool is determinant. When [all …]
|
/nrf52832-nimble/rt-thread/src/ |
H A D | Kconfig | 165 bool "Enable debugging of Small Memory Algorithm" 173 bool "Enable debugging of SLAB Memory Algorithm" 181 bool "Enable debugging of Memory Heap Algorithm" 229 menu "Memory Management" 232 bool "Using memory pool" 235 Using static memory fixed partition 238 bool "Using memory heap object" 241 Using memory heap object to manage dynamic memory heap. 244 prompt "Dynamic Memory Management" 251 bool "Small Memory Algorithm" [all …]
|
H A D | mempool.c | 8 * 2006-05-27 Bernard implement memory pool 35 * This function will set a hook function, which will be invoked when a memory 36 * block is allocated from memory pool. 46 * This function will set a hook function, which will be invoked when a memory 47 * block is released to memory pool. 66 * This function will initialize a memory pool object, normally which is used 69 * @param mp the memory pool object 70 * @param name the name of memory pool 71 * @param start the star address of memory pool 72 * @param size the total size of memory pool [all …]
|
H A D | mem.c | 10 * fix memory check in rt_realloc function 70 * This function will set a hook function, which will be invoked when a memory 71 * block is allocated from heap memory. 81 * This function will set a hook function, which will be invoked when a memory 82 * block is released to heap memory. 199 * This function will initialize system heap memory. 201 * @param begin_addr the beginning address of system heap memory. 202 * @param end_addr the end address of system heap memory. 216 /* calculate the aligned memory size */ in rt_system_heap_init() 266 * Allocate a block of memory with a minimum of 'size' bytes. [all …]
|
H A D | memheap.c | 18 * 2013-07-11 Grissiom fix the memory block splitting issue. 40 * The initialized memory pool will be: 42 * | whole freed memory block | Used Memory Block Tailer | 45 * block_list --> whole freed memory block 47 * The length of Used Memory Block Tailer is 0, 79 /* initialize the first big memory block */ in rt_memheap_init() 95 /* place the big memory block to free list */ in rt_memheap_init() 101 /* move to the end of memory pool to build a small tailer block, in rt_memheap_init() 105 /* it's a used memory block */ in rt_memheap_init() 117 ("memory heap: start addr 0x%08x, size %d, free list header 0x%08x\n", in rt_memheap_init() [all …]
|
H A D | slab.c | 14 * 2010-10-23 yi.qiu add module memory allocator 19 * KERN_SLABALLOC.C - Kernel SLAB memory allocator 77 * This function will set a hook function, which will be invoked when a memory 78 * block is allocated from heap memory. 89 * This function will set a hook function, which will be invoked when a memory 90 * block is released to heap memory. 114 * In a kernel implementation all this memory will be physical so 116 * memory. The upside is that overhead is bounded... this is the *worst* 120 * are required, only a critical section. When one cpu frees memory 155 * + ability to allocate arbitrarily large chunks of memory [all …]
|
/nrf52832-nimble/rt-thread/components/dfs/filesystems/uffs/src/uffs/ |
H A D | uffs_pool.c | 35 * \brief Fast fixed size memory pool management. 71 * \brief Initializes the memory pool. 72 * \param[in] pool memory pool 73 * \param[in] mem pool memory 74 * \param[in] mem_size size of pool memory 86 !uffs_Assert(mem != NULL, "pool memory missing") || in uffs_PoolInit() 91 "pool memory size is wrong")) in uffs_PoolInit() 118 * \brief verify pointer validity aganist memory pool 130 * \brief Releases the memory pool. 131 * \param[in] pool memory pool [all …]
|
/nrf52832-nimble/nordic/nrfx/soc/ |
H A D | nrfx_atomic.h | 66 * @param[in] p_data Atomic memory pointer. 76 * @param[in] p_data Atomic memory pointer. 87 * @param[in] p_data Atomic memory pointer. 98 * @param[in] p_data Atomic memory pointer. 109 * @param[in] p_data Atomic memory pointer. 120 * @param[in] p_data Atomic memory pointer. 131 * @param[in] p_data Atomic memory pointer. 142 * @param[in] p_data Atomic memory pointer. 153 * @param[in] p_data Atomic memory pointer. 164 * @param[in] p_data Atomic memory pointer. [all …]
|
/nrf52832-nimble/rt-thread/components/net/uip/doc/html/ |
H A D | a00159.html | 3 <title>uIP 1.0: Memory block management functions</title> 16 <h1>Memory block management functions</h1><hr><a name="_details"></a><h2>Detailed Description</h2> 17 The memory block allocation routines provide a simple yet powerful set of functions for managing a … 19 …memory blocks is statically declared with the <a class="el" href="a00159.html#gf31774d02a69fd3f1c2… 20 …ass="el" href="a00159.html#gf31774d02a69fd3f1c2b282454438cba">MEMB()</a> memory block is local to … 21 … example shows how to declare and use a memory block called "cmem" which has 8 chunks of memory wi… 28 <tr><td class="mdescLeft"> </td><td class="mdescRight">Memory block allocation routines. <br><… 33 <tr><td class="mdescLeft"> </td><td class="mdescRight">Memory block allocation routines. <br><… 48 <tr><td class="mdescLeft"> </td><td class="mdescRight">Declare a memory block. <a href="#gf31… 52 <tr><td class="mdescLeft"> </td><td class="mdescRight">Initialize a memory block that was decl… [all …]
|
H A D | a00187.html | 57 <a name="l00037"></a>00037 <span class="comment"> * \defgroup memb Memory block management function… 59 <a name="l00039"></a>00039 <span class="comment"> * The memory block allocation routines provide a … 60 <a name="l00040"></a>00040 <span class="comment"> * set of functions for managing a set of memory b… 61 <a name="l00041"></a>00041 <span class="comment"> * size. A set of memory blocks is statically decl… 62 <a name="l00042"></a>00042 <span class="comment"> * MEMB() macro. Memory blocks are allocated from … 63 <a name="l00043"></a>00043 <span class="comment"> * memory by the memb_alloc() function, and are de… 67 …>00047 <span class="comment"> * declared per C module, and the name scope of a MEMB() memory</span> 70 …0 <span class="comment"> * The following example shows how to declare and use a memory block</span> 71 …051 <span class="comment"> * called "cmem" which has 8 chunks of memory with each memory chunk</sp… 80 <a name="l00060"></a>00060 <span class="comment"> * Memory block allocation routines.</span> [all …]
|
/nrf52832-nimble/rt-thread/libcpu/arm/lpc24xx/ |
H A D | start_rvds.S | 45 ; * from external memory starting at address 0x80000000. 64 ;----------------------- Memory Definitions ------------------------------------ 66 ; Internal Memory Base Addresses 71 ; External Memory Base Addresses 348 ;----------------------- Memory Accelerator Module (MAM) Definitions ----------- 386 ;----------------------- External Memory Controller (EMC) Definitons ----------- 454 ; External Memory Pins definitions 461 ;// External Memory Controller Setup (EMC) --------------------------------- 462 ;// <e> External Memory Controller Setup (EMC) 466 ;// <i> Controls operation of the memory controller [all …]
|
/nrf52832-nimble/nordic/nrfx/templates/ |
H A D | nrfx_log.h | 88 * @brief Macro for logging a memory dump with the severity level ERROR. 90 * @param[in] p_memory Pointer to the memory region to be dumped. 91 * @param[in] length Length of the memory region in bytes. 96 * @brief Macro for logging a memory dump with the severity level WARNING. 98 * @param[in] p_memory Pointer to the memory region to be dumped. 99 * @param[in] length Length of the memory region in bytes. 104 * @brief Macro for logging a memory dump with the severity level INFO. 106 * @param[in] p_memory Pointer to the memory region to be dumped. 107 * @param[in] length Length of the memory region in bytes. 112 * @brief Macro for logging a memory dump with the severity level DEBUG. [all …]
|
/nrf52832-nimble/rt-thread/libcpu/unicore32/sep6200/ |
H A D | cpu.c | 41 :"memory", "cc" in cache_invalid() 53 :"r0", "memory", "cc"); in cache_enable() 63 :"ip", "memory", "cc"); in clean_dcache() 74 :"memory", "cc"); in icache_status() 87 :"memory", "cc"); in dcache_status() 109 :"r0", "memory", "cc"); in icache_invalid() 119 :"r0", "memory", "cc"); in dcache_invalid() 130 :"r0", "memory", "cc"); in icache_disable() 141 :"r0", "memory", "cc"); in dcache_disable() 152 :"r0", "memory", "cc"); in icache_enable() [all …]
|
/nrf52832-nimble/rt-thread/components/lwp/ |
H A D | lwp_memheap.c | 14 * 2013-07-11 Grissiom fix the memory block splitting issue. 35 * The initialized memory pool will be: 37 * | whole freed memory block | Used Memory Block Tailer | 40 * block_list --> whole freed memory block 42 * The length of Used Memory Block Tailer is 0, 72 /* initialize the first big memory block */ in rt_lwp_memheap_init() 88 /* place the big memory block to free list */ in rt_lwp_memheap_init() 94 /* move to the end of memory pool to build a small tailer block, in rt_lwp_memheap_init() 98 /* it's a used memory block */ in rt_lwp_memheap_init() 110 ("memory heap: start addr 0x%08x, size %d, free list header 0x%08x\n", in rt_lwp_memheap_init() [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/core/ |
H A D | mem.c | 3 * Dynamic memory manager 11 * a heap but might waste some memory), define MEM_USE_POOLS to 1, define 114 * Allocate a block of memory with a minimum of 'size' bytes. 117 * @return pointer to allocated memory or NULL if no free memory was found. 128 LWIP_ASSERT("malloc() must return aligned memory", LWIP_MEM_ALIGN(ret) == ret); in mem_malloc() 138 /** Put memory back on the heap 159 * Allocate memory: determine the smallest pool that is big enough 162 * @param size the size in bytes of the memory needed 163 * @return a pointer to the allocated memory or NULL if the pool is empty 200 /* and return a pointer to the memory directly after the struct memp_malloc_helper */ in mem_malloc() [all …]
|
/nrf52832-nimble/rt-thread/libcpu/arm/am335x/ |
H A D | am33xx.h | 18 /** @brief Base address of AINTC memory mapped registers */ 25 /** @brief Base addresses of USB memory mapped registers */ 28 /** @brief Base addresses of SPI memory mapped registers */ 32 /** @brief Base addresses of GPIO memory mapped registers */ 38 /** @brief Base addresses of DMTIMER memory mapped registers */ 48 /** @brief Base address of MMC memory mapped registers */ 53 /** @brief Base address of GPMC memory mapped registers */ 56 /** @brief Base address of GPMC memory mapped registers */ 59 /** @brief Base address of I2C memory mapped registers */ 64 /** @brief Base address of WDT memory mapped registers */ [all …]
|
/nrf52832-nimble/rt-thread/components/dfs/filesystems/uffs/src/inc/uffs/ |
H A D | uffs_mem.h | 42 /** uffs memory allocator */ 44 URET (*init)(struct uffs_DeviceSt *dev); //!< init memory allocator, setup buffer sizes 45 …URET (*release)(struct uffs_DeviceSt *dev); //!< release memory allocator (for dynamic memory al… 47 …)(struct uffs_DeviceSt *dev, unsigned int size); //!< allocate memory (for dynamic memory allocati… 48 …URET (*free)(struct uffs_DeviceSt *dev, void *p); //!< free memory (for dynamic memory allocatio… 66 /* for static memory allocator */
|
/nrf52832-nimble/rt-thread/components/net/uip/doc/ |
H A D | pt-doc.txt | 5 severly memory constrained systems such as deeply embedded systems or 26 protothread do not require a separate stack. In memory constrained 28 amounts of the available memory. In contrast, each protothread only 54 - Memory constrained systems 88 In memory constrained systems, such as deeply embedded systems, 89 traditional multi-threading may have a too large memory overhead. In 92 available memory. 97 switching is done by stack rewinding. This is advantageous in memory 99 of the available memory. A protothread only requires only two bytes of 100 memory per protothread. Moreover, protothreads are implemented in pure [all …]
|
/nrf52832-nimble/rt-thread/components/CMSIS/RTOS/ |
H A D | cmsis_rtthread.c | 261 // Memory Management Public API 263 /// Create and Initialize memory pool 269 /// Allocate a memory block from a memory pool 275 /// Allocate a memory block from a memory pool and set memory block to zero 281 /// Return an allocated memory block back to a specific memory pool 340 /// Allocate a memory block from a mail 346 /// Allocate a memory block from a mail and set memory block to zero 352 /// Free a memory block from a mail
|
H A D | cmsis_os.h | 112 #define osFeature_Pool 1 ///< Memory Pools: 1=available, 0=not available 161 …ory = 0x85, ///< system is out of memory: it was impossible to allocate or reserve … 201 /// Pool ID identifies the memory pool (pointer to a memory pool control block). 248 /// Definition structure for memory block allocation 552 // ==== Memory Pool Management Functions ==== 554 #if (defined (osFeature_Pool) && (osFeature_Pool != 0)) // Memory Pool Management available 556 /// \brief Define a Memory Pool. 557 /// \param name name of the memory pool. 558 /// \param no maximum number of objects (elements) in the memory pool. 571 /// \brief Access a Memory Pool definition. [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/core/ |
H A D | mem.c | 3 * Dynamic memory manager 11 * a heap but might waste some memory), define MEM_USE_POOLS to 1, define 199 * Allocate a block of memory with a minimum of 'size' bytes. 202 * @return pointer to allocated memory or NULL if no free memory was found. 213 LWIP_ASSERT("malloc() must return aligned memory", LWIP_MEM_ALIGN(ret) == ret); in mem_malloc() 223 /** Put memory back on the heap 244 * Allocate memory: determine the smallest pool that is big enough 247 * @param size the size in bytes of the memory needed 248 * @return a pointer to the allocated memory or NULL if the pool is empty 285 /* and return a pointer to the memory directly after the struct memp_malloc_helper */ in mem_malloc() [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/core/ |
H A D | mem.c | 3 * Dynamic memory manager 11 * a heap but might waste some memory), define MEM_USE_POOLS to 1, define 72 * Allocate memory: determine the smallest pool that is big enough 75 * @param size the size in bytes of the memory needed 76 * @return a pointer to the allocated memory or NULL if the pool is empty 116 /* and return a pointer to the memory directly after the struct memp_malloc_helper */ in mem_malloc() 123 * Free memory previously allocated by mem_malloc. Loads the pool number 127 * @param rmem the memory element to free 176 /** If you want to relocate the heap to external memory, simply define 178 * If so, make sure the memory at that location is big enough (see below on [all …]
|