/* Copyright 2016 Intel Corporation
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/*
 * 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,32)
DECLARE_MEMORY_POOL(2,32,48)
DECLARE_MEMORY_POOL(3,64,16)
DECLARE_MEMORY_POOL(4,96,24)
DECLARE_MEMORY_POOL(5,128,6)
DECLARE_MEMORY_POOL(6,256,5)
DECLARE_MEMORY_POOL(7,512,1)

#undef DECLARE_MEMORY_POOL
