39#define tx_mutex_create internal_tx_mutex_create
41#define tx_mutex_get internal_tx_mutex_get
43#define tx_mutex_put internal_tx_mutex_put
45#define tx_mutex_delete internal_tx_mutex_delete
47#define tx_thread_create internal_tx_thread_create
49#define tx_thread_terminate internal_tx_thread_terminate
51#define tx_thread_delete internal_tx_thread_delete
53#define tx_thread_sleep internal_tx_thread_sleep
55#define tx_time_get internal_tx_time_get
83#define TX_SUCCESS (0U)
85#define TX_NO_INHERIT (0U)
87#define TX_WAIT_FOREVER (0xFFFFFFFFUL)
89#define TX_AUTO_START (1U)
91#define TX_NO_TIME_SLICE (0U)
105typedef enum : uint32_t {
148 if (m != ((
void*)0)) {
243 void (*entry)(
ULONG),
258 (void)preempt_thresh;
261 if (t != ((
void*)0)) {
Annotation-attribute framework macros for ra8-firmware.
#define RA8_INTERNAL
Marker that a function is intended to be static (file-local).
static UINT internal_tx_mutex_create(TX_MUTEX *m, CHAR *name, UINT inherit)
Host stub for tx_mutex_create.
static UINT internal_tx_thread_terminate(TX_THREAD *t)
Host stub for tx_thread_terminate.
unsigned int UINT
ThreadX-compatible unsigned int (host stub).
ra8_wdt_sup_tx_shim_canary_t
Canary patterns stamped into host-stub TX_MUTEX / TX_THREAD blocks.
@ k_ra8_wdt_sup_tx_shim_mutex_canary
Stamped into TX_MUTEX::magic on create.
@ k_ra8_wdt_sup_tx_shim_thread_canary
Stamped into TX_THREAD::magic on create.
static UINT internal_tx_mutex_put(TX_MUTEX *m)
Host stub for tx_mutex_put.
static UINT internal_tx_mutex_delete(TX_MUTEX *m)
Host stub for tx_mutex_delete.
static UINT internal_tx_thread_create(TX_THREAD *t, CHAR *name, void(*entry)(ULONG), ULONG arg, void *stack, ULONG stack_size, UINT prio, UINT preempt_thresh, UINT slice, UINT autostart)
Host stub for tx_thread_create.
static UINT internal_tx_thread_delete(TX_THREAD *t)
Host stub for tx_thread_delete.
static UINT internal_tx_thread_sleep(ULONG ticks)
Host stub for tx_thread_sleep.
static UINT internal_tx_mutex_get(TX_MUTEX *m, ULONG wait)
Host stub for tx_mutex_get.
char CHAR
ThreadX-compatible CHAR (host stub).
unsigned long ULONG
ThreadX-compatible unsigned long (host stub).
static ULONG internal_tx_time_get(void)
Host stub for tx_time_get.
Opaque mutex stand-in for the host build.
uint32_t magic
Sentinel for "created".
Opaque thread stand-in for the host build.
uint32_t magic
Sentinel for "created".