@@ -15,6 +15,9 @@
#include <odp/std_types.h>
#include <odp/plat/strong_types.h>
+#include <odp/plat/event_types.h>
+#include "odp/api/pool_param.h"
+#include "string.h"
#ifdef __cplusplus
extern "C" {
@@ -29,6 +32,12 @@ typedef ODP_HANDLE_T(odp_pool_t);
#define ODP_POOL_INVALID _odp_cast_scalar(odp_pool_t, 0xffffffff)
+/** Initialize the odp_pool_param struct */
+static inline void odp_pool_param_init(odp_pool_param_t *param)
+{
+ memset((void *)param, 0, sizeof(odp_pool_param_t));
+}
+
/** Get printable format of odp_pool_t */
static inline uint64_t odp_pool_to_u64(odp_pool_t hdl)
{
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org> --- platform/linux-generic/include/odp/plat/pool_types.h | 9 +++++++++ 1 file changed, 9 insertions(+)