/* SPDX-FileCopyrightText: 2016 Intel Corporation */
/* SPDX-License-Identifier: Apache-2.0 */

/*
 * Definition of the memory pools used by balloc/bfree:
 *  DECLARE_MEMORY_POOL( <index>, <size>, <count>, <align> )
 *  <index> : must start at 0 and be of consecutive values *
 *  <size>  : size in bytes of each block from the pool
 *  <count> : number of blocks in the pool
 *
 *  * Pool definitions must be sorted according the block size
 *  value: pool with <index> 0 must have the smallest <size>.
 */

DECLARE_MEMORY_POOL(0,8,32)
DECLARE_MEMORY_POOL(1,16,64)
DECLARE_MEMORY_POOL(2,32,64)
DECLARE_MEMORY_POOL(3,64,48)
DECLARE_MEMORY_POOL(4,128,8)
DECLARE_MEMORY_POOL(5,256,4)
DECLARE_MEMORY_POOL(6,512,3)
DECLARE_MEMORY_POOL(7,4096,1)

#undef DECLARE_MEMORY_POOL
