diff options
Diffstat (limited to 'common_smp')
| -rw-r--r-- | common_smp/inc/tx_api.h | 7 | ||||
| -rw-r--r-- | common_smp/src/tx_thread_create.c | 10 |
2 files changed, 11 insertions, 6 deletions
diff --git a/common_smp/inc/tx_api.h b/common_smp/inc/tx_api.h index f775768a..e57fd4b6 100644 --- a/common_smp/inc/tx_api.h +++ b/common_smp/inc/tx_api.h @@ -26,7 +26,7 @@ /* APPLICATION INTERFACE DEFINITION RELEASE */ /* */ /* tx_api.h PORTABLE SMP */ -/* 6.1.7 */ +/* 6.1.8 */ /* AUTHOR */ /* */ /* William E. Lamie, Microsoft Corporation */ @@ -61,6 +61,9 @@ /* 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 */ /* */ /**************************************************************************/ @@ -109,7 +112,7 @@ extern "C" { #define AZURE_RTOS_THREADX #define THREADX_MAJOR_VERSION 6 #define THREADX_MINOR_VERSION 1 -#define THREADX_PATCH_VERSION 7 +#define THREADX_PATCH_VERSION 8 /* Define the following symbol for backward compatibility */ #define EL_PRODUCT_THREADX diff --git a/common_smp/src/tx_thread_create.c b/common_smp/src/tx_thread_create.c index 70557627..d53a1815 100644 --- a/common_smp/src/tx_thread_create.c +++ b/common_smp/src/tx_thread_create.c @@ -37,7 +37,7 @@ /* FUNCTION RELEASE */ /* */ /* _tx_thread_create PORTABLE SMP */ -/* 6.1.3 */ +/* 6.1.8 */ /* AUTHOR */ /* */ /* William E. Lamie, Microsoft Corporation */ @@ -80,9 +80,11 @@ /* */ /* DATE NAME DESCRIPTION */ /* */ -/* 09-30-2020 William E. Lamie Initial Version 6.1 */ -/* 12-31-2020 Andres Mlinar Modified comment(s), */ +/* 09-30-2020 William E. Lamie Initial Version 6.1 */ +/* 12-31-2020 Andres Mlinar Modified comment(s), */ /* resulting in version 6.1.3 */ +/* 08-02-2021 Scott Larson Removed unneeded cast, */ +/* resulting in version 6.1.8 */ /* */ /**************************************************************************/ UINT _tx_thread_create(TX_THREAD *thread_ptr, CHAR *name_ptr, @@ -120,7 +122,7 @@ ALIGN_TYPE updated_stack_start; /* Ensure the starting stack address is evenly aligned. */ new_stack_start = TX_POINTER_TO_ALIGN_TYPE_CONVERT(stack_start); - updated_stack_start = ((((ULONG) new_stack_start) + ((sizeof(ULONG)) - ((ULONG) 1)) ) & (~((sizeof(ULONG)) - ((ULONG) 1)))); + updated_stack_start = (((new_stack_start) + ((sizeof(ULONG)) - ((ULONG) 1)) ) & (~((sizeof(ULONG)) - ((ULONG) 1)))); /* Determine if the starting stack address is different. */ if (new_stack_start != updated_stack_start) |
