Skip to content

Commit

Permalink
Include tx_user.h in cortex_m33/55/85 IAR port (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
TiejunMS committed May 24, 2023
1 parent 361590d commit 71cc95e
Show file tree
Hide file tree
Showing 56 changed files with 224 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ports/cortex_m33/iar/src/tx_initialize_low_level.s
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/

#ifdef TX_INCLUDE_USER_DEFINE_FILE
#include "tx_user.h"
#endif

EXTERN _tx_thread_system_stack_ptr
EXTERN _tx_initialize_unused_memory
EXTERN _tx_timer_interrupt
Expand Down
4 changes: 4 additions & 0 deletions ports/cortex_m33/iar/src/tx_misra.s
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/

#ifdef TX_INCLUDE_USER_DEFINE_FILE
#include "tx_user.h"
#endif

#define SHT_PROGBITS 0x1

EXTERN __aeabi_memset
Expand Down
4 changes: 4 additions & 0 deletions ports/cortex_m33/iar/src/tx_thread_context_restore.s
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/

#ifdef TX_INCLUDE_USER_DEFINE_FILE
#include "tx_user.h"
#endif

EXTERN _tx_execution_isr_exit
SECTION `.text`:CODE:NOROOT(2)
THUMB
Expand Down
4 changes: 4 additions & 0 deletions ports/cortex_m33/iar/src/tx_thread_context_save.s
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/

#ifdef TX_INCLUDE_USER_DEFINE_FILE
#include "tx_user.h"
#endif

EXTERN _tx_execution_isr_enter
SECTION `.text`:CODE:NOROOT(2)
THUMB
Expand Down
4 changes: 4 additions & 0 deletions ports/cortex_m33/iar/src/tx_thread_interrupt_control.s
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/

#ifdef TX_INCLUDE_USER_DEFINE_FILE
#include "tx_user.h"
#endif

SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
Expand Down
4 changes: 4 additions & 0 deletions ports/cortex_m33/iar/src/tx_thread_interrupt_disable.s
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/

#ifdef TX_INCLUDE_USER_DEFINE_FILE
#include "tx_user.h"
#endif

SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
Expand Down
4 changes: 4 additions & 0 deletions ports/cortex_m33/iar/src/tx_thread_interrupt_restore.s
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/

#ifdef TX_INCLUDE_USER_DEFINE_FILE
#include "tx_user.h"
#endif

SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
Expand Down
4 changes: 4 additions & 0 deletions ports/cortex_m33/iar/src/tx_thread_schedule.s
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/

#ifdef TX_INCLUDE_USER_DEFINE_FILE
#include "tx_user.h"
#endif

EXTERN _tx_thread_current_ptr
EXTERN _tx_thread_execute_ptr
EXTERN _tx_timer_time_slice
Expand Down
4 changes: 4 additions & 0 deletions ports/cortex_m33/iar/src/tx_thread_secure_stack_allocate.s
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/

#ifdef TX_INCLUDE_USER_DEFINE_FILE
#include "tx_user.h"
#endif

SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
Expand Down
4 changes: 4 additions & 0 deletions ports/cortex_m33/iar/src/tx_thread_secure_stack_free.s
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/

#ifdef TX_INCLUDE_USER_DEFINE_FILE
#include "tx_user.h"
#endif

SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
Expand Down
4 changes: 4 additions & 0 deletions ports/cortex_m33/iar/src/tx_thread_secure_stack_initialize.s
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/

#ifdef TX_INCLUDE_USER_DEFINE_FILE
#include "tx_user.h"
#endif

SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
Expand Down
4 changes: 4 additions & 0 deletions ports/cortex_m33/iar/src/tx_thread_stack_build.s
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/

#ifdef TX_INCLUDE_USER_DEFINE_FILE
#include "tx_user.h"
#endif

SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
Expand Down
4 changes: 4 additions & 0 deletions ports/cortex_m33/iar/src/tx_thread_system_return.s
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/

#ifdef TX_INCLUDE_USER_DEFINE_FILE
#include "tx_user.h"
#endif

SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
Expand Down
4 changes: 4 additions & 0 deletions ports/cortex_m33/iar/src/tx_timer_interrupt.s
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/

#ifdef TX_INCLUDE_USER_DEFINE_FILE
#include "tx_user.h"
#endif

EXTERN _tx_timer_time_slice
EXTERN _tx_timer_system_clock
EXTERN _tx_timer_current_ptr
Expand Down
4 changes: 4 additions & 0 deletions ports/cortex_m55/iar/src/tx_initialize_low_level.s
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/

#ifdef TX_INCLUDE_USER_DEFINE_FILE
#include "tx_user.h"
#endif

EXTERN _tx_thread_system_stack_ptr
EXTERN _tx_initialize_unused_memory
EXTERN _tx_timer_interrupt
Expand Down
4 changes: 4 additions & 0 deletions ports/cortex_m55/iar/src/tx_misra.s
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/

#ifdef TX_INCLUDE_USER_DEFINE_FILE
#include "tx_user.h"
#endif

#define SHT_PROGBITS 0x1

EXTERN __aeabi_memset
Expand Down
4 changes: 4 additions & 0 deletions ports/cortex_m55/iar/src/tx_thread_context_restore.s
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/

#ifdef TX_INCLUDE_USER_DEFINE_FILE
#include "tx_user.h"
#endif

EXTERN _tx_execution_isr_exit
SECTION `.text`:CODE:NOROOT(2)
THUMB
Expand Down
4 changes: 4 additions & 0 deletions ports/cortex_m55/iar/src/tx_thread_context_save.s
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/

#ifdef TX_INCLUDE_USER_DEFINE_FILE
#include "tx_user.h"
#endif

EXTERN _tx_execution_isr_enter
SECTION `.text`:CODE:NOROOT(2)
THUMB
Expand Down
4 changes: 4 additions & 0 deletions ports/cortex_m55/iar/src/tx_thread_interrupt_control.s
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/

#ifdef TX_INCLUDE_USER_DEFINE_FILE
#include "tx_user.h"
#endif

SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
Expand Down
4 changes: 4 additions & 0 deletions ports/cortex_m55/iar/src/tx_thread_interrupt_disable.s
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/

#ifdef TX_INCLUDE_USER_DEFINE_FILE
#include "tx_user.h"
#endif

SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
Expand Down
4 changes: 4 additions & 0 deletions ports/cortex_m55/iar/src/tx_thread_interrupt_restore.s
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/

#ifdef TX_INCLUDE_USER_DEFINE_FILE
#include "tx_user.h"
#endif

SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
Expand Down
4 changes: 4 additions & 0 deletions ports/cortex_m55/iar/src/tx_thread_schedule.s
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/

#ifdef TX_INCLUDE_USER_DEFINE_FILE
#include "tx_user.h"
#endif

EXTERN _tx_thread_current_ptr
EXTERN _tx_thread_execute_ptr
EXTERN _tx_timer_time_slice
Expand Down
4 changes: 4 additions & 0 deletions ports/cortex_m55/iar/src/tx_thread_secure_stack_allocate.s
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/

#ifdef TX_INCLUDE_USER_DEFINE_FILE
#include "tx_user.h"
#endif

SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
Expand Down
4 changes: 4 additions & 0 deletions ports/cortex_m55/iar/src/tx_thread_secure_stack_free.s
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/

#ifdef TX_INCLUDE_USER_DEFINE_FILE
#include "tx_user.h"
#endif

SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
Expand Down
4 changes: 4 additions & 0 deletions ports/cortex_m55/iar/src/tx_thread_secure_stack_initialize.s
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/

#ifdef TX_INCLUDE_USER_DEFINE_FILE
#include "tx_user.h"
#endif

SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
Expand Down
4 changes: 4 additions & 0 deletions ports/cortex_m55/iar/src/tx_thread_stack_build.s
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/

#ifdef TX_INCLUDE_USER_DEFINE_FILE
#include "tx_user.h"
#endif

SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
Expand Down
4 changes: 4 additions & 0 deletions ports/cortex_m55/iar/src/tx_thread_system_return.s
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/

#ifdef TX_INCLUDE_USER_DEFINE_FILE
#include "tx_user.h"
#endif

SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
Expand Down
4 changes: 4 additions & 0 deletions ports/cortex_m55/iar/src/tx_timer_interrupt.s
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/

#ifdef TX_INCLUDE_USER_DEFINE_FILE
#include "tx_user.h"
#endif

EXTERN _tx_timer_time_slice
EXTERN _tx_timer_system_clock
EXTERN _tx_timer_current_ptr
Expand Down
4 changes: 4 additions & 0 deletions ports/cortex_m85/iar/src/tx_initialize_low_level.s
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/

#ifdef TX_INCLUDE_USER_DEFINE_FILE
#include "tx_user.h"
#endif

EXTERN _tx_thread_system_stack_ptr
EXTERN _tx_initialize_unused_memory
EXTERN _tx_timer_interrupt
Expand Down
4 changes: 4 additions & 0 deletions ports/cortex_m85/iar/src/tx_misra.s
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/

#ifdef TX_INCLUDE_USER_DEFINE_FILE
#include "tx_user.h"
#endif

#define SHT_PROGBITS 0x1

EXTERN __aeabi_memset
Expand Down
4 changes: 4 additions & 0 deletions ports/cortex_m85/iar/src/tx_thread_context_restore.s
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/

#ifdef TX_INCLUDE_USER_DEFINE_FILE
#include "tx_user.h"
#endif

EXTERN _tx_execution_isr_exit
SECTION `.text`:CODE:NOROOT(2)
THUMB
Expand Down
4 changes: 4 additions & 0 deletions ports/cortex_m85/iar/src/tx_thread_context_save.s
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/

#ifdef TX_INCLUDE_USER_DEFINE_FILE
#include "tx_user.h"
#endif

EXTERN _tx_execution_isr_enter
SECTION `.text`:CODE:NOROOT(2)
THUMB
Expand Down
4 changes: 4 additions & 0 deletions ports/cortex_m85/iar/src/tx_thread_interrupt_control.s
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/

#ifdef TX_INCLUDE_USER_DEFINE_FILE
#include "tx_user.h"
#endif

SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
Expand Down
4 changes: 4 additions & 0 deletions ports/cortex_m85/iar/src/tx_thread_interrupt_disable.s
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/

#ifdef TX_INCLUDE_USER_DEFINE_FILE
#include "tx_user.h"
#endif

SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
Expand Down
4 changes: 4 additions & 0 deletions ports/cortex_m85/iar/src/tx_thread_interrupt_restore.s
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/

#ifdef TX_INCLUDE_USER_DEFINE_FILE
#include "tx_user.h"
#endif

SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
Expand Down
4 changes: 4 additions & 0 deletions ports/cortex_m85/iar/src/tx_thread_schedule.s
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/

#ifdef TX_INCLUDE_USER_DEFINE_FILE
#include "tx_user.h"
#endif

EXTERN _tx_thread_current_ptr
EXTERN _tx_thread_execute_ptr
EXTERN _tx_timer_time_slice
Expand Down
Loading

0 comments on commit 71cc95e

Please sign in to comment.