109 lines
3.3 KiBLFS
ObjectPascal
109 lines
3.3 KiBLFS
ObjectPascal
//PPC Version : V2.1.9.30
|
|
//PPL Source File Name : X:\tavor\Arbel\obj_PMD2NONE\prepass_results\fsm_app.ppp
|
|
//PPL Source File Name : X:\\genlib\\fsm\\src\\fsm_app.c
|
|
typedef unsigned int size_t ;
|
|
typedef unsigned char BOOL ;
|
|
typedef unsigned char UINT8 ;
|
|
typedef unsigned short UINT16 ;
|
|
typedef unsigned long UINT32 ;
|
|
typedef char CHAR ;
|
|
typedef signed char INT8 ;
|
|
typedef signed short INT16 ;
|
|
typedef signed long INT32 ;
|
|
typedef unsigned char Bool ;
|
|
typedef UINT8 BYTE ;
|
|
typedef UINT8 UBYTE ;
|
|
typedef UINT16 UWORD ;
|
|
typedef UINT16 WORD ;
|
|
typedef INT16 SWORD ;
|
|
typedef UINT32 DWORD ;
|
|
typedef unsigned long long UINT64 ;
|
|
typedef void* VOID_PTR ;
|
|
typedef char CHAR ;
|
|
typedef unsigned char UCHAR ;
|
|
typedef int INT ;
|
|
typedef unsigned int UINT ;
|
|
typedef long LONG ;
|
|
typedef unsigned long ULONG ;
|
|
typedef short SHORT ;
|
|
typedef unsigned short USHORT ;
|
|
//ICAT EXPORTED ENUM
|
|
typedef enum
|
|
{
|
|
OSA_TASK_READY ,
|
|
OSA_TASK_COMPLETED ,
|
|
OSA_TASK_TERMINATED ,
|
|
OSA_TASK_SUSPENDED ,
|
|
OSA_TASK_SLEEP ,
|
|
OSA_TASK_QUEUE_SUSP ,
|
|
OSA_TASK_SEMAPHORE_SUSP ,
|
|
OSA_TASK_EVENT_FLAG ,
|
|
OSA_TASK_BLOCK_MEMORY ,
|
|
OSA_TASK_MUTEX_SUSP ,
|
|
OSA_TASK_STATE_UNKNOWN ,
|
|
} OSA_TASK_STATE;
|
|
|
|
//ICAT EXPORTED STRUCT
|
|
typedef struct OSA_TASK_STRUCT
|
|
{
|
|
char *task_name ; /* Pointer to thread ' s name */
|
|
unsigned int task_priority ; /* Priority of thread ( 0 -255 ) */
|
|
unsigned long task_stack_def_val ; /* default vaule of thread */
|
|
OSA_TASK_STATE task_state ; /* Thread ' s execution state */
|
|
unsigned long task_stack_ptr ; /* Thread ' s stack pointer */
|
|
unsigned long task_stack_start ; /* Stack starting address */
|
|
unsigned long task_stack_end ; /* Stack ending address */
|
|
unsigned long task_stack_size ; /* Stack size */
|
|
unsigned long task_run_count ; /* Thread ' s run counter */
|
|
|
|
} OSA_TASK;
|
|
|
|
typedef void *OsaRefT ;
|
|
typedef UINT8 OSA_STATUS ;
|
|
typedef UINT8 OS_STATUS ;
|
|
typedef void* OS_HISR ;
|
|
typedef void* OSATaskRef ;
|
|
typedef void* OSAHISRRef ;
|
|
typedef void* OSASemaRef ;
|
|
typedef void* OSAMutexRef ;
|
|
typedef void* OSAMsgQRef ;
|
|
typedef void* OSAMailboxQRef ;
|
|
typedef void* OSAPoolRef ;
|
|
typedef void* OSATimerRef ;
|
|
typedef void* OSAFlagRef ;
|
|
typedef void* OSAPartitionPoolRef ;
|
|
typedef void* OSTaskRef ;
|
|
typedef void* OSSemaRef ;
|
|
typedef void* OSMutexRef ;
|
|
typedef void* OSMsgQRef ;
|
|
typedef void* OSMailboxQRef ;
|
|
typedef void* OSPoolRef ;
|
|
typedef void* OSTimerRef ;
|
|
typedef void* OSFlagRef ;
|
|
typedef UINT8 OS_STATUS ;
|
|
typedef OsaTimerStatusParamsT OSATimerStatus ;
|
|
typedef void* OSATaskRef ;
|
|
typedef void* OSAHISRRef ;
|
|
typedef void* OSAMsgQRef ;
|
|
typedef void* OSAMailboxQRef ;
|
|
typedef void* OSAPartitionPoolRef ;
|
|
typedef UINT8 OS_STATUS ;
|
|
typedef unsigned long UNSIGNED ;
|
|
typedef long SIGNED ;
|
|
typedef unsigned char DATA_ELEMENT ;
|
|
typedef DATA_ELEMENT OPTION ;
|
|
typedef DATA_ELEMENT BOOLEAN ;
|
|
typedef int STATUS ;
|
|
typedef unsigned char UNSIGNED_CHAR ;
|
|
typedef unsigned int UNSIGNED_INT ;
|
|
typedef int INT ;
|
|
typedef unsigned long * UNSIGNED_PTR ;
|
|
typedef unsigned char * BYTE_PTR ;
|
|
typedef UINT8 FSMState ;
|
|
typedef UINT8 FSMEvent ;
|
|
typedef UINT8 FSMAction ;
|
|
typedef const UINT8* FSMStateTable ;
|
|
typedef FSMDescriptor* FSMPtr ;
|
|
typedef BOOL ( *FSMActionFunc ) ( FSMPtr fsm ) ;
|
|
typedef const FSMActionFunc* FSMActionFuncTable ;
|