17 #ifdef __inside_txe_block_allocate
20 #include "tx_block_pool.h"
23 UINT _txe_block_allocate(TX_BLOCK_POOL *pool_ptr, VOID **block_ptr, ULONG wait_option) __attribute__((weak));
24 UINT _txe_block_allocate_orig(TX_BLOCK_POOL *pool_ptr, VOID **block_ptr, ULONG wait_option) __attribute__((alias(
"_txe_block_allocate")));
26 #ifdef __IAR_SYSTEMS_ICC__
27 #pragma weak _txe_block_allocate
28 #pragma weak _txe_block_allocate_orig=_txe_block_allocate
33 #ifdef __inside_txe_block_pool_create
37 #include "tx_block_pool.h"
39 UINT _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));
40 UINT _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")));
42 #ifdef __IAR_SYSTEMS_ICC__
43 #pragma weak _txe_block_pool_create
44 #pragma weak _txe_block_pool_create_orig=_txe_block_pool_create
49 #ifdef __inside_txe_block_pool_delete
52 #include "tx_thread.h"
54 #include "tx_block_pool.h"
57 UINT _txe_block_pool_delete(TX_BLOCK_POOL *pool_ptr) __attribute__((weak));
58 UINT _txe_block_pool_delete_orig(TX_BLOCK_POOL *pool_ptr) __attribute__((alias(
"_txe_block_pool_delete")));
60 #ifdef __IAR_SYSTEMS_ICC__
61 #pragma weak _txe_block_pool_delete
62 #pragma weak _txe_block_pool_delete_orig=_txe_block_pool_delete
67 #ifdef __inside_txe_block_pool_info_get
70 #include "tx_block_pool.h"
73 UINT _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));
74 UINT _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")));
76 #ifdef __IAR_SYSTEMS_ICC__
77 #pragma weak _txe_block_pool_info_get
78 #pragma weak _txe_block_pool_info_get_orig=_txe_block_pool_info_get
83 #ifdef __inside_tx_block_pool_performance_info_get
86 #include "tx_block_pool.h"
89 UINT _tx_block_pool_performance_info_get(TX_BLOCK_POOL *pool_ptr, ULONG *allocates, ULONG *releases, ULONG *suspensions, ULONG *timeouts) __attribute__((weak));
90 UINT _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")));
92 #ifdef __IAR_SYSTEMS_ICC__
93 #pragma weak _tx_block_pool_performance_info_get
94 #pragma weak _tx_block_pool_performance_info_get_orig=_tx_block_pool_performance_info_get
99 #ifdef __inside_tx_block_pool_performance_system_info_get
102 #include "tx_block_pool.h"
103 #include "tx_trace.h"
105 UINT _tx_block_pool_performance_system_info_get(ULONG *allocates, ULONG *releases, ULONG *suspensions, ULONG *timeouts) __attribute__((weak));
106 UINT _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")));
108 #ifdef __IAR_SYSTEMS_ICC__
109 #pragma weak _tx_block_pool_performance_system_info_get
110 #pragma weak _tx_block_pool_performance_system_info_get_oirg=_tx_block_pool_performance_system_info_get
115 #ifdef __inside_txe_block_pool_prioritize
118 #include "tx_block_pool.h"
119 #include "tx_trace.h"
121 UINT _txe_block_pool_prioritize(TX_BLOCK_POOL *pool_ptr) __attribute__((weak));
122 UINT _txe_block_pool_prioritize_orig(TX_BLOCK_POOL *pool_ptr) __attribute__((alias(
"_txe_block_pool_prioritize")));
124 #ifdef __IAR_SYSTEMS_ICC__
125 #pragma weak _txe_block_pool_prioritize
126 #pragma weak _txe_block_pool_prioritize_orig=_txe_block_pool_prioritize
131 #ifdef __inside_txe_block_release
134 #include "tx_block_pool.h"
135 #include "tx_trace.h"
137 UINT _txe_block_release(VOID *block_ptr) __attribute__((weak));
138 UINT _txe_block_release_orig(VOID *block_ptr) __attribute__((alias(
"_txe_block_release")));
140 #ifdef __IAR_SYSTEMS_ICC__
141 #pragma weak _txe_block_release
142 #pragma weak _txe_block_release_orig=_txe_block_release
148 #ifdef __inside_txe_byte_allocate
151 #include "tx_initialize.h"
152 #include "tx_thread.h"
153 #include "tx_timer.h"
154 #include "tx_byte_pool.h"
155 #include "tx_trace.h"
157 UINT _txe_byte_allocate(TX_BYTE_POOL *pool_ptr, VOID **memory_ptr, ULONG memory_size, ULONG wait_option) __attribute__((weak));
158 UINT _txe_byte_allocate_orig(TX_BYTE_POOL *pool_ptr, VOID **memory_ptr, ULONG memory_size, ULONG wait_option) __attribute__((alias(
"_txe_byte_allocate")));
160 #ifdef __IAR_SYSTEMS_ICC__
161 #pragma weak _txe_byte_allocate
162 #pragma weak _txe_byte_allocate_orig=_txe_byte_allocate
167 #ifdef __inside_txe_byte_pool_create
170 #include "tx_initialize.h"
171 #include "tx_thread.h"
172 #include "tx_timer.h"
173 #include "tx_byte_pool.h"
174 #include "tx_trace.h"
176 UINT _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));
177 UINT _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")));
179 #ifdef __IAR_SYSTEMS_ICC__
180 #pragma weak _txe_byte_pool_create
181 #pragma weak _txe_byte_pool_create_orig=_txe_byte_pool_create
186 #ifdef __inside_txe_byte_pool_delete
189 #include "tx_thread.h"
190 #include "tx_timer.h"
191 #include "tx_byte_pool.h"
192 #include "tx_trace.h"
194 UINT _txe_byte_pool_delete(TX_BYTE_POOL *pool_ptr) __attribute__((weak));
195 UINT _txe_byte_pool_delete_orig(TX_BYTE_POOL *pool_ptr) __attribute__((alias(
"_txe_byte_pool_delete")));
197 #ifdef __IAR_SYSTEMS_ICC__
198 #pragma weak _txe_byte_pool_delete
199 #pragma weak _txe_byte_pool_delete_orig=_txe_byte_pool_delete
204 #ifdef __inside_txe_byte_pool_info_get
207 #include "tx_byte_pool.h"
208 #include "tx_trace.h"
210 UINT _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));
211 UINT _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")));
213 #ifdef __IAR_SYSTEMS_ICC__
214 #pragma weak _txe_byte_pool_info_get
215 #pragma weak _txe_byte_pool_info_get_orig=_txe_byte_pool_info_get
220 #ifdef __inside_tx_byte_pool_performance_info_get
223 #include "tx_byte_pool.h"
224 #include "tx_trace.h"
226 UINT _tx_byte_pool_performance_info_get(TX_BYTE_POOL *pool_ptr,
229 ULONG *fragments_searched,
233 ULONG *timeouts) __attribute__((weak));
234 UINT _tx_byte_pool_performance_info_get_orig(TX_BYTE_POOL *pool_ptr,
237 ULONG *fragments_searched,
241 ULONG *timeouts) __attribute__((alias(
"_tx_byte_pool_performance_info_get")));
243 #ifdef __IAR_SYSTEMS_ICC__
244 #pragma weak _tx_byte_pool_performance_info_get
245 #pragma weak _tx_byte_pool_performance_info_get_orig=_tx_byte_pool_performance_info_get
250 #ifdef __inside_tx_byte_pool_performance_system_info_get
253 #include "tx_byte_pool.h"
254 #include "tx_trace.h"
256 UINT _tx_byte_pool_performance_system_info_get(ULONG *allocates,
258 ULONG *fragments_searched,
262 ULONG *timeouts) __attribute__((weak));
263 UINT _tx_byte_pool_performance_system_info_get_orig(ULONG *allocates,
265 ULONG *fragments_searched,
269 ULONG *timeouts) __attribute__((alias(
"_tx_byte_pool_performance_system_info_get")));
271 #ifdef __IAR_SYSTEMS_ICC__
272 #pragma weak _tx_byte_pool_performance_system_info_get
273 #pragma weak _tx_byte_pool_performance_system_info_get_orig=_tx_byte_pool_performance_system_info_get
278 #ifdef __inside_txe_byte_pool_prioritize
281 #include "tx_byte_pool.h"
282 #include "tx_trace.h"
284 UINT _txe_byte_pool_prioritize(TX_BYTE_POOL *pool_ptr) __attribute__((weak));
285 UINT _txe_byte_pool_prioritize_orig(TX_BYTE_POOL *pool_ptr) __attribute__((alias(
"_txe_byte_pool_prioritize")));
287 #ifdef __IAR_SYSTEMS_ICC__
288 #pragma weak _txe_byte_pool_prioritize
289 #pragma weak _txe_byte_pool_prioritize_orig=_txe_byte_pool_prioritize
294 #ifdef __inside_txe_byte_release
297 #include "tx_initialize.h"
298 #include "tx_thread.h"
299 #include "tx_timer.h"
300 #include "tx_byte_pool.h"
302 UINT _txe_byte_release(VOID *memory_ptr) __attribute__((weak));
303 UINT _txe_byte_release_orig(VOID *memory_ptr) __attribute__((alias(
"_txe_byte_release")));
305 #ifdef __IAR_SYSTEMS_ICC__
306 #pragma weak _txe_byte_release
307 #pragma weak _txe_byte_release_orig=_txe_byte_release
312 #ifdef __inside_txe_event_flags_create
316 UINT _txe_event_flags_create(TX_EVENT_FLAGS_GROUP *group_ptr, CHAR *name_ptr, UINT event_control_block_size) __attribute__((weak));
317 UINT _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")));
319 #ifdef __IAR_SYSTEMS_ICC__
320 #pragma weak _txe_event_flags_create
321 #pragma weak _txe_event_flags_create_orig=_txe_event_flags_create
326 #ifdef __inside_txe_event_flags_delete
330 UINT _txe_event_flags_delete(TX_EVENT_FLAGS_GROUP *group_ptr) __attribute__((weak));
331 UINT _txe_event_flags_delete_orig(TX_EVENT_FLAGS_GROUP *group_ptr) __attribute__((alias(
"_txe_event_flags_delete")));
333 #ifdef __IAR_SYSTEMS_ICC__
334 #pragma weak _txe_event_flags_delete
335 #pragma weak _txe_event_flags_delete_orig=_txe_event_flags_delete
340 #ifdef __inside_txe_event_flags_get
344 UINT _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));
345 UINT _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")));
347 #ifdef __IAR_SYSTEMS_ICC__
348 #pragma weak _txe_event_flags_get
349 #pragma weak _txe_event_flags_get_orig=_txe_event_flags_get
354 #ifdef __inside_txe_event_flags_info_get
358 UINT _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));
359 UINT _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")));
361 #ifdef __IAR_SYSTEMS_ICC__
362 #pragma weak _txe_event_flags_info_get
363 #pragma weak _txe_event_flags_info_get_orig=_txe_event_flags_info_get
368 #ifdef __inside_tx_event_flags_performance_info_get
372 UINT _tx_event_flags_performance_info_get(TX_EVENT_FLAGS_GROUP *group_ptr, ULONG *sets, ULONG *gets, ULONG *suspensions, ULONG *timeouts) __attribute__((weak));
373 UINT _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")));
375 #ifdef __IAR_SYSTEMS_ICC__
376 #pragma weak _tx_event_flags_performance_info_get
377 #pragma weak _tx_event_flags_performance_info_get_orig=_tx_event_flags_performance_info_get
382 #ifdef __inside_tx_event_flags_performance_system_info_get
385 #include "tx_event_flags.h"
386 #include "tx_trace.h"
388 UINT _tx_event_flags_performance_system_info_get(ULONG *sets, ULONG *gets, ULONG *suspensions, ULONG *timeouts) __attribute__((weak));
389 UINT _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")));
391 #ifdef __IAR_SYSTEMS_ICC__
392 #pragma weak _tx_event_flags_performance_system_info_get
393 #pragma weak _tx_event_flags_performance_system_info_get_orig=_tx_event_flags_performance_system_info_get
398 #ifdef __inside_txe_event_flags_set
402 UINT _txe_event_flags_set(TX_EVENT_FLAGS_GROUP *group_ptr, ULONG flags_to_set, UINT set_option) __attribute__((weak));
403 UINT _txe_event_flags_set_orig(TX_EVENT_FLAGS_GROUP *group_ptr, ULONG flags_to_set, UINT set_option) __attribute__((alias(
"_txe_event_flags_set")));
405 #ifdef __IAR_SYSTEMS_ICC__
406 #pragma weak _txe_event_flags_set
407 #pragma weak _txe_event_flags_set_orig=_txe_event_flags_set
412 #ifdef __inside_txe_event_flags_set_notify
416 UINT _txe_event_flags_set_notify(TX_EVENT_FLAGS_GROUP *group_ptr, VOID (*events_set_notify)(TX_EVENT_FLAGS_GROUP *notify_group_ptr)) __attribute__((weak));
417 UINT _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")));
419 #ifdef __IAR_SYSTEMS_ICC__
420 #pragma weak _txe_event_flags_set_notify
421 #pragma weak _txe_event_flags_set_notify_orig=_txe_event_flags_set_notify
428 #ifdef __inside_txe_mutex_create
431 #include "tx_thread.h"
432 #include "tx_trace.h"
433 #include "tx_mutex.h"
435 UINT _txe_mutex_create(TX_MUTEX *mutex_ptr, CHAR *name_ptr, UINT inherit, UINT mutex_control_block_size) __attribute__((weak));
436 UINT _txe_mutex_create_orig(TX_MUTEX *mutex_ptr, CHAR *name_ptr, UINT inherit, UINT mutex_control_block_size) __attribute__((alias(
"_txe_mutex_create")));
438 #ifdef __IAR_SYSTEMS_ICC__
439 #pragma weak _txe_mutex_create
440 #pragma weak _txe_mutex_create_orig=_txe_mutex_create
445 #ifdef __inside_txe_mutex_delete
448 #include "tx_thread.h"
449 #include "tx_timer.h"
450 #include "tx_mutex.h"
451 #include "tx_trace.h"
453 UINT _txe_mutex_delete(TX_MUTEX *mutex_ptr) __attribute__((weak));
454 UINT _txe_mutex_delete_orig(TX_MUTEX *mutex_ptr) __attribute__((alias(
"_txe_mutex_delete")));
456 #ifdef __IAR_SYSTEMS_ICC__
457 #pragma weak _txe_mutex_delete
458 #pragma weak _txe_mutex_delete_orig=_txe_mutex_delete
463 #ifdef __inside_txe_mutex_get
466 #include "tx_initialize.h"
467 #include "tx_thread.h"
468 #ifndef TX_TIMER_PROCESS_IN_ISR
469 #include "tx_timer.h"
471 #include "tx_mutex.h"
472 #include "tx_trace.h"
474 UINT _txe_mutex_get(TX_MUTEX *mutex_ptr, ULONG wait_option) __attribute__((weak));
475 UINT _txe_mutex_get_orig(TX_MUTEX *mutex_ptr, ULONG wait_option) __attribute__((alias(
"_txe_mutex_get")));
477 #ifdef __IAR_SYSTEMS_ICC__
478 #pragma weak _txe_mutex_get
479 #pragma weak _txe_mutex_get_orig=_txe_mutex_get
484 #ifdef __inside_txe_mutex_info_get
487 #include "tx_mutex.h"
488 #include "tx_trace.h"
490 UINT _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));
491 UINT _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")));
493 #ifdef __IAR_SYSTEMS_ICC__
494 #pragma weak _txe_mutex_info_get
495 #pragma weak _txe_mutex_info_get_orig=_txe_mutex_info_get
500 #ifdef __inside_tx_mutex_performance_info_get
503 #include "tx_mutex.h"
504 #include "tx_trace.h"
506 UINT _tx_mutex_performance_info_get(TX_MUTEX *mutex_ptr, ULONG *puts, ULONG *gets, ULONG *suspensions, ULONG *timeouts, ULONG *inversions, ULONG *inheritances) __attribute__((weak));
507 UINT _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")));
509 #ifdef __IAR_SYSTEMS_ICC__
510 #pragma weak _tx_mutex_performance_info_get
511 #pragma weak _tx_mutex_performance_info_get_orig=_tx_mutex_performance_info_get
516 #ifdef __inside_tx_mutex_performance_system_info_get
519 #include "tx_mutex.h"
520 #include "tx_trace.h"
522 UINT _tx_mutex_performance_system_info_get(ULONG *puts, ULONG *gets, ULONG *suspensions,
523 ULONG *timeouts, ULONG *inversions, ULONG *inheritances) __attribute__((weak));
524 UINT _tx_mutex_performance_system_info_get_oirg(ULONG *puts, ULONG *gets, ULONG *suspensions,
525 ULONG *timeouts, ULONG *inversions, ULONG *inheritances) __attribute__((alias(
"_tx_mutex_performance_system_info_get")));
527 #ifdef __IAR_SYSTEMS_ICC__
528 #pragma weak _tx_mutex_performance_system_info_get
529 #pragma weak _tx_mutex_performance_system_info_get_oirg=_tx_mutex_performance_system_info_get
534 #ifdef __inside_txe_mutex_prioritize
537 #include "tx_mutex.h"
538 #include "tx_trace.h"
540 UINT _txe_mutex_prioritize(TX_MUTEX *mutex_ptr) __attribute__((weak));
541 UINT _txe_mutex_prioritize_orig(TX_MUTEX *mutex_ptr) __attribute__((alias(
"_txe_mutex_prioritize")));
543 #ifdef __IAR_SYSTEMS_ICC__
544 #pragma weak _txe_mutex_prioritize
545 #pragma weak _txe_mutex_prioritize_orig=_txe_mutex_prioritize
550 #ifdef __inside_txe_mutex_put
553 #include "tx_initialize.h"
554 #include "tx_thread.h"
555 #include "tx_mutex.h"
557 UINT _txe_mutex_put(TX_MUTEX *mutex_ptr) __attribute__((weak));
558 UINT _txe_mutex_put_orig(TX_MUTEX *mutex_ptr) __attribute__((alias(
"_txe_mutex_put")));
560 #ifdef __IAR_SYSTEMS_ICC__
561 #pragma weak _txe_mutex_put
562 #pragma weak _txe_mutex_put_orig=_txe_mutex_put
569 #ifdef __inside_txe_queue_create
572 #include "tx_trace.h"
573 #include "tx_queue.h"
575 UINT _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));
576 UINT _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")));
578 #ifdef __IAR_SYSTEMS_ICC__
579 #pragma weak _txe_queue_create
580 #pragma weak _txe_queue_create_orig=_txe_queue_create
585 #ifdef __inside_txe_queue_delete
588 #include "tx_timer.h"
589 #include "tx_thread.h"
590 #include "tx_queue.h"
591 #include "tx_trace.h"
593 UINT _txe_queue_delete(TX_QUEUE *queue_ptr) __attribute__((weak));
594 UINT _txe_queue_delete_orig(TX_QUEUE *queue_ptr) __attribute__((alias(
"_txe_queue_delete")));
596 #ifdef __IAR_SYSTEMS_ICC__
597 #pragma weak _txe_queue_delete
598 #pragma weak _txe_queue_delete_orig=_txe_queue_delete
603 #ifdef __inside_txe_queue_flush
606 #include "tx_queue.h"
608 UINT _txe_queue_flush(TX_QUEUE *queue_ptr) __attribute__((weak));
609 UINT _txe_queue_flush_orig(TX_QUEUE *queue_ptr) __attribute__((alias(
"_txe_queue_flush")));
611 #ifdef __IAR_SYSTEMS_ICC__
612 #pragma weak _txe_queue_flush
613 #pragma weak _txe_queue_flush_orig=_txe_queue_flush
618 #ifdef __inside_txe_queue_front_send
621 #include "tx_timer.h"
622 #include "tx_thread.h"
623 #include "tx_queue.h"
625 UINT _txe_queue_front_send(TX_QUEUE *queue_ptr, VOID *source_ptr, ULONG wait_option) __attribute__((weak));
626 UINT _txe_queue_front_send_orig(TX_QUEUE *queue_ptr, VOID *source_ptr, ULONG wait_option) __attribute__((alias(
"_txe_queue_front_send")));
628 #ifdef __IAR_SYSTEMS_ICC__
629 #pragma weak _txe_queue_front_send
630 #pragma weak _txe_queue_front_send_orig=_txe_queue_front_send
635 #ifdef __inside_txe_queue_info_get
638 #include "tx_queue.h"
639 #include "tx_trace.h"
641 UINT _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));
642 UINT _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")));
644 #ifdef __IAR_SYSTEMS_ICC__
645 #pragma weak _txe_queue_info_get
646 #pragma weak _txe_queue_info_get_orig=_txe_queue_info_get
651 #ifdef __inside_tx_queue_performance_info_get
654 #include "tx_queue.h"
655 #include "tx_trace.h"
657 UINT _tx_queue_performance_info_get(TX_QUEUE *queue_ptr, ULONG *messages_sent, ULONG *messages_received,
658 ULONG *empty_suspensions, ULONG *full_suspensions, ULONG *full_errors, ULONG *timeouts) __attribute__((weak));
659 UINT _tx_queue_performance_info_get_orig(TX_QUEUE *queue_ptr, ULONG *messages_sent, ULONG *messages_received,
660 ULONG *empty_suspensions, ULONG *full_suspensions, ULONG *full_errors, ULONG *timeouts) __attribute__((alias(
"_tx_queue_performance_info_get")));
662 #ifdef __IAR_SYSTEMS_ICC__
663 #pragma weak _tx_queue_performance_info_get
664 #pragma weak _tx_queue_performance_info_get_orig=_tx_queue_performance_info_get
669 #ifdef __inside_tx_queue_performance_system_info_get
672 #include "tx_queue.h"
673 #include "tx_trace.h"
675 UINT _tx_queue_performance_system_info_get(ULONG *messages_sent, ULONG *messages_received,
676 ULONG *empty_suspensions, ULONG *full_suspensions, ULONG *full_errors, ULONG *timeouts) __attribute__((weak));
677 UINT _tx_queue_performance_system_info_get_orig(ULONG *messages_sent, ULONG *messages_received,
678 ULONG *empty_suspensions, ULONG *full_suspensions, ULONG *full_errors, ULONG *timeouts) __attribute__((alias(
"_tx_queue_performance_system_info_get")));
680 #ifdef __IAR_SYSTEMS_ICC__
681 #pragma weak _tx_queue_performance_system_info_get
682 #pragma weak _tx_queue_performance_system_info_get_orig=_tx_queue_performance_system_info_get
687 #ifdef __inside_txe_queue_prioritize
690 #include "tx_queue.h"
691 #include "tx_trace.h"
693 UINT _txe_queue_prioritize(TX_QUEUE *queue_ptr) __attribute__((weak));
694 UINT _txe_queue_prioritize_orig(TX_QUEUE *queue_ptr) __attribute__((alias(
"_txe_queue_prioritize")));
696 #ifdef __IAR_SYSTEMS_ICC__
697 #pragma weak _txe_queue_prioritize
698 #pragma weak _txe_queue_prioritize_orig=_txe_queue_prioritize
703 #ifdef __inside_txe_queue_receive
706 #include "tx_timer.h"
707 #include "tx_thread.h"
708 #include "tx_queue.h"
710 UINT _txe_queue_receive(TX_QUEUE *queue_ptr, VOID *destination_ptr, ULONG wait_option) __attribute__((weak));
711 UINT _txe_queue_receive_orig(TX_QUEUE *queue_ptr, VOID *destination_ptr, ULONG wait_option) __attribute__((alias(
"_txe_queue_receive")));
713 #ifdef __IAR_SYSTEMS_ICC__
714 #pragma weak _txe_queue_receive
715 #pragma weak _txe_queue_receive_orig=_txe_queue_receive
720 #ifdef __inside_txe_queue_send_notify
723 #include "tx_queue.h"
725 UINT _txe_queue_send_notify(TX_QUEUE *queue_ptr, VOID (*queue_send_notify)(TX_QUEUE *notify_queue_ptr)) __attribute__((weak));
726 UINT _txe_queue_send_notify_orig(TX_QUEUE *queue_ptr, VOID (*queue_send_notify)(TX_QUEUE *notify_queue_ptr)) __attribute__((alias(
"_txe_queue_send_notify")));
728 #ifdef __IAR_SYSTEMS_ICC__
729 #pragma weak _txe_queue_send_notify
730 #pragma weak _txe_queue_send_notify_orig=_txe_queue_send_notify
735 #ifdef __inside_txe_queue_send
738 #include "tx_timer.h"
739 #include "tx_thread.h"
740 #include "tx_queue.h"
742 UINT _txe_queue_send(TX_QUEUE *queue_ptr, VOID *source_ptr, ULONG wait_option) __attribute__((weak));
743 UINT _txe_queue_send_orig(TX_QUEUE *queue_ptr, VOID *source_ptr, ULONG wait_option) __attribute__((alias(
"_txe_queue_send")));
745 #ifdef __IAR_SYSTEMS_ICC__
746 #pragma weak _txe_queue_send
747 #pragma weak _txe_queue_send_orig=_txe_queue_send
753 #ifdef __inside_txe_semaphore_ceiling_put
756 #include "tx_semaphore.h"
758 UINT _txe_semaphore_ceiling_put(TX_SEMAPHORE *semaphore_ptr, ULONG ceiling) __attribute__((weak));
759 UINT _txe_semaphore_ceiling_put_orig(TX_SEMAPHORE *semaphore_ptr, ULONG ceiling) __attribute__((alias(
"_txe_semaphore_ceiling_put")));
761 #ifdef __IAR_SYSTEMS_ICC__
762 #pragma weak _txe_semaphore_ceiling_put
763 #pragma weak _txe_semaphore_ceiling_put_orig=_txe_semaphore_ceiling_put
768 #ifdef __inside_txe_semaphore_create
771 #include "tx_trace.h"
772 #include "tx_semaphore.h"
774 UINT _txe_semaphore_create(TX_SEMAPHORE *semaphore_ptr, CHAR *name_ptr, ULONG initial_count, UINT semaphore_control_block_size) __attribute__((weak));
775 UINT _txe_semaphore_create_orig(TX_SEMAPHORE *semaphore_ptr, CHAR *name_ptr, ULONG initial_count, UINT semaphore_control_block_size) __attribute__((alias(
"_txe_semaphore_create")));
777 #ifdef __IAR_SYSTEMS_ICC__
778 #pragma weak _txe_semaphore_create
779 #pragma weak _txe_semaphore_create_orig=_txe_semaphore_create
784 #ifdef __inside_txe_semaphore_delete
787 #include "tx_thread.h"
788 #include "tx_timer.h"
789 #include "tx_semaphore.h"
790 #include "tx_trace.h"
792 UINT _txe_semaphore_delete(TX_SEMAPHORE *semaphore_ptr) __attribute__((weak));
793 UINT _txe_semaphore_delete_orig(TX_SEMAPHORE *semaphore_ptr) __attribute__((alias(
"_txe_semaphore_delete")));
795 #ifdef __IAR_SYSTEMS_ICC__
796 #pragma weak _txe_semaphore_delete
797 #pragma weak _txe_semaphore_delete_orig=_txe_semaphore_delete
802 #ifdef __inside_txe_semaphore_get
805 #include "tx_thread.h"
806 #include "tx_timer.h"
807 #include "tx_semaphore.h"
808 #include "tx_trace.h"
810 UINT _txe_semaphore_get(TX_SEMAPHORE *semaphore_ptr, ULONG wait_option) __attribute__((weak));
811 UINT _txe_semaphore_get_orig(TX_SEMAPHORE *semaphore_ptr, ULONG wait_option) __attribute__((alias(
"_txe_semaphore_get")));
813 #ifdef __IAR_SYSTEMS_ICC__
814 #pragma weak _txe_semaphore_get
815 #pragma weak _txe_semaphore_get_orig=_txe_semaphore_get
820 #ifdef __inside_txe_semaphore_info_get
823 #include "tx_semaphore.h"
824 #include "tx_trace.h"
826 UINT _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));
827 UINT _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")));
829 #ifdef __IAR_SYSTEMS_ICC__
830 #pragma weak _txe_semaphore_info_get
831 #pragma weak _txe_semaphore_info_get_orig=_txe_semaphore_info_get
836 #ifdef __inside_tx_semaphore_performance_info_get
839 #include "tx_semaphore.h"
840 #include "tx_trace.h"
842 UINT _tx_semaphore_performance_info_get(TX_SEMAPHORE *semaphore_ptr, ULONG *puts, ULONG *gets,
843 ULONG *suspensions, ULONG *timeouts) __attribute__((weak));
844 UINT _tx_semaphore_performance_info_get_orig(TX_SEMAPHORE *semaphore_ptr, ULONG *puts, ULONG *gets,
845 ULONG *suspensions, ULONG *timeouts) __attribute__((alias(
"_tx_semaphore_performance_info_get")));
847 #ifdef __IAR_SYSTEMS_ICC__
848 #pragma weak _tx_semaphore_performance_info_get
849 #pragma weak _tx_semaphore_performance_info_get_orig=_tx_semaphore_performance_info_get
854 #ifdef __inside_tx_semaphore_performance_system_info_get
857 #include "tx_semaphore.h"
858 #include "tx_trace.h"
860 UINT _tx_semaphore_performance_system_info_get(ULONG *puts, ULONG *gets, ULONG *suspensions, ULONG *timeouts) __attribute__((weak));
861 UINT _tx_semaphore_performance_system_info_get_oirg(ULONG *puts, ULONG *gets, ULONG *suspensions, ULONG *timeouts) __attribute__((alias(
"_tx_semaphore_performance_system_info_get")));
863 #ifdef __IAR_SYSTEMS_ICC__
864 #pragma weak _tx_semaphore_performance_system_info_get
865 #pragma weak _tx_semaphore_performance_system_info_get_oirg=_tx_semaphore_performance_system_info_get
870 #ifdef __inside_txe_semaphore_prioritize
873 #include "tx_semaphore.h"
874 #include "tx_trace.h"
876 UINT _txe_semaphore_prioritize(TX_SEMAPHORE *semaphore_ptr) __attribute__((weak));
877 UINT _txe_semaphore_prioritize_orig(TX_SEMAPHORE *semaphore_ptr) __attribute__((alias(
"_txe_semaphore_prioritize")));
879 #ifdef __IAR_SYSTEMS_ICC__
880 #pragma weak _txe_semaphore_prioritize
881 #pragma weak _txe_semaphore_prioritize_orig=_txe_semaphore_prioritize
886 #ifdef __inside_txe_semaphore_put_notify
889 #include "tx_semaphore.h"
891 UINT _txe_semaphore_put_notify(TX_SEMAPHORE *semaphore_ptr, VOID (*semaphore_put_notify)(TX_SEMAPHORE *notify_semaphore_ptr)) __attribute__((weak));
892 UINT _txe_semaphore_put_notify_orig(TX_SEMAPHORE *semaphore_ptr, VOID (*semaphore_put_notify)(TX_SEMAPHORE *notify_semaphore_ptr)) __attribute__((alias(
"_txe_semaphore_put_notify")));
894 #ifdef __IAR_SYSTEMS_ICC__
895 #pragma weak _txe_semaphore_put_notify
896 #pragma weak _txe_semaphore_put_notify_orig=_txe_semaphore_put_notify
901 #ifdef __inside_txe_semaphore_put
904 #include "tx_semaphore.h"
906 UINT _txe_semaphore_put(TX_SEMAPHORE *semaphore_ptr) __attribute__((weak));
907 UINT _txe_semaphore_put_orig(TX_SEMAPHORE *semaphore_ptr) __attribute__((alias(
"_txe_semaphore_put")));
909 #ifdef __IAR_SYSTEMS_ICC__
910 #pragma weak _txe_semaphore_put
911 #pragma weak _txe_semaphore_put_orig=_txe_semaphore_put
918 #ifdef __inside_txe_thread_create
921 #include "tx_trace.h"
922 #include "tx_thread.h"
923 #include "tx_initialize.h"
925 UINT _txe_thread_create(TX_THREAD *thread_ptr, CHAR *name_ptr, VOID (*entry_function)(ULONG
id), ULONG entry_input,
926 VOID *stack_start, ULONG stack_size, UINT priority, UINT preempt_threshold,
927 ULONG time_slice, UINT auto_start, UINT thread_control_block_size) __attribute__((weak));
928 UINT _txe_thread_create_orig(TX_THREAD *thread_ptr, CHAR *name_ptr, VOID (*entry_function)(ULONG
id), ULONG entry_input,
929 VOID *stack_start, ULONG stack_size, UINT priority, UINT preempt_threshold,
930 ULONG time_slice, UINT auto_start, UINT thread_control_block_size) __attribute__((alias(
"_txe_thread_create")));
932 #ifdef __IAR_SYSTEMS_ICC__
933 #pragma weak _txe_thread_create
934 #pragma weak _txe_thread_create_orig=_txe_thread_create
939 #ifdef __inside_txe_thread_delete
942 #include "tx_thread.h"
943 #include "tx_trace.h"
945 UINT _txe_thread_delete(TX_THREAD *thread_ptr) __attribute__((weak));
946 UINT _txe_thread_delete_orig(TX_THREAD *thread_ptr) __attribute__((alias(
"_txe_thread_delete")));
948 #ifdef __IAR_SYSTEMS_ICC__
949 #pragma weak _txe_thread_delete
950 #pragma weak _txe_thread_delete_orig=_txe_thread_delete
955 #ifdef __inside_txe_thread_entry_exit_notify
958 #include "tx_thread.h"
960 UINT _txe_thread_entry_exit_notify(TX_THREAD *thread_ptr, VOID (*thread_entry_exit_notify)(TX_THREAD *notify_thread_ptr, UINT type)) __attribute__((weak));
961 UINT _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")));
963 #ifdef __IAR_SYSTEMS_ICC__
964 #pragma weak _txe_thread_entry_exit_notify
965 #pragma weak _txe_thread_entry_exit_notify_orig=_txe_thread_entry_exit_notify
970 #ifdef __inside_txe_thread_info_get
973 #include "tx_thread.h"
974 #include "tx_trace.h"
976 UINT _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));
977 UINT _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")));
979 #ifdef __IAR_SYSTEMS_ICC__
980 #pragma weak _txe_thread_info_get
981 #pragma weak _txe_thread_info_get_orig=_txe_thread_info_get
986 #ifdef __inside_tx_thread_performance_info_get
989 #include "tx_thread.h"
990 #include "tx_trace.h"
992 UINT _tx_thread_performance_info_get(TX_THREAD *thread_ptr, ULONG *resumptions, ULONG *suspensions,
993 ULONG *solicited_preemptions, ULONG *interrupt_preemptions, ULONG *priority_inversions,
994 ULONG *time_slices, ULONG *relinquishes, ULONG *timeouts, ULONG *wait_aborts, TX_THREAD **last_preempted_by) __attribute__((weak));
995 UINT _tx_thread_performance_info_get_orig(TX_THREAD *thread_ptr, ULONG *resumptions, ULONG *suspensions,
996 ULONG *solicited_preemptions, ULONG *interrupt_preemptions, ULONG *priority_inversions,
997 ULONG *time_slices, ULONG *relinquishes, ULONG *timeouts, ULONG *wait_aborts, TX_THREAD **last_preempted_by) __attribute__((alias(
"_tx_thread_performance_info_get")));
999 #ifdef __IAR_SYSTEMS_ICC__
1000 #pragma weak _tx_thread_performance_info_get
1001 #pragma weak _tx_thread_performance_info_get_orig=_tx_thread_performance_info_get
1006 #ifdef __inside_tx_thread_performance_system_info_get
1009 #include "tx_thread.h"
1010 #include "tx_trace.h"
1012 UINT _tx_thread_performance_system_info_get(ULONG *resumptions, ULONG *suspensions,
1013 ULONG *solicited_preemptions, ULONG *interrupt_preemptions, ULONG *priority_inversions,
1014 ULONG *time_slices, ULONG *relinquishes, ULONG *timeouts, ULONG *wait_aborts,
1015 ULONG *non_idle_returns, ULONG *idle_returns) __attribute__((weak));
1016 UINT _tx_thread_performance_system_info_get_oirg(ULONG *resumptions, ULONG *suspensions,
1017 ULONG *solicited_preemptions, ULONG *interrupt_preemptions, ULONG *priority_inversions,
1018 ULONG *time_slices, ULONG *relinquishes, ULONG *timeouts, ULONG *wait_aborts,
1019 ULONG *non_idle_returns, ULONG *idle_returns) __attribute__((alias(
"_tx_thread_performance_system_info_get")));
1021 #ifdef __IAR_SYSTEMS_ICC__
1022 #pragma weak _tx_thread_performance_system_info_get
1023 #pragma weak _tx_thread_performance_system_info_get_oirg=_tx_thread_performance_system_info_get
1028 #ifdef __inside_txe_thread_preemption_change
1031 #include "tx_thread.h"
1033 UINT _txe_thread_preemption_change(TX_THREAD *thread_ptr, UINT new_threshold, UINT *old_threshold) __attribute__((weak));
1034 UINT _txe_thread_preemption_change_orig(TX_THREAD *thread_ptr, UINT new_threshold, UINT *old_threshold) __attribute__((alias(
"_txe_thread_preemption_change")));
1036 #ifdef __IAR_SYSTEMS_ICC__
1037 #pragma weak _txe_thread_preemption_change
1038 #pragma weak _txe_thread_preemption_change_orig=_txe_thread_preemption_change
1043 #ifdef __inside_txe_thread_priority_change
1046 #include "tx_thread.h"
1048 UINT _txe_thread_priority_change(TX_THREAD *thread_ptr, UINT new_priority, UINT *old_priority) __attribute__((weak));
1049 UINT _txe_thread_priority_change_orig(TX_THREAD *thread_ptr, UINT new_priority, UINT *old_priority) __attribute__((alias(
"_txe_thread_priority_change")));
1051 #ifdef __IAR_SYSTEMS_ICC__
1052 #pragma weak _txe_thread_priority_change
1053 #pragma weak _txe_thread_priority_change_orig=_txe_thread_priority_change
1058 #ifdef __inside_txe_thread_reset
1061 #include "tx_thread.h"
1062 #include "tx_timer.h"
1064 UINT _txe_thread_reset(TX_THREAD *thread_ptr) __attribute__((weak));
1065 UINT _txe_thread_reset_orig(TX_THREAD *thread_ptr) __attribute__((alias(
"_txe_thread_reset")));
1067 #ifdef __IAR_SYSTEMS_ICC__
1068 #pragma weak _txe_thread_reset
1069 #pragma weak _txe_thread_reset_orig=_txe_thread_reset
1074 #ifdef __inside_txe_thread_resume
1077 #include "tx_thread.h"
1079 UINT _txe_thread_resume(TX_THREAD *thread_ptr) __attribute__((weak));
1080 UINT _txe_thread_resume_orig(TX_THREAD *thread_ptr) __attribute__((alias(
"_txe_thread_resume")));
1082 #ifdef __IAR_SYSTEMS_ICC__
1083 #pragma weak _txe_thread_resume
1084 #pragma weak _txe_thread_resume_orig=_txe_thread_resume
1089 #ifdef __inside_tx_thread_sleep
1092 #include "tx_thread.h"
1094 UINT _tx_thread_sleep(ULONG timer_ticks) __attribute__((weak));
1095 UINT _tx_thread_sleep_orig(ULONG timer_ticks) __attribute__((alias(
"_tx_thread_sleep")));
1097 #ifdef __IAR_SYSTEMS_ICC__
1098 #pragma weak _tx_thread_sleep
1099 #pragma weak _tx_thread_sleep_orig=_tx_thread_sleep
1104 #ifdef __inside_tx_thread_stack_error_notify
1107 #include "tx_thread.h"
1109 UINT _tx_thread_stack_error_notify(VOID (*stack_error_handler)(TX_THREAD *thread_ptr)) __attribute__((weak));
1110 UINT _tx_thread_stack_error_notify_orig(VOID (*stack_error_handler)(TX_THREAD *thread_ptr)) __attribute__((alias(
"_tx_thread_stack_error_notify")));
1112 #ifdef __IAR_SYSTEMS_ICC__
1113 #pragma weak _tx_thread_stack_error_notify
1114 #pragma weak _tx_thread_stack_error_notify_orig=_tx_thread_stack_error_notify
1119 #ifdef __inside_txe_thread_suspend
1122 #include "tx_thread.h"
1124 UINT _txe_thread_suspend(TX_THREAD *thread_ptr) __attribute__((weak));
1125 UINT _txe_thread_suspend_orig(TX_THREAD *thread_ptr) __attribute__((alias(
"_txe_thread_suspend")));
1127 #ifdef __IAR_SYSTEMS_ICC__
1128 #pragma weak _txe_thread_suspend
1129 #pragma weak _txe_thread_suspend_orig=_txe_thread_suspend
1134 #ifdef __inside_txe_thread_terminate
1137 #include "tx_thread.h"
1139 UINT _txe_thread_terminate(TX_THREAD *thread_ptr) __attribute__((weak));
1140 UINT _txe_thread_terminate_orig(TX_THREAD *thread_ptr) __attribute__((alias(
"_txe_thread_terminate")));
1142 #ifdef __IAR_SYSTEMS_ICC__
1143 #pragma weak _txe_thread_terminate
1144 #pragma weak _txe_thread_terminate_orig=_txe_thread_terminate
1149 #ifdef __inside_tx_thread_time_slice
1152 #include "tx_thread.h"
1154 VOID _tx_thread_time_slice(VOID) __attribute__((weak));
1155 VOID _tx_thread_time_slice_orig(VOID) __attribute((alias(
"_tx_thread_time_slice")));
1157 #ifdef __IAR_SYSTEMS_ICC__
1158 #pragma weak _tx_thread_time_slice
1159 #pragma weak _tx_thread_time_slice_orig=_tx_thread_time_slice
1164 #ifdef __inside_txe_thread_time_slice_change
1167 #include "tx_thread.h"
1169 UINT _txe_thread_time_slice_change(TX_THREAD *thread_ptr, ULONG new_time_slice, ULONG *old_time_slice) __attribute__((weak));
1170 UINT _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")));
1172 #ifdef __IAR_SYSTEMS_ICC__
1173 #pragma weak _txe_thread_time_slice_change
1174 #pragma weak _txe_thread_time_slice_change_orig=_txe_thread_time_slice_change
1179 #ifdef __inside_txe_thread_wait_abort
1182 #include "tx_thread.h"
1184 UINT _txe_thread_wait_abort(TX_THREAD *thread_ptr) __attribute__((weak));
1185 UINT _txe_thread_wait_abort_orig(TX_THREAD *thread_ptr) __attribute__((alias(
"_txe_thread_wait_abort")));
1187 #ifdef __IAR_SYSTEMS_ICC__
1188 #pragma weak _txe_thread_wait_abort
1189 #pragma weak _txe_thread_wait_abort_orig=_txe_thread_wait_abort
1196 #ifdef __inside_tx_time_get
1199 #include "tx_timer.h"
1201 ULONG _tx_time_get(VOID) __attribute__((weak));
1202 ULONG _tx_time_get_orig(VOID) __attribute__((alias(
"_tx_time_get")));
1204 #ifdef __IAR_SYSTEMS_ICC__
1205 #pragma weak _tx_time_get
1206 #pragma weak _tx_time_get_orig=_tx_time_get
1211 #ifdef __inside_tx_time_set
1214 #include "tx_timer.h"
1216 VOID _tx_time_set(ULONG new_time) __attribute((weak));
1217 VOID _tx_time_set_orig(ULONG new_time) __attribute((alias(
"_tx_time_set")));
1219 #ifdef __IAR_SYSTEMS_ICC__
1220 #pragma weak _tx_time_set
1221 #pragma weak _tx_time_set_orig=_tx_time_set
1226 #ifdef __inside_txe_timer_activate
1229 #include "tx_timer.h"
1231 UINT _txe_timer_activate(TX_TIMER *timer_ptr) __attribute__((weak));
1232 UINT _txe_timer_activate_orig(TX_TIMER *timer_ptr) __attribute__((alias(
"_txe_timer_activate")));
1234 #ifdef __IAR_SYSTEMS_ICC__
1235 #pragma weak _txe_timer_activate
1236 #pragma weak _txe_timer_activate_orig=_txe_timer_activate
1241 #ifdef __inside_txe_timer_change
1244 #include "tx_initialize.h"
1245 #include "tx_thread.h"
1246 #include "tx_timer.h"
1248 UINT _txe_timer_change(TX_TIMER *timer_ptr, ULONG initial_ticks, ULONG reschedule_ticks) __attribute__((weak));
1249 UINT _txe_timer_change_orig(TX_TIMER *timer_ptr, ULONG initial_ticks, ULONG reschedule_ticks) __attribute__((alias(
"_txe_timer_change")));
1251 #ifdef __IAR_SYSTEMS_ICC__
1252 #pragma weak _txe_timer_change
1253 #pragma weak _txe_timer_change_orig=_txe_timer_change
1258 #ifdef __inside_txe_timer_create
1261 #include "tx_trace.h"
1262 #include "tx_timer.h"
1264 UINT _txe_timer_create(TX_TIMER *timer_ptr, CHAR *name_ptr,
1265 VOID (*expiration_function)(ULONG
id), ULONG expiration_input,
1266 ULONG initial_ticks, ULONG reschedule_ticks, UINT auto_activate, UINT timer_control_block_size) __attribute__((weak));
1267 UINT _txe_timer_create_orig(TX_TIMER *timer_ptr, CHAR *name_ptr,
1268 VOID (*expiration_function)(ULONG
id), ULONG expiration_input,
1269 ULONG initial_ticks, ULONG reschedule_ticks, UINT auto_activate, UINT timer_control_block_size) __attribute__((alias(
"_txe_timer_create")));
1271 #ifdef __IAR_SYSTEMS_ICC__
1272 #pragma weak _txe_timer_create
1273 #pragma weak _txe_timer_create_orig=_txe_timer_create
1278 #ifdef __inside_txe_timer_deactivate
1281 #include "tx_timer.h"
1283 UINT _txe_timer_deactivate(TX_TIMER *timer_ptr) __attribute__((weak));
1284 UINT _txe_timer_deactivate_orig(TX_TIMER *timer_ptr) __attribute__((alias(
"_txe_timer_deactivate")));
1286 #ifdef __IAR_SYSTEMS_ICC__
1287 #pragma weak _txe_timer_deactivate
1288 #pragma weak _txe_timer_deactivate_orig=_txe_timer_deactivate
1293 #ifdef __inside_txe_timer_delete
1296 #include "tx_thread.h"
1297 #include "tx_timer.h"
1298 #include "tx_trace.h"
1300 UINT _txe_timer_delete(TX_TIMER *timer_ptr) __attribute__((weak));
1301 UINT _txe_timer_delete_orig(TX_TIMER *timer_ptr) __attribute__((alias(
"_txe_timer_delete")));
1303 #ifdef __IAR_SYSTEMS_ICC__
1304 #pragma weak _txe_timer_delete
1305 #pragma weak _txe_timer_delete_orig=_txe_timer_delete
1310 #ifdef __inside_txe_timer_info_get
1313 #include "tx_timer.h"
1314 #include "tx_trace.h"
1316 UINT _txe_timer_info_get(TX_TIMER *timer_ptr, CHAR **name, UINT *active, ULONG *remaining_ticks, ULONG *reschedule_ticks, TX_TIMER **next_timer) __attribute__((weak));
1317 UINT _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")));
1319 #ifdef __IAR_SYSTEMS_ICC__
1320 #pragma weak _txe_timer_info_get
1321 #pragma weak _txe_timer_info_get_orig=_txe_timer_info_get
1326 #ifdef __inside_tx_timer_performance_info_get
1329 #include "tx_timer.h"
1330 #include "tx_trace.h"
1332 UINT _tx_timer_performance_info_get(TX_TIMER *timer_ptr, ULONG *activates, ULONG *reactivates, ULONG *deactivates, ULONG *expirations, ULONG *expiration_adjusts) __attribute__((weak));
1333 UINT _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")));
1335 #ifdef __IAR_SYSTEMS_ICC__
1336 #pragma weak _tx_timer_performance_info_get
1337 #pragma weak _tx_timer_performance_info_get_orig=_tx_timer_performance_info_get
1342 #ifdef __inside_trcEvent
1346 traceResult xTraceEventBeginRawOffline(uint32_t uiSize, TraceEventHandle_t* pxEventHandle) __attribute__((weak));
1347 traceResult xTraceEventBeginRawOffline_orig(uint32_t uiSize, TraceEventHandle_t* pxEventHandle) __attribute__((alias(
"xTraceEventBeginRawOffline")));
1348 traceResult xTraceEventEndOffline(TraceEventHandle_t xEventHandle) __attribute__((weak));
1349 traceResult xTraceEventEndOffline_orig(TraceEventHandle_t xEventHandle) __attribute__((alias(
"xTraceEventEndOffline")));
1351 #ifdef __IAR_SYSTEMS_ICC__
1352 #pragma weak xTraceEventBeginRawOffline
1353 #pragma weak xTraceEventBeginRawOffline_orig=xTraceEventBeginRawOffline
1354 #pragma weak xTraceEventEndOffline
1355 #pragma weak xTraceEventEndOffline_orig=xTraceEventEndOffline
1360 #ifdef __inside_trcISR
1364 traceResult
xTraceISREnd(TraceBaseType_t uxIsTaskSwitchRequired) __attribute__((weak));
1365 traceResult xTraceISREnd_orig(TraceBaseType_t uxIsTaskSwitchRequired) __attribute__((alias(
"xTraceISREnd")));
1367 #ifdef __IAR_SYSTEMS_ICC__
1368 #pragma weak xTraceISREnd
1369 #pragma weak xTraceISREnd_orig=xTraceISREnd