[API-NEXT,v3,1/1] api: pool: Return address range for pool objects

Message ID 1507806005-19880-2-git-send-email-odpbot@yandex.ru
State New
Headers show
Series
  • API: pool: Return address range for pool objects
Related show

Commit Message

Github ODP bot Oct. 12, 2017, 11 a.m.
From: Sachin Saxena <sachin.saxena@nxp.com>


Signed-off-by: Sachin Saxena <sachin.saxena@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: 60a1a4f1cc531d7f0117cd79daf1cbe4206e12ef
 ** Merge commit sha: b4e9fb20c4a84ac31adcd3b96883106bfce1c7e0
 **/
 include/odp/api/spec/pool.h | 13 +++++++++++++
 1 file changed, 13 insertions(+)

Patch

diff --git a/include/odp/api/spec/pool.h b/include/odp/api/spec/pool.h
index 221798ee8..984842c95 100644
--- a/include/odp/api/spec/pool.h
+++ b/include/odp/api/spec/pool.h
@@ -294,6 +294,19 @@  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 maybe 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 maybe zero. */
+	uintptr_t max_data_addr;
 } odp_pool_info_t;
 
 /**