Compare commits
10 Commits
v6.2.0_rel
...
v6.2.1_rel
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2aa19f3de0 | ||
|
|
745395d6a2 | ||
|
|
9bf9fbd86f | ||
|
|
37f6d0b39c | ||
|
|
4e62226eea | ||
|
|
b42c5acd8b | ||
|
|
35a301ad3b | ||
|
|
e23b09fe0b | ||
|
|
aea1a3d8f9 | ||
|
|
ee892502ec |
35
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
35
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
---
|
||||||
|
name: Bug report
|
||||||
|
about: Create a report to help us improve Azure RTOS.
|
||||||
|
title: ''
|
||||||
|
labels: bug, hardware
|
||||||
|
assignees: ''
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**Describe the bug**
|
||||||
|
A clear and concise description of what the bug is.
|
||||||
|
|
||||||
|
Please also mention any information which could help others to understand
|
||||||
|
the problem you're facing:
|
||||||
|
- What target device are you using?
|
||||||
|
- Which version of Azure RTOS?
|
||||||
|
- What toolchain and environment?
|
||||||
|
- What have you tried to diagnose or workaround this issue?
|
||||||
|
|
||||||
|
**To Reproduce**
|
||||||
|
Steps to reproduce the behavior:
|
||||||
|
1. Build my project in IAR Workbench.
|
||||||
|
1. See error
|
||||||
|
|
||||||
|
**Expected behavior**
|
||||||
|
A clear and concise description of what you expected to happen.
|
||||||
|
|
||||||
|
**Impact**
|
||||||
|
What impact does this issue have on your progress (e.g., annoyance, showstopper)
|
||||||
|
|
||||||
|
**Logs and console output**
|
||||||
|
If applicable, add console logs or other types of debug information like Wireshark capture as `.zip` file.
|
||||||
|
|
||||||
|
**Additional context**
|
||||||
|
Add any other context about the problem here.
|
||||||
20
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
20
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
name: Feature request
|
||||||
|
about: Suggest an idea or enhancement to existing feature for Azure RTOS.
|
||||||
|
title: ''
|
||||||
|
labels: feature
|
||||||
|
assignees: ''
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**Is your feature request related to a problem? Please describe.**
|
||||||
|
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||||
|
|
||||||
|
**Describe the solution you'd like**
|
||||||
|
A clear and concise description of what you want to happen.
|
||||||
|
|
||||||
|
**Describe alternatives you've considered**
|
||||||
|
A clear and concise description of any alternative solutions or features you've considered.
|
||||||
|
|
||||||
|
**Additional context**
|
||||||
|
Add any other context or screenshots about the feature request here.
|
||||||
19
.github/ISSUE_TEMPLATE/hardware-or-architecture-support.md
vendored
Normal file
19
.github/ISSUE_TEMPLATE/hardware-or-architecture-support.md
vendored
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
---
|
||||||
|
name: Hardware or architecture support
|
||||||
|
about: Suggest adding hardware or new architecture support.
|
||||||
|
title: ''
|
||||||
|
labels: ''
|
||||||
|
assignees: ''
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**Is this request related to a particular hardware platform, SoC, board? Please describe.**
|
||||||
|
Describe in details the hardware support being requested and why this support benefits Azure RTOS.
|
||||||
|
|
||||||
|
**Describe why you are asking for this support?**
|
||||||
|
Describe why you are asking for this support.
|
||||||
|
|
||||||
|
If this is a new board or SoC, please state whether you are willing to maintain the Azure RTOS support together with you.
|
||||||
|
|
||||||
|
**Additional context**
|
||||||
|
Add any other context or graphics (drag-and-drop an image) about the hardware here.
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
LICENSED HARDWARE LIST
|
LICENSED HARDWARE LIST
|
||||||
|
|
||||||
Last Updated: 2021-04-01
|
Last Updated: 2023-02-10
|
||||||
|
|
||||||
Microsoft has entered into OEM Agreements with manufacturers of the following
|
Microsoft has entered into OEM Agreements with manufacturers of the following
|
||||||
microprocessors and microcontrollers (the “hardware”) to enable those
|
microprocessors and microcontrollers (the “hardware”) to enable those
|
||||||
@@ -31,14 +31,14 @@ NXP:
|
|||||||
|
|
||||||
i.MX RT10xx and RT116x/7x series crossover MCUs
|
i.MX RT10xx and RT116x/7x series crossover MCUs
|
||||||
LPC5500 series
|
LPC5500 series
|
||||||
|
MCX N series
|
||||||
|
|
||||||
Renesas:
|
Renesas:
|
||||||
|
|
||||||
Synergy Platform
|
Synergy Platform
|
||||||
RX Family of MCUs
|
RX Family of MCUs
|
||||||
RA Family of MCUs
|
RA Family of MCUs
|
||||||
RZ Family of MPUs
|
RZ/A, RZ/N and RZ/T Family of MPUs
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|||||||
47
README.md
47
README.md
@@ -46,6 +46,53 @@ Also there is dedicated [learning path of Azure RTOS ThreadX](https://learn.micr
|
|||||||
|
|
||||||
The master branch has the most recent code with all new features and bug fixes. It does not represent the latest General Availability (GA) release of the library. Each official release (preview or GA) will be tagged to mark the commit and push it into the Github releases tab, e.g. `v6.2-rel`.
|
The master branch has the most recent code with all new features and bug fixes. It does not represent the latest General Availability (GA) release of the library. Each official release (preview or GA) will be tagged to mark the commit and push it into the Github releases tab, e.g. `v6.2-rel`.
|
||||||
|
|
||||||
|
> When you see xx-xx-xxxx, 6.x or x.x in function header, this means the file is not officially released yet. They will be updated in the next release. See example below.
|
||||||
|
```
|
||||||
|
/**************************************************************************/
|
||||||
|
/* */
|
||||||
|
/* FUNCTION RELEASE */
|
||||||
|
/* */
|
||||||
|
/* _tx_initialize_low_level Cortex-M23/GNU */
|
||||||
|
/* 6.x */
|
||||||
|
/* AUTHOR */
|
||||||
|
/* */
|
||||||
|
/* Scott Larson, Microsoft Corporation */
|
||||||
|
/* */
|
||||||
|
/* DESCRIPTION */
|
||||||
|
/* */
|
||||||
|
/* This function is responsible for any low-level processor */
|
||||||
|
/* initialization, including setting up interrupt vectors, setting */
|
||||||
|
/* up a periodic timer interrupt source, saving the system stack */
|
||||||
|
/* pointer for use in ISR processing later, and finding the first */
|
||||||
|
/* available RAM memory address for tx_application_define. */
|
||||||
|
/* */
|
||||||
|
/* INPUT */
|
||||||
|
/* */
|
||||||
|
/* None */
|
||||||
|
/* */
|
||||||
|
/* OUTPUT */
|
||||||
|
/* */
|
||||||
|
/* None */
|
||||||
|
/* */
|
||||||
|
/* CALLS */
|
||||||
|
/* */
|
||||||
|
/* None */
|
||||||
|
/* */
|
||||||
|
/* CALLED BY */
|
||||||
|
/* */
|
||||||
|
/* _tx_initialize_kernel_enter ThreadX entry function */
|
||||||
|
/* */
|
||||||
|
/* RELEASE HISTORY */
|
||||||
|
/* */
|
||||||
|
/* DATE NAME DESCRIPTION */
|
||||||
|
/* */
|
||||||
|
/* 09-30-2020 Scott Larson Initial Version 6.1 */
|
||||||
|
/* xx-xx-xxxx Scott Larson Include tx_user.h, */
|
||||||
|
/* resulting in version 6.x */
|
||||||
|
/* */
|
||||||
|
/**************************************************************************/
|
||||||
|
```
|
||||||
|
|
||||||
## Supported Architecture Ports
|
## Supported Architecture Ports
|
||||||
|
|
||||||
### ThreadX
|
### ThreadX
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
/* APPLICATION INTERFACE DEFINITION RELEASE */
|
/* APPLICATION INTERFACE DEFINITION RELEASE */
|
||||||
/* */
|
/* */
|
||||||
/* tx_api.h PORTABLE C */
|
/* tx_api.h PORTABLE C */
|
||||||
/* 6.2.0 */
|
/* 6.2.1 */
|
||||||
/* AUTHOR */
|
/* AUTHOR */
|
||||||
/* */
|
/* */
|
||||||
/* William E. Lamie, Microsoft Corporation */
|
/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -94,6 +94,9 @@
|
|||||||
/* update EPK typedef, */
|
/* update EPK typedef, */
|
||||||
/* update version numbers, */
|
/* update version numbers, */
|
||||||
/* resulting in version 6.2.0 */
|
/* resulting in version 6.2.0 */
|
||||||
|
/* 03-08-2023 Tiejun Zhou Modified comment(s), */
|
||||||
|
/* update patch number, */
|
||||||
|
/* resulting in version 6.2.1 */
|
||||||
/* */
|
/* */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
|
|
||||||
@@ -133,7 +136,7 @@ extern "C" {
|
|||||||
#define AZURE_RTOS_THREADX
|
#define AZURE_RTOS_THREADX
|
||||||
#define THREADX_MAJOR_VERSION 6
|
#define THREADX_MAJOR_VERSION 6
|
||||||
#define THREADX_MINOR_VERSION 2
|
#define THREADX_MINOR_VERSION 2
|
||||||
#define THREADX_PATCH_VERSION 0
|
#define THREADX_PATCH_VERSION 1
|
||||||
|
|
||||||
/* Define the following symbol for backward compatibility */
|
/* Define the following symbol for backward compatibility */
|
||||||
#define EL_PRODUCT_THREADX
|
#define EL_PRODUCT_THREADX
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
/* FUNCTION RELEASE */
|
/* FUNCTION RELEASE */
|
||||||
/* */
|
/* */
|
||||||
/* _tx_thread_wait_abort PORTABLE C */
|
/* _tx_thread_wait_abort PORTABLE C */
|
||||||
/* 6.1 */
|
/* 6.2.1 */
|
||||||
/* AUTHOR */
|
/* AUTHOR */
|
||||||
/* */
|
/* */
|
||||||
/* William E. Lamie, Microsoft Corporation */
|
/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -71,6 +71,9 @@
|
|||||||
/* 05-19-2020 William E. Lamie Initial Version 6.0 */
|
/* 05-19-2020 William E. Lamie Initial Version 6.0 */
|
||||||
/* 09-30-2020 Yuxin Zhou Modified comment(s), */
|
/* 09-30-2020 Yuxin Zhou Modified comment(s), */
|
||||||
/* resulting in version 6.1 */
|
/* resulting in version 6.1 */
|
||||||
|
/* 03-08-2023 Scott Larson Check if thread is coming out */
|
||||||
|
/* of suspension elsewhere, */
|
||||||
|
/* resulting in version 6.2.1 */
|
||||||
/* */
|
/* */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
UINT _tx_thread_wait_abort(TX_THREAD *thread_ptr)
|
UINT _tx_thread_wait_abort(TX_THREAD *thread_ptr)
|
||||||
@@ -131,6 +134,18 @@ ULONG suspension_sequence;
|
|||||||
/* Restore interrupts. */
|
/* Restore interrupts. */
|
||||||
TX_RESTORE
|
TX_RESTORE
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
|
else if(thread_ptr -> tx_thread_suspend_cleanup == TX_NULL)
|
||||||
|
{
|
||||||
|
/* Thread is coming out of suspension elsewhere. */
|
||||||
|
|
||||||
|
#ifndef TX_NOT_INTERRUPTABLE
|
||||||
|
/* Increment the disable preemption flag. */
|
||||||
|
_tx_thread_preempt_disable++;
|
||||||
|
|
||||||
|
/* Restore interrupts. */
|
||||||
|
TX_RESTORE
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -167,14 +182,9 @@ ULONG suspension_sequence;
|
|||||||
TX_RESTORE
|
TX_RESTORE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Call any cleanup routines. */
|
/* Call cleanup routine. */
|
||||||
if (suspend_cleanup != TX_NULL)
|
|
||||||
{
|
|
||||||
|
|
||||||
/* Yes, there is a function to call. */
|
|
||||||
(suspend_cleanup)(thread_ptr, suspension_sequence);
|
(suspend_cleanup)(thread_ptr, suspension_sequence);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/* If the abort of the thread wait was successful, if so resume the thread. */
|
/* If the abort of the thread wait was successful, if so resume the thread. */
|
||||||
if (thread_ptr -> tx_thread_suspend_status == TX_WAIT_ABORTED)
|
if (thread_ptr -> tx_thread_suspend_status == TX_WAIT_ABORTED)
|
||||||
|
|||||||
@@ -35,6 +35,10 @@
|
|||||||
#include "txm_module.h"
|
#include "txm_module.h"
|
||||||
#include "txm_module_manager_util.h"
|
#include "txm_module_manager_util.h"
|
||||||
|
|
||||||
|
#ifdef TX_ENABLE_EVENT_TRACE
|
||||||
|
#include "tx_trace.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef TXM_MODULE_ENABLE_FILEX
|
#ifdef TXM_MODULE_ENABLE_FILEX
|
||||||
extern UINT _txm_module_manager_filex_stop(TXM_MODULE_INSTANCE *module_instance);
|
extern UINT _txm_module_manager_filex_stop(TXM_MODULE_INSTANCE *module_instance);
|
||||||
#endif
|
#endif
|
||||||
@@ -60,7 +64,7 @@ extern UINT _txm_module_manager_usbx_stop(TXM_MODULE_INSTANCE *module_instance)
|
|||||||
/* FUNCTION RELEASE */
|
/* FUNCTION RELEASE */
|
||||||
/* */
|
/* */
|
||||||
/* _txm_module_manager_stop PORTABLE C */
|
/* _txm_module_manager_stop PORTABLE C */
|
||||||
/* 6.1.5 */
|
/* 6.2.1 */
|
||||||
/* AUTHOR */
|
/* AUTHOR */
|
||||||
/* */
|
/* */
|
||||||
/* Scott Larson, Microsoft Corporation */
|
/* Scott Larson, Microsoft Corporation */
|
||||||
@@ -112,6 +116,8 @@ extern UINT _txm_module_manager_usbx_stop(TXM_MODULE_INSTANCE *module_instance)
|
|||||||
/* 03-02-2021 Scott Larson Modified comments, fix */
|
/* 03-02-2021 Scott Larson Modified comments, fix */
|
||||||
/* object delete underflow, */
|
/* object delete underflow, */
|
||||||
/* resulting in version 6.1.5 */
|
/* resulting in version 6.1.5 */
|
||||||
|
/* 03-08-2023 Scott Larson Added tx_trace.h include, */
|
||||||
|
/* resulting in version 6.2.1 */
|
||||||
/* */
|
/* */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
UINT _txm_module_manager_stop(TXM_MODULE_INSTANCE *module_instance)
|
UINT _txm_module_manager_stop(TXM_MODULE_INSTANCE *module_instance)
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
/* FUNCTION RELEASE */
|
/* FUNCTION RELEASE */
|
||||||
/* */
|
/* */
|
||||||
/* _txm_module_manager_thread_create PORTABLE C */
|
/* _txm_module_manager_thread_create PORTABLE C */
|
||||||
/* 6.1.3 */
|
/* 6.2.1 */
|
||||||
/* AUTHOR */
|
/* AUTHOR */
|
||||||
/* */
|
/* */
|
||||||
/* Scott Larson, Microsoft Corporation */
|
/* Scott Larson, Microsoft Corporation */
|
||||||
@@ -91,6 +91,9 @@
|
|||||||
/* added 64-bit support, */
|
/* added 64-bit support, */
|
||||||
/* added SMP support, */
|
/* added SMP support, */
|
||||||
/* resulting in version 6.1.3 */
|
/* resulting in version 6.1.3 */
|
||||||
|
/* 03-08-2023 Scott Larson Check module stack for */
|
||||||
|
/* overlap, */
|
||||||
|
/* resulting in version 6.2.1 */
|
||||||
/* */
|
/* */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
UINT _txm_module_manager_thread_create(TX_THREAD *thread_ptr, CHAR *name_ptr,
|
UINT _txm_module_manager_thread_create(TX_THREAD *thread_ptr, CHAR *name_ptr,
|
||||||
@@ -158,8 +161,8 @@ ULONG i;
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Check the stack pointer to see if it overlaps with this thread's stack. */
|
/* Check the stack pointer to see if it overlaps with this thread's stack. */
|
||||||
if ((((UCHAR *) ((VOID *) stack_start)) <= ((UCHAR *) ((VOID *) next_thread -> tx_thread_stack_end))) &&
|
if ((((UCHAR *) ((VOID *) stack_start)) <= ((UCHAR *) ((VOID *) next_thread -> tx_thread_module_stack_end))) &&
|
||||||
(((UCHAR *) ((VOID *) stack_end)) >= ((UCHAR *) ((VOID *) next_thread -> tx_thread_stack_start))))
|
(((UCHAR *) ((VOID *) stack_end)) >= ((UCHAR *) ((VOID *) next_thread -> tx_thread_module_stack_start))))
|
||||||
{
|
{
|
||||||
/* Stacks overlap, clear the stack pointer to force a stack error below. */
|
/* Stacks overlap, clear the stack pointer to force a stack error below. */
|
||||||
stack_start = TX_NULL;
|
stack_start = TX_NULL;
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
/* APPLICATION INTERFACE DEFINITION RELEASE */
|
/* APPLICATION INTERFACE DEFINITION RELEASE */
|
||||||
/* */
|
/* */
|
||||||
/* tx_api.h PORTABLE SMP */
|
/* tx_api.h PORTABLE SMP */
|
||||||
/* 6.2.0 */
|
/* 6.2.1 */
|
||||||
/* AUTHOR */
|
/* AUTHOR */
|
||||||
/* */
|
/* */
|
||||||
/* William E. Lamie, Microsoft Corporation */
|
/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -82,6 +82,9 @@
|
|||||||
/* add extension macros, */
|
/* add extension macros, */
|
||||||
/* update version numbers, */
|
/* update version numbers, */
|
||||||
/* resulting in version 6.2.0 */
|
/* resulting in version 6.2.0 */
|
||||||
|
/* 03-08-2023 Tiejun Zhou Modified comment(s), */
|
||||||
|
/* update patch number, */
|
||||||
|
/* resulting in version 6.2.1 */
|
||||||
/* */
|
/* */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
|
|
||||||
@@ -134,7 +137,7 @@ extern "C" {
|
|||||||
#define AZURE_RTOS_THREADX
|
#define AZURE_RTOS_THREADX
|
||||||
#define THREADX_MAJOR_VERSION 6
|
#define THREADX_MAJOR_VERSION 6
|
||||||
#define THREADX_MINOR_VERSION 2
|
#define THREADX_MINOR_VERSION 2
|
||||||
#define THREADX_PATCH_VERSION 0
|
#define THREADX_PATCH_VERSION 1
|
||||||
|
|
||||||
/* Define the following symbol for backward compatibility */
|
/* Define the following symbol for backward compatibility */
|
||||||
#define EL_PRODUCT_THREADX
|
#define EL_PRODUCT_THREADX
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
/* FUNCTION RELEASE */
|
/* FUNCTION RELEASE */
|
||||||
/* */
|
/* */
|
||||||
/* _tx_thread_wait_abort PORTABLE C */
|
/* _tx_thread_wait_abort PORTABLE C */
|
||||||
/* 6.1 */
|
/* 6.2.1 */
|
||||||
/* AUTHOR */
|
/* AUTHOR */
|
||||||
/* */
|
/* */
|
||||||
/* William E. Lamie, Microsoft Corporation */
|
/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -71,6 +71,9 @@
|
|||||||
/* 05-19-2020 William E. Lamie Initial Version 6.0 */
|
/* 05-19-2020 William E. Lamie Initial Version 6.0 */
|
||||||
/* 09-30-2020 Yuxin Zhou Modified comment(s), */
|
/* 09-30-2020 Yuxin Zhou Modified comment(s), */
|
||||||
/* resulting in version 6.1 */
|
/* resulting in version 6.1 */
|
||||||
|
/* 03-08-2023 Scott Larson Check if thread is coming out */
|
||||||
|
/* of suspension elsewhere, */
|
||||||
|
/* resulting in version 6.2.1 */
|
||||||
/* */
|
/* */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
UINT _tx_thread_wait_abort(TX_THREAD *thread_ptr)
|
UINT _tx_thread_wait_abort(TX_THREAD *thread_ptr)
|
||||||
@@ -131,6 +134,18 @@ ULONG suspension_sequence;
|
|||||||
/* Restore interrupts. */
|
/* Restore interrupts. */
|
||||||
TX_RESTORE
|
TX_RESTORE
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
|
else if(thread_ptr -> tx_thread_suspend_cleanup == TX_NULL)
|
||||||
|
{
|
||||||
|
/* Thread is coming out of suspension elsewhere. */
|
||||||
|
|
||||||
|
#ifndef TX_NOT_INTERRUPTABLE
|
||||||
|
/* Increment the disable preemption flag. */
|
||||||
|
_tx_thread_preempt_disable++;
|
||||||
|
|
||||||
|
/* Restore interrupts. */
|
||||||
|
TX_RESTORE
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -167,14 +182,9 @@ ULONG suspension_sequence;
|
|||||||
TX_RESTORE
|
TX_RESTORE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Call any cleanup routines. */
|
/* Call cleanup routine. */
|
||||||
if (suspend_cleanup != TX_NULL)
|
|
||||||
{
|
|
||||||
|
|
||||||
/* Yes, there is a function to call. */
|
|
||||||
(suspend_cleanup)(thread_ptr, suspension_sequence);
|
(suspend_cleanup)(thread_ptr, suspension_sequence);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/* If the abort of the thread wait was successful, if so resume the thread. */
|
/* If the abort of the thread wait was successful, if so resume the thread. */
|
||||||
if (thread_ptr -> tx_thread_suspend_status == TX_WAIT_ABORTED)
|
if (thread_ptr -> tx_thread_suspend_status == TX_WAIT_ABORTED)
|
||||||
|
|||||||
@@ -322,7 +322,7 @@ void _tx_initialize_start_interrupts(void);
|
|||||||
|
|
||||||
#ifdef TX_THREAD_INIT
|
#ifdef TX_THREAD_INIT
|
||||||
CHAR _tx_version_id[] =
|
CHAR _tx_version_id[] =
|
||||||
"Copyright (c) Microsoft Corporation. All rights reserved. * ThreadX ARCv2_EM/MetaWare Version 6.1.10 *";
|
"Copyright (c) Microsoft Corporation. All rights reserved. * ThreadX ARCv2_EM/MetaWare Version 6.2.1 *";
|
||||||
#else
|
#else
|
||||||
#ifdef TX_MISRA_ENABLE
|
#ifdef TX_MISRA_ENABLE
|
||||||
extern CHAR _tx_version_id[100];
|
extern CHAR _tx_version_id[100];
|
||||||
|
|||||||
@@ -18,6 +18,9 @@
|
|||||||
;/** */
|
;/** */
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
|
#include "tx_user.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
.equ BTA, 0x412
|
.equ BTA, 0x412
|
||||||
.equ KSTACK_TOP, 0x264
|
.equ KSTACK_TOP, 0x264
|
||||||
@@ -29,7 +32,7 @@
|
|||||||
;/* FUNCTION RELEASE */
|
;/* FUNCTION RELEASE */
|
||||||
;/* */
|
;/* */
|
||||||
;/* _tx_thread_context_restore ARCv2_EM/MetaWare */
|
;/* _tx_thread_context_restore ARCv2_EM/MetaWare */
|
||||||
;/* 6.1.9 */
|
;/* 6.2.1 */
|
||||||
;/* AUTHOR */
|
;/* AUTHOR */
|
||||||
;/* */
|
;/* */
|
||||||
;/* William E. Lamie, Microsoft Corporation */
|
;/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -69,6 +72,9 @@
|
|||||||
;/* support for disabling the */
|
;/* support for disabling the */
|
||||||
;/* loop control feature, */
|
;/* loop control feature, */
|
||||||
;/* resulting in version 6.1.9 */
|
;/* resulting in version 6.1.9 */
|
||||||
|
;/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
;/* #include tx_user.h, */
|
||||||
|
;/* resulting in version 6.2.1 */
|
||||||
;/* */
|
;/* */
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;VOID _tx_thread_context_restore(VOID)
|
;VOID _tx_thread_context_restore(VOID)
|
||||||
|
|||||||
@@ -18,6 +18,9 @@
|
|||||||
;/** */
|
;/** */
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
|
#include "tx_user.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
.equ BTA, 0x412
|
.equ BTA, 0x412
|
||||||
.equ KSTACK_TOP, 0x264
|
.equ KSTACK_TOP, 0x264
|
||||||
@@ -29,7 +32,7 @@
|
|||||||
;/* FUNCTION RELEASE */
|
;/* FUNCTION RELEASE */
|
||||||
;/* */
|
;/* */
|
||||||
;/* _tx_thread_context_save ARCv2_EM/MetaWare */
|
;/* _tx_thread_context_save ARCv2_EM/MetaWare */
|
||||||
;/* 6.1.6 */
|
;/* 6.2.1 */
|
||||||
;/* AUTHOR */
|
;/* AUTHOR */
|
||||||
;/* */
|
;/* */
|
||||||
;/* William E. Lamie, Microsoft Corporation */
|
;/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -64,6 +67,9 @@
|
|||||||
;/* 04-02-2021 Andres Mlinar Modified comment(s), and */
|
;/* 04-02-2021 Andres Mlinar Modified comment(s), and */
|
||||||
;/* r25/r30 are caller saved, */
|
;/* r25/r30 are caller saved, */
|
||||||
;/* resulting in version 6.1.6 */
|
;/* resulting in version 6.1.6 */
|
||||||
|
;/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
;/* #include tx_user.h, */
|
||||||
|
;/* resulting in version 6.2.1 */
|
||||||
;/* */
|
;/* */
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;VOID _tx_thread_context_save(VOID)
|
;VOID _tx_thread_context_save(VOID)
|
||||||
|
|||||||
@@ -18,13 +18,16 @@
|
|||||||
;/** */
|
;/** */
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
|
#include "tx_user.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;/* */
|
;/* */
|
||||||
;/* FUNCTION RELEASE */
|
;/* FUNCTION RELEASE */
|
||||||
;/* */
|
;/* */
|
||||||
;/* _tx_thread_interrupt_control ARCv2_EM/MetaWare */
|
;/* _tx_thread_interrupt_control ARCv2_EM/MetaWare */
|
||||||
;/* 6.1.6 */
|
;/* 6.2.1 */
|
||||||
;/* AUTHOR */
|
;/* AUTHOR */
|
||||||
;/* */
|
;/* */
|
||||||
;/* William E. Lamie, Microsoft Corporation */
|
;/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -57,6 +60,9 @@
|
|||||||
;/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
;/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
;/* 04-02-2021 Andres Mlinar Modified comments, */
|
;/* 04-02-2021 Andres Mlinar Modified comments, */
|
||||||
;/* resulting in version 6.1.6 */
|
;/* resulting in version 6.1.6 */
|
||||||
|
;/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
;/* #include tx_user.h, */
|
||||||
|
;/* resulting in version 6.2.1 */
|
||||||
;/* */
|
;/* */
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;UINT _tx_thread_interrupt_control(UINT new_posture)
|
;UINT _tx_thread_interrupt_control(UINT new_posture)
|
||||||
|
|||||||
@@ -18,6 +18,9 @@
|
|||||||
;/** */
|
;/** */
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
|
#include "tx_user.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
.equ BTA, 0x412
|
.equ BTA, 0x412
|
||||||
.equ KSTACK_TOP, 0x264
|
.equ KSTACK_TOP, 0x264
|
||||||
@@ -29,7 +32,7 @@
|
|||||||
;/* FUNCTION RELEASE */
|
;/* FUNCTION RELEASE */
|
||||||
;/* */
|
;/* */
|
||||||
;/* _tx_thread_schedule ARCv2_EM/MetaWare */
|
;/* _tx_thread_schedule ARCv2_EM/MetaWare */
|
||||||
;/* 6.1.9 */
|
;/* 6.2.1 */
|
||||||
;/* AUTHOR */
|
;/* AUTHOR */
|
||||||
;/* */
|
;/* */
|
||||||
;/* William E. Lamie, Microsoft Corporation */
|
;/* William E. Lamie, Microsoft Corporation */
|
||||||
|
|||||||
@@ -18,6 +18,9 @@
|
|||||||
;/** */
|
;/** */
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
|
#include "tx_user.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
.equ LONG_ALIGN_MASK, 0xFFFFFFFC
|
.equ LONG_ALIGN_MASK, 0xFFFFFFFC
|
||||||
.equ INT_ENABLE_BITS, 0x8000001E
|
.equ INT_ENABLE_BITS, 0x8000001E
|
||||||
@@ -27,7 +30,7 @@
|
|||||||
;/* FUNCTION RELEASE */
|
;/* FUNCTION RELEASE */
|
||||||
;/* */
|
;/* */
|
||||||
;/* _tx_thread_stack_build ARCv2_EM/MetaWare */
|
;/* _tx_thread_stack_build ARCv2_EM/MetaWare */
|
||||||
;/* 6.1.6 */
|
;/* 6.2.1 */
|
||||||
;/* AUTHOR */
|
;/* AUTHOR */
|
||||||
;/* */
|
;/* */
|
||||||
;/* William E. Lamie, Microsoft Corporation */
|
;/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -62,6 +65,9 @@
|
|||||||
;/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
;/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
;/* 04-02-2021 Andres Mlinar Modified comments, */
|
;/* 04-02-2021 Andres Mlinar Modified comments, */
|
||||||
;/* resulting in version 6.1.6 */
|
;/* resulting in version 6.1.6 */
|
||||||
|
;/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
;/* #include tx_user.h, */
|
||||||
|
;/* resulting in version 6.2.1 */
|
||||||
;/* */
|
;/* */
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;VOID _tx_thread_stack_build(TX_THREAD *thread_ptr, VOID (*function_ptr)(VOID))
|
;VOID _tx_thread_stack_build(TX_THREAD *thread_ptr, VOID (*function_ptr)(VOID))
|
||||||
|
|||||||
@@ -18,6 +18,9 @@
|
|||||||
;/** */
|
;/** */
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
|
#include "tx_user.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
.equ KSTACK_TOP, 0x264
|
.equ KSTACK_TOP, 0x264
|
||||||
.equ KSTACK_BASE, 0x265
|
.equ KSTACK_BASE, 0x265
|
||||||
@@ -28,7 +31,7 @@
|
|||||||
;/* FUNCTION RELEASE */
|
;/* FUNCTION RELEASE */
|
||||||
;/* */
|
;/* */
|
||||||
;/* _tx_thread_system_return ARCv2_EM/MetaWare */
|
;/* _tx_thread_system_return ARCv2_EM/MetaWare */
|
||||||
;/* 6.1.9 */
|
;/* 6.2.1 */
|
||||||
;/* AUTHOR */
|
;/* AUTHOR */
|
||||||
;/* */
|
;/* */
|
||||||
;/* William E. Lamie, Microsoft Corporation */
|
;/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -66,6 +69,9 @@
|
|||||||
;/* 10-15-2021 Andres Mlinar Modified comments, */
|
;/* 10-15-2021 Andres Mlinar Modified comments, */
|
||||||
;/* use schedule reenter, */
|
;/* use schedule reenter, */
|
||||||
;/* resulting in version 6.1.9 */
|
;/* resulting in version 6.1.9 */
|
||||||
|
;/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
;/* #include tx_user.h, */
|
||||||
|
;/* resulting in version 6.2.1 */
|
||||||
;/* */
|
;/* */
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;VOID _tx_thread_system_return(VOID)
|
;VOID _tx_thread_system_return(VOID)
|
||||||
|
|||||||
@@ -18,13 +18,16 @@
|
|||||||
;/** */
|
;/** */
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
|
#include "tx_user.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;/* */
|
;/* */
|
||||||
;/* FUNCTION RELEASE */
|
;/* FUNCTION RELEASE */
|
||||||
;/* */
|
;/* */
|
||||||
;/* _tx_timer_interrupt ARCv2_EM/MetaWare */
|
;/* _tx_timer_interrupt ARCv2_EM/MetaWare */
|
||||||
;/* 6.1.9 */
|
;/* 6.2.1 */
|
||||||
;/* AUTHOR */
|
;/* AUTHOR */
|
||||||
;/* */
|
;/* */
|
||||||
;/* William E. Lamie, Microsoft Corporation */
|
;/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -69,6 +72,9 @@
|
|||||||
;/* fixed possible race */
|
;/* fixed possible race */
|
||||||
;/* condition on preemption */
|
;/* condition on preemption */
|
||||||
;/* resulting in version 6.1.9 */
|
;/* resulting in version 6.1.9 */
|
||||||
|
;/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
;/* #include tx_user.h, */
|
||||||
|
;/* resulting in version 6.2.1 */
|
||||||
;/* */
|
;/* */
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;VOID _tx_timer_interrupt(VOID)
|
;VOID _tx_timer_interrupt(VOID)
|
||||||
|
|||||||
@@ -336,7 +336,7 @@ VOID tx_thread_register_bank_assign(VOID *thread_ptr, UINT register_bank);
|
|||||||
|
|
||||||
#ifdef TX_THREAD_INIT
|
#ifdef TX_THREAD_INIT
|
||||||
CHAR _tx_version_id[] =
|
CHAR _tx_version_id[] =
|
||||||
"Copyright (c) Microsoft Corporation. All rights reserved. * ThreadX ARC_HS/MetaWare Version 6.1.10 *";
|
"Copyright (c) Microsoft Corporation. All rights reserved. * ThreadX ARC_HS/MetaWare Version 6.2.1 *";
|
||||||
#else
|
#else
|
||||||
#ifdef TX_MISRA_ENABLE
|
#ifdef TX_MISRA_ENABLE
|
||||||
extern CHAR _tx_version_id[100];
|
extern CHAR _tx_version_id[100];
|
||||||
|
|||||||
@@ -19,23 +19,16 @@
|
|||||||
;/** */
|
;/** */
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
;
|
#include "tx_user.h"
|
||||||
;#define TX_SOURCE_CODE
|
#endif
|
||||||
;
|
|
||||||
;
|
|
||||||
;/* Include necessary system files. */
|
|
||||||
;
|
|
||||||
;#include "tx_api.h"
|
|
||||||
;#include "tx_initialize.h"
|
|
||||||
;
|
|
||||||
;
|
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;/* */
|
;/* */
|
||||||
;/* FUNCTION RELEASE */
|
;/* FUNCTION RELEASE */
|
||||||
;/* */
|
;/* */
|
||||||
;/* _tx_initialize_fast_interrupt_setup ARC_HS/MetaWare */
|
;/* _tx_initialize_fast_interrupt_setup ARC_HS/MetaWare */
|
||||||
;/* 6.1 */
|
;/* 6.2.1 */
|
||||||
;/* AUTHOR */
|
;/* AUTHOR */
|
||||||
;/* */
|
;/* */
|
||||||
;/* William E. Lamie, Microsoft Corporation */
|
;/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -67,6 +60,9 @@
|
|||||||
;/* DATE NAME DESCRIPTION */
|
;/* DATE NAME DESCRIPTION */
|
||||||
;/* */
|
;/* */
|
||||||
;/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
;/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
|
;/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
;/* #include tx_user.h, */
|
||||||
|
;/* resulting in version 6.2.1 */
|
||||||
;/* */
|
;/* */
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;VOID _tx_initialize_fast_interrupt_setup(VOID *stack_ptr)
|
;VOID _tx_initialize_fast_interrupt_setup(VOID *stack_ptr)
|
||||||
|
|||||||
@@ -19,25 +19,18 @@
|
|||||||
;/** */
|
;/** */
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
;
|
#include "tx_user.h"
|
||||||
;#define TX_SOURCE_CODE
|
#endif
|
||||||
;
|
|
||||||
.equ BTA, 0x412
|
.equ BTA, 0x412
|
||||||
;
|
|
||||||
;/* Include necessary system files. */
|
|
||||||
;
|
|
||||||
;#include "tx_api.h"
|
|
||||||
;#include "tx_thread.h"
|
|
||||||
;#include "tx_timer.h"
|
|
||||||
;
|
|
||||||
;
|
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;/* */
|
;/* */
|
||||||
;/* FUNCTION RELEASE */
|
;/* FUNCTION RELEASE */
|
||||||
;/* */
|
;/* */
|
||||||
;/* _tx_thread_context_fast_restore ARC_HS/MetaWare */
|
;/* _tx_thread_context_fast_restore ARC_HS/MetaWare */
|
||||||
;/* 6.1 */
|
;/* 6.2.1 */
|
||||||
;/* AUTHOR */
|
;/* AUTHOR */
|
||||||
;/* */
|
;/* */
|
||||||
;/* William E. Lamie, Microsoft Corporation */
|
;/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -70,6 +63,9 @@
|
|||||||
;/* DATE NAME DESCRIPTION */
|
;/* DATE NAME DESCRIPTION */
|
||||||
;/* */
|
;/* */
|
||||||
;/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
;/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
|
;/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
;/* #include tx_user.h, */
|
||||||
|
;/* resulting in version 6.2.1 */
|
||||||
;/* */
|
;/* */
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;VOID _tx_thread_context_fast_restore(VOID)
|
;VOID _tx_thread_context_fast_restore(VOID)
|
||||||
@@ -115,7 +111,7 @@ __tx_thread_nested_restore:
|
|||||||
__tx_thread_not_nested_restore:
|
__tx_thread_not_nested_restore:
|
||||||
;
|
;
|
||||||
; /* Determine if a thread was interrupted and no preemption is required. */
|
; /* Determine if a thread was interrupted and no preemption is required. */
|
||||||
; else if (((_tx_thread_current_ptr) && (_tx_thread_current_ptr == _tx_thread_execute_ptr)
|
; else if (((_tx_thread_current_ptr) && (_tx_thread_current_ptr == _tx_thread_execute_ptr))
|
||||||
; || (_tx_thread_preempt_disable))
|
; || (_tx_thread_preempt_disable))
|
||||||
; {
|
; {
|
||||||
;
|
;
|
||||||
|
|||||||
@@ -19,24 +19,16 @@
|
|||||||
;/** */
|
;/** */
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
;
|
#include "tx_user.h"
|
||||||
;#define TX_SOURCE_CODE
|
#endif
|
||||||
;
|
|
||||||
;
|
|
||||||
;/* Include necessary system files. */
|
|
||||||
;
|
|
||||||
;#include "tx_api.h"
|
|
||||||
;#include "tx_thread.h"
|
|
||||||
;#include "tx_timer.h"
|
|
||||||
;
|
|
||||||
;
|
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;/* */
|
;/* */
|
||||||
;/* FUNCTION RELEASE */
|
;/* FUNCTION RELEASE */
|
||||||
;/* */
|
;/* */
|
||||||
;/* _tx_thread_context_fast_save ARC_HS/MetaWare */
|
;/* _tx_thread_context_fast_save ARC_HS/MetaWare */
|
||||||
;/* 6.1 */
|
;/* 6.2.1 */
|
||||||
;/* AUTHOR */
|
;/* AUTHOR */
|
||||||
;/* */
|
;/* */
|
||||||
;/* William E. Lamie, Microsoft Corporation */
|
;/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -73,6 +65,9 @@
|
|||||||
;/* DATE NAME DESCRIPTION */
|
;/* DATE NAME DESCRIPTION */
|
||||||
;/* */
|
;/* */
|
||||||
;/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
;/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
|
;/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
;/* #include tx_user.h, */
|
||||||
|
;/* resulting in version 6.2.1 */
|
||||||
;/* */
|
;/* */
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;VOID _tx_thread_context_fast_save(VOID)
|
;VOID _tx_thread_context_fast_save(VOID)
|
||||||
|
|||||||
@@ -18,6 +18,9 @@
|
|||||||
;/** */
|
;/** */
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
|
#include "tx_user.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
.equ BTA, 0x412
|
.equ BTA, 0x412
|
||||||
|
|
||||||
@@ -26,7 +29,7 @@
|
|||||||
;/* FUNCTION RELEASE */
|
;/* FUNCTION RELEASE */
|
||||||
;/* */
|
;/* */
|
||||||
;/* _tx_thread_context_restore ARC_HS/MetaWare */
|
;/* _tx_thread_context_restore ARC_HS/MetaWare */
|
||||||
;/* 6.1.9 */
|
;/* 6.2.1 */
|
||||||
;/* AUTHOR */
|
;/* AUTHOR */
|
||||||
;/* */
|
;/* */
|
||||||
;/* William E. Lamie, Microsoft Corporation */
|
;/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -63,6 +66,9 @@
|
|||||||
;/* r25/r30 are caller saved, */
|
;/* r25/r30 are caller saved, */
|
||||||
;/* use schedule_reenter, */
|
;/* use schedule_reenter, */
|
||||||
;/* resulting in version 6.1.9 */
|
;/* resulting in version 6.1.9 */
|
||||||
|
;/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
;/* #include tx_user.h, */
|
||||||
|
;/* resulting in version 6.2.1 */
|
||||||
;/* */
|
;/* */
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;VOID _tx_thread_context_restore(VOID)
|
;VOID _tx_thread_context_restore(VOID)
|
||||||
|
|||||||
@@ -18,6 +18,9 @@
|
|||||||
;/** */
|
;/** */
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
|
#include "tx_user.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
.equ BTA, 0x412
|
.equ BTA, 0x412
|
||||||
|
|
||||||
@@ -26,7 +29,7 @@
|
|||||||
;/* FUNCTION RELEASE */
|
;/* FUNCTION RELEASE */
|
||||||
;/* */
|
;/* */
|
||||||
;/* _tx_thread_context_save ARC_HS/MetaWare */
|
;/* _tx_thread_context_save ARC_HS/MetaWare */
|
||||||
;/* 6.1.9 */
|
;/* 6.2.1 */
|
||||||
;/* AUTHOR */
|
;/* AUTHOR */
|
||||||
;/* */
|
;/* */
|
||||||
;/* William E. Lamie, Microsoft Corporation */
|
;/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -61,6 +64,9 @@
|
|||||||
;/* 10-15-2021 Andres Mlinar Modified comment(s), and */
|
;/* 10-15-2021 Andres Mlinar Modified comment(s), and */
|
||||||
;/* r25/r30 are caller saved, */
|
;/* r25/r30 are caller saved, */
|
||||||
;/* resulting in version 6.1.9 */
|
;/* resulting in version 6.1.9 */
|
||||||
|
;/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
;/* #include tx_user.h, */
|
||||||
|
;/* resulting in version 6.2.1 */
|
||||||
;/* */
|
;/* */
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;VOID _tx_thread_context_save(VOID)
|
;VOID _tx_thread_context_save(VOID)
|
||||||
|
|||||||
@@ -18,13 +18,16 @@
|
|||||||
;/** */
|
;/** */
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
|
#include "tx_user.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;/* */
|
;/* */
|
||||||
;/* FUNCTION RELEASE */
|
;/* FUNCTION RELEASE */
|
||||||
;/* */
|
;/* */
|
||||||
;/* _tx_thread_interrupt_control ARC_HS/MetaWare */
|
;/* _tx_thread_interrupt_control ARC_HS/MetaWare */
|
||||||
;/* 6.1.6 */
|
;/* 6.2.1 */
|
||||||
;/* AUTHOR */
|
;/* AUTHOR */
|
||||||
;/* */
|
;/* */
|
||||||
;/* William E. Lamie, Microsoft Corporation */
|
;/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -57,6 +60,9 @@
|
|||||||
;/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
;/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
;/* 04-02-2021 Andres Mlinar Modified comments, */
|
;/* 04-02-2021 Andres Mlinar Modified comments, */
|
||||||
;/* resulting in version 6.1.6 */
|
;/* resulting in version 6.1.6 */
|
||||||
|
;/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
;/* #include tx_user.h, */
|
||||||
|
;/* resulting in version 6.2.1 */
|
||||||
;/* */
|
;/* */
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;UINT _tx_thread_interrupt_control(UINT new_posture)
|
;UINT _tx_thread_interrupt_control(UINT new_posture)
|
||||||
|
|||||||
@@ -19,23 +19,16 @@
|
|||||||
;/** */
|
;/** */
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
;
|
#include "tx_user.h"
|
||||||
;#define TX_SOURCE_CODE
|
#endif
|
||||||
;
|
|
||||||
;
|
|
||||||
;/* Include necessary system files. */
|
|
||||||
;
|
|
||||||
;#include "tx_api.h"
|
|
||||||
;#include "tx_thread.h"
|
|
||||||
;
|
|
||||||
;
|
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;/* */
|
;/* */
|
||||||
;/* FUNCTION RELEASE */
|
;/* FUNCTION RELEASE */
|
||||||
;/* */
|
;/* */
|
||||||
;/* _tx_thread_register_bank_assign ARC_HS/MetaWare */
|
;/* _tx_thread_register_bank_assign ARC_HS/MetaWare */
|
||||||
;/* 6.1 */
|
;/* 6.2.1 */
|
||||||
;/* AUTHOR */
|
;/* AUTHOR */
|
||||||
;/* */
|
;/* */
|
||||||
;/* William E. Lamie, Microsoft Corporation */
|
;/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -69,6 +62,9 @@
|
|||||||
;/* DATE NAME DESCRIPTION */
|
;/* DATE NAME DESCRIPTION */
|
||||||
;/* */
|
;/* */
|
||||||
;/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
;/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
|
;/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
;/* #include tx_user.h, */
|
||||||
|
;/* resulting in version 6.2.1 */
|
||||||
;/* */
|
;/* */
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;VOID _tx_thread_register_bank_assign(VOID *thread_ptr, UINT register_bank)
|
;VOID _tx_thread_register_bank_assign(VOID *thread_ptr, UINT register_bank)
|
||||||
|
|||||||
@@ -18,6 +18,9 @@
|
|||||||
;/** */
|
;/** */
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
|
#include "tx_user.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
.equ BTA, 0x412
|
.equ BTA, 0x412
|
||||||
|
|
||||||
@@ -26,7 +29,7 @@
|
|||||||
;/* FUNCTION RELEASE */
|
;/* FUNCTION RELEASE */
|
||||||
;/* */
|
;/* */
|
||||||
;/* _tx_thread_schedule ARC_HS/MetaWare */
|
;/* _tx_thread_schedule ARC_HS/MetaWare */
|
||||||
;/* 6.1.9 */
|
;/* 6.2.1 */
|
||||||
;/* AUTHOR */
|
;/* AUTHOR */
|
||||||
;/* */
|
;/* */
|
||||||
;/* William E. Lamie, Microsoft Corporation */
|
;/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -63,6 +66,9 @@
|
|||||||
;/* 10-15-2021 Andres Mlinar Modified comment(s), */
|
;/* 10-15-2021 Andres Mlinar Modified comment(s), */
|
||||||
;/* use schedule reenter, */
|
;/* use schedule reenter, */
|
||||||
;/* resulting in version 6.1.9 */
|
;/* resulting in version 6.1.9 */
|
||||||
|
;/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
;/* #include tx_user.h, */
|
||||||
|
;/* resulting in version 6.2.1 */
|
||||||
;/* */
|
;/* */
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;VOID _tx_thread_schedule(VOID)
|
;VOID _tx_thread_schedule(VOID)
|
||||||
|
|||||||
@@ -18,6 +18,9 @@
|
|||||||
;/** */
|
;/** */
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
|
#include "tx_user.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
.equ LONG_ALIGN_MASK, 0xFFFFFFFC
|
.equ LONG_ALIGN_MASK, 0xFFFFFFFC
|
||||||
.equ INT_ENABLE_BITS, 0x8000001E
|
.equ INT_ENABLE_BITS, 0x8000001E
|
||||||
@@ -27,7 +30,7 @@
|
|||||||
;/* FUNCTION RELEASE */
|
;/* FUNCTION RELEASE */
|
||||||
;/* */
|
;/* */
|
||||||
;/* _tx_thread_stack_build ARC_HS/MetaWare */
|
;/* _tx_thread_stack_build ARC_HS/MetaWare */
|
||||||
;/* 6.1.6 */
|
;/* 6.2.1 */
|
||||||
;/* AUTHOR */
|
;/* AUTHOR */
|
||||||
;/* */
|
;/* */
|
||||||
;/* William E. Lamie, Microsoft Corporation */
|
;/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -62,6 +65,9 @@
|
|||||||
;/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
;/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
;/* 04-02-2021 Andres Mlinar Modified comments, */
|
;/* 04-02-2021 Andres Mlinar Modified comments, */
|
||||||
;/* resulting in version 6.1.6 */
|
;/* resulting in version 6.1.6 */
|
||||||
|
;/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
;/* #include tx_user.h, */
|
||||||
|
;/* resulting in version 6.2.1 */
|
||||||
;/* */
|
;/* */
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;VOID _tx_thread_stack_build(TX_THREAD *thread_ptr, VOID (*function_ptr)(VOID))
|
;VOID _tx_thread_stack_build(TX_THREAD *thread_ptr, VOID (*function_ptr)(VOID))
|
||||||
|
|||||||
@@ -18,13 +18,16 @@
|
|||||||
;/** */
|
;/** */
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
|
#include "tx_user.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;/* */
|
;/* */
|
||||||
;/* FUNCTION RELEASE */
|
;/* FUNCTION RELEASE */
|
||||||
;/* */
|
;/* */
|
||||||
;/* _tx_thread_system_return ARC_HS/MetaWare */
|
;/* _tx_thread_system_return ARC_HS/MetaWare */
|
||||||
;/* 6.1.9 */
|
;/* 6.2.1 */
|
||||||
;/* AUTHOR */
|
;/* AUTHOR */
|
||||||
;/* */
|
;/* */
|
||||||
;/* William E. Lamie, Microsoft Corporation */
|
;/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -60,6 +63,9 @@
|
|||||||
;/* 10-15-2021 Andres Mlinar Modified comments, */
|
;/* 10-15-2021 Andres Mlinar Modified comments, */
|
||||||
;/* use schedule reenter, */
|
;/* use schedule reenter, */
|
||||||
;/* resulting in version 6.1.9 */
|
;/* resulting in version 6.1.9 */
|
||||||
|
;/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
;/* #include tx_user.h, */
|
||||||
|
;/* resulting in version 6.2.1 */
|
||||||
;/* */
|
;/* */
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;VOID _tx_thread_system_return(VOID)
|
;VOID _tx_thread_system_return(VOID)
|
||||||
|
|||||||
@@ -18,13 +18,16 @@
|
|||||||
;/** */
|
;/** */
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
|
#include "tx_user.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;/* */
|
;/* */
|
||||||
;/* FUNCTION RELEASE */
|
;/* FUNCTION RELEASE */
|
||||||
;/* */
|
;/* */
|
||||||
;/* _tx_timer_interrupt ARC_HS/MetaWare */
|
;/* _tx_timer_interrupt ARC_HS/MetaWare */
|
||||||
;/* 6.1.9 */
|
;/* 6.2.1 */
|
||||||
;/* AUTHOR */
|
;/* AUTHOR */
|
||||||
;/* */
|
;/* */
|
||||||
;/* William E. Lamie, Microsoft Corporation */
|
;/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -69,6 +72,9 @@
|
|||||||
;/* fixed possible race */
|
;/* fixed possible race */
|
||||||
;/* condition on preemption */
|
;/* condition on preemption */
|
||||||
;/* resulting in version 6.1.9 */
|
;/* resulting in version 6.1.9 */
|
||||||
|
;/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
;/* #include tx_user.h, */
|
||||||
|
;/* resulting in version 6.2.1 */
|
||||||
;/* */
|
;/* */
|
||||||
;/**************************************************************************/
|
;/**************************************************************************/
|
||||||
;VOID _tx_timer_interrupt(VOID)
|
;VOID _tx_timer_interrupt(VOID)
|
||||||
|
|||||||
@@ -320,7 +320,7 @@ unsigned int _tx_thread_interrupt_restore(UINT old_posture);
|
|||||||
|
|
||||||
#ifdef TX_THREAD_INIT
|
#ifdef TX_THREAD_INIT
|
||||||
CHAR _tx_version_id[] =
|
CHAR _tx_version_id[] =
|
||||||
"Copyright (c) Microsoft Corporation. All rights reserved. * ThreadX ARM11/AC5 Version 6.1.9 *";
|
"Copyright (c) Microsoft Corporation. All rights reserved. * ThreadX ARM11/AC5 Version 6.2.1 *";
|
||||||
#else
|
#else
|
||||||
extern CHAR _tx_version_id[];
|
extern CHAR _tx_version_id[];
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -139,7 +139,7 @@ _tx_thread_context_restore
|
|||||||
__tx_thread_not_nested_restore
|
__tx_thread_not_nested_restore
|
||||||
;
|
;
|
||||||
; /* Determine if a thread was interrupted and no preemption is required. */
|
; /* Determine if a thread was interrupted and no preemption is required. */
|
||||||
; else if (((_tx_thread_current_ptr) && (_tx_thread_current_ptr == _tx_thread_execute_ptr)
|
; else if (((_tx_thread_current_ptr) && (_tx_thread_current_ptr == _tx_thread_execute_ptr))
|
||||||
; || (_tx_thread_preempt_disable))
|
; || (_tx_thread_preempt_disable))
|
||||||
; {
|
; {
|
||||||
;
|
;
|
||||||
|
|||||||
@@ -141,7 +141,7 @@ _tx_thread_fiq_context_restore
|
|||||||
__tx_thread_fiq_not_nested_restore
|
__tx_thread_fiq_not_nested_restore
|
||||||
;
|
;
|
||||||
; /* Determine if a thread was interrupted and no preemption is required. */
|
; /* Determine if a thread was interrupted and no preemption is required. */
|
||||||
; else if (((_tx_thread_current_ptr) && (_tx_thread_current_ptr == _tx_thread_execute_ptr)
|
; else if (((_tx_thread_current_ptr) && (_tx_thread_current_ptr == _tx_thread_execute_ptr))
|
||||||
; || (_tx_thread_preempt_disable))
|
; || (_tx_thread_preempt_disable))
|
||||||
; {
|
; {
|
||||||
;
|
;
|
||||||
|
|||||||
@@ -309,7 +309,7 @@ unsigned int _tx_thread_interrupt_restore(UINT old_posture);
|
|||||||
|
|
||||||
#ifdef TX_THREAD_INIT
|
#ifdef TX_THREAD_INIT
|
||||||
CHAR _tx_version_id[] =
|
CHAR _tx_version_id[] =
|
||||||
"Copyright (c) Microsoft Corporation. All rights reserved. * ThreadX ARM11/GNU Version 6.1.9 *";
|
"Copyright (c) Microsoft Corporation. All rights reserved. * ThreadX ARM11/GNU Version 6.2.1 *";
|
||||||
#else
|
#else
|
||||||
extern CHAR _tx_version_id[];
|
extern CHAR _tx_version_id[];
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -19,17 +19,10 @@
|
|||||||
@/** */
|
@/** */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
@
|
#include "tx_user.h"
|
||||||
@#define TX_SOURCE_CODE
|
#endif
|
||||||
@
|
|
||||||
@
|
|
||||||
@/* Include necessary system files. */
|
|
||||||
@
|
|
||||||
@#include "tx_api.h"
|
|
||||||
@#include "tx_thread.h"
|
|
||||||
@#include "tx_timer.h"
|
|
||||||
@
|
|
||||||
.arm
|
.arm
|
||||||
|
|
||||||
#ifdef TX_ENABLE_FIQ_SUPPORT
|
#ifdef TX_ENABLE_FIQ_SUPPORT
|
||||||
@@ -60,7 +53,7 @@ IRQ_MODE = 0x92 @ Disable IRQ, IRQ mode
|
|||||||
@/* FUNCTION RELEASE */
|
@/* FUNCTION RELEASE */
|
||||||
@/* */
|
@/* */
|
||||||
@/* _tx_thread_context_restore ARM11/GNU */
|
@/* _tx_thread_context_restore ARM11/GNU */
|
||||||
@/* 6.1 */
|
@/* 6.2.1 */
|
||||||
@/* AUTHOR */
|
@/* AUTHOR */
|
||||||
@/* */
|
@/* */
|
||||||
@/* William E. Lamie, Microsoft Corporation */
|
@/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -93,6 +86,9 @@ IRQ_MODE = 0x92 @ Disable IRQ, IRQ mode
|
|||||||
@/* DATE NAME DESCRIPTION */
|
@/* DATE NAME DESCRIPTION */
|
||||||
@/* */
|
@/* */
|
||||||
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
|
@/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
@/* #include tx_user.h, */
|
||||||
|
@/* resulting in version 6.2.1 */
|
||||||
@/* */
|
@/* */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@VOID _tx_thread_context_restore(VOID)
|
@VOID _tx_thread_context_restore(VOID)
|
||||||
@@ -138,7 +134,7 @@ _tx_thread_context_restore:
|
|||||||
__tx_thread_not_nested_restore:
|
__tx_thread_not_nested_restore:
|
||||||
@
|
@
|
||||||
@ /* Determine if a thread was interrupted and no preemption is required. */
|
@ /* Determine if a thread was interrupted and no preemption is required. */
|
||||||
@ else if (((_tx_thread_current_ptr) && (_tx_thread_current_ptr == _tx_thread_execute_ptr)
|
@ else if (((_tx_thread_current_ptr) && (_tx_thread_current_ptr == _tx_thread_execute_ptr))
|
||||||
@ || (_tx_thread_preempt_disable))
|
@ || (_tx_thread_preempt_disable))
|
||||||
@ {
|
@ {
|
||||||
@
|
@
|
||||||
|
|||||||
@@ -19,17 +19,10 @@
|
|||||||
@/** */
|
@/** */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
@
|
#include "tx_user.h"
|
||||||
@#define TX_SOURCE_CODE
|
#endif
|
||||||
@
|
|
||||||
@
|
|
||||||
@/* Include necessary system files. */
|
|
||||||
@
|
|
||||||
@#include "tx_api.h"
|
|
||||||
@#include "tx_thread.h"
|
|
||||||
@#include "tx_timer.h"
|
|
||||||
@
|
|
||||||
#ifdef TX_ENABLE_FIQ_SUPPORT
|
#ifdef TX_ENABLE_FIQ_SUPPORT
|
||||||
DISABLE_INTS = 0xC0 @ IRQ & FIQ interrupts disabled
|
DISABLE_INTS = 0xC0 @ IRQ & FIQ interrupts disabled
|
||||||
#else
|
#else
|
||||||
@@ -53,7 +46,7 @@ DISABLE_INTS = 0x80 @ IRQ interrupts disabled
|
|||||||
@/* FUNCTION RELEASE */
|
@/* FUNCTION RELEASE */
|
||||||
@/* */
|
@/* */
|
||||||
@/* _tx_thread_context_save ARM11/GNU */
|
@/* _tx_thread_context_save ARM11/GNU */
|
||||||
@/* 6.1 */
|
@/* 6.2.1 */
|
||||||
@/* AUTHOR */
|
@/* AUTHOR */
|
||||||
@/* */
|
@/* */
|
||||||
@/* William E. Lamie, Microsoft Corporation */
|
@/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -85,6 +78,9 @@ DISABLE_INTS = 0x80 @ IRQ interrupts disabled
|
|||||||
@/* DATE NAME DESCRIPTION */
|
@/* DATE NAME DESCRIPTION */
|
||||||
@/* */
|
@/* */
|
||||||
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
|
@/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
@/* #include tx_user.h, */
|
||||||
|
@/* resulting in version 6.2.1 */
|
||||||
@/* */
|
@/* */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@VOID _tx_thread_context_save(VOID)
|
@VOID _tx_thread_context_save(VOID)
|
||||||
|
|||||||
@@ -19,18 +19,10 @@
|
|||||||
@/** */
|
@/** */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
@
|
#include "tx_user.h"
|
||||||
@#define TX_SOURCE_CODE
|
#endif
|
||||||
@
|
|
||||||
@
|
|
||||||
@/* Include necessary system files. */
|
|
||||||
@
|
|
||||||
@#include "tx_api.h"
|
|
||||||
@#include "tx_thread.h"
|
|
||||||
@#include "tx_timer.h"
|
|
||||||
@
|
|
||||||
@
|
|
||||||
SVC_MODE = 0xD3 @ SVC mode
|
SVC_MODE = 0xD3 @ SVC mode
|
||||||
FIQ_MODE = 0xD1 @ FIQ mode
|
FIQ_MODE = 0xD1 @ FIQ mode
|
||||||
DISABLE_INTS = 0xC0 @ Disable IRQ/FIQ interrupts
|
DISABLE_INTS = 0xC0 @ Disable IRQ/FIQ interrupts
|
||||||
@@ -61,7 +53,7 @@ SVC_MODE_BITS = 0x13 @ SVC mode value
|
|||||||
@/* FUNCTION RELEASE */
|
@/* FUNCTION RELEASE */
|
||||||
@/* */
|
@/* */
|
||||||
@/* _tx_thread_fiq_context_restore ARM11/GNU */
|
@/* _tx_thread_fiq_context_restore ARM11/GNU */
|
||||||
@/* 6.1 */
|
@/* 6.2.1 */
|
||||||
@/* AUTHOR */
|
@/* AUTHOR */
|
||||||
@/* */
|
@/* */
|
||||||
@/* William E. Lamie, Microsoft Corporation */
|
@/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -94,6 +86,9 @@ SVC_MODE_BITS = 0x13 @ SVC mode value
|
|||||||
@/* DATE NAME DESCRIPTION */
|
@/* DATE NAME DESCRIPTION */
|
||||||
@/* */
|
@/* */
|
||||||
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
|
@/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
@/* #include tx_user.h, */
|
||||||
|
@/* resulting in version 6.2.1 */
|
||||||
@/* */
|
@/* */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@VOID _tx_thread_fiq_context_restore(VOID)
|
@VOID _tx_thread_fiq_context_restore(VOID)
|
||||||
@@ -140,7 +135,7 @@ _tx_thread_fiq_context_restore:
|
|||||||
__tx_thread_fiq_not_nested_restore:
|
__tx_thread_fiq_not_nested_restore:
|
||||||
@
|
@
|
||||||
@ /* Determine if a thread was interrupted and no preemption is required. */
|
@ /* Determine if a thread was interrupted and no preemption is required. */
|
||||||
@ else if (((_tx_thread_current_ptr) && (_tx_thread_current_ptr == _tx_thread_execute_ptr)
|
@ else if (((_tx_thread_current_ptr) && (_tx_thread_current_ptr == _tx_thread_execute_ptr))
|
||||||
@ || (_tx_thread_preempt_disable))
|
@ || (_tx_thread_preempt_disable))
|
||||||
@ {
|
@ {
|
||||||
@
|
@
|
||||||
|
|||||||
@@ -19,17 +19,10 @@
|
|||||||
@/** */
|
@/** */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
@
|
#include "tx_user.h"
|
||||||
@#define TX_SOURCE_CODE
|
#endif
|
||||||
@
|
|
||||||
@
|
|
||||||
@/* Include necessary system files. */
|
|
||||||
@
|
|
||||||
@#include "tx_api.h"
|
|
||||||
@#include "tx_thread.h"
|
|
||||||
@
|
|
||||||
@
|
|
||||||
.global _tx_thread_system_state
|
.global _tx_thread_system_state
|
||||||
.global _tx_thread_current_ptr
|
.global _tx_thread_current_ptr
|
||||||
.global __tx_fiq_processing_return
|
.global __tx_fiq_processing_return
|
||||||
@@ -47,7 +40,7 @@
|
|||||||
@/* FUNCTION RELEASE */
|
@/* FUNCTION RELEASE */
|
||||||
@/* */
|
@/* */
|
||||||
@/* _tx_thread_fiq_context_save ARM11/GNU */
|
@/* _tx_thread_fiq_context_save ARM11/GNU */
|
||||||
@/* 6.1 */
|
@/* 6.2.1 */
|
||||||
@/* AUTHOR */
|
@/* AUTHOR */
|
||||||
@/* */
|
@/* */
|
||||||
@/* William E. Lamie, Microsoft Corporation */
|
@/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -79,6 +72,9 @@
|
|||||||
@/* DATE NAME DESCRIPTION */
|
@/* DATE NAME DESCRIPTION */
|
||||||
@/* */
|
@/* */
|
||||||
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
|
@/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
@/* #include tx_user.h, */
|
||||||
|
@/* resulting in version 6.2.1 */
|
||||||
@/* */
|
@/* */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@ VOID _tx_thread_fiq_context_save(VOID)
|
@ VOID _tx_thread_fiq_context_save(VOID)
|
||||||
|
|||||||
@@ -19,17 +19,10 @@
|
|||||||
@/** */
|
@/** */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
@
|
#include "tx_user.h"
|
||||||
@#define TX_SOURCE_CODE
|
#endif
|
||||||
@
|
|
||||||
@
|
|
||||||
@/* Include necessary system files. */
|
|
||||||
@
|
|
||||||
@#include "tx_api.h"
|
|
||||||
@#include "tx_thread.h"
|
|
||||||
@
|
|
||||||
@
|
|
||||||
#ifdef TX_ENABLE_FIQ_SUPPORT
|
#ifdef TX_ENABLE_FIQ_SUPPORT
|
||||||
DISABLE_INTS = 0xC0 @ Disable IRQ/FIQ interrupts
|
DISABLE_INTS = 0xC0 @ Disable IRQ/FIQ interrupts
|
||||||
#else
|
#else
|
||||||
@@ -50,7 +43,7 @@ FIQ_MODE_BITS = 0x11 @ FIQ mode bits
|
|||||||
@/* FUNCTION RELEASE */
|
@/* FUNCTION RELEASE */
|
||||||
@/* */
|
@/* */
|
||||||
@/* _tx_thread_fiq_nesting_end ARM11/GNU */
|
@/* _tx_thread_fiq_nesting_end ARM11/GNU */
|
||||||
@/* 6.1 */
|
@/* 6.2.1 */
|
||||||
@/* AUTHOR */
|
@/* AUTHOR */
|
||||||
@/* */
|
@/* */
|
||||||
@/* William E. Lamie, Microsoft Corporation */
|
@/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -90,6 +83,9 @@ FIQ_MODE_BITS = 0x11 @ FIQ mode bits
|
|||||||
@/* DATE NAME DESCRIPTION */
|
@/* DATE NAME DESCRIPTION */
|
||||||
@/* */
|
@/* */
|
||||||
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
|
@/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
@/* #include tx_user.h, */
|
||||||
|
@/* resulting in version 6.2.1 */
|
||||||
@/* */
|
@/* */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@VOID _tx_thread_fiq_nesting_end(VOID)
|
@VOID _tx_thread_fiq_nesting_end(VOID)
|
||||||
|
|||||||
@@ -19,17 +19,10 @@
|
|||||||
@/** */
|
@/** */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
@
|
#include "tx_user.h"
|
||||||
@#define TX_SOURCE_CODE
|
#endif
|
||||||
@
|
|
||||||
@
|
|
||||||
@/* Include necessary system files. */
|
|
||||||
@
|
|
||||||
@#include "tx_api.h"
|
|
||||||
@#include "tx_thread.h"
|
|
||||||
@
|
|
||||||
@
|
|
||||||
FIQ_DISABLE = 0x40 @ FIQ disable bit
|
FIQ_DISABLE = 0x40 @ FIQ disable bit
|
||||||
MODE_MASK = 0x1F @ Mode mask
|
MODE_MASK = 0x1F @ Mode mask
|
||||||
SYS_MODE_BITS = 0x1F @ System mode bits
|
SYS_MODE_BITS = 0x1F @ System mode bits
|
||||||
@@ -46,7 +39,7 @@ SYS_MODE_BITS = 0x1F @ System mode bits
|
|||||||
@/* FUNCTION RELEASE */
|
@/* FUNCTION RELEASE */
|
||||||
@/* */
|
@/* */
|
||||||
@/* _tx_thread_fiq_nesting_start ARM11/GNU */
|
@/* _tx_thread_fiq_nesting_start ARM11/GNU */
|
||||||
@/* 6.1 */
|
@/* 6.2.1 */
|
||||||
@/* AUTHOR */
|
@/* AUTHOR */
|
||||||
@/* */
|
@/* */
|
||||||
@/* William E. Lamie, Microsoft Corporation */
|
@/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -83,6 +76,9 @@ SYS_MODE_BITS = 0x1F @ System mode bits
|
|||||||
@/* DATE NAME DESCRIPTION */
|
@/* DATE NAME DESCRIPTION */
|
||||||
@/* */
|
@/* */
|
||||||
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
|
@/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
@/* #include tx_user.h, */
|
||||||
|
@/* resulting in version 6.2.1 */
|
||||||
@/* */
|
@/* */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@VOID _tx_thread_fiq_nesting_start(VOID)
|
@VOID _tx_thread_fiq_nesting_start(VOID)
|
||||||
|
|||||||
@@ -19,15 +19,10 @@
|
|||||||
@/** */
|
@/** */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
@#define TX_SOURCE_CODE
|
#include "tx_user.h"
|
||||||
@
|
#endif
|
||||||
@
|
|
||||||
@/* Include necessary system files. */
|
|
||||||
@
|
|
||||||
@#include "tx_api.h"
|
|
||||||
@#include "tx_thread.h" */
|
|
||||||
@
|
|
||||||
|
|
||||||
INT_MASK = 0x03F
|
INT_MASK = 0x03F
|
||||||
|
|
||||||
@@ -56,7 +51,7 @@ $_tx_thread_interrupt_control:
|
|||||||
@/* FUNCTION RELEASE */
|
@/* FUNCTION RELEASE */
|
||||||
@/* */
|
@/* */
|
||||||
@/* _tx_thread_interrupt_control ARM11/GNU */
|
@/* _tx_thread_interrupt_control ARM11/GNU */
|
||||||
@/* 6.1 */
|
@/* 6.2.1 */
|
||||||
@/* AUTHOR */
|
@/* AUTHOR */
|
||||||
@/* */
|
@/* */
|
||||||
@/* William E. Lamie, Microsoft Corporation */
|
@/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -87,6 +82,9 @@ $_tx_thread_interrupt_control:
|
|||||||
@/* DATE NAME DESCRIPTION */
|
@/* DATE NAME DESCRIPTION */
|
||||||
@/* */
|
@/* */
|
||||||
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
|
@/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
@/* #include tx_user.h, */
|
||||||
|
@/* resulting in version 6.2.1 */
|
||||||
@/* */
|
@/* */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@UINT _tx_thread_interrupt_control(UINT new_posture)
|
@UINT _tx_thread_interrupt_control(UINT new_posture)
|
||||||
|
|||||||
@@ -19,16 +19,10 @@
|
|||||||
@/** */
|
@/** */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
@#define TX_SOURCE_CODE
|
#include "tx_user.h"
|
||||||
@
|
#endif
|
||||||
@
|
|
||||||
@/* Include necessary system files. */
|
|
||||||
@
|
|
||||||
@#include "tx_api.h"
|
|
||||||
@#include "tx_thread.h"
|
|
||||||
@
|
|
||||||
@
|
|
||||||
#ifdef TX_ENABLE_FIQ_SUPPORT
|
#ifdef TX_ENABLE_FIQ_SUPPORT
|
||||||
DISABLE_INTS = 0xC0 @ IRQ & FIQ interrupts disabled
|
DISABLE_INTS = 0xC0 @ IRQ & FIQ interrupts disabled
|
||||||
#else
|
#else
|
||||||
@@ -60,7 +54,7 @@ $_tx_thread_interrupt_disable:
|
|||||||
@/* FUNCTION RELEASE */
|
@/* FUNCTION RELEASE */
|
||||||
@/* */
|
@/* */
|
||||||
@/* _tx_thread_interrupt_disable ARM11/GNU */
|
@/* _tx_thread_interrupt_disable ARM11/GNU */
|
||||||
@/* 6.1 */
|
@/* 6.2.1 */
|
||||||
@/* AUTHOR */
|
@/* AUTHOR */
|
||||||
@/* */
|
@/* */
|
||||||
@/* William E. Lamie, Microsoft Corporation */
|
@/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -90,6 +84,9 @@ $_tx_thread_interrupt_disable:
|
|||||||
@/* DATE NAME DESCRIPTION */
|
@/* DATE NAME DESCRIPTION */
|
||||||
@/* */
|
@/* */
|
||||||
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
|
@/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
@/* #include tx_user.h, */
|
||||||
|
@/* resulting in version 6.2.1 */
|
||||||
@/* */
|
@/* */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@UINT _tx_thread_interrupt_disable(void)
|
@UINT _tx_thread_interrupt_disable(void)
|
||||||
|
|||||||
@@ -19,16 +19,10 @@
|
|||||||
@/** */
|
@/** */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
@#define TX_SOURCE_CODE
|
#include "tx_user.h"
|
||||||
@
|
#endif
|
||||||
@
|
|
||||||
@/* Include necessary system files. */
|
|
||||||
@
|
|
||||||
@#include "tx_api.h"
|
|
||||||
@#include "tx_thread.h"
|
|
||||||
@
|
|
||||||
@
|
|
||||||
@/* Define the 16-bit Thumb mode veneer for _tx_thread_interrupt_restore for
|
@/* Define the 16-bit Thumb mode veneer for _tx_thread_interrupt_restore for
|
||||||
@ applications calling this function from to 16-bit Thumb mode. */
|
@ applications calling this function from to 16-bit Thumb mode. */
|
||||||
@
|
@
|
||||||
@@ -53,7 +47,7 @@ $_tx_thread_interrupt_restore:
|
|||||||
@/* FUNCTION RELEASE */
|
@/* FUNCTION RELEASE */
|
||||||
@/* */
|
@/* */
|
||||||
@/* _tx_thread_interrupt_restore ARM11/GNU */
|
@/* _tx_thread_interrupt_restore ARM11/GNU */
|
||||||
@/* 6.1 */
|
@/* 6.2.1 */
|
||||||
@/* AUTHOR */
|
@/* AUTHOR */
|
||||||
@/* */
|
@/* */
|
||||||
@/* William E. Lamie, Microsoft Corporation */
|
@/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -84,6 +78,9 @@ $_tx_thread_interrupt_restore:
|
|||||||
@/* DATE NAME DESCRIPTION */
|
@/* DATE NAME DESCRIPTION */
|
||||||
@/* */
|
@/* */
|
||||||
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
|
@/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
@/* #include tx_user.h, */
|
||||||
|
@/* resulting in version 6.2.1 */
|
||||||
@/* */
|
@/* */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@UINT _tx_thread_interrupt_restore(UINT old_posture)
|
@UINT _tx_thread_interrupt_restore(UINT old_posture)
|
||||||
|
|||||||
@@ -19,17 +19,10 @@
|
|||||||
@/** */
|
@/** */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
@
|
#include "tx_user.h"
|
||||||
@#define TX_SOURCE_CODE
|
#endif
|
||||||
@
|
|
||||||
@
|
|
||||||
@/* Include necessary system files. */
|
|
||||||
@
|
|
||||||
@#include "tx_api.h"
|
|
||||||
@#include "tx_thread.h"
|
|
||||||
@
|
|
||||||
@
|
|
||||||
#ifdef TX_ENABLE_FIQ_SUPPORT
|
#ifdef TX_ENABLE_FIQ_SUPPORT
|
||||||
DISABLE_INTS = 0xC0 @ Disable IRQ/FIQ interrupts
|
DISABLE_INTS = 0xC0 @ Disable IRQ/FIQ interrupts
|
||||||
#else
|
#else
|
||||||
@@ -50,7 +43,7 @@ IRQ_MODE_BITS = 0x12 @ IRQ mode bits
|
|||||||
@/* FUNCTION RELEASE */
|
@/* FUNCTION RELEASE */
|
||||||
@/* */
|
@/* */
|
||||||
@/* _tx_thread_irq_nesting_end ARM11/GNU */
|
@/* _tx_thread_irq_nesting_end ARM11/GNU */
|
||||||
@/* 6.1 */
|
@/* 6.2.1 */
|
||||||
@/* AUTHOR */
|
@/* AUTHOR */
|
||||||
@/* */
|
@/* */
|
||||||
@/* William E. Lamie, Microsoft Corporation */
|
@/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -90,6 +83,9 @@ IRQ_MODE_BITS = 0x12 @ IRQ mode bits
|
|||||||
@/* DATE NAME DESCRIPTION */
|
@/* DATE NAME DESCRIPTION */
|
||||||
@/* */
|
@/* */
|
||||||
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
|
@/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
@/* #include tx_user.h, */
|
||||||
|
@/* resulting in version 6.2.1 */
|
||||||
@/* */
|
@/* */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@VOID _tx_thread_irq_nesting_end(VOID)
|
@VOID _tx_thread_irq_nesting_end(VOID)
|
||||||
|
|||||||
@@ -19,17 +19,10 @@
|
|||||||
@/** */
|
@/** */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
@
|
#include "tx_user.h"
|
||||||
@#define TX_SOURCE_CODE
|
#endif
|
||||||
@
|
|
||||||
@
|
|
||||||
@/* Include necessary system files. */
|
|
||||||
@
|
|
||||||
@#include "tx_api.h"
|
|
||||||
@#include "tx_thread.h"
|
|
||||||
@
|
|
||||||
@
|
|
||||||
IRQ_DISABLE = 0x80 @ IRQ disable bit
|
IRQ_DISABLE = 0x80 @ IRQ disable bit
|
||||||
MODE_MASK = 0x1F @ Mode mask
|
MODE_MASK = 0x1F @ Mode mask
|
||||||
SYS_MODE_BITS = 0x1F @ System mode bits
|
SYS_MODE_BITS = 0x1F @ System mode bits
|
||||||
@@ -46,7 +39,7 @@ SYS_MODE_BITS = 0x1F @ System mode bits
|
|||||||
@/* FUNCTION RELEASE */
|
@/* FUNCTION RELEASE */
|
||||||
@/* */
|
@/* */
|
||||||
@/* _tx_thread_irq_nesting_start ARM11/GNU */
|
@/* _tx_thread_irq_nesting_start ARM11/GNU */
|
||||||
@/* 6.1 */
|
@/* 6.2.1 */
|
||||||
@/* AUTHOR */
|
@/* AUTHOR */
|
||||||
@/* */
|
@/* */
|
||||||
@/* William E. Lamie, Microsoft Corporation */
|
@/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -83,6 +76,9 @@ SYS_MODE_BITS = 0x1F @ System mode bits
|
|||||||
@/* DATE NAME DESCRIPTION */
|
@/* DATE NAME DESCRIPTION */
|
||||||
@/* */
|
@/* */
|
||||||
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
|
@/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
@/* #include tx_user.h, */
|
||||||
|
@/* resulting in version 6.2.1 */
|
||||||
@/* */
|
@/* */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@VOID _tx_thread_irq_nesting_start(VOID)
|
@VOID _tx_thread_irq_nesting_start(VOID)
|
||||||
|
|||||||
@@ -19,17 +19,10 @@
|
|||||||
@/** */
|
@/** */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
@
|
#include "tx_user.h"
|
||||||
@#define TX_SOURCE_CODE
|
#endif
|
||||||
@
|
|
||||||
@
|
|
||||||
@/* Include necessary system files. */
|
|
||||||
@
|
|
||||||
@#include "tx_api.h"
|
|
||||||
@#include "tx_thread.h"
|
|
||||||
@#include "tx_timer.h"
|
|
||||||
@
|
|
||||||
#ifdef TX_ENABLE_FIQ_SUPPORT
|
#ifdef TX_ENABLE_FIQ_SUPPORT
|
||||||
ENABLE_INTS = 0xC0 @ IRQ & FIQ Interrupts enabled mask
|
ENABLE_INTS = 0xC0 @ IRQ & FIQ Interrupts enabled mask
|
||||||
#else
|
#else
|
||||||
@@ -68,7 +61,7 @@ $_tx_thread_schedule:
|
|||||||
@/* FUNCTION RELEASE */
|
@/* FUNCTION RELEASE */
|
||||||
@/* */
|
@/* */
|
||||||
@/* _tx_thread_schedule ARM11/GNU */
|
@/* _tx_thread_schedule ARM11/GNU */
|
||||||
@/* 6.1 */
|
@/* 6.2.1 */
|
||||||
@/* AUTHOR */
|
@/* AUTHOR */
|
||||||
@/* */
|
@/* */
|
||||||
@/* William E. Lamie, Microsoft Corporation */
|
@/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -102,6 +95,9 @@ $_tx_thread_schedule:
|
|||||||
@/* DATE NAME DESCRIPTION */
|
@/* DATE NAME DESCRIPTION */
|
||||||
@/* */
|
@/* */
|
||||||
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
|
@/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
@/* #include tx_user.h, */
|
||||||
|
@/* resulting in version 6.2.1 */
|
||||||
@/* */
|
@/* */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@VOID _tx_thread_schedule(VOID)
|
@VOID _tx_thread_schedule(VOID)
|
||||||
|
|||||||
@@ -19,16 +19,10 @@
|
|||||||
@/** */
|
@/** */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
@
|
#include "tx_user.h"
|
||||||
@#define TX_SOURCE_CODE
|
#endif
|
||||||
@
|
|
||||||
@
|
|
||||||
@/* Include necessary system files. */
|
|
||||||
@
|
|
||||||
@#include "tx_api.h"
|
|
||||||
@#include "tx_thread.h"
|
|
||||||
@
|
|
||||||
.arm
|
.arm
|
||||||
|
|
||||||
SVC_MODE = 0x13 @ SVC mode
|
SVC_MODE = 0x13 @ SVC mode
|
||||||
@@ -64,7 +58,7 @@ $_tx_thread_stack_build:
|
|||||||
@/* FUNCTION RELEASE */
|
@/* FUNCTION RELEASE */
|
||||||
@/* */
|
@/* */
|
||||||
@/* _tx_thread_stack_build ARM11/GNU */
|
@/* _tx_thread_stack_build ARM11/GNU */
|
||||||
@/* 6.1 */
|
@/* 6.2.1 */
|
||||||
@/* AUTHOR */
|
@/* AUTHOR */
|
||||||
@/* */
|
@/* */
|
||||||
@/* William E. Lamie, Microsoft Corporation */
|
@/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -97,6 +91,9 @@ $_tx_thread_stack_build:
|
|||||||
@/* DATE NAME DESCRIPTION */
|
@/* DATE NAME DESCRIPTION */
|
||||||
@/* */
|
@/* */
|
||||||
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
|
@/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
@/* #include tx_user.h, */
|
||||||
|
@/* resulting in version 6.2.1 */
|
||||||
@/* */
|
@/* */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@VOID _tx_thread_stack_build(TX_THREAD *thread_ptr, VOID (*function_ptr)(VOID))
|
@VOID _tx_thread_stack_build(TX_THREAD *thread_ptr, VOID (*function_ptr)(VOID))
|
||||||
|
|||||||
@@ -19,16 +19,10 @@
|
|||||||
@/** */
|
@/** */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
@#define TX_SOURCE_CODE
|
#include "tx_user.h"
|
||||||
@
|
#endif
|
||||||
@
|
|
||||||
@/* Include necessary system files. */
|
|
||||||
@
|
|
||||||
@#include "tx_api.h"
|
|
||||||
@#include "tx_thread.h"
|
|
||||||
@#include "tx_timer.h"
|
|
||||||
@
|
|
||||||
.arm
|
.arm
|
||||||
|
|
||||||
#ifdef TX_ENABLE_FIQ_SUPPORT
|
#ifdef TX_ENABLE_FIQ_SUPPORT
|
||||||
@@ -70,7 +64,7 @@ $_tx_thread_system_return:
|
|||||||
@/* FUNCTION RELEASE */
|
@/* FUNCTION RELEASE */
|
||||||
@/* */
|
@/* */
|
||||||
@/* _tx_thread_system_return ARM11/GNU */
|
@/* _tx_thread_system_return ARM11/GNU */
|
||||||
@/* 6.1 */
|
@/* 6.2.1 */
|
||||||
@/* AUTHOR */
|
@/* AUTHOR */
|
||||||
@/* */
|
@/* */
|
||||||
@/* William E. Lamie, Microsoft Corporation */
|
@/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -103,6 +97,9 @@ $_tx_thread_system_return:
|
|||||||
@/* DATE NAME DESCRIPTION */
|
@/* DATE NAME DESCRIPTION */
|
||||||
@/* */
|
@/* */
|
||||||
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
|
@/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
@/* #include tx_user.h, */
|
||||||
|
@/* resulting in version 6.2.1 */
|
||||||
@/* */
|
@/* */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@VOID _tx_thread_system_return(VOID)
|
@VOID _tx_thread_system_return(VOID)
|
||||||
|
|||||||
@@ -19,17 +19,10 @@
|
|||||||
@/** */
|
@/** */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
@
|
#include "tx_user.h"
|
||||||
@#define TX_SOURCE_CODE
|
#endif
|
||||||
@
|
|
||||||
@
|
|
||||||
@/* Include necessary system files. */
|
|
||||||
@
|
|
||||||
@#include "tx_api.h"
|
|
||||||
@#include "tx_thread.h"
|
|
||||||
@
|
|
||||||
@
|
|
||||||
#ifdef TX_ENABLE_FIQ_SUPPORT
|
#ifdef TX_ENABLE_FIQ_SUPPORT
|
||||||
DISABLE_INTS = 0xC0 @ IRQ & FIQ interrupts disabled
|
DISABLE_INTS = 0xC0 @ IRQ & FIQ interrupts disabled
|
||||||
#else
|
#else
|
||||||
@@ -54,7 +47,7 @@ DISABLE_INTS = 0x80 @ IRQ interrupts disabled
|
|||||||
@/* FUNCTION RELEASE */
|
@/* FUNCTION RELEASE */
|
||||||
@/* */
|
@/* */
|
||||||
@/* _tx_thread_vectored_context_save ARM11/GNU */
|
@/* _tx_thread_vectored_context_save ARM11/GNU */
|
||||||
@/* 6.1 */
|
@/* 6.2.1 */
|
||||||
@/* AUTHOR */
|
@/* AUTHOR */
|
||||||
@/* */
|
@/* */
|
||||||
@/* William E. Lamie, Microsoft Corporation */
|
@/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -86,6 +79,9 @@ DISABLE_INTS = 0x80 @ IRQ interrupts disabled
|
|||||||
@/* DATE NAME DESCRIPTION */
|
@/* DATE NAME DESCRIPTION */
|
||||||
@/* */
|
@/* */
|
||||||
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
|
@/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
@/* #include tx_user.h, */
|
||||||
|
@/* resulting in version 6.2.1 */
|
||||||
@/* */
|
@/* */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@VOID _tx_thread_vectored_context_save(VOID)
|
@VOID _tx_thread_vectored_context_save(VOID)
|
||||||
|
|||||||
@@ -19,17 +19,10 @@
|
|||||||
@/** */
|
@/** */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
@#define TX_SOURCE_CODE
|
#include "tx_user.h"
|
||||||
@
|
#endif
|
||||||
@
|
|
||||||
@/* Include necessary system files. */
|
|
||||||
@
|
|
||||||
@#include "tx_api.h"
|
|
||||||
@#include "tx_timer.h"
|
|
||||||
@#include "tx_thread.h"
|
|
||||||
@
|
|
||||||
@
|
|
||||||
.arm
|
.arm
|
||||||
|
|
||||||
@
|
@
|
||||||
@@ -71,7 +64,7 @@ $_tx_timer_interrupt:
|
|||||||
@/* FUNCTION RELEASE */
|
@/* FUNCTION RELEASE */
|
||||||
@/* */
|
@/* */
|
||||||
@/* _tx_timer_interrupt ARM11/GNU */
|
@/* _tx_timer_interrupt ARM11/GNU */
|
||||||
@/* 6.1 */
|
@/* 6.2.1 */
|
||||||
@/* AUTHOR */
|
@/* AUTHOR */
|
||||||
@/* */
|
@/* */
|
||||||
@/* William E. Lamie, Microsoft Corporation */
|
@/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -106,6 +99,9 @@ $_tx_timer_interrupt:
|
|||||||
@/* DATE NAME DESCRIPTION */
|
@/* DATE NAME DESCRIPTION */
|
||||||
@/* */
|
@/* */
|
||||||
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
|
@/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
@/* #include tx_user.h, */
|
||||||
|
@/* resulting in version 6.2.1 */
|
||||||
@/* */
|
@/* */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@VOID _tx_timer_interrupt(VOID)
|
@VOID _tx_timer_interrupt(VOID)
|
||||||
|
|||||||
@@ -375,7 +375,7 @@ void _tx_thread_interrupt_restore(UINT old_posture);
|
|||||||
|
|
||||||
#ifdef TX_THREAD_INIT
|
#ifdef TX_THREAD_INIT
|
||||||
CHAR _tx_version_id[] =
|
CHAR _tx_version_id[] =
|
||||||
"Copyright (c) Microsoft Corporation. All rights reserved. * ThreadX ARM11/IAR Version 6.1.9 *";
|
"Copyright (c) Microsoft Corporation. All rights reserved. * ThreadX ARM11/IAR Version 6.2.1 *";
|
||||||
#else
|
#else
|
||||||
#ifdef TX_MISRA_ENABLE
|
#ifdef TX_MISRA_ENABLE
|
||||||
extern CHAR _tx_version_id[100];
|
extern CHAR _tx_version_id[100];
|
||||||
|
|||||||
@@ -138,7 +138,7 @@ _tx_thread_context_restore
|
|||||||
__tx_thread_not_nested_restore
|
__tx_thread_not_nested_restore
|
||||||
;
|
;
|
||||||
; /* Determine if a thread was interrupted and no preemption is required. */
|
; /* Determine if a thread was interrupted and no preemption is required. */
|
||||||
; else if (((_tx_thread_current_ptr) && (_tx_thread_current_ptr == _tx_thread_execute_ptr)
|
; else if (((_tx_thread_current_ptr) && (_tx_thread_current_ptr == _tx_thread_execute_ptr))
|
||||||
; || (_tx_thread_preempt_disable))
|
; || (_tx_thread_preempt_disable))
|
||||||
; {
|
; {
|
||||||
;
|
;
|
||||||
|
|||||||
@@ -139,7 +139,7 @@ _tx_thread_fiq_context_restore
|
|||||||
__tx_thread_fiq_not_nested_restore
|
__tx_thread_fiq_not_nested_restore
|
||||||
;
|
;
|
||||||
; /* Determine if a thread was interrupted and no preemption is required. */
|
; /* Determine if a thread was interrupted and no preemption is required. */
|
||||||
; else if (((_tx_thread_current_ptr) && (_tx_thread_current_ptr == _tx_thread_execute_ptr)
|
; else if (((_tx_thread_current_ptr) && (_tx_thread_current_ptr == _tx_thread_execute_ptr))
|
||||||
; || (_tx_thread_preempt_disable))
|
; || (_tx_thread_preempt_disable))
|
||||||
; {
|
; {
|
||||||
;
|
;
|
||||||
|
|||||||
@@ -322,7 +322,7 @@ unsigned int _tx_thread_interrupt_restore(UINT old_posture);
|
|||||||
|
|
||||||
#ifdef TX_THREAD_INIT
|
#ifdef TX_THREAD_INIT
|
||||||
CHAR _tx_version_id[] =
|
CHAR _tx_version_id[] =
|
||||||
"Copyright (c) Microsoft Corporation. All rights reserved. * ThreadX ARM9/AC5 Version 6.1.9 *";
|
"Copyright (c) Microsoft Corporation. All rights reserved. * ThreadX ARM9/AC5 Version 6.2.1 *";
|
||||||
#else
|
#else
|
||||||
extern CHAR _tx_version_id[];
|
extern CHAR _tx_version_id[];
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -139,7 +139,7 @@ _tx_thread_context_restore
|
|||||||
__tx_thread_not_nested_restore
|
__tx_thread_not_nested_restore
|
||||||
;
|
;
|
||||||
; /* Determine if a thread was interrupted and no preemption is required. */
|
; /* Determine if a thread was interrupted and no preemption is required. */
|
||||||
; else if (((_tx_thread_current_ptr) && (_tx_thread_current_ptr == _tx_thread_execute_ptr)
|
; else if (((_tx_thread_current_ptr) && (_tx_thread_current_ptr == _tx_thread_execute_ptr))
|
||||||
; || (_tx_thread_preempt_disable))
|
; || (_tx_thread_preempt_disable))
|
||||||
; {
|
; {
|
||||||
;
|
;
|
||||||
|
|||||||
@@ -141,7 +141,7 @@ _tx_thread_fiq_context_restore
|
|||||||
__tx_thread_fiq_not_nested_restore
|
__tx_thread_fiq_not_nested_restore
|
||||||
;
|
;
|
||||||
; /* Determine if a thread was interrupted and no preemption is required. */
|
; /* Determine if a thread was interrupted and no preemption is required. */
|
||||||
; else if (((_tx_thread_current_ptr) && (_tx_thread_current_ptr == _tx_thread_execute_ptr)
|
; else if (((_tx_thread_current_ptr) && (_tx_thread_current_ptr == _tx_thread_execute_ptr))
|
||||||
; || (_tx_thread_preempt_disable))
|
; || (_tx_thread_preempt_disable))
|
||||||
; {
|
; {
|
||||||
;
|
;
|
||||||
|
|||||||
@@ -309,7 +309,7 @@ unsigned int _tx_thread_interrupt_restore(UINT old_posture);
|
|||||||
|
|
||||||
#ifdef TX_THREAD_INIT
|
#ifdef TX_THREAD_INIT
|
||||||
CHAR _tx_version_id[] =
|
CHAR _tx_version_id[] =
|
||||||
"Copyright (c) Microsoft Corporation. All rights reserved. * ThreadX ARM9/GNU Version 6.1.9 *";
|
"Copyright (c) Microsoft Corporation. All rights reserved. * ThreadX ARM9/GNU Version 6.2.1 *";
|
||||||
#else
|
#else
|
||||||
extern CHAR _tx_version_id[];
|
extern CHAR _tx_version_id[];
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -19,17 +19,10 @@
|
|||||||
@/** */
|
@/** */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
@
|
#include "tx_user.h"
|
||||||
@#define TX_SOURCE_CODE
|
#endif
|
||||||
@
|
|
||||||
@
|
|
||||||
@/* Include necessary system files. */
|
|
||||||
@
|
|
||||||
@#include "tx_api.h"
|
|
||||||
@#include "tx_thread.h"
|
|
||||||
@#include "tx_timer.h"
|
|
||||||
@
|
|
||||||
.arm
|
.arm
|
||||||
|
|
||||||
#ifdef TX_ENABLE_FIQ_SUPPORT
|
#ifdef TX_ENABLE_FIQ_SUPPORT
|
||||||
@@ -60,7 +53,7 @@ IRQ_MODE = 0x92 @ Disable IRQ, IRQ mode
|
|||||||
@/* FUNCTION RELEASE */
|
@/* FUNCTION RELEASE */
|
||||||
@/* */
|
@/* */
|
||||||
@/* _tx_thread_context_restore ARM9/GNU */
|
@/* _tx_thread_context_restore ARM9/GNU */
|
||||||
@/* 6.1 */
|
@/* 6.2.1 */
|
||||||
@/* AUTHOR */
|
@/* AUTHOR */
|
||||||
@/* */
|
@/* */
|
||||||
@/* William E. Lamie, Microsoft Corporation */
|
@/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -93,6 +86,9 @@ IRQ_MODE = 0x92 @ Disable IRQ, IRQ mode
|
|||||||
@/* DATE NAME DESCRIPTION */
|
@/* DATE NAME DESCRIPTION */
|
||||||
@/* */
|
@/* */
|
||||||
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
|
@/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
@/* #include tx_user.h, */
|
||||||
|
@/* resulting in version 6.2.1 */
|
||||||
@/* */
|
@/* */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@VOID _tx_thread_context_restore(VOID)
|
@VOID _tx_thread_context_restore(VOID)
|
||||||
@@ -138,7 +134,7 @@ _tx_thread_context_restore:
|
|||||||
__tx_thread_not_nested_restore:
|
__tx_thread_not_nested_restore:
|
||||||
@
|
@
|
||||||
@ /* Determine if a thread was interrupted and no preemption is required. */
|
@ /* Determine if a thread was interrupted and no preemption is required. */
|
||||||
@ else if (((_tx_thread_current_ptr) && (_tx_thread_current_ptr == _tx_thread_execute_ptr)
|
@ else if (((_tx_thread_current_ptr) && (_tx_thread_current_ptr == _tx_thread_execute_ptr))
|
||||||
@ || (_tx_thread_preempt_disable))
|
@ || (_tx_thread_preempt_disable))
|
||||||
@ {
|
@ {
|
||||||
@
|
@
|
||||||
|
|||||||
@@ -19,17 +19,10 @@
|
|||||||
@/** */
|
@/** */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
@
|
#include "tx_user.h"
|
||||||
@#define TX_SOURCE_CODE
|
#endif
|
||||||
@
|
|
||||||
@
|
|
||||||
@/* Include necessary system files. */
|
|
||||||
@
|
|
||||||
@#include "tx_api.h"
|
|
||||||
@#include "tx_thread.h"
|
|
||||||
@#include "tx_timer.h"
|
|
||||||
@
|
|
||||||
#ifdef TX_ENABLE_FIQ_SUPPORT
|
#ifdef TX_ENABLE_FIQ_SUPPORT
|
||||||
DISABLE_INTS = 0xC0 @ IRQ & FIQ interrupts disabled
|
DISABLE_INTS = 0xC0 @ IRQ & FIQ interrupts disabled
|
||||||
#else
|
#else
|
||||||
@@ -53,7 +46,7 @@ DISABLE_INTS = 0x80 @ IRQ interrupts disabled
|
|||||||
@/* FUNCTION RELEASE */
|
@/* FUNCTION RELEASE */
|
||||||
@/* */
|
@/* */
|
||||||
@/* _tx_thread_context_save ARM9/GNU */
|
@/* _tx_thread_context_save ARM9/GNU */
|
||||||
@/* 6.1 */
|
@/* 6.2.1 */
|
||||||
@/* AUTHOR */
|
@/* AUTHOR */
|
||||||
@/* */
|
@/* */
|
||||||
@/* William E. Lamie, Microsoft Corporation */
|
@/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -85,6 +78,9 @@ DISABLE_INTS = 0x80 @ IRQ interrupts disabled
|
|||||||
@/* DATE NAME DESCRIPTION */
|
@/* DATE NAME DESCRIPTION */
|
||||||
@/* */
|
@/* */
|
||||||
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
|
@/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
@/* #include tx_user.h, */
|
||||||
|
@/* resulting in version 6.2.1 */
|
||||||
@/* */
|
@/* */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@VOID _tx_thread_context_save(VOID)
|
@VOID _tx_thread_context_save(VOID)
|
||||||
|
|||||||
@@ -19,18 +19,10 @@
|
|||||||
@/** */
|
@/** */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
@
|
#include "tx_user.h"
|
||||||
@#define TX_SOURCE_CODE
|
#endif
|
||||||
@
|
|
||||||
@
|
|
||||||
@/* Include necessary system files. */
|
|
||||||
@
|
|
||||||
@#include "tx_api.h"
|
|
||||||
@#include "tx_thread.h"
|
|
||||||
@#include "tx_timer.h"
|
|
||||||
@
|
|
||||||
@
|
|
||||||
SVC_MODE = 0xD3 @ SVC mode
|
SVC_MODE = 0xD3 @ SVC mode
|
||||||
FIQ_MODE = 0xD1 @ FIQ mode
|
FIQ_MODE = 0xD1 @ FIQ mode
|
||||||
DISABLE_INTS = 0xC0 @ Disable IRQ/FIQ interrupts
|
DISABLE_INTS = 0xC0 @ Disable IRQ/FIQ interrupts
|
||||||
@@ -61,7 +53,7 @@ SVC_MODE_BITS = 0x13 @ SVC mode value
|
|||||||
@/* FUNCTION RELEASE */
|
@/* FUNCTION RELEASE */
|
||||||
@/* */
|
@/* */
|
||||||
@/* _tx_thread_fiq_context_restore ARM9/GNU */
|
@/* _tx_thread_fiq_context_restore ARM9/GNU */
|
||||||
@/* 6.1 */
|
@/* 6.2.1 */
|
||||||
@/* AUTHOR */
|
@/* AUTHOR */
|
||||||
@/* */
|
@/* */
|
||||||
@/* William E. Lamie, Microsoft Corporation */
|
@/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -94,6 +86,9 @@ SVC_MODE_BITS = 0x13 @ SVC mode value
|
|||||||
@/* DATE NAME DESCRIPTION */
|
@/* DATE NAME DESCRIPTION */
|
||||||
@/* */
|
@/* */
|
||||||
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
|
@/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
@/* #include tx_user.h, */
|
||||||
|
@/* resulting in version 6.2.1 */
|
||||||
@/* */
|
@/* */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@VOID _tx_thread_fiq_context_restore(VOID)
|
@VOID _tx_thread_fiq_context_restore(VOID)
|
||||||
@@ -140,7 +135,7 @@ _tx_thread_fiq_context_restore:
|
|||||||
__tx_thread_fiq_not_nested_restore:
|
__tx_thread_fiq_not_nested_restore:
|
||||||
@
|
@
|
||||||
@ /* Determine if a thread was interrupted and no preemption is required. */
|
@ /* Determine if a thread was interrupted and no preemption is required. */
|
||||||
@ else if (((_tx_thread_current_ptr) && (_tx_thread_current_ptr == _tx_thread_execute_ptr)
|
@ else if (((_tx_thread_current_ptr) && (_tx_thread_current_ptr == _tx_thread_execute_ptr))
|
||||||
@ || (_tx_thread_preempt_disable))
|
@ || (_tx_thread_preempt_disable))
|
||||||
@ {
|
@ {
|
||||||
@
|
@
|
||||||
|
|||||||
@@ -19,17 +19,10 @@
|
|||||||
@/** */
|
@/** */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
@
|
#include "tx_user.h"
|
||||||
@#define TX_SOURCE_CODE
|
#endif
|
||||||
@
|
|
||||||
@
|
|
||||||
@/* Include necessary system files. */
|
|
||||||
@
|
|
||||||
@#include "tx_api.h"
|
|
||||||
@#include "tx_thread.h"
|
|
||||||
@
|
|
||||||
@
|
|
||||||
.global _tx_thread_system_state
|
.global _tx_thread_system_state
|
||||||
.global _tx_thread_current_ptr
|
.global _tx_thread_current_ptr
|
||||||
.global __tx_fiq_processing_return
|
.global __tx_fiq_processing_return
|
||||||
@@ -47,7 +40,7 @@
|
|||||||
@/* FUNCTION RELEASE */
|
@/* FUNCTION RELEASE */
|
||||||
@/* */
|
@/* */
|
||||||
@/* _tx_thread_fiq_context_save ARM9/GNU */
|
@/* _tx_thread_fiq_context_save ARM9/GNU */
|
||||||
@/* 6.1 */
|
@/* 6.2.1 */
|
||||||
@/* AUTHOR */
|
@/* AUTHOR */
|
||||||
@/* */
|
@/* */
|
||||||
@/* William E. Lamie, Microsoft Corporation */
|
@/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -79,6 +72,9 @@
|
|||||||
@/* DATE NAME DESCRIPTION */
|
@/* DATE NAME DESCRIPTION */
|
||||||
@/* */
|
@/* */
|
||||||
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
|
@/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
@/* #include tx_user.h, */
|
||||||
|
@/* resulting in version 6.2.1 */
|
||||||
@/* */
|
@/* */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@ VOID _tx_thread_fiq_context_save(VOID)
|
@ VOID _tx_thread_fiq_context_save(VOID)
|
||||||
|
|||||||
@@ -19,17 +19,10 @@
|
|||||||
@/** */
|
@/** */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
@
|
#include "tx_user.h"
|
||||||
@#define TX_SOURCE_CODE
|
#endif
|
||||||
@
|
|
||||||
@
|
|
||||||
@/* Include necessary system files. */
|
|
||||||
@
|
|
||||||
@#include "tx_api.h"
|
|
||||||
@#include "tx_thread.h"
|
|
||||||
@
|
|
||||||
@
|
|
||||||
#ifdef TX_ENABLE_FIQ_SUPPORT
|
#ifdef TX_ENABLE_FIQ_SUPPORT
|
||||||
DISABLE_INTS = 0xC0 @ Disable IRQ/FIQ interrupts
|
DISABLE_INTS = 0xC0 @ Disable IRQ/FIQ interrupts
|
||||||
#else
|
#else
|
||||||
@@ -50,7 +43,7 @@ FIQ_MODE_BITS = 0x11 @ FIQ mode bits
|
|||||||
@/* FUNCTION RELEASE */
|
@/* FUNCTION RELEASE */
|
||||||
@/* */
|
@/* */
|
||||||
@/* _tx_thread_fiq_nesting_end ARM9/GNU */
|
@/* _tx_thread_fiq_nesting_end ARM9/GNU */
|
||||||
@/* 6.1 */
|
@/* 6.2.1 */
|
||||||
@/* AUTHOR */
|
@/* AUTHOR */
|
||||||
@/* */
|
@/* */
|
||||||
@/* William E. Lamie, Microsoft Corporation */
|
@/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -90,6 +83,9 @@ FIQ_MODE_BITS = 0x11 @ FIQ mode bits
|
|||||||
@/* DATE NAME DESCRIPTION */
|
@/* DATE NAME DESCRIPTION */
|
||||||
@/* */
|
@/* */
|
||||||
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
|
@/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
@/* #include tx_user.h, */
|
||||||
|
@/* resulting in version 6.2.1 */
|
||||||
@/* */
|
@/* */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@VOID _tx_thread_fiq_nesting_end(VOID)
|
@VOID _tx_thread_fiq_nesting_end(VOID)
|
||||||
|
|||||||
@@ -19,17 +19,10 @@
|
|||||||
@/** */
|
@/** */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
@
|
#include "tx_user.h"
|
||||||
@#define TX_SOURCE_CODE
|
#endif
|
||||||
@
|
|
||||||
@
|
|
||||||
@/* Include necessary system files. */
|
|
||||||
@
|
|
||||||
@#include "tx_api.h"
|
|
||||||
@#include "tx_thread.h"
|
|
||||||
@
|
|
||||||
@
|
|
||||||
FIQ_DISABLE = 0x40 @ FIQ disable bit
|
FIQ_DISABLE = 0x40 @ FIQ disable bit
|
||||||
MODE_MASK = 0x1F @ Mode mask
|
MODE_MASK = 0x1F @ Mode mask
|
||||||
SYS_MODE_BITS = 0x1F @ System mode bits
|
SYS_MODE_BITS = 0x1F @ System mode bits
|
||||||
@@ -46,7 +39,7 @@ SYS_MODE_BITS = 0x1F @ System mode bits
|
|||||||
@/* FUNCTION RELEASE */
|
@/* FUNCTION RELEASE */
|
||||||
@/* */
|
@/* */
|
||||||
@/* _tx_thread_fiq_nesting_start ARM9/GNU */
|
@/* _tx_thread_fiq_nesting_start ARM9/GNU */
|
||||||
@/* 6.1 */
|
@/* 6.2.1 */
|
||||||
@/* AUTHOR */
|
@/* AUTHOR */
|
||||||
@/* */
|
@/* */
|
||||||
@/* William E. Lamie, Microsoft Corporation */
|
@/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -83,6 +76,9 @@ SYS_MODE_BITS = 0x1F @ System mode bits
|
|||||||
@/* DATE NAME DESCRIPTION */
|
@/* DATE NAME DESCRIPTION */
|
||||||
@/* */
|
@/* */
|
||||||
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
|
@/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
@/* #include tx_user.h, */
|
||||||
|
@/* resulting in version 6.2.1 */
|
||||||
@/* */
|
@/* */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@VOID _tx_thread_fiq_nesting_start(VOID)
|
@VOID _tx_thread_fiq_nesting_start(VOID)
|
||||||
|
|||||||
@@ -19,15 +19,10 @@
|
|||||||
@/** */
|
@/** */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
@#define TX_SOURCE_CODE
|
#include "tx_user.h"
|
||||||
@
|
#endif
|
||||||
@
|
|
||||||
@/* Include necessary system files. */
|
|
||||||
@
|
|
||||||
@#include "tx_api.h"
|
|
||||||
@#include "tx_thread.h" */
|
|
||||||
@
|
|
||||||
|
|
||||||
INT_MASK = 0x03F
|
INT_MASK = 0x03F
|
||||||
|
|
||||||
@@ -56,7 +51,7 @@ $_tx_thread_interrupt_control:
|
|||||||
@/* FUNCTION RELEASE */
|
@/* FUNCTION RELEASE */
|
||||||
@/* */
|
@/* */
|
||||||
@/* _tx_thread_interrupt_control ARM9/GNU */
|
@/* _tx_thread_interrupt_control ARM9/GNU */
|
||||||
@/* 6.1 */
|
@/* 6.2.1 */
|
||||||
@/* AUTHOR */
|
@/* AUTHOR */
|
||||||
@/* */
|
@/* */
|
||||||
@/* William E. Lamie, Microsoft Corporation */
|
@/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -87,6 +82,9 @@ $_tx_thread_interrupt_control:
|
|||||||
@/* DATE NAME DESCRIPTION */
|
@/* DATE NAME DESCRIPTION */
|
||||||
@/* */
|
@/* */
|
||||||
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
|
@/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
@/* #include tx_user.h, */
|
||||||
|
@/* resulting in version 6.2.1 */
|
||||||
@/* */
|
@/* */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@UINT _tx_thread_interrupt_control(UINT new_posture)
|
@UINT _tx_thread_interrupt_control(UINT new_posture)
|
||||||
|
|||||||
@@ -19,16 +19,10 @@
|
|||||||
@/** */
|
@/** */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
@#define TX_SOURCE_CODE
|
#include "tx_user.h"
|
||||||
@
|
#endif
|
||||||
@
|
|
||||||
@/* Include necessary system files. */
|
|
||||||
@
|
|
||||||
@#include "tx_api.h"
|
|
||||||
@#include "tx_thread.h"
|
|
||||||
@
|
|
||||||
@
|
|
||||||
#ifdef TX_ENABLE_FIQ_SUPPORT
|
#ifdef TX_ENABLE_FIQ_SUPPORT
|
||||||
DISABLE_INTS = 0xC0 @ IRQ & FIQ interrupts disabled
|
DISABLE_INTS = 0xC0 @ IRQ & FIQ interrupts disabled
|
||||||
#else
|
#else
|
||||||
@@ -60,7 +54,7 @@ $_tx_thread_interrupt_disable:
|
|||||||
@/* FUNCTION RELEASE */
|
@/* FUNCTION RELEASE */
|
||||||
@/* */
|
@/* */
|
||||||
@/* _tx_thread_interrupt_disable ARM9/GNU */
|
@/* _tx_thread_interrupt_disable ARM9/GNU */
|
||||||
@/* 6.1 */
|
@/* 6.2.1 */
|
||||||
@/* AUTHOR */
|
@/* AUTHOR */
|
||||||
@/* */
|
@/* */
|
||||||
@/* William E. Lamie, Microsoft Corporation */
|
@/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -90,6 +84,9 @@ $_tx_thread_interrupt_disable:
|
|||||||
@/* DATE NAME DESCRIPTION */
|
@/* DATE NAME DESCRIPTION */
|
||||||
@/* */
|
@/* */
|
||||||
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
|
@/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
@/* #include tx_user.h, */
|
||||||
|
@/* resulting in version 6.2.1 */
|
||||||
@/* */
|
@/* */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@UINT _tx_thread_interrupt_disable(void)
|
@UINT _tx_thread_interrupt_disable(void)
|
||||||
|
|||||||
@@ -19,16 +19,10 @@
|
|||||||
@/** */
|
@/** */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
@#define TX_SOURCE_CODE
|
#include "tx_user.h"
|
||||||
@
|
#endif
|
||||||
@
|
|
||||||
@/* Include necessary system files. */
|
|
||||||
@
|
|
||||||
@#include "tx_api.h"
|
|
||||||
@#include "tx_thread.h"
|
|
||||||
@
|
|
||||||
@
|
|
||||||
@/* Define the 16-bit Thumb mode veneer for _tx_thread_interrupt_restore for
|
@/* Define the 16-bit Thumb mode veneer for _tx_thread_interrupt_restore for
|
||||||
@ applications calling this function from to 16-bit Thumb mode. */
|
@ applications calling this function from to 16-bit Thumb mode. */
|
||||||
@
|
@
|
||||||
@@ -53,7 +47,7 @@ $_tx_thread_interrupt_restore:
|
|||||||
@/* FUNCTION RELEASE */
|
@/* FUNCTION RELEASE */
|
||||||
@/* */
|
@/* */
|
||||||
@/* _tx_thread_interrupt_restore ARM9/GNU */
|
@/* _tx_thread_interrupt_restore ARM9/GNU */
|
||||||
@/* 6.1 */
|
@/* 6.2.1 */
|
||||||
@/* AUTHOR */
|
@/* AUTHOR */
|
||||||
@/* */
|
@/* */
|
||||||
@/* William E. Lamie, Microsoft Corporation */
|
@/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -84,6 +78,9 @@ $_tx_thread_interrupt_restore:
|
|||||||
@/* DATE NAME DESCRIPTION */
|
@/* DATE NAME DESCRIPTION */
|
||||||
@/* */
|
@/* */
|
||||||
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
|
@/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
@/* #include tx_user.h, */
|
||||||
|
@/* resulting in version 6.2.1 */
|
||||||
@/* */
|
@/* */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@UINT _tx_thread_interrupt_restore(UINT old_posture)
|
@UINT _tx_thread_interrupt_restore(UINT old_posture)
|
||||||
|
|||||||
@@ -19,17 +19,10 @@
|
|||||||
@/** */
|
@/** */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
@
|
#include "tx_user.h"
|
||||||
@#define TX_SOURCE_CODE
|
#endif
|
||||||
@
|
|
||||||
@
|
|
||||||
@/* Include necessary system files. */
|
|
||||||
@
|
|
||||||
@#include "tx_api.h"
|
|
||||||
@#include "tx_thread.h"
|
|
||||||
@
|
|
||||||
@
|
|
||||||
#ifdef TX_ENABLE_FIQ_SUPPORT
|
#ifdef TX_ENABLE_FIQ_SUPPORT
|
||||||
DISABLE_INTS = 0xC0 @ Disable IRQ/FIQ interrupts
|
DISABLE_INTS = 0xC0 @ Disable IRQ/FIQ interrupts
|
||||||
#else
|
#else
|
||||||
@@ -50,7 +43,7 @@ IRQ_MODE_BITS = 0x12 @ IRQ mode bits
|
|||||||
@/* FUNCTION RELEASE */
|
@/* FUNCTION RELEASE */
|
||||||
@/* */
|
@/* */
|
||||||
@/* _tx_thread_irq_nesting_end ARM9/GNU */
|
@/* _tx_thread_irq_nesting_end ARM9/GNU */
|
||||||
@/* 6.1 */
|
@/* 6.2.1 */
|
||||||
@/* AUTHOR */
|
@/* AUTHOR */
|
||||||
@/* */
|
@/* */
|
||||||
@/* William E. Lamie, Microsoft Corporation */
|
@/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -90,6 +83,9 @@ IRQ_MODE_BITS = 0x12 @ IRQ mode bits
|
|||||||
@/* DATE NAME DESCRIPTION */
|
@/* DATE NAME DESCRIPTION */
|
||||||
@/* */
|
@/* */
|
||||||
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
|
@/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
@/* #include tx_user.h, */
|
||||||
|
@/* resulting in version 6.2.1 */
|
||||||
@/* */
|
@/* */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@VOID _tx_thread_irq_nesting_end(VOID)
|
@VOID _tx_thread_irq_nesting_end(VOID)
|
||||||
|
|||||||
@@ -19,17 +19,10 @@
|
|||||||
@/** */
|
@/** */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
@
|
#include "tx_user.h"
|
||||||
@#define TX_SOURCE_CODE
|
#endif
|
||||||
@
|
|
||||||
@
|
|
||||||
@/* Include necessary system files. */
|
|
||||||
@
|
|
||||||
@#include "tx_api.h"
|
|
||||||
@#include "tx_thread.h"
|
|
||||||
@
|
|
||||||
@
|
|
||||||
IRQ_DISABLE = 0x80 @ IRQ disable bit
|
IRQ_DISABLE = 0x80 @ IRQ disable bit
|
||||||
MODE_MASK = 0x1F @ Mode mask
|
MODE_MASK = 0x1F @ Mode mask
|
||||||
SYS_MODE_BITS = 0x1F @ System mode bits
|
SYS_MODE_BITS = 0x1F @ System mode bits
|
||||||
@@ -46,7 +39,7 @@ SYS_MODE_BITS = 0x1F @ System mode bits
|
|||||||
@/* FUNCTION RELEASE */
|
@/* FUNCTION RELEASE */
|
||||||
@/* */
|
@/* */
|
||||||
@/* _tx_thread_irq_nesting_start ARM9/GNU */
|
@/* _tx_thread_irq_nesting_start ARM9/GNU */
|
||||||
@/* 6.1 */
|
@/* 6.2.1 */
|
||||||
@/* AUTHOR */
|
@/* AUTHOR */
|
||||||
@/* */
|
@/* */
|
||||||
@/* William E. Lamie, Microsoft Corporation */
|
@/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -83,6 +76,9 @@ SYS_MODE_BITS = 0x1F @ System mode bits
|
|||||||
@/* DATE NAME DESCRIPTION */
|
@/* DATE NAME DESCRIPTION */
|
||||||
@/* */
|
@/* */
|
||||||
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
|
@/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
@/* #include tx_user.h, */
|
||||||
|
@/* resulting in version 6.2.1 */
|
||||||
@/* */
|
@/* */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@VOID _tx_thread_irq_nesting_start(VOID)
|
@VOID _tx_thread_irq_nesting_start(VOID)
|
||||||
|
|||||||
@@ -19,17 +19,10 @@
|
|||||||
@/** */
|
@/** */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
@
|
#include "tx_user.h"
|
||||||
@#define TX_SOURCE_CODE
|
#endif
|
||||||
@
|
|
||||||
@
|
|
||||||
@/* Include necessary system files. */
|
|
||||||
@
|
|
||||||
@#include "tx_api.h"
|
|
||||||
@#include "tx_thread.h"
|
|
||||||
@#include "tx_timer.h"
|
|
||||||
@
|
|
||||||
#ifdef TX_ENABLE_FIQ_SUPPORT
|
#ifdef TX_ENABLE_FIQ_SUPPORT
|
||||||
ENABLE_INTS = 0xC0 @ IRQ & FIQ Interrupts enabled mask
|
ENABLE_INTS = 0xC0 @ IRQ & FIQ Interrupts enabled mask
|
||||||
#else
|
#else
|
||||||
@@ -68,7 +61,7 @@ $_tx_thread_schedule:
|
|||||||
@/* FUNCTION RELEASE */
|
@/* FUNCTION RELEASE */
|
||||||
@/* */
|
@/* */
|
||||||
@/* _tx_thread_schedule ARM9/GNU */
|
@/* _tx_thread_schedule ARM9/GNU */
|
||||||
@/* 6.1 */
|
@/* 6.2.1 */
|
||||||
@/* AUTHOR */
|
@/* AUTHOR */
|
||||||
@/* */
|
@/* */
|
||||||
@/* William E. Lamie, Microsoft Corporation */
|
@/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -102,6 +95,9 @@ $_tx_thread_schedule:
|
|||||||
@/* DATE NAME DESCRIPTION */
|
@/* DATE NAME DESCRIPTION */
|
||||||
@/* */
|
@/* */
|
||||||
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
|
@/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
@/* #include tx_user.h, */
|
||||||
|
@/* resulting in version 6.2.1 */
|
||||||
@/* */
|
@/* */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@VOID _tx_thread_schedule(VOID)
|
@VOID _tx_thread_schedule(VOID)
|
||||||
|
|||||||
@@ -19,16 +19,10 @@
|
|||||||
@/** */
|
@/** */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
@
|
#include "tx_user.h"
|
||||||
@#define TX_SOURCE_CODE
|
#endif
|
||||||
@
|
|
||||||
@
|
|
||||||
@/* Include necessary system files. */
|
|
||||||
@
|
|
||||||
@#include "tx_api.h"
|
|
||||||
@#include "tx_thread.h"
|
|
||||||
@
|
|
||||||
.arm
|
.arm
|
||||||
|
|
||||||
SVC_MODE = 0x13 @ SVC mode
|
SVC_MODE = 0x13 @ SVC mode
|
||||||
@@ -64,7 +58,7 @@ $_tx_thread_stack_build:
|
|||||||
@/* FUNCTION RELEASE */
|
@/* FUNCTION RELEASE */
|
||||||
@/* */
|
@/* */
|
||||||
@/* _tx_thread_stack_build ARM9/GNU */
|
@/* _tx_thread_stack_build ARM9/GNU */
|
||||||
@/* 6.1 */
|
@/* 6.2.1 */
|
||||||
@/* AUTHOR */
|
@/* AUTHOR */
|
||||||
@/* */
|
@/* */
|
||||||
@/* William E. Lamie, Microsoft Corporation */
|
@/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -97,6 +91,9 @@ $_tx_thread_stack_build:
|
|||||||
@/* DATE NAME DESCRIPTION */
|
@/* DATE NAME DESCRIPTION */
|
||||||
@/* */
|
@/* */
|
||||||
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
|
@/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
@/* #include tx_user.h, */
|
||||||
|
@/* resulting in version 6.2.1 */
|
||||||
@/* */
|
@/* */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@VOID _tx_thread_stack_build(TX_THREAD *thread_ptr, VOID (*function_ptr)(VOID))
|
@VOID _tx_thread_stack_build(TX_THREAD *thread_ptr, VOID (*function_ptr)(VOID))
|
||||||
|
|||||||
@@ -19,16 +19,10 @@
|
|||||||
@/** */
|
@/** */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
@#define TX_SOURCE_CODE
|
#include "tx_user.h"
|
||||||
@
|
#endif
|
||||||
@
|
|
||||||
@/* Include necessary system files. */
|
|
||||||
@
|
|
||||||
@#include "tx_api.h"
|
|
||||||
@#include "tx_thread.h"
|
|
||||||
@#include "tx_timer.h"
|
|
||||||
@
|
|
||||||
.arm
|
.arm
|
||||||
|
|
||||||
#ifdef TX_ENABLE_FIQ_SUPPORT
|
#ifdef TX_ENABLE_FIQ_SUPPORT
|
||||||
@@ -70,7 +64,7 @@ $_tx_thread_system_return:
|
|||||||
@/* FUNCTION RELEASE */
|
@/* FUNCTION RELEASE */
|
||||||
@/* */
|
@/* */
|
||||||
@/* _tx_thread_system_return ARM9/GNU */
|
@/* _tx_thread_system_return ARM9/GNU */
|
||||||
@/* 6.1 */
|
@/* 6.2.1 */
|
||||||
@/* AUTHOR */
|
@/* AUTHOR */
|
||||||
@/* */
|
@/* */
|
||||||
@/* William E. Lamie, Microsoft Corporation */
|
@/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -103,6 +97,9 @@ $_tx_thread_system_return:
|
|||||||
@/* DATE NAME DESCRIPTION */
|
@/* DATE NAME DESCRIPTION */
|
||||||
@/* */
|
@/* */
|
||||||
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
|
@/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
@/* #include tx_user.h, */
|
||||||
|
@/* resulting in version 6.2.1 */
|
||||||
@/* */
|
@/* */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@VOID _tx_thread_system_return(VOID)
|
@VOID _tx_thread_system_return(VOID)
|
||||||
|
|||||||
@@ -19,17 +19,10 @@
|
|||||||
@/** */
|
@/** */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
@
|
#include "tx_user.h"
|
||||||
@#define TX_SOURCE_CODE
|
#endif
|
||||||
@
|
|
||||||
@
|
|
||||||
@/* Include necessary system files. */
|
|
||||||
@
|
|
||||||
@#include "tx_api.h"
|
|
||||||
@#include "tx_thread.h"
|
|
||||||
@
|
|
||||||
@
|
|
||||||
#ifdef TX_ENABLE_FIQ_SUPPORT
|
#ifdef TX_ENABLE_FIQ_SUPPORT
|
||||||
DISABLE_INTS = 0xC0 @ IRQ & FIQ interrupts disabled
|
DISABLE_INTS = 0xC0 @ IRQ & FIQ interrupts disabled
|
||||||
#else
|
#else
|
||||||
@@ -54,7 +47,7 @@ DISABLE_INTS = 0x80 @ IRQ interrupts disabled
|
|||||||
@/* FUNCTION RELEASE */
|
@/* FUNCTION RELEASE */
|
||||||
@/* */
|
@/* */
|
||||||
@/* _tx_thread_vectored_context_save ARM9/GNU */
|
@/* _tx_thread_vectored_context_save ARM9/GNU */
|
||||||
@/* 6.1 */
|
@/* 6.2.1 */
|
||||||
@/* AUTHOR */
|
@/* AUTHOR */
|
||||||
@/* */
|
@/* */
|
||||||
@/* William E. Lamie, Microsoft Corporation */
|
@/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -86,6 +79,9 @@ DISABLE_INTS = 0x80 @ IRQ interrupts disabled
|
|||||||
@/* DATE NAME DESCRIPTION */
|
@/* DATE NAME DESCRIPTION */
|
||||||
@/* */
|
@/* */
|
||||||
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
|
@/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
@/* #include tx_user.h, */
|
||||||
|
@/* resulting in version 6.2.1 */
|
||||||
@/* */
|
@/* */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@VOID _tx_thread_vectored_context_save(VOID)
|
@VOID _tx_thread_vectored_context_save(VOID)
|
||||||
|
|||||||
@@ -19,17 +19,10 @@
|
|||||||
@/** */
|
@/** */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
@#define TX_SOURCE_CODE
|
#include "tx_user.h"
|
||||||
@
|
#endif
|
||||||
@
|
|
||||||
@/* Include necessary system files. */
|
|
||||||
@
|
|
||||||
@#include "tx_api.h"
|
|
||||||
@#include "tx_timer.h"
|
|
||||||
@#include "tx_thread.h"
|
|
||||||
@
|
|
||||||
@
|
|
||||||
.arm
|
.arm
|
||||||
|
|
||||||
@
|
@
|
||||||
@@ -71,7 +64,7 @@ $_tx_timer_interrupt:
|
|||||||
@/* FUNCTION RELEASE */
|
@/* FUNCTION RELEASE */
|
||||||
@/* */
|
@/* */
|
||||||
@/* _tx_timer_interrupt ARM9/GNU */
|
@/* _tx_timer_interrupt ARM9/GNU */
|
||||||
@/* 6.1 */
|
@/* 6.2.1 */
|
||||||
@/* AUTHOR */
|
@/* AUTHOR */
|
||||||
@/* */
|
@/* */
|
||||||
@/* William E. Lamie, Microsoft Corporation */
|
@/* William E. Lamie, Microsoft Corporation */
|
||||||
@@ -106,6 +99,9 @@ $_tx_timer_interrupt:
|
|||||||
@/* DATE NAME DESCRIPTION */
|
@/* DATE NAME DESCRIPTION */
|
||||||
@/* */
|
@/* */
|
||||||
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
@/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
|
@/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
@/* #include tx_user.h, */
|
||||||
|
@/* resulting in version 6.2.1 */
|
||||||
@/* */
|
@/* */
|
||||||
@/**************************************************************************/
|
@/**************************************************************************/
|
||||||
@VOID _tx_timer_interrupt(VOID)
|
@VOID _tx_timer_interrupt(VOID)
|
||||||
|
|||||||
@@ -375,7 +375,7 @@ void _tx_thread_interrupt_restore(UINT old_posture);
|
|||||||
|
|
||||||
#ifdef TX_THREAD_INIT
|
#ifdef TX_THREAD_INIT
|
||||||
CHAR _tx_version_id[] =
|
CHAR _tx_version_id[] =
|
||||||
"Copyright (c) Microsoft Corporation. All rights reserved. * ThreadX ARM9/IAR Version 6.1.9 *";
|
"Copyright (c) Microsoft Corporation. All rights reserved. * ThreadX ARM9/IAR Version 6.2.1 *";
|
||||||
#else
|
#else
|
||||||
#ifdef TX_MISRA_ENABLE
|
#ifdef TX_MISRA_ENABLE
|
||||||
extern CHAR _tx_version_id[100];
|
extern CHAR _tx_version_id[100];
|
||||||
|
|||||||
@@ -136,7 +136,7 @@ _tx_thread_context_restore
|
|||||||
__tx_thread_not_nested_restore
|
__tx_thread_not_nested_restore
|
||||||
;
|
;
|
||||||
; /* Determine if a thread was interrupted and no preemption is required. */
|
; /* Determine if a thread was interrupted and no preemption is required. */
|
||||||
; else if (((_tx_thread_current_ptr) && (_tx_thread_current_ptr == _tx_thread_execute_ptr)
|
; else if (((_tx_thread_current_ptr) && (_tx_thread_current_ptr == _tx_thread_execute_ptr))
|
||||||
; || (_tx_thread_preempt_disable))
|
; || (_tx_thread_preempt_disable))
|
||||||
; {
|
; {
|
||||||
;
|
;
|
||||||
|
|||||||
@@ -138,7 +138,7 @@ _tx_thread_fiq_context_restore
|
|||||||
__tx_thread_fiq_not_nested_restore
|
__tx_thread_fiq_not_nested_restore
|
||||||
;
|
;
|
||||||
; /* Determine if a thread was interrupted and no preemption is required. */
|
; /* Determine if a thread was interrupted and no preemption is required. */
|
||||||
; else if (((_tx_thread_current_ptr) && (_tx_thread_current_ptr == _tx_thread_execute_ptr)
|
; else if (((_tx_thread_current_ptr) && (_tx_thread_current_ptr == _tx_thread_execute_ptr))
|
||||||
; || (_tx_thread_preempt_disable))
|
; || (_tx_thread_preempt_disable))
|
||||||
; {
|
; {
|
||||||
;
|
;
|
||||||
|
|||||||
@@ -271,7 +271,7 @@ unsigned int _tx_thread_interrupt_control(unsigned int);
|
|||||||
|
|
||||||
#ifdef TX_THREAD_INIT
|
#ifdef TX_THREAD_INIT
|
||||||
CHAR _tx_version_id[] =
|
CHAR _tx_version_id[] =
|
||||||
"Copyright (c) Microsoft Corporation. All rights reserved. * ThreadX C667x/TI Version 6.1.9 *";
|
"Copyright (c) Microsoft Corporation. All rights reserved. * ThreadX C667x/TI Version 6.2.1 *";
|
||||||
#else
|
#else
|
||||||
extern CHAR _tx_version_id[];
|
extern CHAR _tx_version_id[];
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -189,7 +189,7 @@ _tx_thread_context_restore:
|
|||||||
_tx_thread_not_nested_restore:
|
_tx_thread_not_nested_restore:
|
||||||
;
|
;
|
||||||
; /* Determine if a thread was interrupted and no preemption is required. */
|
; /* Determine if a thread was interrupted and no preemption is required. */
|
||||||
; else if (((_tx_thread_current_ptr) && (_tx_thread_current_ptr == _tx_thread_execute_ptr)
|
; else if (((_tx_thread_current_ptr) && (_tx_thread_current_ptr == _tx_thread_execute_ptr))
|
||||||
; || (_tx_thread_preempt_disable))
|
; || (_tx_thread_preempt_disable))
|
||||||
; {
|
; {
|
||||||
;
|
;
|
||||||
|
|||||||
@@ -321,7 +321,7 @@ void tx_thread_vfp_disable(void);
|
|||||||
|
|
||||||
#ifdef TX_THREAD_INIT
|
#ifdef TX_THREAD_INIT
|
||||||
CHAR _tx_version_id[] =
|
CHAR _tx_version_id[] =
|
||||||
"Copyright (c) Microsoft Corporation. All rights reserved. * ThreadX ARMv7-A Version 6.1.11 *";
|
"Copyright (c) Microsoft Corporation. All rights reserved. * ThreadX ARMv7-A Version 6.2.1 *";
|
||||||
#else
|
#else
|
||||||
extern CHAR _tx_version_id[];
|
extern CHAR _tx_version_id[];
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -321,7 +321,7 @@ void tx_thread_vfp_disable(void);
|
|||||||
|
|
||||||
#ifdef TX_THREAD_INIT
|
#ifdef TX_THREAD_INIT
|
||||||
CHAR _tx_version_id[] =
|
CHAR _tx_version_id[] =
|
||||||
"Copyright (c) Microsoft Corporation. All rights reserved. * ThreadX ARMv7-A Version 6.1.11 *";
|
"Copyright (c) Microsoft Corporation. All rights reserved. * ThreadX ARMv7-A Version 6.2.1 *";
|
||||||
#else
|
#else
|
||||||
extern CHAR _tx_version_id[];
|
extern CHAR _tx_version_id[];
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -19,6 +19,9 @@
|
|||||||
/** */
|
/** */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
|
#include "tx_user.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
.arm
|
.arm
|
||||||
|
|
||||||
@@ -88,6 +91,9 @@ IRQ_MODE = 0x92 // Disable IRQ, IRQ mode
|
|||||||
/* resulting in version 6.1.9 */
|
/* resulting in version 6.1.9 */
|
||||||
/* 04-25-2022 Zhen Kong Updated comments, */
|
/* 04-25-2022 Zhen Kong Updated comments, */
|
||||||
/* resulting in version 6.1.11 */
|
/* resulting in version 6.1.11 */
|
||||||
|
/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
/* #include tx_user.h, */
|
||||||
|
/* resulting in version 6.2.1 */
|
||||||
/* */
|
/* */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
.global _tx_thread_context_restore
|
.global _tx_thread_context_restore
|
||||||
|
|||||||
@@ -19,6 +19,9 @@
|
|||||||
/** */
|
/** */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
|
#include "tx_user.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
.global _tx_thread_system_state
|
.global _tx_thread_system_state
|
||||||
.global _tx_thread_current_ptr
|
.global _tx_thread_current_ptr
|
||||||
@@ -73,6 +76,9 @@
|
|||||||
/* resulting in version 6.1.9 */
|
/* resulting in version 6.1.9 */
|
||||||
/* 04-25-2022 Zhen Kong Updated comments, */
|
/* 04-25-2022 Zhen Kong Updated comments, */
|
||||||
/* resulting in version 6.1.11 */
|
/* resulting in version 6.1.11 */
|
||||||
|
/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
/* #include tx_user.h, */
|
||||||
|
/* resulting in version 6.2.1 */
|
||||||
/* */
|
/* */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
.global _tx_thread_context_save
|
.global _tx_thread_context_save
|
||||||
|
|||||||
@@ -19,6 +19,9 @@
|
|||||||
/** */
|
/** */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
|
#include "tx_user.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
SVC_MODE = 0xD3 // SVC mode
|
SVC_MODE = 0xD3 // SVC mode
|
||||||
FIQ_MODE = 0xD1 // FIQ mode
|
FIQ_MODE = 0xD1 // FIQ mode
|
||||||
@@ -86,6 +89,9 @@ IRQ_MODE_BITS = 0x12 // IRQ mode bits
|
|||||||
/* resulting in version 6.1.9 */
|
/* resulting in version 6.1.9 */
|
||||||
/* 04-25-2022 Zhen Kong Updated comments, */
|
/* 04-25-2022 Zhen Kong Updated comments, */
|
||||||
/* resulting in version 6.1.11 */
|
/* resulting in version 6.1.11 */
|
||||||
|
/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
/* #include tx_user.h, */
|
||||||
|
/* resulting in version 6.2.1 */
|
||||||
/* */
|
/* */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
.global _tx_thread_fiq_context_restore
|
.global _tx_thread_fiq_context_restore
|
||||||
|
|||||||
@@ -19,6 +19,9 @@
|
|||||||
/** */
|
/** */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
|
#include "tx_user.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
.global _tx_thread_system_state
|
.global _tx_thread_system_state
|
||||||
.global _tx_thread_current_ptr
|
.global _tx_thread_current_ptr
|
||||||
@@ -74,6 +77,9 @@
|
|||||||
/* resulting in version 6.1.9 */
|
/* resulting in version 6.1.9 */
|
||||||
/* 04-25-2022 Zhen Kong Updated comments, */
|
/* 04-25-2022 Zhen Kong Updated comments, */
|
||||||
/* resulting in version 6.1.11 */
|
/* resulting in version 6.1.11 */
|
||||||
|
/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
/* #include tx_user.h, */
|
||||||
|
/* resulting in version 6.2.1 */
|
||||||
/* */
|
/* */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
.global _tx_thread_fiq_context_save
|
.global _tx_thread_fiq_context_save
|
||||||
|
|||||||
@@ -19,6 +19,9 @@
|
|||||||
/** */
|
/** */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
|
#include "tx_user.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef TX_ENABLE_FIQ_SUPPORT
|
#ifdef TX_ENABLE_FIQ_SUPPORT
|
||||||
DISABLE_INTS = 0xC0 // Disable IRQ/FIQ interrupts
|
DISABLE_INTS = 0xC0 // Disable IRQ/FIQ interrupts
|
||||||
@@ -82,6 +85,9 @@ FIQ_MODE_BITS = 0x11 // FIQ mode bits
|
|||||||
/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
/* 04-25-2022 Zhen Kong Updated comments, */
|
/* 04-25-2022 Zhen Kong Updated comments, */
|
||||||
/* resulting in version 6.1.11 */
|
/* resulting in version 6.1.11 */
|
||||||
|
/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
/* #include tx_user.h, */
|
||||||
|
/* resulting in version 6.2.1 */
|
||||||
/* */
|
/* */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
.global _tx_thread_fiq_nesting_end
|
.global _tx_thread_fiq_nesting_end
|
||||||
|
|||||||
@@ -19,6 +19,9 @@
|
|||||||
/** */
|
/** */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
|
#include "tx_user.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
FIQ_DISABLE = 0x40 // FIQ disable bit
|
FIQ_DISABLE = 0x40 // FIQ disable bit
|
||||||
MODE_MASK = 0x1F // Mode mask
|
MODE_MASK = 0x1F // Mode mask
|
||||||
@@ -75,6 +78,9 @@ SYS_MODE_BITS = 0x1F // System mode bits
|
|||||||
/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
/* 04-25-2022 Zhen Kong Updated comments, */
|
/* 04-25-2022 Zhen Kong Updated comments, */
|
||||||
/* resulting in version 6.1.11 */
|
/* resulting in version 6.1.11 */
|
||||||
|
/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
/* #include tx_user.h, */
|
||||||
|
/* resulting in version 6.2.1 */
|
||||||
/* */
|
/* */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
.global _tx_thread_fiq_nesting_start
|
.global _tx_thread_fiq_nesting_start
|
||||||
|
|||||||
@@ -19,6 +19,9 @@
|
|||||||
/** */
|
/** */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
|
#include "tx_user.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
INT_MASK = 0x03F
|
INT_MASK = 0x03F
|
||||||
|
|
||||||
@@ -80,6 +83,9 @@ $_tx_thread_interrupt_control:
|
|||||||
/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
/* 04-25-2022 Zhen Kong Updated comments, */
|
/* 04-25-2022 Zhen Kong Updated comments, */
|
||||||
/* resulting in version 6.1.11 */
|
/* resulting in version 6.1.11 */
|
||||||
|
/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
/* #include tx_user.h, */
|
||||||
|
/* resulting in version 6.2.1 */
|
||||||
/* */
|
/* */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
.global _tx_thread_interrupt_control
|
.global _tx_thread_interrupt_control
|
||||||
|
|||||||
@@ -19,6 +19,9 @@
|
|||||||
/** */
|
/** */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
|
#include "tx_user.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Define the 16-bit Thumb mode veneer for _tx_thread_interrupt_disable for
|
/* Define the 16-bit Thumb mode veneer for _tx_thread_interrupt_disable for
|
||||||
applications calling this function from to 16-bit Thumb mode. */
|
applications calling this function from to 16-bit Thumb mode. */
|
||||||
@@ -76,6 +79,9 @@ $_tx_thread_interrupt_disable:
|
|||||||
/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
/* 04-25-2022 Zhen Kong Updated comments, */
|
/* 04-25-2022 Zhen Kong Updated comments, */
|
||||||
/* resulting in version 6.1.11 */
|
/* resulting in version 6.1.11 */
|
||||||
|
/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
/* #include tx_user.h, */
|
||||||
|
/* resulting in version 6.2.1 */
|
||||||
/* */
|
/* */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
.global _tx_thread_interrupt_disable
|
.global _tx_thread_interrupt_disable
|
||||||
|
|||||||
@@ -19,6 +19,9 @@
|
|||||||
/** */
|
/** */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
|
#include "tx_user.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Define the 16-bit Thumb mode veneer for _tx_thread_interrupt_restore for
|
/* Define the 16-bit Thumb mode veneer for _tx_thread_interrupt_restore for
|
||||||
applications calling this function from to 16-bit Thumb mode. */
|
applications calling this function from to 16-bit Thumb mode. */
|
||||||
@@ -77,6 +80,9 @@ $_tx_thread_interrupt_restore:
|
|||||||
/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
/* 04-25-2022 Zhen Kong Updated comments, */
|
/* 04-25-2022 Zhen Kong Updated comments, */
|
||||||
/* resulting in version 6.1.11 */
|
/* resulting in version 6.1.11 */
|
||||||
|
/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
/* #include tx_user.h, */
|
||||||
|
/* resulting in version 6.2.1 */
|
||||||
/* */
|
/* */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
.global _tx_thread_interrupt_restore
|
.global _tx_thread_interrupt_restore
|
||||||
|
|||||||
@@ -19,6 +19,9 @@
|
|||||||
/** */
|
/** */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
|
#include "tx_user.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef TX_ENABLE_FIQ_SUPPORT
|
#ifdef TX_ENABLE_FIQ_SUPPORT
|
||||||
DISABLE_INTS = 0xC0 // Disable IRQ/FIQ interrupts
|
DISABLE_INTS = 0xC0 // Disable IRQ/FIQ interrupts
|
||||||
@@ -82,6 +85,9 @@ IRQ_MODE_BITS = 0x12 // IRQ mode bits
|
|||||||
/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
/* 04-25-2022 Zhen Kong Updated comments, */
|
/* 04-25-2022 Zhen Kong Updated comments, */
|
||||||
/* resulting in version 6.1.11 */
|
/* resulting in version 6.1.11 */
|
||||||
|
/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
/* #include tx_user.h, */
|
||||||
|
/* resulting in version 6.2.1 */
|
||||||
/* */
|
/* */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
.global _tx_thread_irq_nesting_end
|
.global _tx_thread_irq_nesting_end
|
||||||
|
|||||||
@@ -19,6 +19,9 @@
|
|||||||
/** */
|
/** */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
|
#include "tx_user.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
IRQ_DISABLE = 0x80 // IRQ disable bit
|
IRQ_DISABLE = 0x80 // IRQ disable bit
|
||||||
MODE_MASK = 0x1F // Mode mask
|
MODE_MASK = 0x1F // Mode mask
|
||||||
@@ -75,6 +78,9 @@ SYS_MODE_BITS = 0x1F // System mode bits
|
|||||||
/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
/* 04-25-2022 Zhen Kong Updated comments, */
|
/* 04-25-2022 Zhen Kong Updated comments, */
|
||||||
/* resulting in version 6.1.11 */
|
/* resulting in version 6.1.11 */
|
||||||
|
/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
/* #include tx_user.h, */
|
||||||
|
/* resulting in version 6.2.1 */
|
||||||
/* */
|
/* */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
.global _tx_thread_irq_nesting_start
|
.global _tx_thread_irq_nesting_start
|
||||||
|
|||||||
@@ -19,6 +19,9 @@
|
|||||||
/** */
|
/** */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
|
#include "tx_user.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
.global _tx_thread_execute_ptr
|
.global _tx_thread_execute_ptr
|
||||||
.global _tx_thread_current_ptr
|
.global _tx_thread_current_ptr
|
||||||
@@ -89,6 +92,9 @@ $_tx_thread_schedule:
|
|||||||
/* resulting in version 6.1.9 */
|
/* resulting in version 6.1.9 */
|
||||||
/* 04-25-2022 Zhen Kong Updated comments, */
|
/* 04-25-2022 Zhen Kong Updated comments, */
|
||||||
/* resulting in version 6.1.11 */
|
/* resulting in version 6.1.11 */
|
||||||
|
/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
/* #include tx_user.h, */
|
||||||
|
/* resulting in version 6.2.1 */
|
||||||
/* */
|
/* */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
.global _tx_thread_schedule
|
.global _tx_thread_schedule
|
||||||
|
|||||||
@@ -19,6 +19,10 @@
|
|||||||
/** */
|
/** */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
|
#include "tx_user.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
.arm
|
.arm
|
||||||
|
|
||||||
SVC_MODE = 0x13 // SVC mode
|
SVC_MODE = 0x13 // SVC mode
|
||||||
@@ -89,6 +93,9 @@ $_tx_thread_stack_build:
|
|||||||
/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
/* 04-25-2022 Zhen Kong Updated comments, */
|
/* 04-25-2022 Zhen Kong Updated comments, */
|
||||||
/* resulting in version 6.1.11 */
|
/* resulting in version 6.1.11 */
|
||||||
|
/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
/* #include tx_user.h, */
|
||||||
|
/* resulting in version 6.2.1 */
|
||||||
/* */
|
/* */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
.global _tx_thread_stack_build
|
.global _tx_thread_stack_build
|
||||||
|
|||||||
@@ -19,6 +19,9 @@
|
|||||||
/** */
|
/** */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
|
#include "tx_user.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
.arm
|
.arm
|
||||||
|
|
||||||
@@ -92,6 +95,9 @@ $_tx_thread_system_return:
|
|||||||
/* resulting in version 6.1.9 */
|
/* resulting in version 6.1.9 */
|
||||||
/* 04-25-2022 Zhen Kong Updated comments, */
|
/* 04-25-2022 Zhen Kong Updated comments, */
|
||||||
/* resulting in version 6.1.11 */
|
/* resulting in version 6.1.11 */
|
||||||
|
/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
/* #include tx_user.h, */
|
||||||
|
/* resulting in version 6.2.1 */
|
||||||
/* */
|
/* */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
.global _tx_thread_system_return
|
.global _tx_thread_system_return
|
||||||
|
|||||||
@@ -19,6 +19,9 @@
|
|||||||
/** */
|
/** */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
|
#include "tx_user.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
.global _tx_thread_system_state
|
.global _tx_thread_system_state
|
||||||
.global _tx_thread_current_ptr
|
.global _tx_thread_current_ptr
|
||||||
@@ -74,6 +77,9 @@
|
|||||||
/* resulting in version 6.1.9 */
|
/* resulting in version 6.1.9 */
|
||||||
/* 04-25-2022 Zhen Kong Updated comments, */
|
/* 04-25-2022 Zhen Kong Updated comments, */
|
||||||
/* resulting in version 6.1.11 */
|
/* resulting in version 6.1.11 */
|
||||||
|
/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
/* #include tx_user.h, */
|
||||||
|
/* resulting in version 6.2.1 */
|
||||||
/* */
|
/* */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
.global _tx_thread_vectored_context_save
|
.global _tx_thread_vectored_context_save
|
||||||
|
|||||||
@@ -19,6 +19,9 @@
|
|||||||
/** */
|
/** */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
|
#include "tx_user.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
.arm
|
.arm
|
||||||
|
|
||||||
@@ -98,6 +101,9 @@ $_tx_timer_interrupt:
|
|||||||
/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
/* 09-30-2020 William E. Lamie Initial Version 6.1 */
|
||||||
/* 04-25-2022 Zhen Kong Updated comments, */
|
/* 04-25-2022 Zhen Kong Updated comments, */
|
||||||
/* resulting in version 6.1.11 */
|
/* resulting in version 6.1.11 */
|
||||||
|
/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
/* #include tx_user.h, */
|
||||||
|
/* resulting in version 6.2.1 */
|
||||||
/* */
|
/* */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
.global _tx_timer_interrupt
|
.global _tx_timer_interrupt
|
||||||
|
|||||||
@@ -321,7 +321,7 @@ void tx_thread_vfp_disable(void);
|
|||||||
|
|
||||||
#ifdef TX_THREAD_INIT
|
#ifdef TX_THREAD_INIT
|
||||||
CHAR _tx_version_id[] =
|
CHAR _tx_version_id[] =
|
||||||
"Copyright (c) Microsoft Corporation. All rights reserved. * ThreadX ARMv7-A Version 6.1.11 *";
|
"Copyright (c) Microsoft Corporation. All rights reserved. * ThreadX ARMv7-A Version 6.2.1 *";
|
||||||
#else
|
#else
|
||||||
extern CHAR _tx_version_id[];
|
extern CHAR _tx_version_id[];
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -321,7 +321,7 @@ void tx_thread_vfp_disable(void);
|
|||||||
|
|
||||||
#ifdef TX_THREAD_INIT
|
#ifdef TX_THREAD_INIT
|
||||||
CHAR _tx_version_id[] =
|
CHAR _tx_version_id[] =
|
||||||
"Copyright (c) Microsoft Corporation. All rights reserved. * ThreadX ARMv7-A Version 6.1.11 *";
|
"Copyright (c) Microsoft Corporation. All rights reserved. * ThreadX ARMv7-A Version 6.2.1 *";
|
||||||
#else
|
#else
|
||||||
extern CHAR _tx_version_id[];
|
extern CHAR _tx_version_id[];
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -19,6 +19,9 @@
|
|||||||
/** */
|
/** */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
|
#ifdef TX_INCLUDE_USER_DEFINE_FILE
|
||||||
|
#include "tx_user.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
.arm
|
.arm
|
||||||
|
|
||||||
@@ -88,6 +91,9 @@ IRQ_MODE = 0x92 // Disable IRQ, IRQ mode
|
|||||||
/* resulting in version 6.1.9 */
|
/* resulting in version 6.1.9 */
|
||||||
/* 04-25-2022 Zhen Kong Updated comments, */
|
/* 04-25-2022 Zhen Kong Updated comments, */
|
||||||
/* resulting in version 6.1.11 */
|
/* resulting in version 6.1.11 */
|
||||||
|
/* 03-08-2023 Cindy Deng Modified comment(s), added */
|
||||||
|
/* #include tx_user.h, */
|
||||||
|
/* resulting in version 6.2.1 */
|
||||||
/* */
|
/* */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
.global _tx_thread_context_restore
|
.global _tx_thread_context_restore
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user