summaryrefslogtreecommitdiff
path: root/ports_module/rxv2/iar/inc
diff options
context:
space:
mode:
Diffstat (limited to 'ports_module/rxv2/iar/inc')
-rw-r--r--ports_module/rxv2/iar/inc/tx_port.h26
1 files changed, 14 insertions, 12 deletions
diff --git a/ports_module/rxv2/iar/inc/tx_port.h b/ports_module/rxv2/iar/inc/tx_port.h
index e8cfabfd..f6741c57 100644
--- a/ports_module/rxv2/iar/inc/tx_port.h
+++ b/ports_module/rxv2/iar/inc/tx_port.h
@@ -26,7 +26,7 @@
/* PORT SPECIFIC C INFORMATION RELEASE */
/* */
/* tx_port.h RXv2/IAR */
-/* 6.1.9 */
+/* 6.1.10 */
/* */
/* AUTHOR */
/* */
@@ -49,9 +49,14 @@
/* */
/* 12-30-2020 William E. Lamie Initial Version 6.1.3 */
/* 06-02-2021 William E. Lamie Modified comments, */
-/* resulting in version 6.1.7 */
+/* resulting in version 6.1.7 */
/* 10-15-2021 William E. Lamie Modified comment(s), */
/* resulting in version 6.1.9 */
+/* 01-31-2022 William E. Lamie Modified comment(s), removed */
+/* system state macro, and */
+/* added missing interrupt */
+/* control defines, */
+/* resulting in version 6.1.10 */
/* */
/**************************************************************************/
@@ -85,6 +90,12 @@ typedef short SHORT;
typedef unsigned short USHORT;
+/* Define interrupt control options. */
+
+#define TX_INT_DISABLE 0x00000000
+#define TX_INT_ENABLE 0x00010000
+
+
/* Define the priority levels for ThreadX. Legal values range
from 32 to 1024 and MUST be evenly divisible by 32. */
@@ -263,15 +274,6 @@ static void _tx_thread_system_return_inline(void)
#endif
-
-#ifndef TX_THREAD_GET_SYSTEM_STATE
-
-extern volatile ULONG _tx_thread_system_state;
-#define TX_THREAD_GET_SYSTEM_STATE() (_tx_thread_system_state | ((~__get_PSW_register()) & (1u << 17u)))
-#endif
-
-
-
/* Define the interrupt lockout macros for each ThreadX object. */
#define TX_BLOCK_POOL_DISABLE TX_DISABLE
@@ -286,7 +288,7 @@ extern volatile ULONG _tx_thread_system_state;
#ifdef TX_THREAD_INIT
CHAR _tx_version_id[] =
- "Copyright (c) Microsoft Corporation. All rights reserved. * ThreadX RXv2/IAR Version 6.1.9 *";
+ "Copyright (c) Microsoft Corporation. All rights reserved. * ThreadX RXv2/IAR Version 6.1.10 *";
#else
extern CHAR _tx_version_id[];
#endif