Allocates a new block with a given size.
Allocates a new block with a given size.
the size (or number of channels) to allocate.
the allocated address, or -1
if no free blocks are available
Frees a block with given address and size.
Frees a block with given address and size.
the address of the allocated block
the size (or number of channels) of the allocated block