diff --git a/common/inc/tx_byte_pool.h b/common/inc/tx_byte_pool.h index 8f1050fa8..3e5644911 100644 --- a/common/inc/tx_byte_pool.h +++ b/common/inc/tx_byte_pool.h @@ -101,7 +101,7 @@ VOID _tx_byte_pool_initialize(VOID); /* Define internal byte memory pool management function prototypes. */ -UCHAR *_tx_byte_pool_search(TX_BYTE_POOL *pool_ptr, ULONG memory_size); +UCHAR *_tx_byte_pool_search(volatile TX_BYTE_POOL *pool_ptr, ULONG memory_size); VOID _tx_byte_pool_cleanup(TX_THREAD *thread_ptr, ULONG suspension_sequence); diff --git a/common/src/tx_byte_pool_search.c b/common/src/tx_byte_pool_search.c index 504ad745b..9f5abd831 100644 --- a/common/src/tx_byte_pool_search.c +++ b/common/src/tx_byte_pool_search.c @@ -83,7 +83,7 @@ /* resulting in version 6.1.7 */ /* */ /**************************************************************************/ -UCHAR *_tx_byte_pool_search(TX_BYTE_POOL *pool_ptr, ULONG memory_size) +UCHAR *_tx_byte_pool_search(volatile TX_BYTE_POOL *pool_ptr, ULONG memory_size) { TX_INTERRUPT_SAVE_AREA diff --git a/common_smp/inc/tx_byte_pool.h b/common_smp/inc/tx_byte_pool.h index 8f1050fa8..3e5644911 100644 --- a/common_smp/inc/tx_byte_pool.h +++ b/common_smp/inc/tx_byte_pool.h @@ -101,7 +101,7 @@ VOID _tx_byte_pool_initialize(VOID); /* Define internal byte memory pool management function prototypes. */ -UCHAR *_tx_byte_pool_search(TX_BYTE_POOL *pool_ptr, ULONG memory_size); +UCHAR *_tx_byte_pool_search(volatile TX_BYTE_POOL *pool_ptr, ULONG memory_size); VOID _tx_byte_pool_cleanup(TX_THREAD *thread_ptr, ULONG suspension_sequence); diff --git a/common_smp/src/tx_byte_pool_search.c b/common_smp/src/tx_byte_pool_search.c index 7f24ee699..1183817cd 100644 --- a/common_smp/src/tx_byte_pool_search.c +++ b/common_smp/src/tx_byte_pool_search.c @@ -84,7 +84,7 @@ /* resulting in version 6.3.0 */ /* */ /**************************************************************************/ -UCHAR *_tx_byte_pool_search(TX_BYTE_POOL *pool_ptr, ULONG memory_size) +UCHAR *_tx_byte_pool_search(volatile TX_BYTE_POOL *pool_ptr, ULONG memory_size) { TX_INTERRUPT_SAVE_AREA