Auto De-Fragmenting Memory Pool

The ADM Pool module manages memory dynamically using a fixed-size buffer. It provides functions to allocate and free memory blocks efficiently while keeping track of them with a linked list.

Key Features:

  • Initialization: Sets up the memory pool with a buffer and size.

  • Dynamic Allocation: Allocates blocks of memory as needed.

  • Deallocation: Frees memory and adjusts the remaining blocks to optimize space.

Auto De-Fragmenting Memory Pool Header

Documentation from the relevant header as follows:

Warning

doxygenfile: Cannot find file “rs_adm_pool.h