/* Copyright JS Foundation and other contributors, http://js.foundation
 *
 * 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,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
