TNeoKernel  v1.02
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros | Typedefs
tn_oldsymbols.h File Reference

Detailed Description

Compatibility layer for old projects that use old TNKernel names; usage of them in new projects is discouraged.

If you're porting your existing application written for TNKernel, it might be useful though.

Included automatially if the option TN_OLD_TNKERNEL_NAMES is set.

Definition in file tn_oldsymbols.h.

Go to the source code of this file.

Macros

#define _CDLL_QUEUE   TN_ListItem
 old TNKernel struct name of TN_ListItem
 
#define _TN_MUTEX   TN_Mutex
 old TNKernel struct name of TN_Mutex
 
#define _TN_DQUE   TN_DQueue
 old TNKernel struct name of TN_DQueue
 
#define _TN_TCB   TN_Task
 old TNKernel struct name of TN_Task
 
#define _TN_FMP   TN_FMem
 old TNKernel struct name of TN_FMem
 
#define _TN_SEM   TN_Sem
 old TNKernel struct name of TN_Sem
 
#define MAKE_ALIG   TN_MAKE_ALIG
 old TNKernel name of TN_MAKE_ALIG macro More...
 
#define TSK_STATE_RUNNABLE   TN_TASK_STATE_RUNNABLE
 old TNKernel name of TN_TASK_STATE_RUNNABLE
 
#define TSK_STATE_WAIT   TN_TASK_STATE_WAIT
 old TNKernel name of TN_TASK_STATE_WAIT
 
#define TSK_STATE_SUSPEND   TN_TASK_STATE_SUSPEND
 old TNKernel name of TN_TASK_STATE_SUSPEND
 
#define TSK_STATE_WAITSUSP   TN_TASK_STATE_WAITSUSP
 old TNKernel name of TN_TASK_STATE_WAITSUSP
 
#define TSK_STATE_DORMANT   TN_TASK_STATE_DORMANT
 old TNKernel name of TN_TASK_STATE_DORMANT
 
#define TN_TASK_START_ON_CREATION   TN_TASK_CREATE_OPT_START
 old TNKernel name of TN_TASK_CREATE_OPT_START
 
#define TN_EXIT_AND_DELETE_TASK   TN_TASK_EXIT_OPT_DELETE
 old TNKernel name of TN_TASK_EXIT_OPT_DELETE
 
#define TN_EVENT_WCOND_AND   TN_EVENTGRP_WMODE_AND
 old TNKernel name of TN_EVENTGRP_WMODE_AND
 
#define TN_EVENT_WCOND_OR   TN_EVENTGRP_WMODE_OR
 old TNKernel name of TN_EVENTGRP_WMODE_OR
 
#define TSK_WAIT_REASON_NONE   TN_WAIT_REASON_NONE
 old TNKernel name of TN_WAIT_REASON_NONE
 
#define TSK_WAIT_REASON_SLEEP   TN_WAIT_REASON_SLEEP
 old TNKernel name of TN_WAIT_REASON_SLEEP
 
#define TSK_WAIT_REASON_SEM   TN_WAIT_REASON_SEM
 old TNKernel name of TN_WAIT_REASON_SEM
 
#define TSK_WAIT_REASON_EVENT   TN_WAIT_REASON_EVENT
 old TNKernel name of TN_WAIT_REASON_EVENT
 
#define TSK_WAIT_REASON_DQUE_WSEND   TN_WAIT_REASON_DQUE_WSEND
 old TNKernel name of TN_WAIT_REASON_DQUE_WSEND
 
#define TSK_WAIT_REASON_DQUE_WRECEIVE   TN_WAIT_REASON_DQUE_WRECEIVE
 old TNKernel name of TN_WAIT_REASON_DQUE_WRECEIVE
 
#define TSK_WAIT_REASON_MUTEX_C   TN_WAIT_REASON_MUTEX_C
 old TNKernel name of TN_WAIT_REASON_MUTEX_C
 
#define TSK_WAIT_REASON_MUTEX_I   TN_WAIT_REASON_MUTEX_I
 old TNKernel name of TN_WAIT_REASON_MUTEX_I
 
#define TSK_WAIT_REASON_WFIXMEM   TN_WAIT_REASON_WFIXMEM
 old TNKernel name of TN_WAIT_REASON_WFIXMEM
 
#define TERR_NO_ERR   TN_RC_OK
 old TNKernel name of TN_RC_OK
 
#define TERR_OVERFLOW   TN_RC_OVERFLOW
 old TNKernel name of TN_RC_OVERFLOW
 
#define TERR_WCONTEXT   TN_RC_WCONTEXT
 old TNKernel name of TN_RC_WCONTEXT
 
#define TERR_WSTATE   TN_RC_WSTATE
 old TNKernel name of TN_RC_WSTATE
 
#define TERR_TIMEOUT   TN_RC_TIMEOUT
 old TNKernel name of TN_RC_TIMEOUT
 
#define TERR_WRONG_PARAM   TN_RC_WPARAM
 old TNKernel name of TN_RC_WPARAM
 
#define TERR_ILUSE   TN_RC_ILLEGAL_USE
 old TNKernel name of TN_RC_ILLEGAL_USE
 
#define TERR_NOEXS   TN_RC_INVALID_OBJ
 old TNKernel name of TN_RC_INVALID_OBJ
 
#define TERR_DLT   TN_RC_DELETED
 old TNKernel name of TN_RC_DELETED
 
#define TERR_FORCED   TN_RC_FORCED
 old TNKernel name of TN_RC_FORCED
 
#define TERR_INTERNAL   TN_RC_INTERNAL
 old TNKernel name of TN_RC_INTERNAL
 
#define TN_MUTEX_ATTR_CEILING   TN_MUTEX_PROT_CEILING
 old TNKernel name of TN_MUTEX_PROT_CEILING
 
#define TN_MUTEX_ATTR_INHERIT   TN_MUTEX_PROT_INHERIT
 old TNKernel name of TN_MUTEX_PROT_INHERIT
 
#define tn_sem_polling   tn_sem_acquire_polling
 old TNKernel name of tn_sem_acquire_polling
 
#define tn_sem_ipolling   tn_sem_iacquire_polling
 old TNKernel name of tn_sem_iacquire_polling
 
#define tn_sem_acquire   tn_sem_wait
 old name of tn_sem_wait
 
#define tn_sem_acquire_polling   tn_sem_wait_polling
 old name of tn_sem_wait_polling
 
#define tn_sem_iacquire_polling   tn_sem_iwait_polling
 old name of tn_sem_iwait_polling
 
#define tn_fmem_get_ipolling   tn_fmem_iget_polling
 old TNKernel name of tn_fmem_iget_polling
 
#define tn_queue_ireceive   tn_queue_ireceive_polling
 old TNKernel name of tn_queue_ireceive_polling
 
#define tn_start_system   tn_sys_start
 old TNKernel name of tn_sys_start
 
#define tn_sys_tslice_ticks   tn_sys_tslice_set
 old TNKernel name of tn_sys_tslice_set
 
#define align_attr_start   TN_ARCH_STK_ATTR_BEFORE
 old TNKernel name of TN_ARCH_STK_ATTR_BEFORE
 
#define align_attr_end   TN_ARCH_STK_ATTR_AFTER
 old TNKernel name of TN_ARCH_STK_ATTR_AFTER
 
#define tn_cpu_int_disable   tn_arch_int_dis
 old TNKernel name of tn_arch_int_dis
 
#define tn_cpu_int_enable   tn_arch_int_en
 old TNKernel name of tn_arch_int_en
 
#define tn_cpu_save_sr   tn_arch_sr_save_int_dis
 old TNKernel name of tn_arch_sr_save_int_dis
 
#define tn_cpu_restore_sr   tn_arch_sr_restore
 old TNKernel name of tn_arch_sr_restore
 
#define tn_disable_interrupt   TN_INT_DIS_SAVE
 old TNKernel name of TN_INT_DIS_SAVE
 
#define tn_enable_interrupt   TN_INT_RESTORE
 old TNKernel name of TN_INT_RESTORE
 
#define tn_idisable_interrupt   TN_INT_IDIS_SAVE
 old TNKernel name of TN_INT_IDIS_SAVE
 
#define tn_ienable_interrupt   TN_INT_IRESTORE
 old TNKernel name of TN_INT_IRESTORE
 
#define tn_chk_irq_disabled   TN_IS_INT_DISABLED
 old TNKernel name of TN_IS_INT_DISABLED
 
#define TN_NUM_PRIORITY   TN_PRIORITIES_CNT
 old TNKernel name of TN_PRIORITIES_CNT
 
#define _TN_BITS_IN_INT   TN_INT_WIDTH
 old TNKernel name of TN_INT_WIDTH
 
#define TN_ALIG   sizeof(TN_UWord)
 old TNKernel name for sizeof(TN_UWord)
 

Typedefs

typedef struct TN_ListItem CDLL_QUEUE
 old TNKernel name of TN_ListItem
 
typedef struct TN_Mutex TN_MUTEX
 old TNKernel name of TN_Mutex
 
typedef struct TN_DQueue TN_DQUE
 old TNKernel name of TN_DQueue
 
typedef struct TN_Task TN_TCB
 old TNKernel name of TN_Task
 
typedef struct TN_FMem TN_FMP
 old TNKernel name of TN_FMem
 
typedef struct TN_Sem TN_SEM
 old TNKernel name of TN_Sem
 

Macro Definition Documentation

#define MAKE_ALIG   TN_MAKE_ALIG

old TNKernel name of TN_MAKE_ALIG macro

Attention
it is recommended to use TN_MAKE_ALIG_SIZE macro instead of this one, in order to avoid confusion caused by various TNKernel ports: refer to the section Macro MAKE_ALIG() for details.

Definition at line 140 of file tn_oldsymbols.h.