void ctl_memory_area_init(CTL_MEMORY_AREA_t *memory_area,
                          unsigned *memory,
                          unsigned block_size_in_words,
                          unsigned num_blocks);

ctl_memory_area_init is given a pointer to the memory area to initialize in memory_area. The array that is used to implement the memory area is pointed to by memory. The size of a memory block is given supplied in block_size_in_words and the number of block is supplied in num_blocks.


memory must point to a block of memory that is at least block_size_in_words × num_blocks words long.