@@ -9,7 +9,7 @@ TYPEDEF_HIDES_STRUCT = YES
EXTRACT_STATIC = YES
SORT_MEMBER_DOCS = NO
WARN_NO_PARAMDOC = YES
-INPUT = $(SRCDIR)/doc $(SRCDIR)/doc/users-guide $(SRCDIR)/doc/api $(SRCDIR)/include $(SRCDIR)/example
+INPUT = $(SRCDIR)/doc $(SRCDIR)/doc/users-guide $(SRCDIR)/doc/api $(SRCDIR)/platform/linux-generic/include/api $(SRCDIR)/include/helper $(SRCDIR)/example
FILE_PATTERNS = odp*.h odp*.c *.dox
RECURSIVE = YES
SOURCE_BROWSER = YES
@@ -22,35 +22,35 @@ DPDK_LIBS="-lintel_dpdk -ldl"
LIBS += $(DPDK_LIBS)
include_HEADERS = \
- $(top_srcdir)/platform/linux-dpdk/include/api/odp_buffer.h \
- $(top_srcdir)/include/odp.h \
- $(top_srcdir)/include/odp_align.h \
- $(top_srcdir)/include/odp_atomic.h \
- $(top_srcdir)/include/odp_barrier.h \
- $(top_srcdir)/include/odp_buffer_pool.h \
- $(top_srcdir)/include/odp_byteorder.h \
- $(top_srcdir)/include/odp_compiler.h \
- $(top_srcdir)/include/odp_config.h \
- $(top_srcdir)/include/odp_coremask.h \
- $(top_srcdir)/include/odp_debug.h \
- $(top_srcdir)/include/odp_hints.h \
- $(top_srcdir)/include/odp_init.h \
- $(top_srcdir)/include/odp_packet_flags.h \
- $(top_srcdir)/include/odp_packet.h \
- $(top_srcdir)/include/odp_packet_io.h \
- $(top_srcdir)/include/odp_queue.h \
- $(top_srcdir)/include/odp_rwlock.h \
- $(top_srcdir)/include/odp_schedule.h \
- $(top_srcdir)/include/odp_shared_memory.h \
- $(top_srcdir)/include/odp_spinlock.h \
- $(top_srcdir)/include/odp_std_types.h \
- $(top_srcdir)/include/odp_sync.h \
- $(top_srcdir)/include/odp_system_info.h \
- $(top_srcdir)/include/odp_thread.h \
- $(top_srcdir)/include/odp_ticketlock.h \
- $(top_srcdir)/include/odp_time.h \
- $(top_srcdir)/include/odp_timer.h \
- $(top_srcdir)/include/odp_version.h
+ $(srcdir)/include/api/odp_buffer.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_align.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_atomic.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_barrier.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_buffer_pool.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_byteorder.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_compiler.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_config.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_coremask.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_debug.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_hints.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_init.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_packet_flags.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_packet.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_packet_io.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_queue.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_rwlock.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_schedule.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_shared_memory.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_spinlock.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_std_types.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_sync.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_system_info.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_thread.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_ticketlock.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_time.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_timer.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_version.h
subdirheadersdir = $(includedir)/helper
subdirheaders_HEADERS = \
@@ -6,36 +6,36 @@ AM_CFLAGS += -I$(srcdir)/include/api
AM_CFLAGS += -I$(top_srcdir)/include
include_HEADERS = \
- $(top_srcdir)/include/odp.h \
- $(top_srcdir)/include/odp_align.h \
- $(top_srcdir)/include/odp_atomic.h \
- $(top_srcdir)/include/odp_barrier.h \
- $(top_srcdir)/include/odp_buffer.h \
- $(top_srcdir)/include/odp_buffer_pool.h \
- $(top_srcdir)/include/odp_byteorder.h \
- $(top_srcdir)/include/odp_compiler.h \
- $(top_srcdir)/include/odp_config.h \
- $(top_srcdir)/include/odp_coremask.h \
- $(top_srcdir)/include/odp_crypto.h \
- $(top_srcdir)/include/odp_debug.h \
- $(top_srcdir)/include/odp_hints.h \
- $(top_srcdir)/include/odp_init.h \
- $(top_srcdir)/include/odp_packet_flags.h \
- $(top_srcdir)/include/odp_packet.h \
- $(top_srcdir)/include/odp_packet_io.h \
- $(top_srcdir)/include/odp_queue.h \
- $(top_srcdir)/include/odp_rwlock.h \
- $(top_srcdir)/include/odp_schedule.h \
- $(top_srcdir)/include/odp_shared_memory.h \
- $(top_srcdir)/include/odp_spinlock.h \
- $(top_srcdir)/include/odp_std_types.h \
- $(top_srcdir)/include/odp_sync.h \
- $(top_srcdir)/include/odp_system_info.h \
- $(top_srcdir)/include/odp_thread.h \
- $(top_srcdir)/include/odp_ticketlock.h \
- $(top_srcdir)/include/odp_time.h \
- $(top_srcdir)/include/odp_timer.h \
- $(top_srcdir)/include/odp_version.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_align.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_atomic.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_barrier.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_buffer.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_buffer_pool.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_byteorder.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_compiler.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_config.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_coremask.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_crypto.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_debug.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_hints.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_init.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_packet_flags.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_packet.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_packet_io.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_queue.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_rwlock.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_schedule.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_shared_memory.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_spinlock.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_std_types.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_sync.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_system_info.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_thread.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_ticketlock.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_time.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_timer.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_version.h \
$(top_srcdir)/platform/linux-generic/include/api/odp_pktio_types.h \
$(top_srcdir)/platform/linux-generic/include/api/odp_pktio_netmap.h \
$(top_srcdir)/platform/linux-generic/include/api/odp_pktio_socket.h
similarity index 100%
rename from include/odp.h
rename to platform/linux-generic/include/api/odp.h
similarity index 100%
rename from include/odp_align.h
rename to platform/linux-generic/include/api/odp_align.h
similarity index 100%
rename from include/odp_atomic.h
rename to platform/linux-generic/include/api/odp_atomic.h
similarity index 100%
rename from include/odp_barrier.h
rename to platform/linux-generic/include/api/odp_barrier.h
similarity index 100%
rename from include/odp_buffer.h
rename to platform/linux-generic/include/api/odp_buffer.h
similarity index 100%
rename from include/odp_buffer_pool.h
rename to platform/linux-generic/include/api/odp_buffer_pool.h
similarity index 100%
rename from include/odp_byteorder.h
rename to platform/linux-generic/include/api/odp_byteorder.h
similarity index 100%
rename from include/odp_compiler.h
rename to platform/linux-generic/include/api/odp_compiler.h
similarity index 100%
rename from include/odp_config.h
rename to platform/linux-generic/include/api/odp_config.h
similarity index 100%
rename from include/odp_coremask.h
rename to platform/linux-generic/include/api/odp_coremask.h
similarity index 100%
rename from include/odp_crypto.h
rename to platform/linux-generic/include/api/odp_crypto.h
similarity index 100%
rename from include/odp_debug.h
rename to platform/linux-generic/include/api/odp_debug.h
similarity index 100%
rename from include/odp_hints.h
rename to platform/linux-generic/include/api/odp_hints.h
similarity index 100%
rename from include/odp_init.h
rename to platform/linux-generic/include/api/odp_init.h
similarity index 100%
rename from include/odp_packet.h
rename to platform/linux-generic/include/api/odp_packet.h
similarity index 100%
rename from include/odp_packet_flags.h
rename to platform/linux-generic/include/api/odp_packet_flags.h
similarity index 100%
rename from include/odp_packet_io.h
rename to platform/linux-generic/include/api/odp_packet_io.h
similarity index 100%
rename from include/odp_queue.h
rename to platform/linux-generic/include/api/odp_queue.h
similarity index 100%
rename from include/odp_rwlock.h
rename to platform/linux-generic/include/api/odp_rwlock.h
similarity index 100%
rename from include/odp_schedule.h
rename to platform/linux-generic/include/api/odp_schedule.h
similarity index 100%
rename from include/odp_shared_memory.h
rename to platform/linux-generic/include/api/odp_shared_memory.h
similarity index 100%
rename from include/odp_spinlock.h
rename to platform/linux-generic/include/api/odp_spinlock.h
similarity index 100%
rename from include/odp_std_types.h
rename to platform/linux-generic/include/api/odp_std_types.h
similarity index 100%
rename from include/odp_sync.h
rename to platform/linux-generic/include/api/odp_sync.h
similarity index 100%
rename from include/odp_system_info.h
rename to platform/linux-generic/include/api/odp_system_info.h
similarity index 100%
rename from include/odp_thread.h
rename to platform/linux-generic/include/api/odp_thread.h
similarity index 100%
rename from include/odp_ticketlock.h
rename to platform/linux-generic/include/api/odp_ticketlock.h
similarity index 100%
rename from include/odp_time.h
rename to platform/linux-generic/include/api/odp_time.h
similarity index 100%
rename from include/odp_timer.h
rename to platform/linux-generic/include/api/odp_timer.h
similarity index 100%
rename from include/odp_version.h
rename to platform/linux-generic/include/api/odp_version.h
@@ -25,35 +25,35 @@ KS2_LIBS="-lopenem_rh -lopenem_osal"
LIBS += $(KS2_LIBS)
include_HEADERS = \
- $(top_srcdir)/platform/linux-keystone2/include/api/odp_buffer.h \
- $(top_srcdir)/include/odp.h \
- $(top_srcdir)/include/odp_align.h \
- $(top_srcdir)/include/odp_atomic.h \
- $(top_srcdir)/include/odp_barrier.h \
- $(top_srcdir)/include/odp_buffer_pool.h \
- $(top_srcdir)/include/odp_byteorder.h \
- $(top_srcdir)/include/odp_compiler.h \
- $(top_srcdir)/include/odp_config.h \
- $(top_srcdir)/include/odp_coremask.h \
- $(top_srcdir)/include/odp_debug.h \
- $(top_srcdir)/include/odp_hints.h \
- $(top_srcdir)/include/odp_init.h \
- $(top_srcdir)/include/odp_packet_flags.h \
- $(top_srcdir)/include/odp_packet.h \
- $(top_srcdir)/include/odp_packet_io.h \
- $(top_srcdir)/include/odp_queue.h \
- $(top_srcdir)/include/odp_rwlock.h \
- $(top_srcdir)/include/odp_schedule.h \
- $(top_srcdir)/include/odp_shared_memory.h \
- $(top_srcdir)/include/odp_spinlock.h \
- $(top_srcdir)/include/odp_std_types.h \
- $(top_srcdir)/include/odp_sync.h \
- $(top_srcdir)/include/odp_system_info.h \
- $(top_srcdir)/include/odp_thread.h \
- $(top_srcdir)/include/odp_ticketlock.h \
- $(top_srcdir)/include/odp_time.h \
- $(top_srcdir)/include/odp_timer.h \
- $(top_srcdir)/include/odp_version.h
+ $(srcdir)/include/api/odp_buffer.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_align.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_atomic.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_barrier.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_buffer_pool.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_byteorder.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_compiler.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_config.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_coremask.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_debug.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_hints.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_init.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_packet_flags.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_packet.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_packet_io.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_queue.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_rwlock.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_schedule.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_shared_memory.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_spinlock.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_std_types.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_sync.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_system_info.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_thread.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_ticketlock.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_time.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_timer.h \
+ $(top_srcdir)/platform/linux-generic/include/api/odp_version.h
subdirheadersdir = $(includedir)/helper
subdirheaders_HEADERS = \
To much linux-generic specific details. Signed-off-by: Anders Roxell <anders.roxell@linaro.org> --- doc/doxygen.cfg | 2 +- platform/linux-dpdk/Makefile.am | 58 ++++++++++----------- platform/linux-generic/Makefile.am | 60 +++++++++++----------- .../linux-generic/include/api}/odp.h | 0 .../linux-generic/include/api}/odp_align.h | 0 .../linux-generic/include/api}/odp_atomic.h | 0 .../linux-generic/include/api}/odp_barrier.h | 0 .../linux-generic/include/api}/odp_buffer.h | 0 .../linux-generic/include/api}/odp_buffer_pool.h | 0 .../linux-generic/include/api}/odp_byteorder.h | 0 .../linux-generic/include/api}/odp_compiler.h | 0 .../linux-generic/include/api}/odp_config.h | 0 .../linux-generic/include/api}/odp_coremask.h | 0 .../linux-generic/include/api}/odp_crypto.h | 0 .../linux-generic/include/api}/odp_debug.h | 0 .../linux-generic/include/api}/odp_hints.h | 0 .../linux-generic/include/api}/odp_init.h | 0 .../linux-generic/include/api}/odp_packet.h | 0 .../linux-generic/include/api}/odp_packet_flags.h | 0 .../linux-generic/include/api}/odp_packet_io.h | 0 .../linux-generic/include/api}/odp_queue.h | 0 .../linux-generic/include/api}/odp_rwlock.h | 0 .../linux-generic/include/api}/odp_schedule.h | 0 .../linux-generic/include/api}/odp_shared_memory.h | 0 .../linux-generic/include/api}/odp_spinlock.h | 0 .../linux-generic/include/api}/odp_std_types.h | 0 .../linux-generic/include/api}/odp_sync.h | 0 .../linux-generic/include/api}/odp_system_info.h | 0 .../linux-generic/include/api}/odp_thread.h | 0 .../linux-generic/include/api}/odp_ticketlock.h | 0 .../linux-generic/include/api}/odp_time.h | 0 .../linux-generic/include/api}/odp_timer.h | 0 .../linux-generic/include/api}/odp_version.h | 0 platform/linux-keystone2/Makefile.am | 58 ++++++++++----------- 34 files changed, 89 insertions(+), 89 deletions(-) rename {include => platform/linux-generic/include/api}/odp.h (100%) rename {include => platform/linux-generic/include/api}/odp_align.h (100%) rename {include => platform/linux-generic/include/api}/odp_atomic.h (100%) rename {include => platform/linux-generic/include/api}/odp_barrier.h (100%) rename {include => platform/linux-generic/include/api}/odp_buffer.h (100%) rename {include => platform/linux-generic/include/api}/odp_buffer_pool.h (100%) rename {include => platform/linux-generic/include/api}/odp_byteorder.h (100%) rename {include => platform/linux-generic/include/api}/odp_compiler.h (100%) rename {include => platform/linux-generic/include/api}/odp_config.h (100%) rename {include => platform/linux-generic/include/api}/odp_coremask.h (100%) rename {include => platform/linux-generic/include/api}/odp_crypto.h (100%) rename {include => platform/linux-generic/include/api}/odp_debug.h (100%) rename {include => platform/linux-generic/include/api}/odp_hints.h (100%) rename {include => platform/linux-generic/include/api}/odp_init.h (100%) rename {include => platform/linux-generic/include/api}/odp_packet.h (100%) rename {include => platform/linux-generic/include/api}/odp_packet_flags.h (100%) rename {include => platform/linux-generic/include/api}/odp_packet_io.h (100%) rename {include => platform/linux-generic/include/api}/odp_queue.h (100%) rename {include => platform/linux-generic/include/api}/odp_rwlock.h (100%) rename {include => platform/linux-generic/include/api}/odp_schedule.h (100%) rename {include => platform/linux-generic/include/api}/odp_shared_memory.h (100%) rename {include => platform/linux-generic/include/api}/odp_spinlock.h (100%) rename {include => platform/linux-generic/include/api}/odp_std_types.h (100%) rename {include => platform/linux-generic/include/api}/odp_sync.h (100%) rename {include => platform/linux-generic/include/api}/odp_system_info.h (100%) rename {include => platform/linux-generic/include/api}/odp_thread.h (100%) rename {include => platform/linux-generic/include/api}/odp_ticketlock.h (100%) rename {include => platform/linux-generic/include/api}/odp_time.h (100%) rename {include => platform/linux-generic/include/api}/odp_timer.h (100%) rename {include => platform/linux-generic/include/api}/odp_version.h (100%)