Dmitry Eremin-Solenikov(lumag) replied on github web page:

platform/linux-generic/include/odp/api/plat/pool_types.h
line 16
@@ -48,6 +48,19 @@ typedef enum odp_pool_type_t {
 
 #endif
 
+/** @internal Pool field accessor */
+#define _odp_pool_get(pool, cast, field) \
+       (*(cast *)(uintptr_t)((uint8_t *)pool + _odp_pool_inline.field))
+
+/** @internal Pool header field offsets for inline functions */
+typedef struct _odp_pool_inline_offset_t {
+       /** @internal field offset */
+       uint16_t pool_hdl;
+       /** @internal field offset */
+       uint16_t uarea_size;
+
+} _odp_pool_inline_offset_t;
+


Comment:
And this to pool_inline_types.h.

> Dmitry Eremin-Solenikov(lumag) wrote:
> This should go to pool_inlines.h


https://github.com/Linaro/odp/pull/281#discussion_r149473184
updated_at 2017-11-07 19:11:09

Reply via email to