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: 26f13907b1721d30f9de755dfb383fba605e30d9
 **/
 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..319821614 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;
 
 /**

Reply via email to