This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "".
The branch, 2.0 has been updated via d37aa7f1c0480273fb0ccfded44a13e3e5a8e42f (commit) from 7bab5c22f99bb4847bd941fea1f5ed59a1412899 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit d37aa7f1c0480273fb0ccfded44a13e3e5a8e42f Author: Bogdan Pricope bogdan.pricope@linaro.org Date: Mon Oct 23 11:09:28 2017 +0300
linux-gen: modular-farmework: make modular framework symbols visible
Make modular framework/subsystems symbols visible
Signed-off-by: Bogdan Pricope bogdan.pricope@linaro.org Reviewed-by: Bill Fischofer bill.fischofer@linaro.org Reviewed-by: Yi He yi.he@linaro.org
diff --git a/frameworks/modular/odp_module.h b/frameworks/modular/odp_module.h index 59f67c8d..b20501eb 100644 --- a/frameworks/modular/odp_module.h +++ b/frameworks/modular/odp_module.h @@ -38,6 +38,11 @@
#ifndef ODP_MODULE_H_ #define ODP_MODULE_H_ +#include <odp/visibility_begin.h> + +#ifdef __cplusplus +extern "C" { +#endif
#include <stdbool.h> #include <odp/api/rwlock.h> @@ -293,4 +298,9 @@ int __subsystem_register_module( __subsystem_set_active(&__subsystem(name), base); \ })
+#ifdef __cplusplus +} +#endif + +#include <odp/visibility_end.h> #endif diff --git a/platform/linux-generic/include/odp_buffer_subsystem.h b/platform/linux-generic/include/odp_buffer_subsystem.h index 6b69c06f..3c791d20 100644 --- a/platform/linux-generic/include/odp_buffer_subsystem.h +++ b/platform/linux-generic/include/odp_buffer_subsystem.h @@ -8,6 +8,7 @@
#ifndef ODP_BUFFER_SUBSYSTEM_H_ #define ODP_BUFFER_SUBSYSTEM_H_ +#include <odp/visibility_begin.h>
#ifdef __cplusplus extern "C" { @@ -58,5 +59,6 @@ typedef ODP_MODULE_CLASS(buffer) { } #endif
+#include <odp/visibility_end.h> #endif
diff --git a/platform/linux-generic/include/odp_pktio_ops_subsystem.h b/platform/linux-generic/include/odp_pktio_ops_subsystem.h index 34bc5a24..cb107fed 100644 --- a/platform/linux-generic/include/odp_pktio_ops_subsystem.h +++ b/platform/linux-generic/include/odp_pktio_ops_subsystem.h @@ -8,6 +8,11 @@
#ifndef ODP_PKTIO_OPS_SUBSYSTEM_H_ #define ODP_PKTIO_OPS_SUBSYSTEM_H_ +#include <odp/visibility_begin.h> + +#ifdef __cplusplus +extern "C" { +#endif
#include <odp_module.h> #include <odp/api/packet_io.h> @@ -87,4 +92,9 @@ typedef ODP_MODULE_CLASS(pktio_ops) { #define odp_ops_data(_p, _mod) \ ((pktio_ops_ ## _mod ## _data_t *)(uintptr_t)_p->s.ops_data)
+#ifdef __cplusplus +} +#endif + +#include <odp/visibility_end.h> #endif diff --git a/platform/linux-generic/include/odp_pool_subsystem.h b/platform/linux-generic/include/odp_pool_subsystem.h index 45537a86..0f34ad14 100644 --- a/platform/linux-generic/include/odp_pool_subsystem.h +++ b/platform/linux-generic/include/odp_pool_subsystem.h @@ -8,6 +8,7 @@
#ifndef ODP_POOL_SUBSYSTEM_H_ #define ODP_POOL_SUBSYSTEM_H_ +#include <odp/visibility_begin.h>
#ifdef __cplusplus extern "C" { @@ -47,4 +48,5 @@ typedef ODP_MODULE_CLASS(pool) { } #endif
+#include <odp/visibility_end.h> #endif diff --git a/platform/linux-generic/include/odp_queue_subsystem.h b/platform/linux-generic/include/odp_queue_subsystem.h index 601a254e..57fa68fd 100644 --- a/platform/linux-generic/include/odp_queue_subsystem.h +++ b/platform/linux-generic/include/odp_queue_subsystem.h @@ -8,6 +8,7 @@
#ifndef ODP_QUEUE_SUBSYSTEM_H #define ODP_QUEUE_SUBSYSTEM_H +#include <odp/visibility_begin.h>
#ifdef __cplusplus extern "C" { @@ -74,4 +75,5 @@ typedef ODP_MODULE_CLASS(queue) { } #endif
+#include <odp/visibility_end.h> #endif diff --git a/platform/linux-generic/include/odp_schedule_subsystem.h b/platform/linux-generic/include/odp_schedule_subsystem.h index 4b2f2958..7d924778 100644 --- a/platform/linux-generic/include/odp_schedule_subsystem.h +++ b/platform/linux-generic/include/odp_schedule_subsystem.h @@ -8,6 +8,11 @@
#ifndef ODP_SCHEDULE_SUBSYSTEM_H_ #define ODP_SCHEDULE_SUBSYSTEM_H_ +#include <odp/visibility_begin.h> + +#ifdef __cplusplus +extern "C" { +#endif
/* API header files */ #include <odp/api/align.h> @@ -77,4 +82,9 @@ typedef ODP_MODULE_CLASS(schedule) { odp_api_proto(schedule, schedule_resume) schedule_resume; } odp_schedule_module_t;
+#ifdef __cplusplus +} +#endif + +#include <odp/visibility_end.h> #endif /* ODP_SCHEDULE_SUBSYSTEM_H_ */
-----------------------------------------------------------------------
Summary of changes: frameworks/modular/odp_module.h | 10 ++++++++++ platform/linux-generic/include/odp_buffer_subsystem.h | 2 ++ platform/linux-generic/include/odp_pktio_ops_subsystem.h | 10 ++++++++++ platform/linux-generic/include/odp_pool_subsystem.h | 2 ++ platform/linux-generic/include/odp_queue_subsystem.h | 2 ++ platform/linux-generic/include/odp_schedule_subsystem.h | 10 ++++++++++ 6 files changed, 36 insertions(+)
hooks/post-receive