Signed-off-by: Christophe Milard <[email protected]>
---
include/odp_drv.h | 2 ++
platform/linux-generic/include/odp/drv/std_types.h | 42 ++++++++++++++++++++++
2 files changed, 44 insertions(+)
create mode 100644 platform/linux-generic/include/odp/drv/std_types.h
diff --git a/include/odp_drv.h b/include/odp_drv.h
index b78fa9d..51fca7a 100644
--- a/include/odp_drv.h
+++ b/include/odp_drv.h
@@ -18,6 +18,8 @@
extern C {
#endif
+#include <odp/drv/std_types.h>
+
#ifdef __cplusplus
}
#endif
diff --git a/platform/linux-generic/include/odp/drv/std_types.h
b/platform/linux-generic/include/odp/drv/std_types.h
new file mode 100644
index 0000000..5b0815b
--- /dev/null
+++ b/platform/linux-generic/include/odp/drv/std_types.h
@@ -0,0 +1,42 @@
+/* Copyright (c) 2016, Linaro Limited
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+/**
+ * @file
+ *
+ * Standard C language types and definitions for ODP driver interface.
+ */
+
+#ifndef ODPDRV_PLAT_STD_TYPES_H_
+#define ODPDRV_PLAT_STD_TYPES_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <stddef.h>
+#include <stdbool.h>
+#include <stdint.h>
+#include <inttypes.h>
+#include <limits.h>
+
+/** @addtogroup odpdrv_system ODPDRV SYSTEM
+ * @{
+ */
+
+typedef int odpdrv_bool_t;
+
+/**
+ * @}
+ */
+
+#include <odp/drv/std_types.h>
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
--
2.1.4
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp