aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/include/odp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/linux-generic/include/odp')
-rw-r--r--platform/linux-generic/include/odp/api/plat/atomic_inlines.h8
-rw-r--r--platform/linux-generic/include/odp/api/plat/buffer_inline_types.h6
-rw-r--r--platform/linux-generic/include/odp/api/plat/buffer_inlines.h6
-rw-r--r--platform/linux-generic/include/odp/api/plat/byteorder_inlines.h6
-rw-r--r--platform/linux-generic/include/odp/api/plat/cpu_inlines.h84
-rw-r--r--platform/linux-generic/include/odp/api/plat/crypto_inlines.h6
-rw-r--r--platform/linux-generic/include/odp/api/plat/debug_inlines.h8
-rw-r--r--platform/linux-generic/include/odp/api/plat/dma_inlines.h6
-rw-r--r--platform/linux-generic/include/odp/api/plat/event_inline_types.h8
-rw-r--r--platform/linux-generic/include/odp/api/plat/event_inlines.h37
-rw-r--r--platform/linux-generic/include/odp/api/plat/event_validation_external.h6
-rw-r--r--platform/linux-generic/include/odp/api/plat/event_vector_inline_types.h6
-rw-r--r--platform/linux-generic/include/odp/api/plat/hash_inlines.h6
-rw-r--r--platform/linux-generic/include/odp/api/plat/ipsec_inlines.h6
-rw-r--r--platform/linux-generic/include/odp/api/plat/packet_flag_inlines.h8
-rw-r--r--platform/linux-generic/include/odp/api/plat/packet_inline_types.h8
-rw-r--r--platform/linux-generic/include/odp/api/plat/packet_inlines.h9
-rw-r--r--platform/linux-generic/include/odp/api/plat/packet_io_inlines.h8
-rw-r--r--platform/linux-generic/include/odp/api/plat/packet_vector_inlines.h7
-rw-r--r--platform/linux-generic/include/odp/api/plat/pool_inline_types.h6
-rw-r--r--platform/linux-generic/include/odp/api/plat/pool_inlines.h6
-rw-r--r--platform/linux-generic/include/odp/api/plat/queue_inline_types.h8
-rw-r--r--platform/linux-generic/include/odp/api/plat/queue_inlines.h8
-rw-r--r--platform/linux-generic/include/odp/api/plat/rwlock_inlines.h8
-rw-r--r--platform/linux-generic/include/odp/api/plat/rwlock_recursive_inlines.h8
-rw-r--r--platform/linux-generic/include/odp/api/plat/schedule_inline_types.h6
-rw-r--r--platform/linux-generic/include/odp/api/plat/schedule_inlines.h6
-rw-r--r--platform/linux-generic/include/odp/api/plat/spinlock_inlines.h8
-rw-r--r--platform/linux-generic/include/odp/api/plat/spinlock_recursive_inlines.h8
-rw-r--r--platform/linux-generic/include/odp/api/plat/std_inlines.h6
-rw-r--r--platform/linux-generic/include/odp/api/plat/strong_types.h6
-rw-r--r--platform/linux-generic/include/odp/api/plat/thread_inline_types.h8
-rw-r--r--platform/linux-generic/include/odp/api/plat/thread_inlines.h6
-rw-r--r--platform/linux-generic/include/odp/api/plat/ticketlock_inlines.h6
-rw-r--r--platform/linux-generic/include/odp/api/plat/time_inlines.h8
-rw-r--r--platform/linux-generic/include/odp/api/plat/timer_inline_types.h6
-rw-r--r--platform/linux-generic/include/odp/api/plat/timer_inlines.h6
37 files changed, 192 insertions, 171 deletions
diff --git a/platform/linux-generic/include/odp/api/plat/atomic_inlines.h b/platform/linux-generic/include/odp/api/plat/atomic_inlines.h
index e47559102..fabf2eb04 100644
--- a/platform/linux-generic/include/odp/api/plat/atomic_inlines.h
+++ b/platform/linux-generic/include/odp/api/plat/atomic_inlines.h
@@ -1,8 +1,6 @@
-/* Copyright (c) 2016-2018, Linaro Limited
- * Copyright (c) 2021, Nokia
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2016-2018 Linaro Limited
+ * Copyright (c) 2021 Nokia
*/
/**
diff --git a/platform/linux-generic/include/odp/api/plat/buffer_inline_types.h b/platform/linux-generic/include/odp/api/plat/buffer_inline_types.h
index f64a176f5..3b0307cea 100644
--- a/platform/linux-generic/include/odp/api/plat/buffer_inline_types.h
+++ b/platform/linux-generic/include/odp/api/plat/buffer_inline_types.h
@@ -1,7 +1,5 @@
-/* Copyright (c) 2022, Nokia
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2022 Nokia
*/
#ifndef ODP_PLAT_BUFFER_INLINE_TYPES_H_
diff --git a/platform/linux-generic/include/odp/api/plat/buffer_inlines.h b/platform/linux-generic/include/odp/api/plat/buffer_inlines.h
index 75ef36cf3..4ef9687e7 100644
--- a/platform/linux-generic/include/odp/api/plat/buffer_inlines.h
+++ b/platform/linux-generic/include/odp/api/plat/buffer_inlines.h
@@ -1,7 +1,5 @@
-/* Copyright (c) 2019-2023, Nokia
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2019-2023 Nokia
*/
#ifndef ODP_PLAT_BUFFER_INLINES_H_
diff --git a/platform/linux-generic/include/odp/api/plat/byteorder_inlines.h b/platform/linux-generic/include/odp/api/plat/byteorder_inlines.h
index 31d2f1db9..692c66c74 100644
--- a/platform/linux-generic/include/odp/api/plat/byteorder_inlines.h
+++ b/platform/linux-generic/include/odp/api/plat/byteorder_inlines.h
@@ -1,7 +1,5 @@
-/* Copyright (c) 2016-2018, Linaro Limited
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2016-2018 Linaro Limited
*/
/**
diff --git a/platform/linux-generic/include/odp/api/plat/cpu_inlines.h b/platform/linux-generic/include/odp/api/plat/cpu_inlines.h
index bb1b89154..556597441 100644
--- a/platform/linux-generic/include/odp/api/plat/cpu_inlines.h
+++ b/platform/linux-generic/include/odp/api/plat/cpu_inlines.h
@@ -1,8 +1,6 @@
-/* Copyright (c) 2018, Linaro Limited
- * Copyright (c) 2021-2023, Nokia
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2018 Linaro Limited
+ * Copyright (c) 2021-2023 Nokia
*/
#ifndef ODP_PLAT_CPU_INLINES_H_
@@ -19,11 +17,21 @@
#ifndef _ODP_NO_INLINE
/* Inline functions by default */
#define _ODP_INLINE static inline
- #define odp_cpu_pause __odp_cpu_pause
- #define odp_cpu_cycles __odp_cpu_cycles
- #define odp_cpu_cycles_max __odp_cpu_cycles_max
- #define odp_cpu_cycles_resolution __odp_cpu_cycles_resolution
- #define odp_cpu_cycles_diff __odp_cpu_cycles_diff
+ #define odp_cpu_pause __odp_cpu_pause
+ #define odp_cpu_cycles __odp_cpu_cycles
+ #define odp_cpu_cycles_max __odp_cpu_cycles_max
+ #define odp_cpu_cycles_resolution __odp_cpu_cycles_resolution
+ #define odp_cpu_cycles_diff __odp_cpu_cycles_diff
+ #define odp_prefetch __odp_prefetch
+ #define odp_prefetch_l1 __odp_prefetch_l1
+ #define odp_prefetch_l2 __odp_prefetch_l2
+ #define odp_prefetch_l3 __odp_prefetch_l3
+ #define odp_prefetch_store __odp_prefetch_store
+ #define odp_prefetch_store_l1 __odp_prefetch_store_l1
+ #define odp_prefetch_store_l2 __odp_prefetch_store_l2
+ #define odp_prefetch_store_l3 __odp_prefetch_store_l3
+ #define odp_prefetch_strm_l1 __odp_prefetch_strm_l1
+ #define odp_prefetch_store_strm_l1 __odp_prefetch_store_strm_l1
#else
#define _ODP_INLINE
#endif
@@ -56,6 +64,62 @@ _ODP_INLINE uint64_t odp_cpu_cycles_diff(uint64_t c2, uint64_t c1)
return c2 + (odp_cpu_cycles_max() - c1) + _odp_cpu_cycles_resolution();
}
+_ODP_INLINE void odp_prefetch(const void *ptr)
+{
+ /*
+ * __builtin_prefetch (const void *addr, rw, locality)
+ *
+ * rw 0..1 (0: read, 1: write)
+ * locality 0..3 (0: don't leave to cache, 3: leave on all cache levels)
+ */
+ __builtin_prefetch(ptr, 0, 3);
+}
+
+_ODP_INLINE void odp_prefetch_l1(const void *ptr)
+{
+ __builtin_prefetch(ptr, 0, 3);
+}
+
+_ODP_INLINE void odp_prefetch_l2(const void *ptr)
+{
+ __builtin_prefetch(ptr, 0, 2);
+}
+
+_ODP_INLINE void odp_prefetch_l3(const void *ptr)
+{
+ __builtin_prefetch(ptr, 0, 1);
+}
+
+_ODP_INLINE void odp_prefetch_store(const void *ptr)
+{
+ __builtin_prefetch(ptr, 1, 3);
+}
+
+_ODP_INLINE void odp_prefetch_store_l1(const void *ptr)
+{
+ __builtin_prefetch(ptr, 1, 3);
+}
+
+_ODP_INLINE void odp_prefetch_store_l2(const void *ptr)
+{
+ __builtin_prefetch(ptr, 1, 2);
+}
+
+_ODP_INLINE void odp_prefetch_store_l3(const void *ptr)
+{
+ __builtin_prefetch(ptr, 1, 1);
+}
+
+_ODP_INLINE void odp_prefetch_strm_l1(const void *ptr)
+{
+ __builtin_prefetch(ptr, 0, 0);
+}
+
+_ODP_INLINE void odp_prefetch_store_strm_l1(const void *ptr)
+{
+ __builtin_prefetch(ptr, 1, 0);
+}
+
/** @endcond */
#endif
diff --git a/platform/linux-generic/include/odp/api/plat/crypto_inlines.h b/platform/linux-generic/include/odp/api/plat/crypto_inlines.h
index f350edfea..c8b6ae5ba 100644
--- a/platform/linux-generic/include/odp/api/plat/crypto_inlines.h
+++ b/platform/linux-generic/include/odp/api/plat/crypto_inlines.h
@@ -1,7 +1,5 @@
-/* Copyright (c) 2022, Nokia
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2022 Nokia
*/
#ifndef ODP_PLAT_CRYPTO_INLINES_H_
diff --git a/platform/linux-generic/include/odp/api/plat/debug_inlines.h b/platform/linux-generic/include/odp/api/plat/debug_inlines.h
index 0755b1fda..8502cb05e 100644
--- a/platform/linux-generic/include/odp/api/plat/debug_inlines.h
+++ b/platform/linux-generic/include/odp/api/plat/debug_inlines.h
@@ -1,8 +1,6 @@
-/* Copyright (c) 2014-2018, Linaro Limited
- * Copyright (c) 2020-2023, Nokia
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2014-2018 Linaro Limited
+ * Copyright (c) 2020-2023 Nokia
*/
/**
diff --git a/platform/linux-generic/include/odp/api/plat/dma_inlines.h b/platform/linux-generic/include/odp/api/plat/dma_inlines.h
index 84b5fef5b..da3b25c0d 100644
--- a/platform/linux-generic/include/odp/api/plat/dma_inlines.h
+++ b/platform/linux-generic/include/odp/api/plat/dma_inlines.h
@@ -1,7 +1,5 @@
-/* Copyright (c) 2023, Nokia
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2023 Nokia
*/
#ifndef ODP_PLAT_DMA_INLINES_H_
diff --git a/platform/linux-generic/include/odp/api/plat/event_inline_types.h b/platform/linux-generic/include/odp/api/plat/event_inline_types.h
index cbf01588f..641b2a290 100644
--- a/platform/linux-generic/include/odp/api/plat/event_inline_types.h
+++ b/platform/linux-generic/include/odp/api/plat/event_inline_types.h
@@ -1,8 +1,6 @@
-/* Copyright (c) 2018, Linaro Limited
- * Copyright (c) 2022, Nokia
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2018 Linaro Limited
+ * Copyright (c) 2022 Nokia
*/
#ifndef ODP_PLAT_EVENT_INLINE_TYPES_H_
diff --git a/platform/linux-generic/include/odp/api/plat/event_inlines.h b/platform/linux-generic/include/odp/api/plat/event_inlines.h
index 990575166..0bff84aef 100644
--- a/platform/linux-generic/include/odp/api/plat/event_inlines.h
+++ b/platform/linux-generic/include/odp/api/plat/event_inlines.h
@@ -1,8 +1,6 @@
-/* Copyright (c) 2018, Linaro Limited
- * Copyright (c) 2022-2023, Nokia
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2018 Linaro Limited
+ * Copyright (c) 2022-2024 Nokia
*/
#ifndef ODP_PLAT_EVENT_INLINES_H_
@@ -31,6 +29,7 @@
#define odp_event_pool __odp_event_pool
#define odp_event_user_area __odp_event_user_area
#define odp_event_user_area_and_flag __odp_event_user_area_and_flag
+ #define odp_event_user_flag_set __odp_event_user_flag_set
#define odp_event_subtype __odp_event_subtype
#define odp_event_types __odp_event_types
#define odp_event_types_multi __odp_event_types_multi
@@ -154,6 +153,34 @@ _ODP_INLINE void *odp_event_user_area_and_flag(odp_event_t event, int *flag)
}
}
+_ODP_INLINE void odp_event_user_flag_set(odp_event_t event, int val)
+{
+ const odp_event_type_t type = __odp_event_type_get(event);
+
+ switch (type) {
+ case ODP_EVENT_PACKET:
+ {
+ odp_packet_t pkt = (odp_packet_t)event;
+ _odp_packet_flags_t *flags = _odp_pkt_get_ptr(pkt, _odp_packet_flags_t, flags);
+
+ flags->user_flag = !!val;
+ return;
+ }
+ case ODP_EVENT_PACKET_VECTOR:
+ {
+ odp_packet_vector_t pktv = (odp_packet_vector_t)event;
+ _odp_event_vector_flags_t *flags =
+ _odp_event_vect_get_ptr(pktv, _odp_event_vector_flags_t, flags);
+
+ flags->user_flag = !!val;
+ return;
+ }
+ default:
+ /* Nothing to do */
+ return;
+ }
+}
+
_ODP_INLINE odp_event_subtype_t odp_event_subtype(odp_event_t event)
{
return __odp_event_subtype_get(event);
diff --git a/platform/linux-generic/include/odp/api/plat/event_validation_external.h b/platform/linux-generic/include/odp/api/plat/event_validation_external.h
index 7f5c0364f..05d98bcf2 100644
--- a/platform/linux-generic/include/odp/api/plat/event_validation_external.h
+++ b/platform/linux-generic/include/odp/api/plat/event_validation_external.h
@@ -1,7 +1,5 @@
-/* Copyright (c) 2023, Nokia
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2023 Nokia
*/
/**
diff --git a/platform/linux-generic/include/odp/api/plat/event_vector_inline_types.h b/platform/linux-generic/include/odp/api/plat/event_vector_inline_types.h
index 773f5171c..7b956be5d 100644
--- a/platform/linux-generic/include/odp/api/plat/event_vector_inline_types.h
+++ b/platform/linux-generic/include/odp/api/plat/event_vector_inline_types.h
@@ -1,7 +1,5 @@
-/* Copyright (c) 2020, Nokia
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2020 Nokia
*/
#ifndef ODP_PLAT_EVENT_VECTOR_INLINE_TYPES_H_
diff --git a/platform/linux-generic/include/odp/api/plat/hash_inlines.h b/platform/linux-generic/include/odp/api/plat/hash_inlines.h
index b38a34d53..db781597f 100644
--- a/platform/linux-generic/include/odp/api/plat/hash_inlines.h
+++ b/platform/linux-generic/include/odp/api/plat/hash_inlines.h
@@ -1,7 +1,5 @@
-/* Copyright (c) 2021, Nokia
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2021 Nokia
*/
#ifndef ODP_PLAT_HASH_INLINES_H_
diff --git a/platform/linux-generic/include/odp/api/plat/ipsec_inlines.h b/platform/linux-generic/include/odp/api/plat/ipsec_inlines.h
index 1d1f6ec61..924708371 100644
--- a/platform/linux-generic/include/odp/api/plat/ipsec_inlines.h
+++ b/platform/linux-generic/include/odp/api/plat/ipsec_inlines.h
@@ -1,7 +1,5 @@
-/* Copyright (c) 2022, Nokia
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2022 Nokia
*/
#ifndef ODP_PLAT_IPSEC_INLINES_H_
diff --git a/platform/linux-generic/include/odp/api/plat/packet_flag_inlines.h b/platform/linux-generic/include/odp/api/plat/packet_flag_inlines.h
index 9330d89f8..00ca1e694 100644
--- a/platform/linux-generic/include/odp/api/plat/packet_flag_inlines.h
+++ b/platform/linux-generic/include/odp/api/plat/packet_flag_inlines.h
@@ -1,8 +1,6 @@
-/* Copyright (c) 2017-2018, Linaro Limited
- * Copyright (c) 2022, Nokia
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2017-2018 Linaro Limited
+ * Copyright (c) 2022 Nokia
*/
/**
diff --git a/platform/linux-generic/include/odp/api/plat/packet_inline_types.h b/platform/linux-generic/include/odp/api/plat/packet_inline_types.h
index 691965624..e819c48a3 100644
--- a/platform/linux-generic/include/odp/api/plat/packet_inline_types.h
+++ b/platform/linux-generic/include/odp/api/plat/packet_inline_types.h
@@ -1,8 +1,6 @@
-/* Copyright (c) 2015-2018, Linaro Limited
- * Copyright (c) 2019-2022, Nokia
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2015-2018 Linaro Limited
+ * Copyright (c) 2019-2022 Nokia
*/
diff --git a/platform/linux-generic/include/odp/api/plat/packet_inlines.h b/platform/linux-generic/include/odp/api/plat/packet_inlines.h
index 2dd74fa29..ff79013e6 100644
--- a/platform/linux-generic/include/odp/api/plat/packet_inlines.h
+++ b/platform/linux-generic/include/odp/api/plat/packet_inlines.h
@@ -1,8 +1,6 @@
-/* Copyright (c) 2017-2018, Linaro Limited
- * Copyright (c) 2019-2022, Nokia
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2017-2018 Linaro Limited
+ * Copyright (c) 2019-2022 Nokia
*/
/**
@@ -14,6 +12,7 @@
#ifndef _ODP_PLAT_PACKET_INLINES_H_
#define _ODP_PLAT_PACKET_INLINES_H_
+#include <odp/api/cpu.h>
#include <odp/api/event.h>
#include <odp/api/hints.h>
#include <odp/api/packet_types.h>
diff --git a/platform/linux-generic/include/odp/api/plat/packet_io_inlines.h b/platform/linux-generic/include/odp/api/plat/packet_io_inlines.h
index a3d1d0d61..5c7a815b5 100644
--- a/platform/linux-generic/include/odp/api/plat/packet_io_inlines.h
+++ b/platform/linux-generic/include/odp/api/plat/packet_io_inlines.h
@@ -1,8 +1,6 @@
-/* Copyright (c) 2018-2018, Linaro Limited
- * Copyright (c) 2022, Nokia
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2018 Linaro Limited
+ * Copyright (c) 2022 Nokia
*/
#ifndef ODP_PLAT_PACKET_IO_INLINES_H_
diff --git a/platform/linux-generic/include/odp/api/plat/packet_vector_inlines.h b/platform/linux-generic/include/odp/api/plat/packet_vector_inlines.h
index 2f8e0a709..9aa15ae60 100644
--- a/platform/linux-generic/include/odp/api/plat/packet_vector_inlines.h
+++ b/platform/linux-generic/include/odp/api/plat/packet_vector_inlines.h
@@ -1,8 +1,5 @@
-/* Copyright (c) 2020-2022, Nokia
- *
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2020-2022 Nokia
*/
/**
diff --git a/platform/linux-generic/include/odp/api/plat/pool_inline_types.h b/platform/linux-generic/include/odp/api/plat/pool_inline_types.h
index fbff7eda7..b1c078c6a 100644
--- a/platform/linux-generic/include/odp/api/plat/pool_inline_types.h
+++ b/platform/linux-generic/include/odp/api/plat/pool_inline_types.h
@@ -1,7 +1,5 @@
-/* Copyright (c) 2015-2018, Linaro Limited
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2015-2018 Linaro Limited
*/
/**
diff --git a/platform/linux-generic/include/odp/api/plat/pool_inlines.h b/platform/linux-generic/include/odp/api/plat/pool_inlines.h
index 58d66fad2..9b206b9f7 100644
--- a/platform/linux-generic/include/odp/api/plat/pool_inlines.h
+++ b/platform/linux-generic/include/odp/api/plat/pool_inlines.h
@@ -1,7 +1,5 @@
-/* Copyright (c) 2022, Nokia
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2022 Nokia
*/
#ifndef ODP_PLAT_POOL_INLINES_H_
diff --git a/platform/linux-generic/include/odp/api/plat/queue_inline_types.h b/platform/linux-generic/include/odp/api/plat/queue_inline_types.h
index 593942072..c224ae092 100644
--- a/platform/linux-generic/include/odp/api/plat/queue_inline_types.h
+++ b/platform/linux-generic/include/odp/api/plat/queue_inline_types.h
@@ -1,8 +1,6 @@
-/* Copyright (c) 2018, Linaro Limited
- * Copyright (c) 2023, Nokia
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2018 Linaro Limited
+ * Copyright (c) 2023 Nokia
*/
#ifndef ODP_PLAT_QUEUE_INLINE_TYPES_H_
diff --git a/platform/linux-generic/include/odp/api/plat/queue_inlines.h b/platform/linux-generic/include/odp/api/plat/queue_inlines.h
index 609c0c9e4..1c8d369c3 100644
--- a/platform/linux-generic/include/odp/api/plat/queue_inlines.h
+++ b/platform/linux-generic/include/odp/api/plat/queue_inlines.h
@@ -1,8 +1,6 @@
-/* Copyright (c) 2018, Linaro Limited
- * Copyright (c) 2023, Nokia
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2018 Linaro Limited
+ * Copyright (c) 2023 Nokia
*/
#ifndef ODP_PLAT_QUEUE_INLINES_H_
diff --git a/platform/linux-generic/include/odp/api/plat/rwlock_inlines.h b/platform/linux-generic/include/odp/api/plat/rwlock_inlines.h
index 0bb9d8c6e..7df3727dd 100644
--- a/platform/linux-generic/include/odp/api/plat/rwlock_inlines.h
+++ b/platform/linux-generic/include/odp/api/plat/rwlock_inlines.h
@@ -1,8 +1,6 @@
-/* Copyright (c) 2014-2018, Linaro Limited
- * Copyright (c) 2022, Nokia
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2014-2018 Linaro Limited
+ * Copyright (c) 2022 Nokia
*/
#ifndef ODP_PLAT_RWLOCK_INLINES_H_
diff --git a/platform/linux-generic/include/odp/api/plat/rwlock_recursive_inlines.h b/platform/linux-generic/include/odp/api/plat/rwlock_recursive_inlines.h
index 21ad4be4a..ab9a03e21 100644
--- a/platform/linux-generic/include/odp/api/plat/rwlock_recursive_inlines.h
+++ b/platform/linux-generic/include/odp/api/plat/rwlock_recursive_inlines.h
@@ -1,8 +1,6 @@
-/* Copyright (c) 2013-2018, Linaro Limited
- * Copyright (c) 2022, Nokia
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2013-2018 Linaro Limited
+ * Copyright (c) 2022 Nokia
*/
#ifndef ODP_PLAT_RWLOCK_RECURSIVE_INLINES_H_
diff --git a/platform/linux-generic/include/odp/api/plat/schedule_inline_types.h b/platform/linux-generic/include/odp/api/plat/schedule_inline_types.h
index 92089c9a0..17bad6488 100644
--- a/platform/linux-generic/include/odp/api/plat/schedule_inline_types.h
+++ b/platform/linux-generic/include/odp/api/plat/schedule_inline_types.h
@@ -1,7 +1,5 @@
-/* Copyright (c) 2022, Nokia
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2022 Nokia
*/
#ifndef ODP_PLAT_SCHEDULE_INLINE_TYPES_H_
diff --git a/platform/linux-generic/include/odp/api/plat/schedule_inlines.h b/platform/linux-generic/include/odp/api/plat/schedule_inlines.h
index 733b068d9..2162bd8e6 100644
--- a/platform/linux-generic/include/odp/api/plat/schedule_inlines.h
+++ b/platform/linux-generic/include/odp/api/plat/schedule_inlines.h
@@ -1,7 +1,5 @@
-/* Copyright (c) 2022, Nokia
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2022 Nokia
*/
#ifndef ODP_PLAT_SCHEDULE_INLINES_H_
diff --git a/platform/linux-generic/include/odp/api/plat/spinlock_inlines.h b/platform/linux-generic/include/odp/api/plat/spinlock_inlines.h
index a04c43f88..6a07350de 100644
--- a/platform/linux-generic/include/odp/api/plat/spinlock_inlines.h
+++ b/platform/linux-generic/include/odp/api/plat/spinlock_inlines.h
@@ -1,8 +1,6 @@
-/* Copyright (c) 2013-2018, Linaro Limited
- * Copyright (c) 2022, Nokia
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2013-2018 Linaro Limited
+ * Copyright (c) 2022 Nokia
*/
#ifndef ODP_PLAT_SPINLOCK_INLINES_H_
diff --git a/platform/linux-generic/include/odp/api/plat/spinlock_recursive_inlines.h b/platform/linux-generic/include/odp/api/plat/spinlock_recursive_inlines.h
index e795353f4..04d3ee11d 100644
--- a/platform/linux-generic/include/odp/api/plat/spinlock_recursive_inlines.h
+++ b/platform/linux-generic/include/odp/api/plat/spinlock_recursive_inlines.h
@@ -1,8 +1,6 @@
-/* Copyright (c) 2013-2018, Linaro Limited
- * Copyright (c) 2022, Nokia
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2013-2018 Linaro Limited
+ * Copyright (c) 2022 Nokia
*/
#ifndef ODP_PLAT_SPINLOCK_RECURSIVE_INLINES_H_
diff --git a/platform/linux-generic/include/odp/api/plat/std_inlines.h b/platform/linux-generic/include/odp/api/plat/std_inlines.h
index 3f6a7e9d4..0e875258b 100644
--- a/platform/linux-generic/include/odp/api/plat/std_inlines.h
+++ b/platform/linux-generic/include/odp/api/plat/std_inlines.h
@@ -1,7 +1,5 @@
-/* Copyright (c) 2016-2018, Linaro Limited
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2016-2018 Linaro Limited
*/
#ifndef ODP_PLAT_STD_INLINE_H_
diff --git a/platform/linux-generic/include/odp/api/plat/strong_types.h b/platform/linux-generic/include/odp/api/plat/strong_types.h
index 6b61c7c27..3866c8080 100644
--- a/platform/linux-generic/include/odp/api/plat/strong_types.h
+++ b/platform/linux-generic/include/odp/api/plat/strong_types.h
@@ -1,7 +1,5 @@
-/* Copyright (c) 2015-2018, Linaro Limited
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2015-2018 Linaro Limited
*/
diff --git a/platform/linux-generic/include/odp/api/plat/thread_inline_types.h b/platform/linux-generic/include/odp/api/plat/thread_inline_types.h
index d24263fa7..e594a37ff 100644
--- a/platform/linux-generic/include/odp/api/plat/thread_inline_types.h
+++ b/platform/linux-generic/include/odp/api/plat/thread_inline_types.h
@@ -1,8 +1,6 @@
-/* Copyright (c) 2018-2018, Linaro Limited
- * Copyright (c) 2022, Nokia
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2018 Linaro Limited
+ * Copyright (c) 2022 Nokia
*/
#ifndef ODP_PLAT_THREAD_INLINE_TYPES_H_
diff --git a/platform/linux-generic/include/odp/api/plat/thread_inlines.h b/platform/linux-generic/include/odp/api/plat/thread_inlines.h
index 2b6957064..be8ee9725 100644
--- a/platform/linux-generic/include/odp/api/plat/thread_inlines.h
+++ b/platform/linux-generic/include/odp/api/plat/thread_inlines.h
@@ -1,7 +1,5 @@
-/* Copyright (c) 2018-2018, Linaro Limited
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2018 Linaro Limited
*/
#ifndef ODP_PLAT_THREAD_INLINES_H_
diff --git a/platform/linux-generic/include/odp/api/plat/ticketlock_inlines.h b/platform/linux-generic/include/odp/api/plat/ticketlock_inlines.h
index b596d1609..24eddf195 100644
--- a/platform/linux-generic/include/odp/api/plat/ticketlock_inlines.h
+++ b/platform/linux-generic/include/odp/api/plat/ticketlock_inlines.h
@@ -1,7 +1,5 @@
-/* Copyright (c) 2016-2018, Linaro Limited
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2016-2018 Linaro Limited
*/
#ifndef _ODP_PLAT_TICKETLOCK_INLINES_H_
diff --git a/platform/linux-generic/include/odp/api/plat/time_inlines.h b/platform/linux-generic/include/odp/api/plat/time_inlines.h
index 8ead06f7b..d7295c9d0 100644
--- a/platform/linux-generic/include/odp/api/plat/time_inlines.h
+++ b/platform/linux-generic/include/odp/api/plat/time_inlines.h
@@ -1,8 +1,6 @@
-/* Copyright (c) 2018, Linaro Limited
- * Copyright (c) 2020-2023, Nokia
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2018 Linaro Limited
+ * Copyright (c) 2020-2023 Nokia
*/
#ifndef ODP_PLAT_TIME_INLINES_H_
diff --git a/platform/linux-generic/include/odp/api/plat/timer_inline_types.h b/platform/linux-generic/include/odp/api/plat/timer_inline_types.h
index 330cbe4ce..a89660bc2 100644
--- a/platform/linux-generic/include/odp/api/plat/timer_inline_types.h
+++ b/platform/linux-generic/include/odp/api/plat/timer_inline_types.h
@@ -1,7 +1,5 @@
-/* Copyright (c) 2022, Nokia
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2022 Nokia
*/
#ifndef ODP_PLAT_TIMER_INLINE_TYPES_H_
diff --git a/platform/linux-generic/include/odp/api/plat/timer_inlines.h b/platform/linux-generic/include/odp/api/plat/timer_inlines.h
index d2982079f..c5ba380e5 100644
--- a/platform/linux-generic/include/odp/api/plat/timer_inlines.h
+++ b/platform/linux-generic/include/odp/api/plat/timer_inlines.h
@@ -1,7 +1,5 @@
-/* Copyright (c) 2022-2023, Nokia
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2022-2023 Nokia
*/
#ifndef ODP_PLAT_TIMER_INLINES_H_