Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 16 additions & 15 deletions common/inc/tx_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -2101,6 +2101,15 @@ VOID _tx_misra_thread_entry_exit_notify_not_used(VOID (*threa
/* Define safety critical configuration and exception handling. */

#ifdef TX_SAFETY_CRITICAL
#ifndef TX_SAFETY_CRITICAL_BUILD_CHECK
#define TX_SAFETY_CRITICAL_BUILD_CHECK
#endif
#ifndef TX_SAFETY_CRITICAL_EXCEPTION_ENABLE
#define TX_SAFETY_CRITICAL_EXCEPTION_ENABLE
#endif
#endif

#ifdef TX_SAFETY_CRITICAL_BUILD_CHECK

/* Ensure the maximum number of priorities is defined in safety critical mode. */
#ifndef TX_MAX_PRIORITIES
Expand Down Expand Up @@ -2132,11 +2141,6 @@ VOID _tx_misra_thread_entry_exit_notify_not_used(VOID (*threa
#error "TX_DISABLE_STACK_FILLING must not be defined."
#endif

/* Ensure enable stack checking is not defined. */
#ifdef TX_ENABLE_STACK_CHECKING
#error "TX_ENABLE_STACK_CHECKING must not be defined."
#endif

/* Ensure disable preemption-threshold is not defined. */
#ifdef TX_DISABLE_PREEMPTION_THRESHOLD
#error "TX_DISABLE_PREEMPTION_THRESHOLD must not be defined."
Expand All @@ -2152,11 +2156,6 @@ VOID _tx_misra_thread_entry_exit_notify_not_used(VOID (*threa
#error "TX_NO_TIMER must not be defined."
#endif

/* Ensure disable notify callbacks is not defined. */
#ifdef TX_DISABLE_NOTIFY_CALLBACKS
#error "TX_DISABLE_NOTIFY_CALLBACKS must not be defined."
#endif

/* Ensure in-line thread suspend/resume is not defined. */
#ifdef TX_INLINE_THREAD_RESUME_SUSPEND
#error "TX_INLINE_THREAD_RESUME_SUSPEND must not be defined."
Expand All @@ -2167,11 +2166,6 @@ VOID _tx_misra_thread_entry_exit_notify_not_used(VOID (*threa
#error "TX_NOT_INTERRUPTABLE must not be defined."
#endif

/* Ensure event trace enable is not defined. */
#ifdef TX_ENABLE_EVENT_TRACE
#error "TX_ENABLE_EVENT_TRACE must not be defined."
#endif

/* Ensure block pool performance info enable is not defined. */
#ifdef TX_BLOCK_POOL_ENABLE_PERFORMANCE_INFO
#error "TX_BLOCK_POOL_ENABLE_PERFORMANCE_INFO must not be defined."
Expand Down Expand Up @@ -2212,6 +2206,10 @@ VOID _tx_misra_thread_entry_exit_notify_not_used(VOID (*threa
#error "TX_TIMER_ENABLE_PERFORMANCE_INFO must not be defined."
#endif

#endif


#if defined(TX_SAFETY_CRITICAL) || defined(TX_SAFETY_CRITICAL_EXCEPTION_ENABLE)

/* Now define the safety critical exception handler. */

Expand All @@ -2225,6 +2223,9 @@ VOID _tx_safety_critical_exception_handler(CHAR *file_name, INT line_number,
#ifndef TX_SAFETY_CRITICAL_EXCEPTION_HANDLER
#define TX_SAFETY_CRITICAL_EXCEPTION_HANDLER VOID _tx_safety_critical_exception_handler(CHAR *file_name, INT line_number, UINT status) \
{ \
TX_PARAMETER_NOT_USED(file_name); \
TX_PARAMETER_NOT_USED(line_number); \
TX_PARAMETER_NOT_USED(status); \
while(1) \
{ \
} \
Expand Down
4 changes: 2 additions & 2 deletions common/src/tx_initialize_kernel_enter.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ extern VOID _tx_execution_initialize(VOID);
TX_PORT_SPECIFIC_DATA


#ifdef TX_SAFETY_CRITICAL
#if defined(TX_SAFETY_CRITICAL) || defined(TX_SAFETY_CRITICAL_EXCEPTION_ENABLE)
TX_SAFETY_CRITICAL_EXCEPTION_HANDLER
#endif

Expand Down Expand Up @@ -147,7 +147,7 @@ VOID _tx_initialize_kernel_enter(VOID)
/* Enter the scheduling loop to start executing threads! */
_tx_thread_schedule();

#ifdef TX_SAFETY_CRITICAL
#if defined(TX_SAFETY_CRITICAL) || defined(TX_SAFETY_CRITICAL_EXCEPTION_ENABLE)

/* If we ever get here, raise safety critical exception. */
TX_SAFETY_CRITICAL_EXCEPTION(__FILE__, __LINE__, 0);
Expand Down
2 changes: 1 addition & 1 deletion common/src/tx_thread_shell_entry.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ VOID (*entry_exit_notify)(TX_THREAD *notify_thread_ptr, UINT type);
#endif


#ifdef TX_SAFETY_CRITICAL
#if defined(TX_SAFETY_CRITICAL) || defined(TX_SAFETY_CRITICAL_EXCEPTION_ENABLE)

/* If we ever get here, raise safety critical exception. */
TX_SAFETY_CRITICAL_EXCEPTION(__FILE__, __LINE__, 0);
Expand Down
2 changes: 1 addition & 1 deletion common/src/tx_timer_initialize.c
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ UINT status;
_tx_timer_priority, _tx_timer_priority, TX_NO_TIME_SLICE, TX_DONT_START);


#ifdef TX_SAFETY_CRITICAL
#if defined(TX_SAFETY_CRITICAL) || defined(TX_SAFETY_CRITICAL_EXCEPTION_ENABLE)

/* Check return from thread create - if an error is detected throw an exception. */
if (status != TX_SUCCESS)
Expand Down
2 changes: 1 addition & 1 deletion common/src/tx_timer_thread_entry.c
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ TX_TIMER *timer_ptr;
}
}

#ifdef TX_SAFETY_CRITICAL
#if defined(TX_SAFETY_CRITICAL) || defined(TX_SAFETY_CRITICAL_EXCEPTION_ENABLE)

/* If we ever get here, raise safety critical exception. */
TX_SAFETY_CRITICAL_EXCEPTION(__FILE__, __LINE__, 0);
Expand Down
31 changes: 16 additions & 15 deletions common_smp/inc/tx_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -2110,6 +2110,15 @@ VOID _tx_misra_thread_entry_exit_notify_not_used(VOID (*threa
/* Define safety critical configuration and exception handling. */

#ifdef TX_SAFETY_CRITICAL
#ifndef TX_SAFETY_CRITICAL_BUILD_CHECK
#define TX_SAFETY_CRITICAL_BUILD_CHECK
#endif
#ifndef TX_SAFETY_CRITICAL_EXCEPTION_ENABLE
#define TX_SAFETY_CRITICAL_EXCEPTION_ENABLE
#endif
#endif

#ifdef TX_SAFETY_CRITICAL_BUILD_CHECK

/* Ensure the maximum number of priorities is defined in safety critical mode. */
#ifndef TX_MAX_PRIORITIES
Expand Down Expand Up @@ -2141,11 +2150,6 @@ VOID _tx_misra_thread_entry_exit_notify_not_used(VOID (*threa
#error "TX_DISABLE_STACK_FILLING must not be defined."
#endif

/* Ensure enable stack checking is not defined. */
#ifdef TX_ENABLE_STACK_CHECKING
#error "TX_ENABLE_STACK_CHECKING must not be defined."
#endif

/* Ensure disable preemption-threshold is not defined. */
#ifdef TX_DISABLE_PREEMPTION_THRESHOLD
#error "TX_DISABLE_PREEMPTION_THRESHOLD must not be defined."
Expand All @@ -2161,11 +2165,6 @@ VOID _tx_misra_thread_entry_exit_notify_not_used(VOID (*threa
#error "TX_NO_TIMER must not be defined."
#endif

/* Ensure disable notify callbacks is not defined. */
#ifdef TX_DISABLE_NOTIFY_CALLBACKS
#error "TX_DISABLE_NOTIFY_CALLBACKS must not be defined."
#endif

/* Ensure in-line thread suspend/resume is not defined. */
#ifdef TX_INLINE_THREAD_RESUME_SUSPEND
#error "TX_INLINE_THREAD_RESUME_SUSPEND must not be defined."
Expand All @@ -2176,11 +2175,6 @@ VOID _tx_misra_thread_entry_exit_notify_not_used(VOID (*threa
#error "TX_NOT_INTERRUPTABLE must not be defined."
#endif

/* Ensure event trace enable is not defined. */
#ifdef TX_ENABLE_EVENT_TRACE
#error "TX_ENABLE_EVENT_TRACE must not be defined."
#endif

/* Ensure block pool performance info enable is not defined. */
#ifdef TX_BLOCK_POOL_ENABLE_PERFORMANCE_INFO
#error "TX_BLOCK_POOL_ENABLE_PERFORMANCE_INFO must not be defined."
Expand Down Expand Up @@ -2221,6 +2215,10 @@ VOID _tx_misra_thread_entry_exit_notify_not_used(VOID (*threa
#error "TX_TIMER_ENABLE_PERFORMANCE_INFO must not be defined."
#endif

#endif


#if defined(TX_SAFETY_CRITICAL) || defined(TX_SAFETY_CRITICAL_EXCEPTION_ENABLE)

/* Now define the safety critical exception handler. */

Expand All @@ -2234,6 +2232,9 @@ VOID _tx_safety_critical_exception_handler(CHAR *file_name, INT line_number,
#ifndef TX_SAFETY_CRITICAL_EXCEPTION_HANDLER
#define TX_SAFETY_CRITICAL_EXCEPTION_HANDLER VOID _tx_safety_critical_exception_handler(CHAR *file_name, INT line_number, UINT status) \
{ \
TX_PARAMETER_NOT_USED(file_name); \
TX_PARAMETER_NOT_USED(line_number); \
TX_PARAMETER_NOT_USED(status); \
while(1) \
{ \
} \
Expand Down
4 changes: 2 additions & 2 deletions common_smp/src/tx_initialize_kernel_enter.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
TX_PORT_SPECIFIC_DATA


#ifdef TX_SAFETY_CRITICAL
#if defined(TX_SAFETY_CRITICAL) || defined(TX_SAFETY_CRITICAL_EXCEPTION_ENABLE)
TX_SAFETY_CRITICAL_EXCEPTION_HANDLER
#endif

Expand Down Expand Up @@ -176,7 +176,7 @@ ULONG other_core_status, i;
/* Enter the scheduling loop to start executing threads! */
_tx_thread_schedule();

#ifdef TX_SAFETY_CRITICAL
#if defined(TX_SAFETY_CRITICAL) || defined(TX_SAFETY_CRITICAL_EXCEPTION_ENABLE)

/* If we ever get here, raise safety critical exception. */
TX_SAFETY_CRITICAL_EXCEPTION(__FILE__, __LINE__, 0);
Expand Down
2 changes: 1 addition & 1 deletion common_smp/src/tx_thread_shell_entry.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ VOID (*entry_exit_notify)(TX_THREAD *notify_thread_ptr, UINT type);
#endif


#ifdef TX_SAFETY_CRITICAL
#if defined(TX_SAFETY_CRITICAL) || defined(TX_SAFETY_CRITICAL_EXCEPTION_ENABLE)

/* If we ever get here, raise safety critical exception. */
TX_SAFETY_CRITICAL_EXCEPTION(__FILE__, __LINE__, 0);
Expand Down
2 changes: 1 addition & 1 deletion common_smp/src/tx_timer_thread_entry.c
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ UINT status;
}
}

#ifdef TX_SAFETY_CRITICAL
#if defined(TX_SAFETY_CRITICAL) || defined(TX_SAFETY_CRITICAL_EXCEPTION_ENABLE)

/* If we ever get here, raise safety critical exception. */
TX_SAFETY_CRITICAL_EXCEPTION(__FILE__, __LINE__, 0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ VOID _txm_module_thread_shell_entry(TX_THREAD *thread_ptr, TXM_MODULE_THREAD_EN
/* Call actual thread suspension routine. */
_txm_module_thread_system_suspend(thread_ptr);

#ifdef TX_SAFETY_CRITICAL
#if defined(TX_SAFETY_CRITICAL) || defined(TX_SAFETY_CRITICAL_EXCEPTION_ENABLE)

/* If we ever get here, raise safety critical exception. */
TX_SAFETY_CRITICAL_EXCEPTION(__FILE__, __LINE__, 0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ VOID _txm_module_thread_shell_entry(TX_THREAD *thread_ptr, TXM_MODULE_THREAD_EN
/* Call actual thread suspension routine. */
_txm_module_thread_system_suspend(thread_ptr);

#ifdef TX_SAFETY_CRITICAL
#if defined(TX_SAFETY_CRITICAL) || defined(TX_SAFETY_CRITICAL_EXCEPTION_ENABLE)

/* If we ever get here, raise safety critical exception. */
TX_SAFETY_CRITICAL_EXCEPTION(__FILE__, __LINE__, 0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ VOID _txm_module_thread_shell_entry(TX_THREAD *thread_ptr, TXM_MODULE_THREAD_EN
/* Call actual thread suspension routine. */
_txm_module_thread_system_suspend(thread_ptr);

#ifdef TX_SAFETY_CRITICAL
#if defined(TX_SAFETY_CRITICAL) || defined(TX_SAFETY_CRITICAL_EXCEPTION_ENABLE)

/* If we ever get here, raise safety critical exception. */
TX_SAFETY_CRITICAL_EXCEPTION(__FILE__, __LINE__, 0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ VOID _txm_module_thread_shell_entry(TX_THREAD *thread_ptr, TXM_MODULE_THREAD_EN
/* Call actual thread suspension routine. */
_txm_module_thread_system_suspend(thread_ptr);

#ifdef TX_SAFETY_CRITICAL
#if defined(TX_SAFETY_CRITICAL) || defined(TX_SAFETY_CRITICAL_EXCEPTION_ENABLE)

/* If we ever get here, raise safety critical exception. */
TX_SAFETY_CRITICAL_EXCEPTION(__FILE__, __LINE__, 0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ VOID (*entry_exit_notify)(TX_THREAD *notify_thread_ptr, UINT type);
/* Call actual thread suspension routine. */
_txm_module_thread_system_suspend(thread_ptr);

#ifdef TX_SAFETY_CRITICAL
#if defined(TX_SAFETY_CRITICAL) || defined(TX_SAFETY_CRITICAL_EXCEPTION_ENABLE)

/* If we ever get here, raise safety critical exception. */
TX_SAFETY_CRITICAL_EXCEPTION(__FILE__, __LINE__, 0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ VOID (*entry_exit_notify)(TX_THREAD *notify_thread_ptr, UINT type);
/* Call actual thread suspension routine. */
_txm_module_thread_system_suspend(thread_ptr);

#ifdef TX_SAFETY_CRITICAL
#if defined(TX_SAFETY_CRITICAL) || defined(TX_SAFETY_CRITICAL_EXCEPTION_ENABLE)

/* If we ever get here, raise safety critical exception. */
TX_SAFETY_CRITICAL_EXCEPTION(__FILE__, __LINE__, 0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ VOID (*entry_exit_notify)(TX_THREAD *notify_thread_ptr, UINT type);
/* Call actual thread suspension routine. */
_txm_module_thread_system_suspend(thread_ptr);

#ifdef TX_SAFETY_CRITICAL
#if defined(TX_SAFETY_CRITICAL) || defined(TX_SAFETY_CRITICAL_EXCEPTION_ENABLE)

/* If we ever get here, raise safety critical exception. */
TX_SAFETY_CRITICAL_EXCEPTION(__FILE__, __LINE__, 0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ VOID (*entry_exit_notify)(TX_THREAD *notify_thread_ptr, UINT type);
/* Call actual thread suspension routine. */
_txm_module_thread_system_suspend(thread_ptr);

#ifdef TX_SAFETY_CRITICAL
#if defined(TX_SAFETY_CRITICAL) || defined(TX_SAFETY_CRITICAL_EXCEPTION_ENABLE)

/* If we ever get here, raise safety critical exception. */
TX_SAFETY_CRITICAL_EXCEPTION(__FILE__, __LINE__, 0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ VOID _txm_module_thread_shell_entry(TX_THREAD *thread_ptr, TXM_MODULE_THREAD_EN
/* Call actual thread suspension routine. */
_txm_module_thread_system_suspend(thread_ptr);

#ifdef TX_SAFETY_CRITICAL
#if defined(TX_SAFETY_CRITICAL) || defined(TX_SAFETY_CRITICAL_EXCEPTION_ENABLE)

/* If we ever get here, raise safety critical exception. */
TX_SAFETY_CRITICAL_EXCEPTION(__FILE__, __LINE__, 0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ VOID (*entry_exit_notify)(TX_THREAD *, UINT);
/* Call actual thread suspension routine. */
_txm_module_thread_system_suspend(thread_ptr);

#ifdef TX_SAFETY_CRITICAL
#if defined(TX_SAFETY_CRITICAL) || defined(TX_SAFETY_CRITICAL_EXCEPTION_ENABLE)

/* If we ever get here, raise safety critical exception. */
TX_SAFETY_CRITICAL_EXCEPTION(__FILE__, __LINE__, 0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ VOID _txm_module_thread_shell_entry(TX_THREAD *thread_ptr, TXM_MODULE_THREAD_EN
/* Call actual thread suspension routine. */
_txm_module_thread_system_suspend(thread_ptr);

#ifdef TX_SAFETY_CRITICAL
#if defined(TX_SAFETY_CRITICAL) || defined(TX_SAFETY_CRITICAL_EXCEPTION_ENABLE)

/* If we ever get here, raise safety critical exception. */
TX_SAFETY_CRITICAL_EXCEPTION(__FILE__, __LINE__, 0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ VOID _txm_module_thread_shell_entry(TX_THREAD *thread_ptr, TXM_MODULE_THREAD_EN
/* Call actual thread suspension routine. */
_txm_module_thread_system_suspend(thread_ptr);

#ifdef TX_SAFETY_CRITICAL
#if defined(TX_SAFETY_CRITICAL) || defined(TX_SAFETY_CRITICAL_EXCEPTION_ENABLE)

/* If we ever get here, raise safety critical exception. */
TX_SAFETY_CRITICAL_EXCEPTION(__FILE__, __LINE__, 0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ VOID _txm_module_thread_shell_entry(TX_THREAD *thread_ptr, TXM_MODULE_THREAD_EN
/* Call actual thread suspension routine. */
_txm_module_thread_system_suspend(thread_ptr);

#ifdef TX_SAFETY_CRITICAL
#if defined(TX_SAFETY_CRITICAL) || defined(TX_SAFETY_CRITICAL_EXCEPTION_ENABLE)

/* If we ever get here, raise safety critical exception. */
TX_SAFETY_CRITICAL_EXCEPTION(__FILE__, __LINE__, 0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ VOID _txm_module_thread_shell_entry(TX_THREAD *thread_ptr, TXM_MODULE_THREAD_EN
/* Call actual thread suspension routine. */
_txm_module_thread_system_suspend(thread_ptr);

#ifdef TX_SAFETY_CRITICAL
#if defined(TX_SAFETY_CRITICAL) || defined(TX_SAFETY_CRITICAL_EXCEPTION_ENABLE)

/* If we ever get here, raise safety critical exception. */
TX_SAFETY_CRITICAL_EXCEPTION(__FILE__, __LINE__, 0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ VOID _txm_module_thread_shell_entry(TX_THREAD *thread_ptr, TXM_MODULE_THREAD_EN
/* Call actual thread suspension routine. */
_txm_module_thread_system_suspend(thread_ptr);

#ifdef TX_SAFETY_CRITICAL
#if defined(TX_SAFETY_CRITICAL) || defined(TX_SAFETY_CRITICAL_EXCEPTION_ENABLE)

/* If we ever get here, raise safety critical exception. */
TX_SAFETY_CRITICAL_EXCEPTION(__FILE__, __LINE__, 0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ VOID _txm_module_thread_shell_entry(TX_THREAD *thread_ptr, TXM_MODULE_THREAD_EN
/* Call actual thread suspension routine. */
_txm_module_thread_system_suspend(thread_ptr);

#ifdef TX_SAFETY_CRITICAL
#if defined(TX_SAFETY_CRITICAL) || defined(TX_SAFETY_CRITICAL_EXCEPTION_ENABLE)

/* If we ever get here, raise safety critical exception. */
TX_SAFETY_CRITICAL_EXCEPTION(__FILE__, __LINE__, 0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ VOID _txm_module_thread_shell_entry(TX_THREAD *thread_ptr, TXM_MODULE_THREAD_EN
/* Call actual thread suspension routine. */
_txm_module_thread_system_suspend(thread_ptr);

#ifdef TX_SAFETY_CRITICAL
#if defined(TX_SAFETY_CRITICAL) || defined(TX_SAFETY_CRITICAL_EXCEPTION_ENABLE)

/* If we ever get here, raise safety critical exception. */
TX_SAFETY_CRITICAL_EXCEPTION(__FILE__, __LINE__, 0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ VOID _txm_module_thread_shell_entry(TX_THREAD *thread_ptr, TXM_MODULE_THREAD_EN
/* Call actual thread suspension routine. */
_txm_module_thread_system_suspend(thread_ptr);

#ifdef TX_SAFETY_CRITICAL
#if defined(TX_SAFETY_CRITICAL) || defined(TX_SAFETY_CRITICAL_EXCEPTION_ENABLE)

/* If we ever get here, raise safety critical exception. */
TX_SAFETY_CRITICAL_EXCEPTION(__FILE__, __LINE__, 0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ VOID _txm_module_thread_shell_entry(TX_THREAD *thread_ptr, TXM_MODULE_THREAD_EN
/* Call actual thread suspension routine. */
_txm_module_thread_system_suspend(thread_ptr);

#ifdef TX_SAFETY_CRITICAL
#if defined(TX_SAFETY_CRITICAL) || defined(TX_SAFETY_CRITICAL_EXCEPTION_ENABLE)

/* If we ever get here, raise safety critical exception. */
TX_SAFETY_CRITICAL_EXCEPTION(__FILE__, __LINE__, 0);
Expand Down
Loading