summaryrefslogtreecommitdiff
path: root/ports/rxv2/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'ports/rxv2/gnu')
-rw-r--r--ports/rxv2/gnu/inc/tx_port.h56
-rw-r--r--ports/rxv2/gnu/src/tx_initialize_low_level.S2
-rw-r--r--ports/rxv2/gnu/src/tx_thread_context_restore.S2
-rw-r--r--ports/rxv2/gnu/src/tx_thread_context_save.S14
-rw-r--r--ports/rxv2/gnu/src/tx_thread_interrupt_control.S13
-rw-r--r--ports/rxv2/gnu/src/tx_thread_schedule.S15
-rw-r--r--ports/rxv2/gnu/src/tx_thread_stack_build.S14
-rw-r--r--ports/rxv2/gnu/src/tx_thread_system_return.S14
-rw-r--r--ports/rxv2/gnu/src/tx_timer_interrupt.S18
9 files changed, 43 insertions, 105 deletions
diff --git a/ports/rxv2/gnu/inc/tx_port.h b/ports/rxv2/gnu/inc/tx_port.h
index 57841625..912cf314 100644
--- a/ports/rxv2/gnu/inc/tx_port.h
+++ b/ports/rxv2/gnu/inc/tx_port.h
@@ -12,7 +12,7 @@
/**************************************************************************/
/**************************************************************************/
-/** */
+/** */
/** ThreadX Component */
/** */
/** Port Specific */
@@ -21,35 +21,35 @@
/**************************************************************************/
-/**************************************************************************/
-/* */
-/* PORT SPECIFIC C INFORMATION RELEASE */
-/* */
-/* tx_port.h RX/GNURX */
+/**************************************************************************/
+/* */
+/* PORT SPECIFIC C INFORMATION RELEASE */
+/* */
+/* tx_port.h RXv2/GNURX */
/* 6.1.3 */
/* */
-/* AUTHOR */
-/* */
-/* William E. Lamie, Express Logic, Inc. */
-/* */
-/* DESCRIPTION */
-/* */
-/* This file contains data type definitions that make the ThreadX */
-/* real-time kernel function identically on a variety of different */
-/* processor architectures. For example, the size or number of bits */
-/* in an "int" data type vary between microprocessor architectures and */
-/* even C compilers for the same microprocessor. ThreadX does not */
-/* directly use native C data types. Instead, ThreadX creates its */
-/* own special types that can be mapped to actual data types by this */
-/* file to guarantee consistency in the interface and functionality. */
-/* */
-/* RELEASE HISTORY */
-/* */
-/* DATE NAME DESCRIPTION */
-/* */
+/* AUTHOR */
+/* */
+/* William E. Lamie, Express Logic, Inc. */
+/* */
+/* DESCRIPTION */
+/* */
+/* This file contains data type definitions that make the ThreadX */
+/* real-time kernel function identically on a variety of different */
+/* processor architectures. For example, the size or number of bits */
+/* in an "int" data type vary between microprocessor architectures and */
+/* even C compilers for the same microprocessor. ThreadX does not */
+/* directly use native C data types. Instead, ThreadX creates its */
+/* own special types that can be mapped to actual data types by this */
+/* file to guarantee consistency in the interface and functionality. */
+/* */
+/* RELEASE HISTORY */
+/* */
+/* DATE NAME DESCRIPTION */
+/* */
/* 12-31-2020 William E. Lamie Initial Version 6.1.3 */
-/* */
-/**************************************************************************/
+/* */
+/**************************************************************************/
#ifndef TX_PORT_H
#define TX_PORT_H
@@ -255,7 +255,7 @@ static void _tx_thread_system_return_inline(void)
#ifdef TX_THREAD_INIT
CHAR _tx_version_id[] =
- "Copyright (c) Microsoft Corporation. All rights reserved. * ThreadX RX/GNURX Version 6.1.3 *";
+ "Copyright (c) Microsoft Corporation. All rights reserved. * ThreadX RXv2/GNURX Version 6.1.3 *";
#else
extern CHAR _tx_version_id[];
#endif
diff --git a/ports/rxv2/gnu/src/tx_initialize_low_level.S b/ports/rxv2/gnu/src/tx_initialize_low_level.S
index 197ae936..0e67a2fa 100644
--- a/ports/rxv2/gnu/src/tx_initialize_low_level.S
+++ b/ports/rxv2/gnu/src/tx_initialize_low_level.S
@@ -28,7 +28,7 @@
;/* */
;/* FUNCTION RELEASE */
;/* */
-;/* _tx_initialize_low_level RX/GNURX */
+;/* _tx_initialize_low_level RXv2/GNURX */
;/* 6.1.3 */
;/* AUTHOR */
;/* */
diff --git a/ports/rxv2/gnu/src/tx_thread_context_restore.S b/ports/rxv2/gnu/src/tx_thread_context_restore.S
index c2799838..38ed5b8a 100644
--- a/ports/rxv2/gnu/src/tx_thread_context_restore.S
+++ b/ports/rxv2/gnu/src/tx_thread_context_restore.S
@@ -45,7 +45,7 @@
;/* */
;/* FUNCTION RELEASE */
;/* */
-;/* _tx_thread_context_restore RX/GNURX */
+;/* _tx_thread_context_restore RXv2/GNURX */
;/* 6.1.3 */
;/* AUTHOR */
;/* */
diff --git a/ports/rxv2/gnu/src/tx_thread_context_save.S b/ports/rxv2/gnu/src/tx_thread_context_save.S
index cae38615..2ca64199 100644
--- a/ports/rxv2/gnu/src/tx_thread_context_save.S
+++ b/ports/rxv2/gnu/src/tx_thread_context_save.S
@@ -19,17 +19,7 @@
;/** */
;/**************************************************************************/
;/**************************************************************************/
-;
-;
-;#define TX_SOURCE_CODE
-;
-;
-;/* Include necessary system files. */
-;
-;#include "tx_api.h"
-;#include "tx_thread.h"
-;#include "tx_timer.h"
-;
+
.global __tx_thread_system_state
.global __tx_thread_current_ptr
.global __tx_thread_system_stack_ptr
@@ -39,7 +29,7 @@
;/* */
;/* FUNCTION RELEASE */
;/* */
-;/* _tx_thread_context_save RX/GNURX */
+;/* _tx_thread_context_save RXv2/GNURX */
;/* 6.1.3 */
;/* AUTHOR */
;/* */
diff --git a/ports/rxv2/gnu/src/tx_thread_interrupt_control.S b/ports/rxv2/gnu/src/tx_thread_interrupt_control.S
index 096c0568..e5eb4c81 100644
--- a/ports/rxv2/gnu/src/tx_thread_interrupt_control.S
+++ b/ports/rxv2/gnu/src/tx_thread_interrupt_control.S
@@ -19,22 +19,13 @@
;/** */
;/**************************************************************************/
;/**************************************************************************/
-;
-;#define TX_SOURCE_CODE
-;
-;
-;/* Include necessary system files. */
-;
-;#include "tx_api.h"
-;#include "tx_thread.h"
-;
-;
+
.text
;/**************************************************************************/
;/* */
;/* FUNCTION RELEASE */
;/* */
-;/* _tx_thread_interrupt_control RX/GNURX */
+;/* _tx_thread_interrupt_control RXv2/GNURX */
;/* 6.1.3 */
;/* AUTHOR */
;/* */
diff --git a/ports/rxv2/gnu/src/tx_thread_schedule.S b/ports/rxv2/gnu/src/tx_thread_schedule.S
index c48840e7..9742d838 100644
--- a/ports/rxv2/gnu/src/tx_thread_schedule.S
+++ b/ports/rxv2/gnu/src/tx_thread_schedule.S
@@ -19,18 +19,7 @@
;/** */
;/**************************************************************************/
;/**************************************************************************/
-;
-;
-;#define TX_SOURCE_CODE
-;
-;
-;/* Include necessary system files. */
-;
-;#include "tx_api.h"
-;#include "tx_thread.h"
-;#include "tx_timer.h"
-;
-;
+
.global __tx_thread_execute_ptr
.global __tx_thread_current_ptr
.global __tx_timer_time_slice
@@ -41,7 +30,7 @@
;/* */
;/* FUNCTION RELEASE */
;/* */
-;/* _tx_thread_schedule RX/GNURX */
+;/* _tx_thread_schedule RXv2/GNURX */
;/* 6.1.3 */
;/* AUTHOR */
;/* */
diff --git a/ports/rxv2/gnu/src/tx_thread_stack_build.S b/ports/rxv2/gnu/src/tx_thread_stack_build.S
index 752372bf..464e9381 100644
--- a/ports/rxv2/gnu/src/tx_thread_stack_build.S
+++ b/ports/rxv2/gnu/src/tx_thread_stack_build.S
@@ -19,23 +19,13 @@
;/** */
;/**************************************************************************/
;/**************************************************************************/
-;
-;
-;#define TX_SOURCE_CODE
-;
-;
-;/* Include necessary system files. */
-;
-;#include "tx_api.h"
-;#include "tx_thread.h"
-;
-;
+
.text
;/**************************************************************************/
;/* */
;/* FUNCTION RELEASE */
;/* */
-;/* _tx_thread_stack_build RX/GNURX */
+;/* _tx_thread_stack_build RXv2/GNURX */
;/* 6.1.3 */
;/* AUTHOR */
;/* */
diff --git a/ports/rxv2/gnu/src/tx_thread_system_return.S b/ports/rxv2/gnu/src/tx_thread_system_return.S
index baa5314a..93578b5f 100644
--- a/ports/rxv2/gnu/src/tx_thread_system_return.S
+++ b/ports/rxv2/gnu/src/tx_thread_system_return.S
@@ -19,17 +19,7 @@
;/** */
;/**************************************************************************/
;/**************************************************************************/
-;
-;#define TX_SOURCE_CODE
-;
-;
-;/* Include necessary system files. */
-;
-;#include "tx_api.h"
-;#include "tx_thread.h"
-;#include "tx_timer.h"
-;
-;
+
.global __tx_thread_current_ptr
.global __tx_timer_time_slice
.global __tx_thread_schedule
@@ -39,7 +29,7 @@
;/* */
;/* FUNCTION RELEASE */
;/* */
-;/* _tx_thread_system_return RX/GNURX */
+;/* _tx_thread_system_return RXv2/GNURX */
;/* 6.1.3 */
;/* AUTHOR */
;/* */
diff --git a/ports/rxv2/gnu/src/tx_timer_interrupt.S b/ports/rxv2/gnu/src/tx_timer_interrupt.S
index 3511e2c8..1160a36b 100644
--- a/ports/rxv2/gnu/src/tx_timer_interrupt.S
+++ b/ports/rxv2/gnu/src/tx_timer_interrupt.S
@@ -19,19 +19,7 @@
;/** */
;/**************************************************************************/
;/**************************************************************************/
-;
-;#define TX_SOURCE_CODE
-;
-;
-;/* Include necessary system files. */
-;
-;#include "tx_api.h"
-;#include "tx_timer.h"
-;#include "tx_thread.h"
-;
-;
-;Define Assembly language external references...
-;
+
.global __tx_timer_time_slice
.global __tx_timer_system_clock
.global __tx_timer_current_ptr
@@ -43,13 +31,13 @@
.global __tx_thread_context_save
.global __tx_thread_time_slice
.global __tx_thread_context_restore
-;
+
.SECTION P,CODE
;/**************************************************************************/
;/* */
;/* FUNCTION RELEASE */
;/* */
-;/* _tx_timer_interrupt RX/GNURX */
+;/* _tx_timer_interrupt RXv2/GNURX */
;/* 6.1.3 */
;/* AUTHOR */
;/* */