16#if !TRC_CFG_SCHEDULING_ONLY
19#ifdef __inside_txe_block_allocate
22#include "tx_block_pool.h"
25UINT _txe_block_allocate(TX_BLOCK_POOL *pool_ptr, VOID **block_ptr, ULONG wait_option) __attribute__((weak));
26UINT _txe_block_allocate_orig(TX_BLOCK_POOL *pool_ptr, VOID **block_ptr, ULONG wait_option) __attribute__((alias(
"_txe_block_allocate")));
28#ifdef __IAR_SYSTEMS_ICC__
29#pragma weak _txe_block_allocate
30#pragma weak _txe_block_allocate_orig=_txe_block_allocate
35#ifdef __inside_txe_block_pool_create
39#include "tx_block_pool.h"
41UINT _txe_block_pool_create(TX_BLOCK_POOL *pool_ptr, CHAR *name_ptr, ULONG block_size, VOID *pool_start, ULONG pool_size, UINT pool_control_block_size) __attribute__((weak));
42UINT _txe_block_pool_create_orig(TX_BLOCK_POOL *pool_ptr, CHAR *name_ptr, ULONG block_size, VOID *pool_start, ULONG pool_size, UINT pool_control_block_size) __attribute__((alias(
"_txe_block_pool_create")));
44#ifdef __IAR_SYSTEMS_ICC__
45#pragma weak _txe_block_pool_create
46#pragma weak _txe_block_pool_create_orig=_txe_block_pool_create
51#ifdef __inside_txe_block_pool_delete
56#include "tx_block_pool.h"
59UINT _txe_block_pool_delete(TX_BLOCK_POOL *pool_ptr) __attribute__((weak));
60UINT _txe_block_pool_delete_orig(TX_BLOCK_POOL *pool_ptr) __attribute__((alias(
"_txe_block_pool_delete")));
62#ifdef __IAR_SYSTEMS_ICC__
63#pragma weak _txe_block_pool_delete
64#pragma weak _txe_block_pool_delete_orig=_txe_block_pool_delete
69#ifdef __inside_txe_block_pool_info_get
72#include "tx_block_pool.h"
75UINT _txe_block_pool_info_get(TX_BLOCK_POOL *pool_ptr, CHAR **name, ULONG *available_blocks, ULONG *total_blocks, TX_THREAD **first_suspended, ULONG *suspended_count, TX_BLOCK_POOL **next_pool) __attribute__((weak));
76UINT _txe_block_pool_info_get_orig(TX_BLOCK_POOL *pool_ptr, CHAR **name, ULONG *available_blocks, ULONG *total_blocks, TX_THREAD **first_suspended, ULONG *suspended_count, TX_BLOCK_POOL **next_pool) __attribute__((alias(
"_txe_block_pool_info_get")));
78#ifdef __IAR_SYSTEMS_ICC__
79#pragma weak _txe_block_pool_info_get
80#pragma weak _txe_block_pool_info_get_orig=_txe_block_pool_info_get
85#ifdef __inside_tx_block_pool_performance_info_get
88#include "tx_block_pool.h"
91UINT _tx_block_pool_performance_info_get(TX_BLOCK_POOL *pool_ptr, ULONG *allocates, ULONG *releases, ULONG *suspensions, ULONG *timeouts) __attribute__((weak));
92UINT _tx_block_pool_performance_info_get_orig(TX_BLOCK_POOL *pool_ptr, ULONG *allocates, ULONG *releases, ULONG *suspensions, ULONG *timeouts) __attribute__((alias(
"_tx_block_pool_performance_info_get")));
94#ifdef __IAR_SYSTEMS_ICC__
95#pragma weak _tx_block_pool_performance_info_get
96#pragma weak _tx_block_pool_performance_info_get_orig=_tx_block_pool_performance_info_get
101#ifdef __inside_tx_block_pool_performance_system_info_get
104#include "tx_block_pool.h"
107UINT _tx_block_pool_performance_system_info_get(ULONG *allocates, ULONG *releases, ULONG *suspensions, ULONG *timeouts) __attribute__((weak));
108UINT _tx_block_pool_performance_system_info_get_oirg(ULONG *allocates, ULONG *releases, ULONG *suspensions, ULONG *timeouts) __attribute__((alias(
"_tx_block_pool_performance_system_info_get")));
110#ifdef __IAR_SYSTEMS_ICC__
111#pragma weak _tx_block_pool_performance_system_info_get
112#pragma weak _tx_block_pool_performance_system_info_get_oirg=_tx_block_pool_performance_system_info_get
117#ifdef __inside_txe_block_pool_prioritize
120#include "tx_block_pool.h"
123UINT _txe_block_pool_prioritize(TX_BLOCK_POOL *pool_ptr) __attribute__((weak));
124UINT _txe_block_pool_prioritize_orig(TX_BLOCK_POOL *pool_ptr) __attribute__((alias(
"_txe_block_pool_prioritize")));
126#ifdef __IAR_SYSTEMS_ICC__
127#pragma weak _txe_block_pool_prioritize
128#pragma weak _txe_block_pool_prioritize_orig=_txe_block_pool_prioritize
133#ifdef __inside_txe_block_release
136#include "tx_block_pool.h"
139UINT _txe_block_release(VOID *block_ptr) __attribute__((weak));
140UINT _txe_block_release_orig(VOID *block_ptr) __attribute__((alias(
"_txe_block_release")));
142#ifdef __IAR_SYSTEMS_ICC__
143#pragma weak _txe_block_release
144#pragma weak _txe_block_release_orig=_txe_block_release
150#ifdef __inside_txe_byte_allocate
153#include "tx_initialize.h"
154#include "tx_thread.h"
156#include "tx_byte_pool.h"
159UINT _txe_byte_allocate(TX_BYTE_POOL *pool_ptr, VOID **memory_ptr, ULONG memory_size, ULONG wait_option) __attribute__((weak));
160UINT _txe_byte_allocate_orig(TX_BYTE_POOL *pool_ptr, VOID **memory_ptr, ULONG memory_size, ULONG wait_option) __attribute__((alias(
"_txe_byte_allocate")));
162#ifdef __IAR_SYSTEMS_ICC__
163#pragma weak _txe_byte_allocate
164#pragma weak _txe_byte_allocate_orig=_txe_byte_allocate
169#ifdef __inside_txe_byte_pool_create
172#include "tx_initialize.h"
173#include "tx_thread.h"
175#include "tx_byte_pool.h"
178UINT _txe_byte_pool_create(TX_BYTE_POOL *pool_ptr, CHAR *name_ptr, VOID *pool_start, ULONG pool_size, UINT pool_control_block_size) __attribute__((weak));
179UINT _txe_byte_pool_create_orig(TX_BYTE_POOL *pool_ptr, CHAR *name_ptr, VOID *pool_start, ULONG pool_size, UINT pool_control_block_size) __attribute__((alias(
"_txe_byte_pool_create")));
181#ifdef __IAR_SYSTEMS_ICC__
182#pragma weak _txe_byte_pool_create
183#pragma weak _txe_byte_pool_create_orig=_txe_byte_pool_create
188#ifdef __inside_txe_byte_pool_delete
191#include "tx_thread.h"
193#include "tx_byte_pool.h"
196UINT _txe_byte_pool_delete(TX_BYTE_POOL *pool_ptr) __attribute__((weak));
197UINT _txe_byte_pool_delete_orig(TX_BYTE_POOL *pool_ptr) __attribute__((alias(
"_txe_byte_pool_delete")));
199#ifdef __IAR_SYSTEMS_ICC__
200#pragma weak _txe_byte_pool_delete
201#pragma weak _txe_byte_pool_delete_orig=_txe_byte_pool_delete
206#ifdef __inside_txe_byte_pool_info_get
209#include "tx_byte_pool.h"
212UINT _txe_byte_pool_info_get(TX_BYTE_POOL *pool_ptr, CHAR **name, ULONG *available_bytes, ULONG *fragments, TX_THREAD **first_suspended, ULONG *suspended_count, TX_BYTE_POOL **next_pool) __attribute__((weak));
213UINT _txe_byte_pool_info_get_orig(TX_BYTE_POOL *pool_ptr, CHAR **name, ULONG *available_bytes, ULONG *fragments, TX_THREAD **first_suspended, ULONG *suspended_count, TX_BYTE_POOL **next_pool) __attribute__((alias(
"_txe_byte_pool_info_get")));
215#ifdef __IAR_SYSTEMS_ICC__
216#pragma weak _txe_byte_pool_info_get
217#pragma weak _txe_byte_pool_info_get_orig=_txe_byte_pool_info_get
222#ifdef __inside_tx_byte_pool_performance_info_get
225#include "tx_byte_pool.h"
228UINT _tx_byte_pool_performance_info_get(TX_BYTE_POOL *pool_ptr,
231 ULONG *fragments_searched,
235 ULONG *timeouts) __attribute__((weak));
236UINT _tx_byte_pool_performance_info_get_orig(TX_BYTE_POOL *pool_ptr,
239 ULONG *fragments_searched,
243 ULONG *timeouts) __attribute__((alias(
"_tx_byte_pool_performance_info_get")));
245#ifdef __IAR_SYSTEMS_ICC__
246#pragma weak _tx_byte_pool_performance_info_get
247#pragma weak _tx_byte_pool_performance_info_get_orig=_tx_byte_pool_performance_info_get
252#ifdef __inside_tx_byte_pool_performance_system_info_get
255#include "tx_byte_pool.h"
258UINT _tx_byte_pool_performance_system_info_get(ULONG *allocates,
260 ULONG *fragments_searched,
264 ULONG *timeouts) __attribute__((weak));
265UINT _tx_byte_pool_performance_system_info_get_orig(ULONG *allocates,
267 ULONG *fragments_searched,
271 ULONG *timeouts) __attribute__((alias(
"_tx_byte_pool_performance_system_info_get")));
273#ifdef __IAR_SYSTEMS_ICC__
274#pragma weak _tx_byte_pool_performance_system_info_get
275#pragma weak _tx_byte_pool_performance_system_info_get_orig=_tx_byte_pool_performance_system_info_get
280#ifdef __inside_txe_byte_pool_prioritize
283#include "tx_byte_pool.h"
286UINT _txe_byte_pool_prioritize(TX_BYTE_POOL *pool_ptr) __attribute__((weak));
287UINT _txe_byte_pool_prioritize_orig(TX_BYTE_POOL *pool_ptr) __attribute__((alias(
"_txe_byte_pool_prioritize")));
289#ifdef __IAR_SYSTEMS_ICC__
290#pragma weak _txe_byte_pool_prioritize
291#pragma weak _txe_byte_pool_prioritize_orig=_txe_byte_pool_prioritize
296#ifdef __inside_txe_byte_release
299#include "tx_initialize.h"
300#include "tx_thread.h"
302#include "tx_byte_pool.h"
304UINT _txe_byte_release(VOID *memory_ptr) __attribute__((weak));
305UINT _txe_byte_release_orig(VOID *memory_ptr) __attribute__((alias(
"_txe_byte_release")));
307#ifdef __IAR_SYSTEMS_ICC__
308#pragma weak _txe_byte_release
309#pragma weak _txe_byte_release_orig=_txe_byte_release
314#ifdef __inside_txe_event_flags_create
318UINT _txe_event_flags_create(TX_EVENT_FLAGS_GROUP *group_ptr, CHAR *name_ptr, UINT event_control_block_size) __attribute__((weak));
319UINT _txe_event_flags_create_orig(TX_EVENT_FLAGS_GROUP *group_ptr, CHAR *name_ptr, UINT event_control_block_size) __attribute__((alias(
"_txe_event_flags_create")));
321#ifdef __IAR_SYSTEMS_ICC__
322#pragma weak _txe_event_flags_create
323#pragma weak _txe_event_flags_create_orig=_txe_event_flags_create
328#ifdef __inside_txe_event_flags_delete
332UINT _txe_event_flags_delete(TX_EVENT_FLAGS_GROUP *group_ptr) __attribute__((weak));
333UINT _txe_event_flags_delete_orig(TX_EVENT_FLAGS_GROUP *group_ptr) __attribute__((alias(
"_txe_event_flags_delete")));
335#ifdef __IAR_SYSTEMS_ICC__
336#pragma weak _txe_event_flags_delete
337#pragma weak _txe_event_flags_delete_orig=_txe_event_flags_delete
342#ifdef __inside_txe_event_flags_get
346UINT _txe_event_flags_get(TX_EVENT_FLAGS_GROUP *group_ptr, ULONG requested_flags, UINT get_option, ULONG *actual_flags_ptr, ULONG wait_option) __attribute__((weak));
347UINT _txe_event_flags_get_orig(TX_EVENT_FLAGS_GROUP *group_ptr, ULONG requested_flags, UINT get_option, ULONG *actual_flags_ptr, ULONG wait_option) __attribute__((alias(
"_txe_event_flags_get")));
349#ifdef __IAR_SYSTEMS_ICC__
350#pragma weak _txe_event_flags_get
351#pragma weak _txe_event_flags_get_orig=_txe_event_flags_get
356#ifdef __inside_txe_event_flags_info_get
360UINT _txe_event_flags_info_get(TX_EVENT_FLAGS_GROUP *group_ptr, CHAR **name, ULONG *current_flags, TX_THREAD **first_suspended, ULONG *suspended_count, TX_EVENT_FLAGS_GROUP **next_group) __attribute__((weak));
361UINT _txe_event_flags_info_get_orig(TX_EVENT_FLAGS_GROUP *group_ptr, CHAR **name, ULONG *current_flags, TX_THREAD **first_suspended, ULONG *suspended_count, TX_EVENT_FLAGS_GROUP **next_group) __attribute__((alias(
"_txe_event_flags_info_get")));
363#ifdef __IAR_SYSTEMS_ICC__
364#pragma weak _txe_event_flags_info_get
365#pragma weak _txe_event_flags_info_get_orig=_txe_event_flags_info_get
370#ifdef __inside_tx_event_flags_performance_info_get
374UINT _tx_event_flags_performance_info_get(TX_EVENT_FLAGS_GROUP *group_ptr, ULONG *sets, ULONG *gets, ULONG *suspensions, ULONG *timeouts) __attribute__((weak));
375UINT _tx_event_flags_performance_info_get_orig(TX_EVENT_FLAGS_GROUP *group_ptr, ULONG *sets, ULONG *gets, ULONG *suspensions, ULONG *timeouts) __attribute__((alias(
"_tx_event_flags_performance_info_get")));
377#ifdef __IAR_SYSTEMS_ICC__
378#pragma weak _tx_event_flags_performance_info_get
379#pragma weak _tx_event_flags_performance_info_get_orig=_tx_event_flags_performance_info_get
384#ifdef __inside_tx_event_flags_performance_system_info_get
387#include "tx_event_flags.h"
390UINT _tx_event_flags_performance_system_info_get(ULONG *sets, ULONG *gets, ULONG *suspensions, ULONG *timeouts) __attribute__((weak));
391UINT _tx_event_flags_performance_system_info_get_orig(ULONG *sets, ULONG *gets, ULONG *suspensions, ULONG *timeouts) __attribute__((alias(
"_tx_event_flags_performance_system_info_get")));
393#ifdef __IAR_SYSTEMS_ICC__
394#pragma weak _tx_event_flags_performance_system_info_get
395#pragma weak _tx_event_flags_performance_system_info_get_orig=_tx_event_flags_performance_system_info_get
400#ifdef __inside_txe_event_flags_set
404UINT _txe_event_flags_set(TX_EVENT_FLAGS_GROUP *group_ptr, ULONG flags_to_set, UINT set_option) __attribute__((weak));
405UINT _txe_event_flags_set_orig(TX_EVENT_FLAGS_GROUP *group_ptr, ULONG flags_to_set, UINT set_option) __attribute__((alias(
"_txe_event_flags_set")));
407#ifdef __IAR_SYSTEMS_ICC__
408#pragma weak _txe_event_flags_set
409#pragma weak _txe_event_flags_set_orig=_txe_event_flags_set
414#ifdef __inside_txe_event_flags_set_notify
418UINT _txe_event_flags_set_notify(TX_EVENT_FLAGS_GROUP *group_ptr, VOID (*events_set_notify)(TX_EVENT_FLAGS_GROUP *notify_group_ptr)) __attribute__((weak));
419UINT _txe_event_flags_set_notify_orig(TX_EVENT_FLAGS_GROUP *group_ptr, VOID (*events_set_notify)(TX_EVENT_FLAGS_GROUP *notify_group_ptr)) __attribute((alias(
"_txe_event_flags_set_notify")));
421#ifdef __IAR_SYSTEMS_ICC__
422#pragma weak _txe_event_flags_set_notify
423#pragma weak _txe_event_flags_set_notify_orig=_txe_event_flags_set_notify
430#ifdef __inside_txe_mutex_create
433#include "tx_thread.h"
437UINT _txe_mutex_create(TX_MUTEX *mutex_ptr, CHAR *name_ptr, UINT inherit, UINT mutex_control_block_size) __attribute__((weak));
438UINT _txe_mutex_create_orig(TX_MUTEX *mutex_ptr, CHAR *name_ptr, UINT inherit, UINT mutex_control_block_size) __attribute__((alias(
"_txe_mutex_create")));
440#ifdef __IAR_SYSTEMS_ICC__
441#pragma weak _txe_mutex_create
442#pragma weak _txe_mutex_create_orig=_txe_mutex_create
447#ifdef __inside_txe_mutex_delete
450#include "tx_thread.h"
455UINT _txe_mutex_delete(TX_MUTEX *mutex_ptr) __attribute__((weak));
456UINT _txe_mutex_delete_orig(TX_MUTEX *mutex_ptr) __attribute__((alias(
"_txe_mutex_delete")));
458#ifdef __IAR_SYSTEMS_ICC__
459#pragma weak _txe_mutex_delete
460#pragma weak _txe_mutex_delete_orig=_txe_mutex_delete
465#ifdef __inside_txe_mutex_get
468#include "tx_initialize.h"
469#include "tx_thread.h"
470#ifndef TX_TIMER_PROCESS_IN_ISR
476UINT _txe_mutex_get(TX_MUTEX *mutex_ptr, ULONG wait_option) __attribute__((weak));
477UINT _txe_mutex_get_orig(TX_MUTEX *mutex_ptr, ULONG wait_option) __attribute__((alias(
"_txe_mutex_get")));
479#ifdef __IAR_SYSTEMS_ICC__
480#pragma weak _txe_mutex_get
481#pragma weak _txe_mutex_get_orig=_txe_mutex_get
486#ifdef __inside_txe_mutex_info_get
492UINT _txe_mutex_info_get(TX_MUTEX *mutex_ptr, CHAR **name, ULONG *count, TX_THREAD **owner, TX_THREAD **first_suspended, ULONG *suspended_count, TX_MUTEX **next_mutex) __attribute__((weak));
493UINT _txe_mutex_info_get_orig(TX_MUTEX *mutex_ptr, CHAR **name, ULONG *count, TX_THREAD **owner, TX_THREAD **first_suspended, ULONG *suspended_count, TX_MUTEX **next_mutex) __attribute__((alias(
"_txe_mutex_info_get")));
495#ifdef __IAR_SYSTEMS_ICC__
496#pragma weak _txe_mutex_info_get
497#pragma weak _txe_mutex_info_get_orig=_txe_mutex_info_get
502#ifdef __inside_tx_mutex_performance_info_get
508UINT _tx_mutex_performance_info_get(TX_MUTEX *mutex_ptr, ULONG *puts, ULONG *gets, ULONG *suspensions, ULONG *timeouts, ULONG *inversions, ULONG *inheritances) __attribute__((weak));
509UINT _tx_mutex_performance_info_get_orig(TX_MUTEX *mutex_ptr, ULONG *puts, ULONG *gets, ULONG *suspensions, ULONG *timeouts, ULONG *inversions, ULONG *inheritances) __attribute__((alias(
"_tx_mutex_performance_info_get")));
511#ifdef __IAR_SYSTEMS_ICC__
512#pragma weak _tx_mutex_performance_info_get
513#pragma weak _tx_mutex_performance_info_get_orig=_tx_mutex_performance_info_get
518#ifdef __inside_tx_mutex_performance_system_info_get
524UINT _tx_mutex_performance_system_info_get(ULONG *puts, ULONG *gets, ULONG *suspensions,
525 ULONG *timeouts, ULONG *inversions, ULONG *inheritances) __attribute__((weak));
526UINT _tx_mutex_performance_system_info_get_oirg(ULONG *puts, ULONG *gets, ULONG *suspensions,
527 ULONG *timeouts, ULONG *inversions, ULONG *inheritances) __attribute__((alias(
"_tx_mutex_performance_system_info_get")));
529#ifdef __IAR_SYSTEMS_ICC__
530#pragma weak _tx_mutex_performance_system_info_get
531#pragma weak _tx_mutex_performance_system_info_get_oirg=_tx_mutex_performance_system_info_get
536#ifdef __inside_txe_mutex_prioritize
542UINT _txe_mutex_prioritize(TX_MUTEX *mutex_ptr) __attribute__((weak));
543UINT _txe_mutex_prioritize_orig(TX_MUTEX *mutex_ptr) __attribute__((alias(
"_txe_mutex_prioritize")));
545#ifdef __IAR_SYSTEMS_ICC__
546#pragma weak _txe_mutex_prioritize
547#pragma weak _txe_mutex_prioritize_orig=_txe_mutex_prioritize
552#ifdef __inside_txe_mutex_put
555#include "tx_initialize.h"
556#include "tx_thread.h"
559UINT _txe_mutex_put(TX_MUTEX *mutex_ptr) __attribute__((weak));
560UINT _txe_mutex_put_orig(TX_MUTEX *mutex_ptr) __attribute__((alias(
"_txe_mutex_put")));
562#ifdef __IAR_SYSTEMS_ICC__
563#pragma weak _txe_mutex_put
564#pragma weak _txe_mutex_put_orig=_txe_mutex_put
571#ifdef __inside_txe_queue_create
577UINT _txe_queue_create(TX_QUEUE *queue_ptr, CHAR *name_ptr, UINT message_size, VOID *queue_start, ULONG queue_size, UINT queue_control_block_size) __attribute__((weak));
578UINT _txe_queue_create_orig(TX_QUEUE *queue_ptr, CHAR *name_ptr, UINT message_size, VOID *queue_start, ULONG queue_size, UINT queue_control_block_size) __attribute__((alias(
"_txe_queue_create")));
580#ifdef __IAR_SYSTEMS_ICC__
581#pragma weak _txe_queue_create
582#pragma weak _txe_queue_create_orig=_txe_queue_create
587#ifdef __inside_txe_queue_delete
591#include "tx_thread.h"
595UINT _txe_queue_delete(TX_QUEUE *queue_ptr) __attribute__((weak));
596UINT _txe_queue_delete_orig(TX_QUEUE *queue_ptr) __attribute__((alias(
"_txe_queue_delete")));
598#ifdef __IAR_SYSTEMS_ICC__
599#pragma weak _txe_queue_delete
600#pragma weak _txe_queue_delete_orig=_txe_queue_delete
605#ifdef __inside_txe_queue_flush
610UINT _txe_queue_flush(TX_QUEUE *queue_ptr) __attribute__((weak));
611UINT _txe_queue_flush_orig(TX_QUEUE *queue_ptr) __attribute__((alias(
"_txe_queue_flush")));
613#ifdef __IAR_SYSTEMS_ICC__
614#pragma weak _txe_queue_flush
615#pragma weak _txe_queue_flush_orig=_txe_queue_flush
620#ifdef __inside_txe_queue_front_send
624#include "tx_thread.h"
627UINT _txe_queue_front_send(TX_QUEUE *queue_ptr, VOID *source_ptr, ULONG wait_option) __attribute__((weak));
628UINT _txe_queue_front_send_orig(TX_QUEUE *queue_ptr, VOID *source_ptr, ULONG wait_option) __attribute__((alias(
"_txe_queue_front_send")));
630#ifdef __IAR_SYSTEMS_ICC__
631#pragma weak _txe_queue_front_send
632#pragma weak _txe_queue_front_send_orig=_txe_queue_front_send
637#ifdef __inside_txe_queue_info_get
643UINT _txe_queue_info_get(TX_QUEUE *queue_ptr, CHAR **name, ULONG *enqueued, ULONG *available_storage, TX_THREAD **first_suspended, ULONG *suspended_count, TX_QUEUE **next_queue) __attribute__((weak));
644UINT _txe_queue_info_get_orig(TX_QUEUE *queue_ptr, CHAR **name, ULONG *enqueued, ULONG *available_storage, TX_THREAD **first_suspended, ULONG *suspended_count, TX_QUEUE **next_queue) __attribute__((alias(
"_txe_queue_info_get")));
646#ifdef __IAR_SYSTEMS_ICC__
647#pragma weak _txe_queue_info_get
648#pragma weak _txe_queue_info_get_orig=_txe_queue_info_get
653#ifdef __inside_tx_queue_performance_info_get
659UINT _tx_queue_performance_info_get(TX_QUEUE *queue_ptr, ULONG *messages_sent, ULONG *messages_received,
660 ULONG *empty_suspensions, ULONG *full_suspensions, ULONG *full_errors, ULONG *timeouts) __attribute__((weak));
661UINT _tx_queue_performance_info_get_orig(TX_QUEUE *queue_ptr, ULONG *messages_sent, ULONG *messages_received,
662 ULONG *empty_suspensions, ULONG *full_suspensions, ULONG *full_errors, ULONG *timeouts) __attribute__((alias(
"_tx_queue_performance_info_get")));
664#ifdef __IAR_SYSTEMS_ICC__
665#pragma weak _tx_queue_performance_info_get
666#pragma weak _tx_queue_performance_info_get_orig=_tx_queue_performance_info_get
671#ifdef __inside_tx_queue_performance_system_info_get
677UINT _tx_queue_performance_system_info_get(ULONG *messages_sent, ULONG *messages_received,
678 ULONG *empty_suspensions, ULONG *full_suspensions, ULONG *full_errors, ULONG *timeouts) __attribute__((weak));
679UINT _tx_queue_performance_system_info_get_orig(ULONG *messages_sent, ULONG *messages_received,
680 ULONG *empty_suspensions, ULONG *full_suspensions, ULONG *full_errors, ULONG *timeouts) __attribute__((alias(
"_tx_queue_performance_system_info_get")));
682#ifdef __IAR_SYSTEMS_ICC__
683#pragma weak _tx_queue_performance_system_info_get
684#pragma weak _tx_queue_performance_system_info_get_orig=_tx_queue_performance_system_info_get
689#ifdef __inside_txe_queue_prioritize
695UINT _txe_queue_prioritize(TX_QUEUE *queue_ptr) __attribute__((weak));
696UINT _txe_queue_prioritize_orig(TX_QUEUE *queue_ptr) __attribute__((alias(
"_txe_queue_prioritize")));
698#ifdef __IAR_SYSTEMS_ICC__
699#pragma weak _txe_queue_prioritize
700#pragma weak _txe_queue_prioritize_orig=_txe_queue_prioritize
705#ifdef __inside_txe_queue_receive
709#include "tx_thread.h"
712UINT _txe_queue_receive(TX_QUEUE *queue_ptr, VOID *destination_ptr, ULONG wait_option) __attribute__((weak));
713UINT _txe_queue_receive_orig(TX_QUEUE *queue_ptr, VOID *destination_ptr, ULONG wait_option) __attribute__((alias(
"_txe_queue_receive")));
715#ifdef __IAR_SYSTEMS_ICC__
716#pragma weak _txe_queue_receive
717#pragma weak _txe_queue_receive_orig=_txe_queue_receive
722#ifdef __inside_txe_queue_send_notify
727UINT _txe_queue_send_notify(TX_QUEUE *queue_ptr, VOID (*queue_send_notify)(TX_QUEUE *notify_queue_ptr)) __attribute__((weak));
728UINT _txe_queue_send_notify_orig(TX_QUEUE *queue_ptr, VOID (*queue_send_notify)(TX_QUEUE *notify_queue_ptr)) __attribute__((alias(
"_txe_queue_send_notify")));
730#ifdef __IAR_SYSTEMS_ICC__
731#pragma weak _txe_queue_send_notify
732#pragma weak _txe_queue_send_notify_orig=_txe_queue_send_notify
737#ifdef __inside_txe_queue_send
741#include "tx_thread.h"
744UINT _txe_queue_send(TX_QUEUE *queue_ptr, VOID *source_ptr, ULONG wait_option) __attribute__((weak));
745UINT _txe_queue_send_orig(TX_QUEUE *queue_ptr, VOID *source_ptr, ULONG wait_option) __attribute__((alias(
"_txe_queue_send")));
747#ifdef __IAR_SYSTEMS_ICC__
748#pragma weak _txe_queue_send
749#pragma weak _txe_queue_send_orig=_txe_queue_send
755#ifdef __inside_txe_semaphore_ceiling_put
758#include "tx_semaphore.h"
760UINT _txe_semaphore_ceiling_put(TX_SEMAPHORE *semaphore_ptr, ULONG ceiling) __attribute__((weak));
761UINT _txe_semaphore_ceiling_put_orig(TX_SEMAPHORE *semaphore_ptr, ULONG ceiling) __attribute__((alias(
"_txe_semaphore_ceiling_put")));
763#ifdef __IAR_SYSTEMS_ICC__
764#pragma weak _txe_semaphore_ceiling_put
765#pragma weak _txe_semaphore_ceiling_put_orig=_txe_semaphore_ceiling_put
770#ifdef __inside_txe_semaphore_create
774#include "tx_semaphore.h"
776UINT _txe_semaphore_create(TX_SEMAPHORE *semaphore_ptr, CHAR *name_ptr, ULONG initial_count, UINT semaphore_control_block_size) __attribute__((weak));
777UINT _txe_semaphore_create_orig(TX_SEMAPHORE *semaphore_ptr, CHAR *name_ptr, ULONG initial_count, UINT semaphore_control_block_size) __attribute__((alias(
"_txe_semaphore_create")));
779#ifdef __IAR_SYSTEMS_ICC__
780#pragma weak _txe_semaphore_create
781#pragma weak _txe_semaphore_create_orig=_txe_semaphore_create
786#ifdef __inside_txe_semaphore_delete
789#include "tx_thread.h"
791#include "tx_semaphore.h"
794UINT _txe_semaphore_delete(TX_SEMAPHORE *semaphore_ptr) __attribute__((weak));
795UINT _txe_semaphore_delete_orig(TX_SEMAPHORE *semaphore_ptr) __attribute__((alias(
"_txe_semaphore_delete")));
797#ifdef __IAR_SYSTEMS_ICC__
798#pragma weak _txe_semaphore_delete
799#pragma weak _txe_semaphore_delete_orig=_txe_semaphore_delete
804#ifdef __inside_txe_semaphore_get
807#include "tx_thread.h"
809#include "tx_semaphore.h"
812UINT _txe_semaphore_get(TX_SEMAPHORE *semaphore_ptr, ULONG wait_option) __attribute__((weak));
813UINT _txe_semaphore_get_orig(TX_SEMAPHORE *semaphore_ptr, ULONG wait_option) __attribute__((alias(
"_txe_semaphore_get")));
815#ifdef __IAR_SYSTEMS_ICC__
816#pragma weak _txe_semaphore_get
817#pragma weak _txe_semaphore_get_orig=_txe_semaphore_get
822#ifdef __inside_txe_semaphore_info_get
825#include "tx_semaphore.h"
828UINT _txe_semaphore_info_get(TX_SEMAPHORE *semaphore_ptr, CHAR **name, ULONG *current_value, TX_THREAD **first_suspended, ULONG *suspended_count, TX_SEMAPHORE **next_semaphore) __attribute__((weak));
829UINT _txe_semaphore_info_get_orig(TX_SEMAPHORE *semaphore_ptr, CHAR **name, ULONG *current_value, TX_THREAD **first_suspended, ULONG *suspended_count, TX_SEMAPHORE **next_semaphore) __attribute__((alias(
"_txe_semaphore_info_get")));
831#ifdef __IAR_SYSTEMS_ICC__
832#pragma weak _txe_semaphore_info_get
833#pragma weak _txe_semaphore_info_get_orig=_txe_semaphore_info_get
838#ifdef __inside_tx_semaphore_performance_info_get
841#include "tx_semaphore.h"
844UINT _tx_semaphore_performance_info_get(TX_SEMAPHORE *semaphore_ptr, ULONG *puts, ULONG *gets,
845 ULONG *suspensions, ULONG *timeouts) __attribute__((weak));
846UINT _tx_semaphore_performance_info_get_orig(TX_SEMAPHORE *semaphore_ptr, ULONG *puts, ULONG *gets,
847 ULONG *suspensions, ULONG *timeouts) __attribute__((alias(
"_tx_semaphore_performance_info_get")));
849#ifdef __IAR_SYSTEMS_ICC__
850#pragma weak _tx_semaphore_performance_info_get
851#pragma weak _tx_semaphore_performance_info_get_orig=_tx_semaphore_performance_info_get
856#ifdef __inside_tx_semaphore_performance_system_info_get
859#include "tx_semaphore.h"
862UINT _tx_semaphore_performance_system_info_get(ULONG *puts, ULONG *gets, ULONG *suspensions, ULONG *timeouts) __attribute__((weak));
863UINT _tx_semaphore_performance_system_info_get_oirg(ULONG *puts, ULONG *gets, ULONG *suspensions, ULONG *timeouts) __attribute__((alias(
"_tx_semaphore_performance_system_info_get")));
865#ifdef __IAR_SYSTEMS_ICC__
866#pragma weak _tx_semaphore_performance_system_info_get
867#pragma weak _tx_semaphore_performance_system_info_get_oirg=_tx_semaphore_performance_system_info_get
872#ifdef __inside_txe_semaphore_prioritize
875#include "tx_semaphore.h"
878UINT _txe_semaphore_prioritize(TX_SEMAPHORE *semaphore_ptr) __attribute__((weak));
879UINT _txe_semaphore_prioritize_orig(TX_SEMAPHORE *semaphore_ptr) __attribute__((alias(
"_txe_semaphore_prioritize")));
881#ifdef __IAR_SYSTEMS_ICC__
882#pragma weak _txe_semaphore_prioritize
883#pragma weak _txe_semaphore_prioritize_orig=_txe_semaphore_prioritize
888#ifdef __inside_txe_semaphore_put_notify
891#include "tx_semaphore.h"
893UINT _txe_semaphore_put_notify(TX_SEMAPHORE *semaphore_ptr, VOID (*semaphore_put_notify)(TX_SEMAPHORE *notify_semaphore_ptr)) __attribute__((weak));
894UINT _txe_semaphore_put_notify_orig(TX_SEMAPHORE *semaphore_ptr, VOID (*semaphore_put_notify)(TX_SEMAPHORE *notify_semaphore_ptr)) __attribute__((alias(
"_txe_semaphore_put_notify")));
896#ifdef __IAR_SYSTEMS_ICC__
897#pragma weak _txe_semaphore_put_notify
898#pragma weak _txe_semaphore_put_notify_orig=_txe_semaphore_put_notify
903#ifdef __inside_txe_semaphore_put
906#include "tx_semaphore.h"
908UINT _txe_semaphore_put(TX_SEMAPHORE *semaphore_ptr) __attribute__((weak));
909UINT _txe_semaphore_put_orig(TX_SEMAPHORE *semaphore_ptr) __attribute__((alias(
"_txe_semaphore_put")));
911#ifdef __IAR_SYSTEMS_ICC__
912#pragma weak _txe_semaphore_put
913#pragma weak _txe_semaphore_put_orig=_txe_semaphore_put
920#ifdef __inside_tx_time_get
925ULONG _tx_time_get(VOID) __attribute__((weak));
926ULONG _tx_time_get_orig(VOID) __attribute__((alias(
"_tx_time_get")));
928#ifdef __IAR_SYSTEMS_ICC__
929#pragma weak _tx_time_get
930#pragma weak _tx_time_get_orig=_tx_time_get
935#ifdef __inside_tx_time_set
940VOID _tx_time_set(ULONG new_time) __attribute((weak));
941VOID _tx_time_set_orig(ULONG new_time) __attribute((alias(
"_tx_time_set")));
943#ifdef __IAR_SYSTEMS_ICC__
944#pragma weak _tx_time_set
945#pragma weak _tx_time_set_orig=_tx_time_set
950#ifdef __inside_txe_timer_activate
955UINT _txe_timer_activate(TX_TIMER *timer_ptr) __attribute__((weak));
956UINT _txe_timer_activate_orig(TX_TIMER *timer_ptr) __attribute__((alias(
"_txe_timer_activate")));
958#ifdef __IAR_SYSTEMS_ICC__
959#pragma weak _txe_timer_activate
960#pragma weak _txe_timer_activate_orig=_txe_timer_activate
965#ifdef __inside_txe_timer_change
968#include "tx_initialize.h"
969#include "tx_thread.h"
972UINT _txe_timer_change(TX_TIMER *timer_ptr, ULONG initial_ticks, ULONG reschedule_ticks) __attribute__((weak));
973UINT _txe_timer_change_orig(TX_TIMER *timer_ptr, ULONG initial_ticks, ULONG reschedule_ticks) __attribute__((alias(
"_txe_timer_change")));
975#ifdef __IAR_SYSTEMS_ICC__
976#pragma weak _txe_timer_change
977#pragma weak _txe_timer_change_orig=_txe_timer_change
982#ifdef __inside_txe_timer_create
988UINT _txe_timer_create(TX_TIMER *timer_ptr, CHAR *name_ptr,
989 VOID (*expiration_function)(ULONG
id), ULONG expiration_input,
990 ULONG initial_ticks, ULONG reschedule_ticks, UINT auto_activate, UINT timer_control_block_size) __attribute__((weak));
991UINT _txe_timer_create_orig(TX_TIMER *timer_ptr, CHAR *name_ptr,
992 VOID (*expiration_function)(ULONG
id), ULONG expiration_input,
993 ULONG initial_ticks, ULONG reschedule_ticks, UINT auto_activate, UINT timer_control_block_size) __attribute__((alias(
"_txe_timer_create")));
995#ifdef __IAR_SYSTEMS_ICC__
996#pragma weak _txe_timer_create
997#pragma weak _txe_timer_create_orig=_txe_timer_create
1002#ifdef __inside_txe_timer_deactivate
1005#include "tx_timer.h"
1007UINT _txe_timer_deactivate(TX_TIMER *timer_ptr) __attribute__((weak));
1008UINT _txe_timer_deactivate_orig(TX_TIMER *timer_ptr) __attribute__((alias(
"_txe_timer_deactivate")));
1010#ifdef __IAR_SYSTEMS_ICC__
1011#pragma weak _txe_timer_deactivate
1012#pragma weak _txe_timer_deactivate_orig=_txe_timer_deactivate
1017#ifdef __inside_txe_timer_delete
1020#include "tx_thread.h"
1021#include "tx_timer.h"
1022#include "tx_trace.h"
1024UINT _txe_timer_delete(TX_TIMER *timer_ptr) __attribute__((weak));
1025UINT _txe_timer_delete_orig(TX_TIMER *timer_ptr) __attribute__((alias(
"_txe_timer_delete")));
1027#ifdef __IAR_SYSTEMS_ICC__
1028#pragma weak _txe_timer_delete
1029#pragma weak _txe_timer_delete_orig=_txe_timer_delete
1034#ifdef __inside_txe_timer_info_get
1037#include "tx_timer.h"
1038#include "tx_trace.h"
1040UINT _txe_timer_info_get(TX_TIMER *timer_ptr, CHAR **name, UINT *active, ULONG *remaining_ticks, ULONG *reschedule_ticks, TX_TIMER **next_timer) __attribute__((weak));
1041UINT _txe_timer_info_get_orig(TX_TIMER *timer_ptr, CHAR **name, UINT *active, ULONG *remaining_ticks, ULONG *reschedule_ticks, TX_TIMER **next_timer) __attribute__((alias(
"_txe_timer_info_get")));
1043#ifdef __IAR_SYSTEMS_ICC__
1044#pragma weak _txe_timer_info_get
1045#pragma weak _txe_timer_info_get_orig=_txe_timer_info_get
1050#ifdef __inside_tx_timer_performance_info_get
1053#include "tx_timer.h"
1054#include "tx_trace.h"
1056UINT _tx_timer_performance_info_get(TX_TIMER *timer_ptr, ULONG *activates, ULONG *reactivates, ULONG *deactivates, ULONG *expirations, ULONG *expiration_adjusts) __attribute__((weak));
1057UINT _tx_timer_performance_info_get_orig(TX_TIMER *timer_ptr, ULONG *activates, ULONG *reactivates, ULONG *deactivates, ULONG *expirations, ULONG *expiration_adjusts) __attribute__((alias(
"_tx_timer_performance_info_get")));
1059#ifdef __IAR_SYSTEMS_ICC__
1060#pragma weak _tx_timer_performance_info_get
1061#pragma weak _tx_timer_performance_info_get_orig=_tx_timer_performance_info_get
1069#ifdef __inside_txe_thread_create
1072#include "tx_trace.h"
1073#include "tx_thread.h"
1074#include "tx_initialize.h"
1076UINT _txe_thread_create(TX_THREAD *thread_ptr, CHAR *name_ptr, VOID (*entry_function)(ULONG
id), ULONG entry_input,
1077 VOID *stack_start, ULONG stack_size, UINT priority, UINT preempt_threshold,
1078 ULONG time_slice, UINT auto_start, UINT thread_control_block_size) __attribute__((weak));
1079UINT _txe_thread_create_orig(TX_THREAD *thread_ptr, CHAR *name_ptr, VOID (*entry_function)(ULONG
id), ULONG entry_input,
1080 VOID *stack_start, ULONG stack_size, UINT priority, UINT preempt_threshold,
1081 ULONG time_slice, UINT auto_start, UINT thread_control_block_size) __attribute__((alias(
"_txe_thread_create")));
1083#ifdef __IAR_SYSTEMS_ICC__
1084#pragma weak _txe_thread_create
1085#pragma weak _txe_thread_create_orig=_txe_thread_create
1090#ifdef __inside_txe_thread_delete
1093#include "tx_thread.h"
1094#include "tx_trace.h"
1096UINT _txe_thread_delete(TX_THREAD *thread_ptr) __attribute__((weak));
1097UINT _txe_thread_delete_orig(TX_THREAD *thread_ptr) __attribute__((alias(
"_txe_thread_delete")));
1099#ifdef __IAR_SYSTEMS_ICC__
1100#pragma weak _txe_thread_delete
1101#pragma weak _txe_thread_delete_orig=_txe_thread_delete
1106#ifdef __inside_txe_thread_entry_exit_notify
1109#include "tx_thread.h"
1111UINT _txe_thread_entry_exit_notify(TX_THREAD *thread_ptr, VOID (*thread_entry_exit_notify)(TX_THREAD *notify_thread_ptr, UINT type)) __attribute__((weak));
1112UINT _txe_thread_entry_exit_notify_orig(TX_THREAD *thread_ptr, VOID (*thread_entry_exit_notify)(TX_THREAD *notify_thread_ptr, UINT type)) __attribute__((alias(
"_txe_thread_entry_exit_notify")));
1114#ifdef __IAR_SYSTEMS_ICC__
1115#pragma weak _txe_thread_entry_exit_notify
1116#pragma weak _txe_thread_entry_exit_notify_orig=_txe_thread_entry_exit_notify
1121#ifdef __inside_txe_thread_info_get
1124#include "tx_thread.h"
1125#include "tx_trace.h"
1127UINT _txe_thread_info_get(TX_THREAD *thread_ptr, CHAR **name, UINT *state, ULONG *run_count, UINT *priority, UINT *preemption_threshold, ULONG *time_slice, TX_THREAD **next_thread, TX_THREAD **next_suspended_thread) __attribute__((weak));
1128UINT _txe_thread_info_get_orig(TX_THREAD *thread_ptr, CHAR **name, UINT *state, ULONG *run_count, UINT *priority, UINT *preemption_threshold, ULONG *time_slice, TX_THREAD **next_thread, TX_THREAD **next_suspended_thread) __attribute__((alias(
"_txe_thread_info_get")));
1130#ifdef __IAR_SYSTEMS_ICC__
1131#pragma weak _txe_thread_info_get
1132#pragma weak _txe_thread_info_get_orig=_txe_thread_info_get
1137#ifdef __inside_tx_thread_performance_info_get
1140#include "tx_thread.h"
1141#include "tx_trace.h"
1143UINT _tx_thread_performance_info_get(TX_THREAD *thread_ptr, ULONG *resumptions, ULONG *suspensions,
1144 ULONG *solicited_preemptions, ULONG *interrupt_preemptions, ULONG *priority_inversions,
1145 ULONG *time_slices, ULONG *relinquishes, ULONG *timeouts, ULONG *wait_aborts, TX_THREAD **last_preempted_by) __attribute__((weak));
1146UINT _tx_thread_performance_info_get_orig(TX_THREAD *thread_ptr, ULONG *resumptions, ULONG *suspensions,
1147 ULONG *solicited_preemptions, ULONG *interrupt_preemptions, ULONG *priority_inversions,
1148 ULONG *time_slices, ULONG *relinquishes, ULONG *timeouts, ULONG *wait_aborts, TX_THREAD **last_preempted_by) __attribute__((alias(
"_tx_thread_performance_info_get")));
1150#ifdef __IAR_SYSTEMS_ICC__
1151#pragma weak _tx_thread_performance_info_get
1152#pragma weak _tx_thread_performance_info_get_orig=_tx_thread_performance_info_get
1157#ifdef __inside_tx_thread_performance_system_info_get
1160#include "tx_thread.h"
1161#include "tx_trace.h"
1163UINT _tx_thread_performance_system_info_get(ULONG *resumptions, ULONG *suspensions,
1164 ULONG *solicited_preemptions, ULONG *interrupt_preemptions, ULONG *priority_inversions,
1165 ULONG *time_slices, ULONG *relinquishes, ULONG *timeouts, ULONG *wait_aborts,
1166 ULONG *non_idle_returns, ULONG *idle_returns) __attribute__((weak));
1167UINT _tx_thread_performance_system_info_get_oirg(ULONG *resumptions, ULONG *suspensions,
1168 ULONG *solicited_preemptions, ULONG *interrupt_preemptions, ULONG *priority_inversions,
1169 ULONG *time_slices, ULONG *relinquishes, ULONG *timeouts, ULONG *wait_aborts,
1170 ULONG *non_idle_returns, ULONG *idle_returns) __attribute__((alias(
"_tx_thread_performance_system_info_get")));
1172#ifdef __IAR_SYSTEMS_ICC__
1173#pragma weak _tx_thread_performance_system_info_get
1174#pragma weak _tx_thread_performance_system_info_get_oirg=_tx_thread_performance_system_info_get
1179#ifdef __inside_txe_thread_preemption_change
1182#include "tx_thread.h"
1184UINT _txe_thread_preemption_change(TX_THREAD *thread_ptr, UINT new_threshold, UINT *old_threshold) __attribute__((weak));
1185UINT _txe_thread_preemption_change_orig(TX_THREAD *thread_ptr, UINT new_threshold, UINT *old_threshold) __attribute__((alias(
"_txe_thread_preemption_change")));
1187#ifdef __IAR_SYSTEMS_ICC__
1188#pragma weak _txe_thread_preemption_change
1189#pragma weak _txe_thread_preemption_change_orig=_txe_thread_preemption_change
1194#ifdef __inside_txe_thread_priority_change
1197#include "tx_thread.h"
1199UINT _txe_thread_priority_change(TX_THREAD *thread_ptr, UINT new_priority, UINT *old_priority) __attribute__((weak));
1200UINT _txe_thread_priority_change_orig(TX_THREAD *thread_ptr, UINT new_priority, UINT *old_priority) __attribute__((alias(
"_txe_thread_priority_change")));
1202#ifdef __IAR_SYSTEMS_ICC__
1203#pragma weak _txe_thread_priority_change
1204#pragma weak _txe_thread_priority_change_orig=_txe_thread_priority_change
1209#ifdef __inside_txe_thread_reset
1212#include "tx_thread.h"
1213#include "tx_timer.h"
1215UINT _txe_thread_reset(TX_THREAD *thread_ptr) __attribute__((weak));
1216UINT _txe_thread_reset_orig(TX_THREAD *thread_ptr) __attribute__((alias(
"_txe_thread_reset")));
1218#ifdef __IAR_SYSTEMS_ICC__
1219#pragma weak _txe_thread_reset
1220#pragma weak _txe_thread_reset_orig=_txe_thread_reset
1225#ifdef __inside_txe_thread_resume
1228#include "tx_thread.h"
1230UINT _txe_thread_resume(TX_THREAD *thread_ptr) __attribute__((weak));
1231UINT _txe_thread_resume_orig(TX_THREAD *thread_ptr) __attribute__((alias(
"_txe_thread_resume")));
1233#ifdef __IAR_SYSTEMS_ICC__
1234#pragma weak _txe_thread_resume
1235#pragma weak _txe_thread_resume_orig=_txe_thread_resume
1240#ifdef __inside_tx_thread_sleep
1243#include "tx_thread.h"
1245UINT _tx_thread_sleep(ULONG timer_ticks) __attribute__((weak));
1246UINT _tx_thread_sleep_orig(ULONG timer_ticks) __attribute__((alias(
"_tx_thread_sleep")));
1248#ifdef __IAR_SYSTEMS_ICC__
1249#pragma weak _tx_thread_sleep
1250#pragma weak _tx_thread_sleep_orig=_tx_thread_sleep
1255#ifdef __inside_tx_thread_stack_error_notify
1258#include "tx_thread.h"
1260UINT _tx_thread_stack_error_notify(VOID (*stack_error_handler)(TX_THREAD *thread_ptr)) __attribute__((weak));
1261UINT _tx_thread_stack_error_notify_orig(VOID (*stack_error_handler)(TX_THREAD *thread_ptr)) __attribute__((alias(
"_tx_thread_stack_error_notify")));
1263#ifdef __IAR_SYSTEMS_ICC__
1264#pragma weak _tx_thread_stack_error_notify
1265#pragma weak _tx_thread_stack_error_notify_orig=_tx_thread_stack_error_notify
1270#ifdef __inside_txe_thread_suspend
1273#include "tx_thread.h"
1275UINT _txe_thread_suspend(TX_THREAD *thread_ptr) __attribute__((weak));
1276UINT _txe_thread_suspend_orig(TX_THREAD *thread_ptr) __attribute__((alias(
"_txe_thread_suspend")));
1278#ifdef __IAR_SYSTEMS_ICC__
1279#pragma weak _txe_thread_suspend
1280#pragma weak _txe_thread_suspend_orig=_txe_thread_suspend
1285#ifdef __inside_txe_thread_terminate
1288#include "tx_thread.h"
1290UINT _txe_thread_terminate(TX_THREAD *thread_ptr) __attribute__((weak));
1291UINT _txe_thread_terminate_orig(TX_THREAD *thread_ptr) __attribute__((alias(
"_txe_thread_terminate")));
1293#ifdef __IAR_SYSTEMS_ICC__
1294#pragma weak _txe_thread_terminate
1295#pragma weak _txe_thread_terminate_orig=_txe_thread_terminate
1300#ifdef __inside_tx_thread_time_slice
1303#include "tx_thread.h"
1305VOID _tx_thread_time_slice(VOID) __attribute__((weak));
1306VOID _tx_thread_time_slice_orig(VOID) __attribute((alias(
"_tx_thread_time_slice")));
1308#ifdef __IAR_SYSTEMS_ICC__
1309#pragma weak _tx_thread_time_slice
1310#pragma weak _tx_thread_time_slice_orig=_tx_thread_time_slice
1315#ifdef __inside_txe_thread_time_slice_change
1318#include "tx_thread.h"
1320UINT _txe_thread_time_slice_change(TX_THREAD *thread_ptr, ULONG new_time_slice, ULONG *old_time_slice) __attribute__((weak));
1321UINT _txe_thread_time_slice_change_orig(TX_THREAD *thread_ptr, ULONG new_time_slice, ULONG *old_time_slice) __attribute__((alias(
"_txe_thread_time_slice_change")));
1323#ifdef __IAR_SYSTEMS_ICC__
1324#pragma weak _txe_thread_time_slice_change
1325#pragma weak _txe_thread_time_slice_change_orig=_txe_thread_time_slice_change
1330#ifdef __inside_txe_thread_wait_abort
1333#include "tx_thread.h"
1335UINT _txe_thread_wait_abort(TX_THREAD *thread_ptr) __attribute__((weak));
1336UINT _txe_thread_wait_abort_orig(TX_THREAD *thread_ptr) __attribute__((alias(
"_txe_thread_wait_abort")));
1338#ifdef __IAR_SYSTEMS_ICC__
1339#pragma weak _txe_thread_wait_abort
1340#pragma weak _txe_thread_wait_abort_orig=_txe_thread_wait_abort
1345#ifdef __inside_trcEvent
1349traceResult xTraceEventBeginRawOffline(uint32_t uiSize, TraceEventHandle_t* pxEventHandle) __attribute__((weak));
1350traceResult xTraceEventBeginRawOffline_orig(uint32_t uiSize, TraceEventHandle_t* pxEventHandle) __attribute__((alias(
"xTraceEventBeginRawOffline")));
1351traceResult xTraceEventEndOffline(TraceEventHandle_t xEventHandle) __attribute__((weak));
1352traceResult xTraceEventEndOffline_orig(TraceEventHandle_t xEventHandle) __attribute__((alias(
"xTraceEventEndOffline")));
1354#ifdef __IAR_SYSTEMS_ICC__
1355#pragma weak xTraceEventBeginRawOffline
1356#pragma weak xTraceEventBeginRawOffline_orig=xTraceEventBeginRawOffline
1357#pragma weak xTraceEventEndOffline
1358#pragma weak xTraceEventEndOffline_orig=xTraceEventEndOffline
1363#ifdef __inside_trcISR
1367traceResult
xTraceISREnd(TraceBaseType_t uxIsTaskSwitchRequired) __attribute__((weak));
1368traceResult xTraceISREnd_orig(TraceBaseType_t uxIsTaskSwitchRequired) __attribute__((alias(
"xTraceISREnd")));
1370#ifdef __IAR_SYSTEMS_ICC__
1371#pragma weak xTraceISREnd
1372#pragma weak xTraceISREnd_orig=xTraceISREnd
traceResult xTraceISREnd(TraceBaseType_t xIsTaskSwitchRequired)
Registers the end of an Interrupt Service Routine.
Definition: trcCTI.c:1953
The public API of the Percepio trace recorder.