summaryrefslogtreecommitdiff
path: root/common_smp/inc
diff options
context:
space:
mode:
authorFrédéric Desbiens <[email protected]>2026-03-06 19:27:49 +0100
committerGitHub <[email protected]>2026-03-06 19:27:49 +0100
commit3726d7906b4808bfec7855fc088e073199df9120 (patch)
tree8789bfd03d1d49e1967e80d04aa4ff606fda43eb /common_smp/inc
parent4b6e8100d932a3a67b34c6eb17f84f3bffb9e2ae (diff)
parentc3259a216026372e3833dd8996a68f77e8595fbd (diff)
Merge pull request #510 from eclipse-threadx/devv6.5.0.202601_rel
Merge changes ahead of the v6.5.0.202601 release
Diffstat (limited to 'common_smp/inc')
-rw-r--r--common_smp/inc/tx_api.h75
-rw-r--r--common_smp/inc/tx_block_pool.h15
-rw-r--r--common_smp/inc/tx_byte_pool.h15
-rw-r--r--common_smp/inc/tx_event_flags.h15
-rw-r--r--common_smp/inc/tx_initialize.h15
-rw-r--r--common_smp/inc/tx_mutex.h15
-rw-r--r--common_smp/inc/tx_queue.h15
-rw-r--r--common_smp/inc/tx_semaphore.h15
-rw-r--r--common_smp/inc/tx_thread.h15
-rw-r--r--common_smp/inc/tx_timer.h13
-rw-r--r--common_smp/inc/tx_trace.h15
-rw-r--r--common_smp/inc/tx_user_sample.h36
12 files changed, 57 insertions, 202 deletions
diff --git a/common_smp/inc/tx_api.h b/common_smp/inc/tx_api.h
index ae5ffc8f..7d0ccbe5 100644
--- a/common_smp/inc/tx_api.h
+++ b/common_smp/inc/tx_api.h
@@ -1,5 +1,6 @@
/***************************************************************************
* Copyright (c) 2024 Microsoft Corporation
+ * Copyright (c) 2026-present Eclipse ThreadX contributors
*
* This program and the accompanying materials are made available under the
* terms of the MIT License which is available at
@@ -38,66 +39,6 @@
/* Please note that basic data type definitions and other architecture-*/
/* specific information is contained in the file tx_port.h. */
/* */
-/* RELEASE HISTORY */
-/* */
-/* DATE NAME DESCRIPTION */
-/* */
-/* 09-30-2020 William E. Lamie Initial Version 6.1 */
-/* 10-16-2020 William E. Lamie Modified comment(s), and */
-/* increased patch version, */
-/* resulting in version 6.1.1 */
-/* 12-31-2020 William E. Lamie Modified comment(s), and */
-/* increased patch version, */
-/* resulting in version 6.1.3 */
-/* 03-02-2021 Scott Larson Modified comment(s), and */
-/* order defines numerically, */
-/* add option to remove FileX */
-/* pointer, fix whitespace, */
-/* resulting in version 6.1.5 */
-/* 04-02-2021 Scott Larson Modified comment(s), and */
-/* update patch number, */
-/* resulting in version 6.1.6 */
-/* 06-02-2021 Scott Larson Added options for multiple */
-/* block pool search & delay, */
-/* resulting in version 6.1.7 */
-/* 08-02-2021 Scott Larson Modified comment(s), and */
-/* update patch number, */
-/* resulting in version 6.1.8 */
-/* 10-15-2021 Yuxin Zhou Modified comment(s), */
-/* update patch number, */
-/* resulting in version 6.1.9 */
-/* 01-31-2022 Scott Larson Modified comment(s), */
-/* add unused parameter macro, */
-/* update patch number, */
-/* resulting in version 6.1.10 */
-/* 04-25-2022 Wenhui Xie Modified comment(s), */
-/* optimized the definition of */
-/* TX_TIMER_TICKS_PER_SECOND, */
-/* resulting in version 6.1.11 */
-/* 07-29-2022 Scott Larson Modified comment(s), */
-/* update patch number, */
-/* resulting in version 6.1.12 */
-/* 10-31-2022 Scott Larson Modified comment(s), */
-/* add extension macros, */
-/* update version numbers, */
-/* resulting in version 6.2.0 */
-/* 03-08-2023 Tiejun Zhou Modified comment(s), */
-/* update patch number, */
-/* resulting in version 6.2.1 */
-/* 10-31-2023 Xiuwen Cai Modified comment(s), */
-/* added option for random */
-/* number stack filling, */
-/* resulting in version 6.3.0 */
-/* 12-31-2023 Tiejun Zhou Modified comment(s), */
-/* update version number, */
-/* resulting in version 6.4.0 */
-/* 03-01-2024 Tiejun Zhou Modified comment(s), */
-/* update version number, */
-/* resulting in version 6.4.1 */
-/* 02-19-2025 Frédéric Desbiens Modified comment(s), */
-/* update version number, */
-/* resulting in version 6.4.2 */
-/* */
/**************************************************************************/
#ifndef TX_API_H
@@ -149,9 +90,9 @@ extern "C" {
#define AZURE_RTOS_THREADX
#define THREADX_MAJOR_VERSION 6
-#define THREADX_MINOR_VERSION 4
-#define THREADX_PATCH_VERSION 5
-#define THREADX_BUILD_VERSION 202504
+#define THREADX_MINOR_VERSION 5
+#define THREADX_PATCH_VERSION 0
+#define THREADX_BUILD_VERSION 202601
#define THREADX_HOTFIX_VERSION ' '
@@ -334,6 +275,14 @@ extern "C" {
#endif
+/* Define the default maximum message size in a queue. The default value is TX_16_ULONG, but may
+ be customized in tx_user.h or as a compilation option. */
+
+#ifndef TX_QUEUE_MESSAGE_MAX_SIZE
+#define TX_QUEUE_MESSAGE_MAX_SIZE TX_16_ULONG
+#endif
+
+
/* Event numbers 0 through 4095 are reserved by Azure RTOS. Specific event assignments are:
ThreadX events: 1-199
diff --git a/common_smp/inc/tx_block_pool.h b/common_smp/inc/tx_block_pool.h
index 2a8bb51e..89c9dfbe 100644
--- a/common_smp/inc/tx_block_pool.h
+++ b/common_smp/inc/tx_block_pool.h
@@ -1,10 +1,11 @@
/***************************************************************************
- * Copyright (c) 2024 Microsoft Corporation
- *
+ * Copyright (c) 2024 Microsoft Corporation
+ * Copyright (c) 2026-present Eclipse ThreadX contributors
+ *
* This program and the accompanying materials are made available under the
* terms of the MIT License which is available at
* https://opensource.org/licenses/MIT.
- *
+ *
* SPDX-License-Identifier: MIT
**************************************************************************/
@@ -36,14 +37,6 @@
/* including all data types and external references. It is assumed */
/* that tx_api.h and tx_port.h have already been included. */
/* */
-/* RELEASE HISTORY */
-/* */
-/* DATE NAME DESCRIPTION */
-/* */
-/* 05-19-2020 William E. Lamie Initial Version 6.0 */
-/* 09-30-2020 Yuxin Zhou Modified comment(s), */
-/* resulting in version 6.1 */
-/* */
/**************************************************************************/
#ifndef TX_BLOCK_POOL_H
diff --git a/common_smp/inc/tx_byte_pool.h b/common_smp/inc/tx_byte_pool.h
index 8f1050fa..b9f34311 100644
--- a/common_smp/inc/tx_byte_pool.h
+++ b/common_smp/inc/tx_byte_pool.h
@@ -1,10 +1,11 @@
/***************************************************************************
- * Copyright (c) 2024 Microsoft Corporation
- *
+ * Copyright (c) 2024 Microsoft Corporation
+ * Copyright (c) 2026-present Eclipse ThreadX contributors
+ *
* This program and the accompanying materials are made available under the
* terms of the MIT License which is available at
* https://opensource.org/licenses/MIT.
- *
+ *
* SPDX-License-Identifier: MIT
**************************************************************************/
@@ -36,14 +37,6 @@
/* including all data types and external references. It is assumed */
/* that tx_api.h and tx_port.h have already been included. */
/* */
-/* RELEASE HISTORY */
-/* */
-/* DATE NAME DESCRIPTION */
-/* */
-/* 05-19-2020 William E. Lamie Initial Version 6.0 */
-/* 09-30-2020 Yuxin Zhou Modified comment(s), */
-/* resulting in version 6.1 */
-/* */
/**************************************************************************/
#ifndef TX_BYTE_POOL_H
diff --git a/common_smp/inc/tx_event_flags.h b/common_smp/inc/tx_event_flags.h
index 51e99536..6506dd13 100644
--- a/common_smp/inc/tx_event_flags.h
+++ b/common_smp/inc/tx_event_flags.h
@@ -1,10 +1,11 @@
/***************************************************************************
- * Copyright (c) 2024 Microsoft Corporation
- *
+ * Copyright (c) 2024 Microsoft Corporation
+ * Copyright (c) 2026-present Eclipse ThreadX contributors
+ *
* This program and the accompanying materials are made available under the
* terms of the MIT License which is available at
* https://opensource.org/licenses/MIT.
- *
+ *
* SPDX-License-Identifier: MIT
**************************************************************************/
@@ -36,14 +37,6 @@
/* including all data types and external references. It is assumed */
/* that tx_api.h and tx_port.h have already been included. */
/* */
-/* RELEASE HISTORY */
-/* */
-/* DATE NAME DESCRIPTION */
-/* */
-/* 05-19-2020 William E. Lamie Initial Version 6.0 */
-/* 09-30-2020 Yuxin Zhou Modified comment(s), */
-/* resulting in version 6.1 */
-/* */
/**************************************************************************/
#ifndef TX_EVENT_FLAGS_H
diff --git a/common_smp/inc/tx_initialize.h b/common_smp/inc/tx_initialize.h
index 28c7251b..fd944965 100644
--- a/common_smp/inc/tx_initialize.h
+++ b/common_smp/inc/tx_initialize.h
@@ -1,10 +1,11 @@
/***************************************************************************
- * Copyright (c) 2024 Microsoft Corporation
- *
+ * Copyright (c) 2024 Microsoft Corporation
+ * Copyright (c) 2026-present Eclipse ThreadX contributors
+ *
* This program and the accompanying materials are made available under the
* terms of the MIT License which is available at
* https://opensource.org/licenses/MIT.
- *
+ *
* SPDX-License-Identifier: MIT
**************************************************************************/
@@ -36,14 +37,6 @@
/* data types and external references. It is assumed that tx_api.h */
/* and tx_port.h have already been included. */
/* */
-/* RELEASE HISTORY */
-/* */
-/* DATE NAME DESCRIPTION */
-/* */
-/* 05-19-2020 William E. Lamie Initial Version 6.0 */
-/* 09-30-2020 Yuxin Zhou Modified comment(s), */
-/* resulting in version 6.1 */
-/* */
/**************************************************************************/
#ifndef TX_INITIALIZE_H
diff --git a/common_smp/inc/tx_mutex.h b/common_smp/inc/tx_mutex.h
index a3b52386..b0b46c2f 100644
--- a/common_smp/inc/tx_mutex.h
+++ b/common_smp/inc/tx_mutex.h
@@ -1,10 +1,11 @@
/***************************************************************************
- * Copyright (c) 2024 Microsoft Corporation
- *
+ * Copyright (c) 2024 Microsoft Corporation
+ * Copyright (c) 2026-present Eclipse ThreadX contributors
+ *
* This program and the accompanying materials are made available under the
* terms of the MIT License which is available at
* https://opensource.org/licenses/MIT.
- *
+ *
* SPDX-License-Identifier: MIT
**************************************************************************/
@@ -36,14 +37,6 @@
/* including all data types and external references. It is assumed */
/* that tx_api.h and tx_port.h have already been included. */
/* */
-/* RELEASE HISTORY */
-/* */
-/* DATE NAME DESCRIPTION */
-/* */
-/* 05-19-2020 William E. Lamie Initial Version 6.0 */
-/* 09-30-2020 Yuxin Zhou Modified comment(s), */
-/* resulting in version 6.1 */
-/* */
/**************************************************************************/
#ifndef TX_MUTEX_H
diff --git a/common_smp/inc/tx_queue.h b/common_smp/inc/tx_queue.h
index 7074a91e..c8b4122c 100644
--- a/common_smp/inc/tx_queue.h
+++ b/common_smp/inc/tx_queue.h
@@ -1,10 +1,11 @@
/***************************************************************************
- * Copyright (c) 2024 Microsoft Corporation
- *
+ * Copyright (c) 2024 Microsoft Corporation
+ * Copyright (c) 2026-present Eclipse ThreadX contributors
+ *
* This program and the accompanying materials are made available under the
* terms of the MIT License which is available at
* https://opensource.org/licenses/MIT.
- *
+ *
* SPDX-License-Identifier: MIT
**************************************************************************/
@@ -36,14 +37,6 @@
/* including all data types and external references. It is assumed */
/* that tx_api.h and tx_port.h have already been included. */
/* */
-/* RELEASE HISTORY */
-/* */
-/* DATE NAME DESCRIPTION */
-/* */
-/* 05-19-2020 William E. Lamie Initial Version 6.0 */
-/* 09-30-2020 Yuxin Zhou Modified comment(s), */
-/* resulting in version 6.1 */
-/* */
/**************************************************************************/
#ifndef TX_QUEUE_H
diff --git a/common_smp/inc/tx_semaphore.h b/common_smp/inc/tx_semaphore.h
index 6784e58f..baf292bd 100644
--- a/common_smp/inc/tx_semaphore.h
+++ b/common_smp/inc/tx_semaphore.h
@@ -1,10 +1,11 @@
/***************************************************************************
- * Copyright (c) 2024 Microsoft Corporation
- *
+ * Copyright (c) 2024 Microsoft Corporation
+ * Copyright (c) 2026-present Eclipse ThreadX contributors
+ *
* This program and the accompanying materials are made available under the
* terms of the MIT License which is available at
* https://opensource.org/licenses/MIT.
- *
+ *
* SPDX-License-Identifier: MIT
**************************************************************************/
@@ -36,14 +37,6 @@
/* including all data types and external references. It is assumed */
/* that tx_api.h and tx_port.h have already been included. */
/* */
-/* RELEASE HISTORY */
-/* */
-/* DATE NAME DESCRIPTION */
-/* */
-/* 05-19-2020 William E. Lamie Initial Version 6.0 */
-/* 09-30-2020 Yuxin Zhou Modified comment(s), */
-/* resulting in version 6.1 */
-/* */
/**************************************************************************/
#ifndef TX_SEMAPHORE_H
diff --git a/common_smp/inc/tx_thread.h b/common_smp/inc/tx_thread.h
index 8bd68438..7dc7801b 100644
--- a/common_smp/inc/tx_thread.h
+++ b/common_smp/inc/tx_thread.h
@@ -1,10 +1,11 @@
/***************************************************************************
- * Copyright (c) 2024 Microsoft Corporation
- *
+ * Copyright (c) 2024 Microsoft Corporation
+ * Copyright (c) 2026-present Eclipse ThreadX contributors
+ *
* This program and the accompanying materials are made available under the
* terms of the MIT License which is available at
* https://opensource.org/licenses/MIT.
- *
+ *
* SPDX-License-Identifier: MIT
**************************************************************************/
@@ -36,14 +37,6 @@
/* data types and external references. It is assumed that tx_api.h */
/* and tx_port.h have already been included. */
/* */
-/* RELEASE HISTORY */
-/* */
-/* DATE NAME DESCRIPTION */
-/* */
-/* 09-30-2020 William E. Lamie Initial Version 6.1 */
-/* 10-31-2023 Tiejun Zhou Fixed MISRA2012 rule 8.3, */
-/* resulting in version 6.3.0 */
-/* */
/**************************************************************************/
#ifndef TX_THREAD_H
diff --git a/common_smp/inc/tx_timer.h b/common_smp/inc/tx_timer.h
index d8277082..71a65b27 100644
--- a/common_smp/inc/tx_timer.h
+++ b/common_smp/inc/tx_timer.h
@@ -1,10 +1,11 @@
/***************************************************************************
- * Copyright (c) 2024 Microsoft Corporation
- *
+ * Copyright (c) 2024 Microsoft Corporation
+ * Copyright (c) 2026-present Eclipse ThreadX contributors
+ *
* This program and the accompanying materials are made available under the
* terms of the MIT License which is available at
* https://opensource.org/licenses/MIT.
- *
+ *
* SPDX-License-Identifier: MIT
**************************************************************************/
@@ -36,12 +37,6 @@
/* data types and external references. It is assumed that tx_api.h */
/* and tx_port.h have already been included. */
/* */
-/* RELEASE HISTORY */
-/* */
-/* DATE NAME DESCRIPTION */
-/* */
-/* 09-30-2020 William E. Lamie Initial Version 6.1 */
-/* */
/**************************************************************************/
#ifndef TX_TIMER_H
diff --git a/common_smp/inc/tx_trace.h b/common_smp/inc/tx_trace.h
index 07da204b..ea0e59e5 100644
--- a/common_smp/inc/tx_trace.h
+++ b/common_smp/inc/tx_trace.h
@@ -1,10 +1,11 @@
/***************************************************************************
- * Copyright (c) 2024 Microsoft Corporation
- *
+ * Copyright (c) 2024 Microsoft Corporation
+ * Copyright (c) 2026-present Eclipse ThreadX contributors
+ *
* This program and the accompanying materials are made available under the
* terms of the MIT License which is available at
* https://opensource.org/licenses/MIT.
- *
+ *
* SPDX-License-Identifier: MIT
**************************************************************************/
@@ -35,14 +36,6 @@
/* and structure definitions as well as external references. It is */
/* assumed that tx_api.h and tx_port.h have already been included. */
/* */
-/* RELEASE HISTORY */
-/* */
-/* DATE NAME DESCRIPTION */
-/* */
-/* 05-19-2020 William E. Lamie Initial Version 6.0 */
-/* 09-30-2020 Yuxin Zhou Modified comment(s), */
-/* resulting in version 6.1 */
-/* */
/**************************************************************************/
diff --git a/common_smp/inc/tx_user_sample.h b/common_smp/inc/tx_user_sample.h
index e7ecb56a..64ff9aed 100644
--- a/common_smp/inc/tx_user_sample.h
+++ b/common_smp/inc/tx_user_sample.h
@@ -1,10 +1,11 @@
/***************************************************************************
- * Copyright (c) 2024 Microsoft Corporation
- *
+ * Copyright (c) 2024 Microsoft Corporation
+ * Copyright (c) 2026-present Eclipse ThreadX contributors
+ *
* This program and the accompanying materials are made available under the
* terms of the MIT License which is available at
* https://opensource.org/licenses/MIT.
- *
+ *
* SPDX-License-Identifier: MIT
**************************************************************************/
@@ -39,33 +40,6 @@
/* Note that all the defines in this file may also be made on the */
/* command line when building ThreadX library and application objects. */
/* */
-/* RELEASE HISTORY */
-/* */
-/* DATE NAME DESCRIPTION */
-/* */
-/* 05-19-2020 William E. Lamie Initial Version 6.0 */
-/* 09-30-2020 Yuxin Zhou Modified comment(s), */
-/* resulting in version 6.1 */
-/* 03-02-2021 Scott Larson Modified comment(s), */
-/* added option to remove */
-/* FileX pointer, */
-/* resulting in version 6.1.5 */
-/* 06-02-2021 Scott Larson Added options for multiple */
-/* block pool search & delay, */
-/* resulting in version 6.1.7 */
-/* 10-15-2021 Yuxin Zhou Modified comment(s), added */
-/* user-configurable symbol */
-/* TX_TIMER_TICKS_PER_SECOND */
-/* resulting in version 6.1.9 */
-/* 04-25-2022 Wenhui Xie Modified comment(s), */
-/* optimized the definition of */
-/* TX_TIMER_TICKS_PER_SECOND, */
-/* resulting in version 6.1.11 */
-/* 10-31-2023 Xiuwen Cai Modified comment(s), */
-/* added option for random */
-/* number stack filling, */
-/* resulting in version 6.3.0 */
-/* */
/**************************************************************************/
#ifndef TX_USER_H
@@ -175,7 +149,7 @@
/* Determine if random number is used for stack filling. By default, ThreadX uses a fixed
pattern for stack filling. When the following is defined, ThreadX uses a random number
- for stack filling. This is effective only when TX_ENABLE_STACK_CHECKING is defined. */
+ for stack filling. This is effective only when TX_ENABLE_STACK_CHECKING is defined. */
/*
#define TX_ENABLE_RANDOM_NUMBER_STACK_FILLING