From: Sachin Saxena <sachin.sax...@nxp.com> Pool info support has been extented to provide minimum and maximum addresses of application accessible data for any pool object (event).
Signed-off-by: Sachin Saxena <sachin.sax...@linaro.org> --- /** Email created from pull request 200 (sachin-saxena:api-next) ** https://github.com/Linaro/odp/pull/200 ** Patch: https://github.com/Linaro/odp/pull/200.patch ** Base sha: 825f75ed8644ef57c5648961e7982daf13cd9375 ** Merge commit sha: 35fbaf77c7521e4b1a097703dc3c42843a55e27f **/ include/odp/api/spec/pool.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/include/odp/api/spec/pool.h b/include/odp/api/spec/pool.h index 221798ee8..e43cda519 100644 --- a/include/odp/api/spec/pool.h +++ b/include/odp/api/spec/pool.h @@ -294,6 +294,22 @@ odp_pool_t odp_pool_lookup(const char *name); typedef struct odp_pool_info_t { const char *name; /**< pool name */ odp_pool_param_t params; /**< pool parameters */ + + /** Minimum data address. + * This is the minimum address that application accessible + * data of any * object (event) allocated from the pool may + * locate. When there's no application accessible data + * (e.g. ODP_POOL_TIMEOUT pools), the value may be zero. + */ + uintptr_t min_data_addr; + + /** Maximum data address. + * This is the maximum address that application accessible + * data of any object (event) allocated from the pool may + * locate. When there's no application accessible data + * (e.g. ODP_POOL_TIMEOUT pools), the value may be zero. + */ + uintptr_t max_data_addr; } odp_pool_info_t; /**