commit | de2dd0eb30af55d3893979d5641c50c7a8969c99 | [log] [tgz] |
---|---|---|
author | Zhao Qiang <qiang.zhao@freescale.com> | Mon Nov 30 10:48:52 2015 +0800 |
committer | Scott Wood <scottwood@freescale.com> | Tue Dec 22 17:10:17 2015 -0600 |
tree | dcfd94f13f29b4ad8bcf32b2849876467aa3626c | |
parent | e9d764f803964a54ca7da4a67d124fe824ebd80a [diff] |
genalloc:support memory-allocation with bytes-alignment to genalloc Bytes alignment is required to manage some special RAM, so add gen_pool_first_fit_align to genalloc, meanwhile add gen_pool_alloc_algo to pass algo in case user layer using more than one algo, and pass data to gen_pool_first_fit_align(modify gen_pool_alloc as a wrapper) Signed-off-by: Zhao Qiang <qiang.zhao@freescale.com> Signed-off-by: Scott Wood <scottwood@freescale.com>