summaryrefslogtreecommitdiff
path: root/common/src
diff options
context:
space:
mode:
Diffstat (limited to 'common/src')
-rw-r--r--common/src/tx_block_pool_create.c4
-rw-r--r--common/src/tx_block_pool_info_get.c4
-rw-r--r--common/src/tx_byte_pool_create.c4
-rw-r--r--common/src/tx_byte_pool_info_get.c4
-rw-r--r--common/src/tx_event_flags_create.c4
-rw-r--r--common/src/tx_event_flags_info_get.c4
-rw-r--r--common/src/tx_misra.c20
-rw-r--r--common/src/tx_mutex_create.c4
-rw-r--r--common/src/tx_mutex_info_get.c4
-rw-r--r--common/src/tx_queue_create.c4
-rw-r--r--common/src/tx_queue_info_get.c4
-rw-r--r--common/src/tx_semaphore_create.c4
-rw-r--r--common/src/tx_semaphore_info_get.c4
-rw-r--r--common/src/tx_thread_create.c2
-rw-r--r--common/src/tx_thread_info_get.c4
-rw-r--r--common/src/tx_timer_create.c4
-rw-r--r--common/src/tx_timer_info_get.c4
-rw-r--r--common/src/tx_trace_object_register.c19
-rw-r--r--common/src/txe_block_pool_create.c4
-rw-r--r--common/src/txe_block_pool_info_get.c4
-rw-r--r--common/src/txe_byte_pool_create.c4
-rw-r--r--common/src/txe_byte_pool_info_get.c4
-rw-r--r--common/src/txe_event_flags_create.c4
-rw-r--r--common/src/txe_event_flags_info_get.c4
-rw-r--r--common/src/txe_mutex_create.c4
-rw-r--r--common/src/txe_mutex_info_get.c4
-rw-r--r--common/src/txe_queue_create.c4
-rw-r--r--common/src/txe_queue_info_get.c4
-rw-r--r--common/src/txe_semaphore_create.c4
-rw-r--r--common/src/txe_semaphore_info_get.c4
-rw-r--r--common/src/txe_thread_create.c4
-rw-r--r--common/src/txe_thread_info_get.c4
-rw-r--r--common/src/txe_timer_create.c4
-rw-r--r--common/src/txe_timer_info_get.c4
34 files changed, 122 insertions, 43 deletions
diff --git a/common/src/tx_block_pool_create.c b/common/src/tx_block_pool_create.c
index 1d2c803c..8781dc78 100644
--- a/common/src/tx_block_pool_create.c
+++ b/common/src/tx_block_pool_create.c
@@ -9,6 +9,8 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
+/* Portions of this file were generated with AI assistance. */
+
/**************************************************************************/
/**************************************************************************/
@@ -66,7 +68,7 @@
/* Application Code */
/* */
/**************************************************************************/
-UINT _tx_block_pool_create(TX_BLOCK_POOL *pool_ptr, CHAR *name_ptr, ULONG block_size,
+UINT _tx_block_pool_create(TX_BLOCK_POOL *pool_ptr, TX_NAME_CONST CHAR *name_ptr, ULONG block_size,
VOID *pool_start, ULONG pool_size)
{
diff --git a/common/src/tx_block_pool_info_get.c b/common/src/tx_block_pool_info_get.c
index 5998f1db..5e1e89fd 100644
--- a/common/src/tx_block_pool_info_get.c
+++ b/common/src/tx_block_pool_info_get.c
@@ -9,6 +9,8 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
+/* Portions of this file were generated with AI assistance. */
+
/**************************************************************************/
/**************************************************************************/
@@ -69,7 +71,7 @@
/* Application Code */
/* */
/**************************************************************************/
-UINT _tx_block_pool_info_get(TX_BLOCK_POOL *pool_ptr, CHAR **name, ULONG *available_blocks,
+UINT _tx_block_pool_info_get(TX_BLOCK_POOL *pool_ptr, TX_NAME_CONST CHAR **name, ULONG *available_blocks,
ULONG *total_blocks, TX_THREAD **first_suspended,
ULONG *suspended_count, TX_BLOCK_POOL **next_pool)
{
diff --git a/common/src/tx_byte_pool_create.c b/common/src/tx_byte_pool_create.c
index 21abbe35..f5c8460d 100644
--- a/common/src/tx_byte_pool_create.c
+++ b/common/src/tx_byte_pool_create.c
@@ -9,6 +9,8 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
+/* Portions of this file were generated with AI assistance. */
+
/**************************************************************************/
/**************************************************************************/
@@ -65,7 +67,7 @@
/* Application Code */
/* */
/**************************************************************************/
-UINT _tx_byte_pool_create(TX_BYTE_POOL *pool_ptr, CHAR *name_ptr, VOID *pool_start, ULONG pool_size)
+UINT _tx_byte_pool_create(TX_BYTE_POOL *pool_ptr, TX_NAME_CONST CHAR *name_ptr, VOID *pool_start, ULONG pool_size)
{
TX_INTERRUPT_SAVE_AREA
diff --git a/common/src/tx_byte_pool_info_get.c b/common/src/tx_byte_pool_info_get.c
index bd096440..e9e9efa4 100644
--- a/common/src/tx_byte_pool_info_get.c
+++ b/common/src/tx_byte_pool_info_get.c
@@ -9,6 +9,8 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
+/* Portions of this file were generated with AI assistance. */
+
/**************************************************************************/
/**************************************************************************/
@@ -69,7 +71,7 @@
/* Application Code */
/* */
/**************************************************************************/
-UINT _tx_byte_pool_info_get(TX_BYTE_POOL *pool_ptr, CHAR **name, ULONG *available_bytes,
+UINT _tx_byte_pool_info_get(TX_BYTE_POOL *pool_ptr, TX_NAME_CONST CHAR **name, ULONG *available_bytes,
ULONG *fragments, TX_THREAD **first_suspended,
ULONG *suspended_count, TX_BYTE_POOL **next_pool)
{
diff --git a/common/src/tx_event_flags_create.c b/common/src/tx_event_flags_create.c
index 2a9c042d..361fafa4 100644
--- a/common/src/tx_event_flags_create.c
+++ b/common/src/tx_event_flags_create.c
@@ -9,6 +9,8 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
+/* Portions of this file were generated with AI assistance. */
+
/**************************************************************************/
/**************************************************************************/
@@ -64,7 +66,7 @@
/* Application Code */
/* */
/**************************************************************************/
-UINT _tx_event_flags_create(TX_EVENT_FLAGS_GROUP *group_ptr, CHAR *name_ptr)
+UINT _tx_event_flags_create(TX_EVENT_FLAGS_GROUP *group_ptr, TX_NAME_CONST CHAR *name_ptr)
{
TX_INTERRUPT_SAVE_AREA
diff --git a/common/src/tx_event_flags_info_get.c b/common/src/tx_event_flags_info_get.c
index 21e85c9a..51ec345f 100644
--- a/common/src/tx_event_flags_info_get.c
+++ b/common/src/tx_event_flags_info_get.c
@@ -9,6 +9,8 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
+/* Portions of this file were generated with AI assistance. */
+
/**************************************************************************/
/**************************************************************************/
@@ -71,7 +73,7 @@
/* Application Code */
/* */
/**************************************************************************/
-UINT _tx_event_flags_info_get(TX_EVENT_FLAGS_GROUP *group_ptr, CHAR **name, ULONG *current_flags,
+UINT _tx_event_flags_info_get(TX_EVENT_FLAGS_GROUP *group_ptr, TX_NAME_CONST CHAR **name, ULONG *current_flags,
TX_THREAD **first_suspended, ULONG *suspended_count,
TX_EVENT_FLAGS_GROUP **next_group)
{
diff --git a/common/src/tx_misra.c b/common/src/tx_misra.c
index 9abf12f0..7ac5dc68 100644
--- a/common/src/tx_misra.c
+++ b/common/src/tx_misra.c
@@ -820,15 +820,29 @@ UCHAR *_tx_misra_entry_to_uchar_pointer_convert(TX_TRACE_BUFFER_ENTRY *pointer)
/***********************************************************************************************/
/***********************************************************************************************/
/** */
-/** UCHAR *_tx_misra_char_to_uchar_pointer_convert(CHAR *pointer); */
+/** const UCHAR *_tx_misra_char_to_uchar_pointer_convert(TX_NAME_CONST CHAR *pointer); */
/** */
/***********************************************************************************************/
/***********************************************************************************************/
-UCHAR *_tx_misra_char_to_uchar_pointer_convert(CHAR *pointer)
+const UCHAR *_tx_misra_char_to_uchar_pointer_convert(TX_NAME_CONST CHAR *pointer)
{
/* Return a UCHAR pointer. */
- return((UCHAR *) ((VOID *) pointer));
+ return((const UCHAR *) ((const VOID *) pointer));
+}
+
+
+/***********************************************************************************************/
+/***********************************************************************************************/
+/** */
+/** const UCHAR *_tx_misra_const_uchar_pointer_add(const UCHAR *ptr, ULONG amount); */
+/** */
+/***********************************************************************************************/
+/***********************************************************************************************/
+const UCHAR *_tx_misra_const_uchar_pointer_add(const UCHAR *ptr, ULONG amount)
+{
+ ptr = ptr + amount;
+ return(ptr);
}
diff --git a/common/src/tx_mutex_create.c b/common/src/tx_mutex_create.c
index 436c01f5..a1f5eba8 100644
--- a/common/src/tx_mutex_create.c
+++ b/common/src/tx_mutex_create.c
@@ -9,6 +9,8 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
+/* Portions of this file were generated with AI assistance. */
+
/**************************************************************************/
/**************************************************************************/
@@ -65,7 +67,7 @@
/* Application Code */
/* */
/**************************************************************************/
-UINT _tx_mutex_create(TX_MUTEX *mutex_ptr, CHAR *name_ptr, UINT inherit)
+UINT _tx_mutex_create(TX_MUTEX *mutex_ptr, TX_NAME_CONST CHAR *name_ptr, UINT inherit)
{
TX_INTERRUPT_SAVE_AREA
diff --git a/common/src/tx_mutex_info_get.c b/common/src/tx_mutex_info_get.c
index a24d1e30..3be2606b 100644
--- a/common/src/tx_mutex_info_get.c
+++ b/common/src/tx_mutex_info_get.c
@@ -9,6 +9,8 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
+/* Portions of this file were generated with AI assistance. */
+
/**************************************************************************/
/**************************************************************************/
@@ -70,7 +72,7 @@
/* Application Code */
/* */
/**************************************************************************/
-UINT _tx_mutex_info_get(TX_MUTEX *mutex_ptr, CHAR **name, ULONG *count, TX_THREAD **owner,
+UINT _tx_mutex_info_get(TX_MUTEX *mutex_ptr, TX_NAME_CONST CHAR **name, ULONG *count, TX_THREAD **owner,
TX_THREAD **first_suspended, ULONG *suspended_count,
TX_MUTEX **next_mutex)
{
diff --git a/common/src/tx_queue_create.c b/common/src/tx_queue_create.c
index 59ae154e..afb5648d 100644
--- a/common/src/tx_queue_create.c
+++ b/common/src/tx_queue_create.c
@@ -9,6 +9,8 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
+/* Portions of this file were generated with AI assistance. */
+
/**************************************************************************/
/**************************************************************************/
@@ -66,7 +68,7 @@
/* Application Code */
/* */
/**************************************************************************/
-UINT _tx_queue_create(TX_QUEUE *queue_ptr, CHAR *name_ptr, UINT message_size,
+UINT _tx_queue_create(TX_QUEUE *queue_ptr, TX_NAME_CONST CHAR *name_ptr, UINT message_size,
VOID *queue_start, ULONG queue_size)
{
diff --git a/common/src/tx_queue_info_get.c b/common/src/tx_queue_info_get.c
index d0ecb2b6..e25da54e 100644
--- a/common/src/tx_queue_info_get.c
+++ b/common/src/tx_queue_info_get.c
@@ -9,6 +9,8 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
+/* Portions of this file were generated with AI assistance. */
+
/**************************************************************************/
/**************************************************************************/
@@ -69,7 +71,7 @@
/* Application Code */
/* */
/**************************************************************************/
-UINT _tx_queue_info_get(TX_QUEUE *queue_ptr, CHAR **name, ULONG *enqueued, ULONG *available_storage,
+UINT _tx_queue_info_get(TX_QUEUE *queue_ptr, TX_NAME_CONST CHAR **name, ULONG *enqueued, ULONG *available_storage,
TX_THREAD **first_suspended, ULONG *suspended_count, TX_QUEUE **next_queue)
{
diff --git a/common/src/tx_semaphore_create.c b/common/src/tx_semaphore_create.c
index 849f5d3b..14553ca8 100644
--- a/common/src/tx_semaphore_create.c
+++ b/common/src/tx_semaphore_create.c
@@ -9,6 +9,8 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
+/* Portions of this file were generated with AI assistance. */
+
/**************************************************************************/
/**************************************************************************/
@@ -64,7 +66,7 @@
/* Application Code */
/* */
/**************************************************************************/
-UINT _tx_semaphore_create(TX_SEMAPHORE *semaphore_ptr, CHAR *name_ptr, ULONG initial_count)
+UINT _tx_semaphore_create(TX_SEMAPHORE *semaphore_ptr, TX_NAME_CONST CHAR *name_ptr, ULONG initial_count)
{
TX_INTERRUPT_SAVE_AREA
diff --git a/common/src/tx_semaphore_info_get.c b/common/src/tx_semaphore_info_get.c
index 89fd9423..2ffad1f7 100644
--- a/common/src/tx_semaphore_info_get.c
+++ b/common/src/tx_semaphore_info_get.c
@@ -9,6 +9,8 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
+/* Portions of this file were generated with AI assistance. */
+
/**************************************************************************/
/**************************************************************************/
@@ -69,7 +71,7 @@
/* Application Code */
/* */
/**************************************************************************/
-UINT _tx_semaphore_info_get(TX_SEMAPHORE *semaphore_ptr, CHAR **name, ULONG *current_value,
+UINT _tx_semaphore_info_get(TX_SEMAPHORE *semaphore_ptr, TX_NAME_CONST CHAR **name, ULONG *current_value,
TX_THREAD **first_suspended, ULONG *suspended_count,
TX_SEMAPHORE **next_semaphore)
{
diff --git a/common/src/tx_thread_create.c b/common/src/tx_thread_create.c
index 7c9d054c..cff4db40 100644
--- a/common/src/tx_thread_create.c
+++ b/common/src/tx_thread_create.c
@@ -78,7 +78,7 @@
/* _tx_timer_initialize Create system timer thread */
/* */
/**************************************************************************/
-UINT _tx_thread_create(TX_THREAD *thread_ptr, CHAR *name_ptr, VOID (*entry_function)(ULONG id), ULONG entry_input,
+UINT _tx_thread_create(TX_THREAD *thread_ptr, TX_NAME_CONST CHAR *name_ptr, VOID (*entry_function)(ULONG id), ULONG entry_input,
VOID *stack_start, ULONG stack_size, UINT priority, UINT preempt_threshold,
ULONG time_slice, UINT auto_start)
{
diff --git a/common/src/tx_thread_info_get.c b/common/src/tx_thread_info_get.c
index 740a3b95..cd0df6ec 100644
--- a/common/src/tx_thread_info_get.c
+++ b/common/src/tx_thread_info_get.c
@@ -9,6 +9,8 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
+/* Portions of this file were generated with AI assistance. */
+
/**************************************************************************/
/**************************************************************************/
@@ -72,7 +74,7 @@
/* Application Code */
/* */
/**************************************************************************/
-UINT _tx_thread_info_get(TX_THREAD *thread_ptr, CHAR **name, UINT *state, ULONG *run_count,
+UINT _tx_thread_info_get(TX_THREAD *thread_ptr, TX_NAME_CONST CHAR **name, UINT *state, ULONG *run_count,
UINT *priority, UINT *preemption_threshold, ULONG *time_slice,
TX_THREAD **next_thread, TX_THREAD **next_suspended_thread)
{
diff --git a/common/src/tx_timer_create.c b/common/src/tx_timer_create.c
index 30dd4e11..15eb866f 100644
--- a/common/src/tx_timer_create.c
+++ b/common/src/tx_timer_create.c
@@ -9,6 +9,8 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
+/* Portions of this file were generated with AI assistance. */
+
/**************************************************************************/
/**************************************************************************/
@@ -67,7 +69,7 @@
/* Application Code */
/* */
/**************************************************************************/
-UINT _tx_timer_create(TX_TIMER *timer_ptr, CHAR *name_ptr,
+UINT _tx_timer_create(TX_TIMER *timer_ptr, TX_NAME_CONST CHAR *name_ptr,
VOID (*expiration_function)(ULONG id), ULONG expiration_input,
ULONG initial_ticks, ULONG reschedule_ticks, UINT auto_activate)
{
diff --git a/common/src/tx_timer_info_get.c b/common/src/tx_timer_info_get.c
index 31c801f9..0811b592 100644
--- a/common/src/tx_timer_info_get.c
+++ b/common/src/tx_timer_info_get.c
@@ -9,6 +9,8 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
+/* Portions of this file were generated with AI assistance. */
+
/**************************************************************************/
/**************************************************************************/
@@ -68,7 +70,7 @@
/* Application Code */
/* */
/**************************************************************************/
-UINT _tx_timer_info_get(TX_TIMER *timer_ptr, CHAR **name, UINT *active, ULONG *remaining_ticks,
+UINT _tx_timer_info_get(TX_TIMER *timer_ptr, TX_NAME_CONST CHAR **name, UINT *active, ULONG *remaining_ticks,
ULONG *reschedule_ticks, TX_TIMER **next_timer)
{
diff --git a/common/src/tx_trace_object_register.c b/common/src/tx_trace_object_register.c
index 741896a5..a0d0f494 100644
--- a/common/src/tx_trace_object_register.c
+++ b/common/src/tx_trace_object_register.c
@@ -9,6 +9,8 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
+/* Portions of this file were generated with AI assistance. */
+
/**************************************************************************/
/**************************************************************************/
@@ -66,7 +68,7 @@
/* Application Code */
/* */
/**************************************************************************/
-VOID _tx_trace_object_register(UCHAR object_type, VOID *object_ptr, CHAR *object_name, ULONG parameter_1, ULONG parameter_2)
+VOID _tx_trace_object_register(UCHAR object_type, VOID *object_ptr, TX_NAME_CONST CHAR *object_name, ULONG parameter_1, ULONG parameter_2)
{
#ifdef TX_ENABLE_EVENT_TRACE
@@ -75,6 +77,7 @@ UINT i, entries;
UINT found, loop_break;
TX_THREAD *thread_ptr;
UCHAR *work_ptr;
+const UCHAR *name_ptr;
TX_TRACE_OBJECT_ENTRY *entry_ptr;
@@ -211,21 +214,21 @@ TX_TRACE_OBJECT_ENTRY *entry_ptr;
for (i = ((ULONG) 0); i < (((ULONG) TX_TRACE_OBJECT_REGISTRY_NAME)-((ULONG) 1)); i++)
{
- /* Setup work pointer to the object name character. */
- work_ptr = TX_CHAR_TO_UCHAR_POINTER_CONVERT(object_name);
- work_ptr = TX_UCHAR_POINTER_ADD(work_ptr, i);
+ /* Setup name pointer to the object name character. */
+ name_ptr = TX_CHAR_TO_UCHAR_POINTER_CONVERT(object_name);
+ name_ptr = TX_CONST_UCHAR_POINTER_ADD(name_ptr, i);
- /* Determine if object_name (work_ptr) is null. */
- if (work_ptr == TX_NULL)
+ /* Determine if object_name (name_ptr) is null. */
+ if (name_ptr == TX_NULL)
{
break;
}
/* Copy a character of the name. */
- entry_ptr -> tx_trace_object_entry_name[i] = (UCHAR) *work_ptr;
+ entry_ptr -> tx_trace_object_entry_name[i] = (UCHAR) *name_ptr;
/* Determine if we are at the end. */
- if (*work_ptr == ((UCHAR) 0))
+ if (*name_ptr == ((UCHAR) 0))
{
break;
}
diff --git a/common/src/txe_block_pool_create.c b/common/src/txe_block_pool_create.c
index 08ef7e69..b4c7e13f 100644
--- a/common/src/txe_block_pool_create.c
+++ b/common/src/txe_block_pool_create.c
@@ -9,6 +9,8 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
+/* Portions of this file were generated with AI assistance. */
+
/**************************************************************************/
/**************************************************************************/
@@ -74,7 +76,7 @@
/* Application Code */
/* */
/**************************************************************************/
-UINT _txe_block_pool_create(TX_BLOCK_POOL *pool_ptr, CHAR *name_ptr, ULONG block_size,
+UINT _txe_block_pool_create(TX_BLOCK_POOL *pool_ptr, TX_NAME_CONST CHAR *name_ptr, ULONG block_size,
VOID *pool_start, ULONG pool_size, UINT pool_control_block_size)
{
diff --git a/common/src/txe_block_pool_info_get.c b/common/src/txe_block_pool_info_get.c
index f91ca206..4c6003d7 100644
--- a/common/src/txe_block_pool_info_get.c
+++ b/common/src/txe_block_pool_info_get.c
@@ -9,6 +9,8 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
+/* Portions of this file were generated with AI assistance. */
+
/**************************************************************************/
/**************************************************************************/
@@ -70,7 +72,7 @@
/* Application Code */
/* */
/**************************************************************************/
-UINT _txe_block_pool_info_get(TX_BLOCK_POOL *pool_ptr, CHAR **name, ULONG *available_blocks,
+UINT _txe_block_pool_info_get(TX_BLOCK_POOL *pool_ptr, TX_NAME_CONST CHAR **name, ULONG *available_blocks,
ULONG *total_blocks, TX_THREAD **first_suspended,
ULONG *suspended_count, TX_BLOCK_POOL **next_pool)
{
diff --git a/common/src/txe_byte_pool_create.c b/common/src/txe_byte_pool_create.c
index 99a89698..9ae72ee9 100644
--- a/common/src/txe_byte_pool_create.c
+++ b/common/src/txe_byte_pool_create.c
@@ -9,6 +9,8 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
+/* Portions of this file were generated with AI assistance. */
+
/**************************************************************************/
/**************************************************************************/
@@ -73,7 +75,7 @@
/* Application Code */
/* */
/**************************************************************************/
-UINT _txe_byte_pool_create(TX_BYTE_POOL *pool_ptr, CHAR *name_ptr, VOID *pool_start, ULONG pool_size, UINT pool_control_block_size)
+UINT _txe_byte_pool_create(TX_BYTE_POOL *pool_ptr, TX_NAME_CONST CHAR *name_ptr, VOID *pool_start, ULONG pool_size, UINT pool_control_block_size)
{
TX_INTERRUPT_SAVE_AREA
diff --git a/common/src/txe_byte_pool_info_get.c b/common/src/txe_byte_pool_info_get.c
index 85e7a233..a83c907b 100644
--- a/common/src/txe_byte_pool_info_get.c
+++ b/common/src/txe_byte_pool_info_get.c
@@ -9,6 +9,8 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
+/* Portions of this file were generated with AI assistance. */
+
/**************************************************************************/
/**************************************************************************/
@@ -70,7 +72,7 @@
/* Application Code */
/* */
/**************************************************************************/
-UINT _txe_byte_pool_info_get(TX_BYTE_POOL *pool_ptr, CHAR **name, ULONG *available_bytes,
+UINT _txe_byte_pool_info_get(TX_BYTE_POOL *pool_ptr, TX_NAME_CONST CHAR **name, ULONG *available_bytes,
ULONG *fragments, TX_THREAD **first_suspended,
ULONG *suspended_count, TX_BYTE_POOL **next_pool)
{
diff --git a/common/src/txe_event_flags_create.c b/common/src/txe_event_flags_create.c
index 4e3fed77..20984738 100644
--- a/common/src/txe_event_flags_create.c
+++ b/common/src/txe_event_flags_create.c
@@ -9,6 +9,8 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
+/* Portions of this file were generated with AI assistance. */
+
/**************************************************************************/
/**************************************************************************/
@@ -70,7 +72,7 @@
/* Application Code */
/* */
/**************************************************************************/
-UINT _txe_event_flags_create(TX_EVENT_FLAGS_GROUP *group_ptr, CHAR *name_ptr, UINT event_control_block_size)
+UINT _txe_event_flags_create(TX_EVENT_FLAGS_GROUP *group_ptr, TX_NAME_CONST CHAR *name_ptr, UINT event_control_block_size)
{
TX_INTERRUPT_SAVE_AREA
diff --git a/common/src/txe_event_flags_info_get.c b/common/src/txe_event_flags_info_get.c
index e551d025..d7bddca4 100644
--- a/common/src/txe_event_flags_info_get.c
+++ b/common/src/txe_event_flags_info_get.c
@@ -9,6 +9,8 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
+/* Portions of this file were generated with AI assistance. */
+
/**************************************************************************/
/**************************************************************************/
@@ -72,7 +74,7 @@
/* Application Code */
/* */
/**************************************************************************/
-UINT _txe_event_flags_info_get(TX_EVENT_FLAGS_GROUP *group_ptr, CHAR **name, ULONG *current_flags,
+UINT _txe_event_flags_info_get(TX_EVENT_FLAGS_GROUP *group_ptr, TX_NAME_CONST CHAR **name, ULONG *current_flags,
TX_THREAD **first_suspended, ULONG *suspended_count,
TX_EVENT_FLAGS_GROUP **next_group)
{
diff --git a/common/src/txe_mutex_create.c b/common/src/txe_mutex_create.c
index 392f8b0e..a0461294 100644
--- a/common/src/txe_mutex_create.c
+++ b/common/src/txe_mutex_create.c
@@ -9,6 +9,8 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
+/* Portions of this file were generated with AI assistance. */
+
/**************************************************************************/
/**************************************************************************/
@@ -71,7 +73,7 @@
/* Application Code */
/* */
/**************************************************************************/
-UINT _txe_mutex_create(TX_MUTEX *mutex_ptr, CHAR *name_ptr, UINT inherit, UINT mutex_control_block_size)
+UINT _txe_mutex_create(TX_MUTEX *mutex_ptr, TX_NAME_CONST CHAR *name_ptr, UINT inherit, UINT mutex_control_block_size)
{
TX_INTERRUPT_SAVE_AREA
diff --git a/common/src/txe_mutex_info_get.c b/common/src/txe_mutex_info_get.c
index f4ef4168..93b43f91 100644
--- a/common/src/txe_mutex_info_get.c
+++ b/common/src/txe_mutex_info_get.c
@@ -9,6 +9,8 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
+/* Portions of this file were generated with AI assistance. */
+
/**************************************************************************/
/**************************************************************************/
@@ -71,7 +73,7 @@
/* Application Code */
/* */
/**************************************************************************/
-UINT _txe_mutex_info_get(TX_MUTEX *mutex_ptr, CHAR **name, ULONG *count, TX_THREAD **owner,
+UINT _txe_mutex_info_get(TX_MUTEX *mutex_ptr, TX_NAME_CONST CHAR **name, ULONG *count, TX_THREAD **owner,
TX_THREAD **first_suspended, ULONG *suspended_count,
TX_MUTEX **next_mutex)
{
diff --git a/common/src/txe_queue_create.c b/common/src/txe_queue_create.c
index 185289fe..79aef4a0 100644
--- a/common/src/txe_queue_create.c
+++ b/common/src/txe_queue_create.c
@@ -9,6 +9,8 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
+/* Portions of this file were generated with AI assistance. */
+
/**************************************************************************/
/**************************************************************************/
@@ -72,7 +74,7 @@
/* Application Code */
/* */
/**************************************************************************/
-UINT _txe_queue_create(TX_QUEUE *queue_ptr, CHAR *name_ptr, UINT message_size,
+UINT _txe_queue_create(TX_QUEUE *queue_ptr, TX_NAME_CONST CHAR *name_ptr, UINT message_size,
VOID *queue_start, ULONG queue_size, UINT queue_control_block_size)
{
diff --git a/common/src/txe_queue_info_get.c b/common/src/txe_queue_info_get.c
index 78d98392..90fdd410 100644
--- a/common/src/txe_queue_info_get.c
+++ b/common/src/txe_queue_info_get.c
@@ -9,6 +9,8 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
+/* Portions of this file were generated with AI assistance. */
+
/**************************************************************************/
/**************************************************************************/
@@ -70,7 +72,7 @@
/* Application Code */
/* */
/**************************************************************************/
-UINT _txe_queue_info_get(TX_QUEUE *queue_ptr, CHAR **name, ULONG *enqueued, ULONG *available_storage,
+UINT _txe_queue_info_get(TX_QUEUE *queue_ptr, TX_NAME_CONST CHAR **name, ULONG *enqueued, ULONG *available_storage,
TX_THREAD **first_suspended, ULONG *suspended_count, TX_QUEUE **next_queue)
{
diff --git a/common/src/txe_semaphore_create.c b/common/src/txe_semaphore_create.c
index a190b03c..d538f5fe 100644
--- a/common/src/txe_semaphore_create.c
+++ b/common/src/txe_semaphore_create.c
@@ -9,6 +9,8 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
+/* Portions of this file were generated with AI assistance. */
+
/**************************************************************************/
/**************************************************************************/
@@ -70,7 +72,7 @@
/* Application Code */
/* */
/**************************************************************************/
-UINT _txe_semaphore_create(TX_SEMAPHORE *semaphore_ptr, CHAR *name_ptr, ULONG initial_count, UINT semaphore_control_block_size)
+UINT _txe_semaphore_create(TX_SEMAPHORE *semaphore_ptr, TX_NAME_CONST CHAR *name_ptr, ULONG initial_count, UINT semaphore_control_block_size)
{
TX_INTERRUPT_SAVE_AREA
diff --git a/common/src/txe_semaphore_info_get.c b/common/src/txe_semaphore_info_get.c
index 7695028e..85747dc3 100644
--- a/common/src/txe_semaphore_info_get.c
+++ b/common/src/txe_semaphore_info_get.c
@@ -9,6 +9,8 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
+/* Portions of this file were generated with AI assistance. */
+
/**************************************************************************/
/**************************************************************************/
@@ -70,7 +72,7 @@
/* Application Code */
/* */
/**************************************************************************/
-UINT _txe_semaphore_info_get(TX_SEMAPHORE *semaphore_ptr, CHAR **name, ULONG *current_value,
+UINT _txe_semaphore_info_get(TX_SEMAPHORE *semaphore_ptr, TX_NAME_CONST CHAR **name, ULONG *current_value,
TX_THREAD **first_suspended, ULONG *suspended_count,
TX_SEMAPHORE **next_semaphore)
{
diff --git a/common/src/txe_thread_create.c b/common/src/txe_thread_create.c
index d319bc9e..cc5033b2 100644
--- a/common/src/txe_thread_create.c
+++ b/common/src/txe_thread_create.c
@@ -9,6 +9,8 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
+/* Portions of this file were generated with AI assistance. */
+
/**************************************************************************/
/**************************************************************************/
@@ -79,7 +81,7 @@
/* Application Code */
/* */
/**************************************************************************/
-UINT _txe_thread_create(TX_THREAD *thread_ptr, CHAR *name_ptr,
+UINT _txe_thread_create(TX_THREAD *thread_ptr, TX_NAME_CONST CHAR *name_ptr,
VOID (*entry_function)(ULONG id), ULONG entry_input,
VOID *stack_start, ULONG stack_size,
UINT priority, UINT preempt_threshold,
diff --git a/common/src/txe_thread_info_get.c b/common/src/txe_thread_info_get.c
index ad1db3f7..19e248eb 100644
--- a/common/src/txe_thread_info_get.c
+++ b/common/src/txe_thread_info_get.c
@@ -9,6 +9,8 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
+/* Portions of this file were generated with AI assistance. */
+
/**************************************************************************/
/**************************************************************************/
@@ -74,7 +76,7 @@
/* Application Code */
/* */
/**************************************************************************/
-UINT _txe_thread_info_get(TX_THREAD *thread_ptr, CHAR **name, UINT *state, ULONG *run_count,
+UINT _txe_thread_info_get(TX_THREAD *thread_ptr, TX_NAME_CONST CHAR **name, UINT *state, ULONG *run_count,
UINT *priority, UINT *preemption_threshold, ULONG *time_slice,
TX_THREAD **next_thread, TX_THREAD **next_suspended_thread)
{
diff --git a/common/src/txe_timer_create.c b/common/src/txe_timer_create.c
index 02cf7c1a..8c481bde 100644
--- a/common/src/txe_timer_create.c
+++ b/common/src/txe_timer_create.c
@@ -9,6 +9,8 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
+/* Portions of this file were generated with AI assistance. */
+
/**************************************************************************/
/**************************************************************************/
@@ -74,7 +76,7 @@
/* Application Code */
/* */
/**************************************************************************/
-UINT _txe_timer_create(TX_TIMER *timer_ptr, CHAR *name_ptr,
+UINT _txe_timer_create(TX_TIMER *timer_ptr, TX_NAME_CONST CHAR *name_ptr,
VOID (*expiration_function)(ULONG id), ULONG expiration_input,
ULONG initial_ticks, ULONG reschedule_ticks, UINT auto_activate, UINT timer_control_block_size)
{
diff --git a/common/src/txe_timer_info_get.c b/common/src/txe_timer_info_get.c
index 16ac5f64..be2e9a13 100644
--- a/common/src/txe_timer_info_get.c
+++ b/common/src/txe_timer_info_get.c
@@ -9,6 +9,8 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
+/* Portions of this file were generated with AI assistance. */
+
/**************************************************************************/
/**************************************************************************/
@@ -69,7 +71,7 @@
/* Application Code */
/* */
/**************************************************************************/
-UINT _txe_timer_info_get(TX_TIMER *timer_ptr, CHAR **name, UINT *active, ULONG *remaining_ticks,
+UINT _txe_timer_info_get(TX_TIMER *timer_ptr, TX_NAME_CONST CHAR **name, UINT *active, ULONG *remaining_ticks,
ULONG *reschedule_ticks, TX_TIMER **next_timer)
{