similarity index 99%
rename from platform/linux-generic/include/odp_buffer_subsystem.h
rename to include/odp/subsystem/spec/buffer_subsystem.h
@@ -61,4 +61,3 @@ typedef ODP_MODULE_CLASS(buffer) {
#include <odp/visibility_end.h>
#endif
-
@@ -19,6 +19,7 @@ extern C {
#endif
#include <odp/mf/spec/module.h>
+#include <odp/subsystem/spec/buffer_subsystem.h>
#ifdef __cplusplus
}
@@ -82,6 +82,10 @@ odpmfspecinclude_HEADERS = \
$(top_srcdir)/include/odp/mf/spec/module.h \
$(top_srcdir)/include/odp/mf/spec/list.h
+odpsubsystemspecincludedir= $(includedir)/odp/subsytem/spec
+odpsubsystemspecinclude_HEADERS = \
+ $(top_srcdir)/include/odp/subsystem/spec/buffer_subsystem.h
+
odpapiabidefaultincludedir= $(includedir)/odp/arch/default/api/abi
odpapiabidefaultinclude_HEADERS = \
$(top_srcdir)/include/odp/arch/default/api/abi/buffer.h \
@@ -172,7 +172,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 <odp/subsystem/spec/buffer_subsystem.h>
#include <odp_debug_internal.h>
#include <odp_pool_internal.h>
@@ -160,7 +160,6 @@ noinst_HEADERS = \
${srcdir}/include/odp_bitmap_internal.h \
${srcdir}/include/odp_bitset.h \
${srcdir}/include/odp_buffer_internal.h \
- ${srcdir}/include/odp_buffer_subsystem.h \
${srcdir}/include/odp_classification_datamodel.h \
${srcdir}/include/odp_classification_inlines.h \
${srcdir}/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 <odp/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 <odp/subsystem/spec/buffer_subsystem.h>
#include <odp_debug_internal.h>
ODP_SUBSYSTEM_DEFINE(buffer, "memory buffer public APIs",