@@ -74,6 +74,10 @@ frameworksmodularspecinclude_HEADERS = \
frameworks/modular/spec/module.h \
frameworks/modular/spec/list.h
+subsystemspecincludedir= $(includedir)/subsystem/spec
+subsystemspecinclude_HEADERS = \
+ subsystem/spec/buffer_subsystem.h
+
odpapiabidefaultincludedir= $(includedir)/odp/arch/default/api/abi
odpapiabidefaultinclude_HEADERS = \
odp/arch/default/api/abi/buffer.h \
@@ -19,6 +19,7 @@ extern C {
#endif
#include <frameworks/modular/spec/module.h>
+#include <subsystem/spec/buffer_subsystem.h>
#ifdef __cplusplus
}
similarity index 99%
rename from platform/linux-generic/include/odp_buffer_subsystem.h
rename to include/subsystem/spec/buffer_subsystem.h
@@ -61,4 +61,3 @@ typedef ODP_MODULE_CLASS(buffer) {
#include <odp/visibility_end.h>
#endif
-
@@ -175,7 +175,6 @@ odpdrvplatinclude_HEADERS = \
noinst_HEADERS = \
- ${top_srcdir}/platform/linux-generic/include/odp_buffer_subsystem.h \
${top_srcdir}/platform/linux-generic/include/_fdserver_internal.h \
${top_srcdir}/platform/linux-generic/include/_ishm_internal.h \
${top_srcdir}/platform/linux-generic/include/_ishmphy_internal.h \
@@ -9,7 +9,7 @@
#include <odp/api/buffer.h>
#include <odp_buffer_internal.h>
#include <odp_buffer_inlines.h>
-#include <odp_buffer_subsystem.h>
+#include <subsystem/spec/buffer_subsystem.h>
#include <odp_debug_internal.h>
#include <odp_pool_internal.h>
@@ -159,7 +159,6 @@ noinst_HEADERS = \
include/odp_bitmap_internal.h \
include/odp_bitset.h \
include/odp_buffer_internal.h \
- include/odp_buffer_subsystem.h \
include/odp_classification_datamodel.h \
include/odp_classification_inlines.h \
include/odp_classification_internal.h \
@@ -11,7 +11,7 @@
#include <odp_buffer_internal.h>
#include <odp_buffer_inlines.h>
#include <odp_debug_internal.h>
-#include <odp_buffer_subsystem.h>
+#include <subsystem/spec/buffer_subsystem.h>
#include <string.h>
#include <stdio.h>
@@ -6,7 +6,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <odp/api/buffer.h>
-#include <odp_buffer_subsystem.h>
+#include <subsystem/spec/buffer_subsystem.h>
#include <odp_debug_internal.h>
ODP_SUBSYSTEM_DEFINE(buffer, "memory buffer public APIs",