Since V1:
rewording the commit message (Anders, Maxim)
correction of license date (2013->2016) in patch 12 (Anders)
This Patch series introduces the basic elements needed on the driver
interface: synchro mechanisms, atomics, spinlocks...
These are simply copied from the Application interface, with
minor changes on path and prefix to fit the new DRV interface.
Patch 1 reintroduce a change made in commit
1fcd2369be88a6f4f7a7a93e9bb315d0e65ab128 but lost after.
Patches 3,6,12,15 are cosmetic change on the API to please check-odp
before the copy is done to the drv interface
All other patches populates the drv interface with the basic elements.
Christophe Milard (18):
linux-generic: Makefile: reintroducing lost change for drv
linux-generic: moving the visibility files one step up
linux-generic: cosmetic changes on byteorder files
drv: adding byteorder.h
linux-generic: drv: adding byteorder.h
linux-generic: cosmetic changes on sync files
drv: adding sync.h
linux-generic: drv: adding sync.h
drv: fixing Makefile for std_types
drv: fixing Makefile for compiler.h
drv: adding align.h
linux-generic: drv: adding align.h
linux-generic: cosmetic changes on atomic
drv: adding atomic.h
linux-generic: drv: adding atomic
linux-generic: cosmetic changes on spinlock
drv: adding spinlock.h
linux-generic: adding spinlock.h
include/odp/api/spec/align.h | 4 +-
include/odp/api/spec/atomic.h | 5 +-
include/odp/api/spec/barrier.h | 4 +-
include/odp/api/spec/buffer.h | 4 +-
include/odp/api/spec/byteorder.h | 8 +-
include/odp/api/spec/classification.h | 4 +-
include/odp/api/spec/compiler.h | 4 +-
include/odp/api/spec/cpu.h | 4 +-
include/odp/api/spec/cpumask.h | 4 +-
include/odp/api/spec/crypto.h | 4 +-
include/odp/api/spec/debug.h | 4 +-
include/odp/api/spec/errno.h | 4 +-
include/odp/api/spec/event.h | 4 +-
include/odp/api/spec/hash.h | 4 +-
include/odp/api/spec/hints.h | 4 +-
include/odp/api/spec/init.h | 4 +-
include/odp/api/spec/packet.h | 4 +-
include/odp/api/spec/packet_flags.h | 4 +-
include/odp/api/spec/packet_io.h | 4 +-
include/odp/api/spec/packet_io_stats.h | 4 +-
include/odp/api/spec/pool.h | 4 +-
include/odp/api/spec/queue.h | 4 +-
include/odp/api/spec/random.h | 4 +-
include/odp/api/spec/rwlock.h | 4 +-
include/odp/api/spec/rwlock_recursive.h | 4 +-
include/odp/api/spec/schedule.h | 4 +-
include/odp/api/spec/schedule_types.h | 4 +-
include/odp/api/spec/shared_memory.h | 4 +-
include/odp/api/spec/spinlock.h | 11 +-
include/odp/api/spec/spinlock_recursive.h | 4 +-
include/odp/api/spec/std_clib.h | 4 +-
include/odp/api/spec/std_types.h | 4 +-
include/odp/api/spec/sync.h | 5 +-
include/odp/api/spec/system_info.h | 4 +-
include/odp/api/spec/thread.h | 4 +-
include/odp/api/spec/thrmask.h | 4 +-
include/odp/api/spec/ticketlock.h | 4 +-
include/odp/api/spec/time.h | 4 +-
include/odp/api/spec/timer.h | 4 +-
include/odp/api/spec/traffic_mngr.h | 4 +-
include/odp/api/spec/version.h | 4 +-
include/odp/drv/spec/align.h | 78 +++
include/odp/drv/spec/atomic.h | 634 +++++++++++++++++++++
include/odp/drv/spec/byteorder.h | 178 ++++++
include/odp/drv/spec/spinlock.h | 86 +++
include/odp/drv/spec/sync.h | 91 +++
include/odp_drv.h | 5 +
platform/Makefile.inc | 10 +
platform/linux-generic/Makefile.am | 25 +-
platform/linux-generic/drv_atomic.c | 26 +
platform/linux-generic/drv_spinlock.c | 39 ++
platform/linux-generic/include/odp/api/byteorder.h | 3 -
.../include/odp/api/plat/atomic_types.h | 1 -
.../include/odp/api/plat/byteorder_types.h | 3 -
platform/linux-generic/include/odp/drv/align.h | 60 ++
platform/linux-generic/include/odp/drv/atomic.h | 430 ++++++++++++++
platform/linux-generic/include/odp/drv/byteorder.h | 146 +++++
.../include/odp/drv/plat/atomic_types.h | 88 +++
.../include/odp/drv/plat/byteorder_types.h | 80 +++
.../include/odp/drv/plat/spinlock_types.h | 33 ++
platform/linux-generic/include/odp/drv/spinlock.h | 28 +
platform/linux-generic/include/odp/drv/sync.h | 49 ++
.../include/odp/{api => }/visibility_begin.h | 0
.../include/odp/{api => }/visibility_end.h | 0
platform/linux-generic/odp_spinlock.c | 4 -
65 files changed, 2166 insertions(+), 108 deletions(-)
create mode 100644 include/odp/drv/spec/align.h
create mode 100644 include/odp/drv/spec/atomic.h
create mode 100644 include/odp/drv/spec/byteorder.h
create mode 100644 include/odp/drv/spec/spinlock.h
create mode 100644 include/odp/drv/spec/sync.h
create mode 100644 platform/linux-generic/drv_atomic.c
create mode 100644 platform/linux-generic/drv_spinlock.c
create mode 100644 platform/linux-generic/include/odp/drv/align.h
create mode 100644 platform/linux-generic/include/odp/drv/atomic.h
create mode 100644 platform/linux-generic/include/odp/drv/byteorder.h
create mode 100644 platform/linux-generic/include/odp/drv/plat/atomic_types.h
create mode 100644
platform/linux-generic/include/odp/drv/plat/byteorder_types.h
create mode 100644 platform/linux-generic/include/odp/drv/plat/spinlock_types.h
create mode 100644 platform/linux-generic/include/odp/drv/spinlock.h
create mode 100644 platform/linux-generic/include/odp/drv/sync.h
rename platform/linux-generic/include/odp/{api => }/visibility_begin.h (100%)
rename platform/linux-generic/include/odp/{api => }/visibility_end.h (100%)
--
2.7.4