typedef signed char int8_t; typedef unsigned char uint8_t; typedef short int16_t; typedef unsigned short uint16_t; typedef int int32_t; typedef unsigned int uint32_t; typedef __int40_t int40_t; typedef unsigned __int40_t uint40_t; typedef long long int64_t; typedef unsigned long long uint64_t; typedef int8_t int_least8_t; typedef uint8_t uint_least8_t; typedef int16_t int_least16_t; typedef uint16_t uint_least16_t; typedef int32_t int_least32_t; typedef uint32_t uint_least32_t; typedef int40_t int_least40_t; typedef uint40_t uint_least40_t; typedef int64_t int_least64_t; typedef uint64_t uint_least64_t; typedef int32_t int_fast8_t; typedef uint32_t uint_fast8_t; typedef int32_t int_fast16_t; typedef uint32_t uint_fast16_t; typedef int32_t int_fast32_t; typedef uint32_t uint_fast32_t; typedef int40_t int_fast40_t; typedef uint40_t uint_fast40_t; typedef int64_t int_fast64_t; typedef uint64_t uint_fast64_t; typedef int intptr_t; typedef unsigned int uintptr_t; typedef long long intmax_t; typedef unsigned long long uintmax_t; typedef char char_t; typedef float float32_t; typedef double float64_t; enum error_codes_t { EC_OK = 0x00, EC_TASK_CREATE_FAILED = 0x01, EC_TASK_INITALIZE_FAILED = 0x02, EC_TASK_INITALIZE_TIMEOUT = 0x03, EC_TASK_UNDEFINED = 0x04, EC_MUTEX_CREATE_FAILED = 0x10, EC_CONFIGURATION_FAILED = 0x20, EC_CONFIGURATION_REBOOT_REQ = 0x21, EC_CONFIGURATION_INTACT = 0x22 }; enum message_channel_t { MSG_CONTROL_CHANNEL = 0, MSG_STATUS_CHANNEL, MSG_MESSAGE_CHANNEL, MSG_CONFIG_CHANNEL, MSG_ALARM_CHANNEL, MSG_PROXY_CHANNEL, MSG_DATA_CHANNEL, MSG_DEBUG_CHANNEL, MSG_COMMAND_CHANNEL, MSG_SYSLOG_CHANNEL, MSG_NUMBER_OF_CHANNELS }; namespace std { typedef char *va_list; } using std::va_list; extern "C" namespace std { typedef int ptrdiff_t; typedef unsigned size_t; } using std::ptrdiff_t; using std::size_t; typedef char xdc_Char; typedef unsigned char xdc_UChar; typedef short xdc_Short; typedef unsigned short xdc_UShort; typedef int xdc_Int; typedef unsigned int xdc_UInt; typedef long xdc_Long; typedef unsigned long xdc_ULong; typedef float xdc_Float; typedef double xdc_Double; typedef long double xdc_LDouble; typedef size_t xdc_SizeT; typedef va_list xdc_VaList; typedef unsigned short xdc_Bool; typedef void *xdc_Ptr; typedef char *xdc_String; typedef int (*xdc_Fxn)(); typedef int xdc_Arg; typedef int_least8_t xdc_Int8; typedef uint_least8_t xdc_UInt8; typedef int_least16_t xdc_Int16; typedef uint_least16_t xdc_UInt16; typedef int_least32_t xdc_Int32; typedef uint_least32_t xdc_UInt32; typedef int_least64_t xdc_Int64; typedef uint_least64_t xdc_UInt64; typedef int_least40_t xdc_Int40; typedef uint_least40_t xdc_UInt40; typedef xdc_Int40 Int40; typedef xdc_UInt40 UInt40; typedef uint8_t xdc_Bits8; typedef uint16_t xdc_Bits16; typedef uint32_t xdc_Bits32; typedef uint64_t xdc_Bits64; typedef intptr_t xdc_IArg; typedef uintptr_t xdc_UArg; typedef long long xdc_LLong; typedef unsigned long long xdc_ULLong; static inline xdc_Ptr xdc_iargToPtr(xdc_IArg a) { return ((xdc_Ptr)a); } static inline xdc_Ptr xdc_uargToPtr(xdc_UArg a) { return ((xdc_Ptr)a); } static inline xdc_Fxn xdc_iargToFxn(xdc_IArg a) { return ((xdc_Fxn)a); } static inline xdc_Fxn xdc_uargToFxn(xdc_UArg a) { return ((xdc_Fxn)a); } typedef union xdc_FloatData { xdc_Float f; xdc_IArg a; } xdc_FloatData; static inline xdc_IArg xdc_floatToArg(xdc_Float f) { xdc_FloatData u; u.f = f; return (u.a); } static inline xdc_Float xdc_argToFloat(xdc_IArg a) { xdc_FloatData u; u.a = a; return (u.f); } typedef xdc_Char Char; typedef xdc_UChar UChar; typedef xdc_Short Short; typedef xdc_UShort UShort; typedef xdc_Int Int; typedef xdc_UInt UInt; typedef xdc_Long Long; typedef xdc_ULong ULong; typedef xdc_LLong LLong; typedef xdc_ULLong ULLong; typedef xdc_Float Float; typedef xdc_Double Double; typedef xdc_LDouble LDouble; typedef xdc_SizeT SizeT; typedef xdc_VaList VaList; typedef xdc_IArg IArg; typedef xdc_UArg UArg; typedef xdc_Bool Bool; typedef xdc_Int8 Int8; typedef xdc_Int16 Int16; typedef xdc_Int32 Int32; typedef xdc_Fxn Fxn; typedef xdc_Ptr Ptr; typedef xdc_String String; typedef xdc_UInt8 UInt8; typedef xdc_UInt16 UInt16; typedef xdc_UInt32 UInt32; typedef xdc_Arg Arg; typedef xdc_UInt8 Uint8; typedef xdc_UInt16 Uint16; typedef xdc_UInt32 Uint32; typedef xdc_UInt Uns; typedef xdc_Int64 Int64; typedef xdc_UInt64 UInt64; typedef xdc_Bits8 Bits8; typedef xdc_Bits16 Bits16; typedef xdc_Bits32 Bits32; typedef xdc_Bits64 Bits64; typedef struct xdc_runtime_IModule_Fxns__ xdc_runtime_IModule_Fxns__; typedef const xdc_runtime_IModule_Fxns__* xdc_runtime_IModule_Module; typedef struct xdc_runtime_Core_ObjDesc xdc_runtime_Core_ObjDesc; typedef struct xdc_runtime_Diags_DictElem xdc_runtime_Diags_DictElem; typedef struct xdc_runtime_Error_Data xdc_runtime_Error_Data; typedef struct xdc_runtime_Error_Block xdc_runtime_Error_Block; typedef struct xdc_runtime_Error_Module_State xdc_runtime_Error_Module_State; typedef struct xdc_runtime_IGateProvider_Fxns__ xdc_runtime_IGateProvider_Fxns__; typedef const xdc_runtime_IGateProvider_Fxns__* xdc_runtime_IGateProvider_Module; typedef struct xdc_runtime_IGateProvider_Params xdc_runtime_IGateProvider_Params; typedef struct xdc_runtime_IGateProvider___Object { xdc_runtime_IGateProvider_Fxns__* __fxns; xdc_Bits32 __label; } *xdc_runtime_IGateProvider_Handle; typedef struct xdc_runtime_GateNull_Fxns__ xdc_runtime_GateNull_Fxns__; typedef const xdc_runtime_GateNull_Fxns__* xdc_runtime_GateNull_Module; typedef struct xdc_runtime_GateNull_Params xdc_runtime_GateNull_Params; typedef struct xdc_runtime_GateNull_Object xdc_runtime_GateNull_Object; typedef struct xdc_runtime_GateNull_Struct xdc_runtime_GateNull_Struct; typedef xdc_runtime_GateNull_Object* xdc_runtime_GateNull_Handle; typedef struct xdc_runtime_GateNull_Object__ xdc_runtime_GateNull_Instance_State; typedef xdc_runtime_GateNull_Object* xdc_runtime_GateNull_Instance; typedef struct xdc_runtime_Log_EventRec xdc_runtime_Log_EventRec; typedef struct xdc_runtime_ILogger_Fxns__ xdc_runtime_ILogger_Fxns__; typedef const xdc_runtime_ILogger_Fxns__* xdc_runtime_ILogger_Module; typedef struct xdc_runtime_ILogger_Params xdc_runtime_ILogger_Params; typedef struct xdc_runtime_ILogger___Object { xdc_runtime_ILogger_Fxns__* __fxns; xdc_Bits32 __label; } *xdc_runtime_ILogger_Handle; typedef struct xdc_runtime_IFilterLogger_Fxns__ xdc_runtime_IFilterLogger_Fxns__; typedef const xdc_runtime_IFilterLogger_Fxns__* xdc_runtime_IFilterLogger_Module; typedef struct xdc_runtime_IFilterLogger_Params xdc_runtime_IFilterLogger_Params; typedef struct xdc_runtime_IFilterLogger___Object { xdc_runtime_IFilterLogger_Fxns__* __fxns; xdc_Bits32 __label; } *xdc_runtime_IFilterLogger_Handle; typedef struct xdc_runtime_LoggerBuf_Entry xdc_runtime_LoggerBuf_Entry; typedef struct xdc_runtime_LoggerBuf_Module_State xdc_runtime_LoggerBuf_Module_State; typedef struct xdc_runtime_LoggerBuf_Fxns__ xdc_runtime_LoggerBuf_Fxns__; typedef const xdc_runtime_LoggerBuf_Fxns__* xdc_runtime_LoggerBuf_Module; typedef struct xdc_runtime_LoggerBuf_Params xdc_runtime_LoggerBuf_Params; typedef struct xdc_runtime_LoggerBuf_Object xdc_runtime_LoggerBuf_Object; typedef struct xdc_runtime_LoggerBuf_Struct xdc_runtime_LoggerBuf_Struct; typedef xdc_runtime_LoggerBuf_Object* xdc_runtime_LoggerBuf_Handle; typedef struct xdc_runtime_LoggerBuf_Object__ xdc_runtime_LoggerBuf_Instance_State; typedef xdc_runtime_LoggerBuf_Object* xdc_runtime_LoggerBuf_Instance; typedef struct xdc_runtime_LoggerSys_Fxns__ xdc_runtime_LoggerSys_Fxns__; typedef const xdc_runtime_LoggerSys_Fxns__* xdc_runtime_LoggerSys_Module; typedef struct xdc_runtime_LoggerSys_Params xdc_runtime_LoggerSys_Params; typedef struct xdc_runtime_LoggerSys_Object xdc_runtime_LoggerSys_Object; typedef struct xdc_runtime_LoggerSys_Struct xdc_runtime_LoggerSys_Struct; typedef xdc_runtime_LoggerSys_Object* xdc_runtime_LoggerSys_Handle; typedef struct xdc_runtime_LoggerSys_Object__ xdc_runtime_LoggerSys_Instance_State; typedef xdc_runtime_LoggerSys_Object* xdc_runtime_LoggerSys_Instance; typedef struct xdc_runtime_Memory_Stats xdc_runtime_Memory_Stats; typedef struct xdc_runtime_Memory_Module_State xdc_runtime_Memory_Module_State; typedef struct xdc_runtime_IHeap_Fxns__ xdc_runtime_IHeap_Fxns__; typedef const xdc_runtime_IHeap_Fxns__* xdc_runtime_IHeap_Module; typedef struct xdc_runtime_IHeap_Params xdc_runtime_IHeap_Params; typedef struct xdc_runtime_IHeap___Object { xdc_runtime_IHeap_Fxns__* __fxns; xdc_Bits32 __label; } *xdc_runtime_IHeap_Handle; typedef struct xdc_runtime_HeapMin_Fxns__ xdc_runtime_HeapMin_Fxns__; typedef const xdc_runtime_HeapMin_Fxns__* xdc_runtime_HeapMin_Module; typedef struct xdc_runtime_HeapMin_Params xdc_runtime_HeapMin_Params; typedef struct xdc_runtime_HeapMin_Object xdc_runtime_HeapMin_Object; typedef struct xdc_runtime_HeapMin_Struct xdc_runtime_HeapMin_Struct; typedef xdc_runtime_HeapMin_Object* xdc_runtime_HeapMin_Handle; typedef struct xdc_runtime_HeapMin_Object__ xdc_runtime_HeapMin_Instance_State; typedef xdc_runtime_HeapMin_Object* xdc_runtime_HeapMin_Instance; typedef struct xdc_runtime_HeapStd_Module_State xdc_runtime_HeapStd_Module_State; typedef struct xdc_runtime_HeapStd_Fxns__ xdc_runtime_HeapStd_Fxns__; typedef const xdc_runtime_HeapStd_Fxns__* xdc_runtime_HeapStd_Module; typedef struct xdc_runtime_HeapStd_Params xdc_runtime_HeapStd_Params; typedef struct xdc_runtime_HeapStd_Object xdc_runtime_HeapStd_Object; typedef struct xdc_runtime_HeapStd_Struct xdc_runtime_HeapStd_Struct; typedef xdc_runtime_HeapStd_Object* xdc_runtime_HeapStd_Handle; typedef struct xdc_runtime_HeapStd_Object__ xdc_runtime_HeapStd_Instance_State; typedef xdc_runtime_HeapStd_Object* xdc_runtime_HeapStd_Instance; typedef struct xdc_runtime_Registry_Module_State xdc_runtime_Registry_Module_State; typedef struct xdc_runtime_Rta_CommandPacket xdc_runtime_Rta_CommandPacket; typedef struct xdc_runtime_Rta_ResponsePacket xdc_runtime_Rta_ResponsePacket; typedef struct xdc_runtime_Startup_Module_State xdc_runtime_Startup_Module_State; typedef struct xdc_runtime_System_ParseData xdc_runtime_System_ParseData; typedef struct xdc_runtime_System_Module_State xdc_runtime_System_Module_State; typedef struct xdc_runtime_ISystemSupport_Fxns__ xdc_runtime_ISystemSupport_Fxns__; typedef const xdc_runtime_ISystemSupport_Fxns__* xdc_runtime_ISystemSupport_Module; typedef struct xdc_runtime_SysStd_Fxns__ xdc_runtime_SysStd_Fxns__; typedef const xdc_runtime_SysStd_Fxns__* xdc_runtime_SysStd_Module; typedef struct xdc_runtime_SysMin_Module_State xdc_runtime_SysMin_Module_State; typedef struct xdc_runtime_SysMin_Fxns__ xdc_runtime_SysMin_Fxns__; typedef const xdc_runtime_SysMin_Fxns__* xdc_runtime_SysMin_Module; typedef struct xdc_runtime_Text_Node xdc_runtime_Text_Node; typedef struct xdc_runtime_Text_MatchVisState xdc_runtime_Text_MatchVisState; typedef struct xdc_runtime_Text_PrintVisState xdc_runtime_Text_PrintVisState; typedef struct xdc_runtime_Text_Module_State xdc_runtime_Text_Module_State; typedef struct xdc_runtime_ITimestampClient_Fxns__ xdc_runtime_ITimestampClient_Fxns__; typedef const xdc_runtime_ITimestampClient_Fxns__* xdc_runtime_ITimestampClient_Module; typedef struct xdc_runtime_Timestamp_Fxns__ xdc_runtime_Timestamp_Fxns__; typedef const xdc_runtime_Timestamp_Fxns__* xdc_runtime_Timestamp_Module; typedef struct xdc_runtime_ITimestampProvider_Fxns__ xdc_runtime_ITimestampProvider_Fxns__; typedef const xdc_runtime_ITimestampProvider_Fxns__* xdc_runtime_ITimestampProvider_Module; typedef struct xdc_runtime_TimestampNull_Fxns__ xdc_runtime_TimestampNull_Fxns__; typedef const xdc_runtime_TimestampNull_Fxns__* xdc_runtime_TimestampNull_Module; typedef struct xdc_runtime_TimestampStd_Fxns__ xdc_runtime_TimestampStd_Fxns__; typedef const xdc_runtime_TimestampStd_Fxns__* xdc_runtime_TimestampStd_Module; typedef struct xdc_runtime_Types_CordAddr__ xdc_runtime_Types_CordAddr__; typedef struct xdc_runtime_Types_GateRef__ xdc_runtime_Types_GateRef__; typedef struct xdc_runtime_Types_Label xdc_runtime_Types_Label; typedef struct xdc_runtime_Types_Site xdc_runtime_Types_Site; typedef struct xdc_runtime_Types_Timestamp64 xdc_runtime_Types_Timestamp64; typedef struct xdc_runtime_Types_FreqHz xdc_runtime_Types_FreqHz; typedef struct xdc_runtime_Types_RegDesc xdc_runtime_Types_RegDesc; typedef struct xdc_runtime_Types_Vec xdc_runtime_Types_Vec; typedef struct xdc_runtime_Types_Link xdc_runtime_Types_Link; typedef struct xdc_runtime_Types_InstHdr xdc_runtime_Types_InstHdr; typedef struct xdc_runtime_Types_PrmsHdr xdc_runtime_Types_PrmsHdr; typedef struct xdc_runtime_Types_Base xdc_runtime_Types_Base; typedef struct xdc_runtime_Types_SysFxns xdc_runtime_Types_SysFxns; typedef struct xdc_runtime_Types_SysFxns2 xdc_runtime_Types_SysFxns2; typedef struct xdc_runtime_IInstance_Fxns__ xdc_runtime_IInstance_Fxns__; typedef const xdc_runtime_IInstance_Fxns__* xdc_runtime_IInstance_Module; typedef struct xdc_runtime_IInstance_Params xdc_runtime_IInstance_Params; typedef struct xdc_runtime_IInstance___Object { xdc_runtime_IInstance_Fxns__* __fxns; xdc_Bits32 __label; } *xdc_runtime_IInstance_Handle; typedef struct xdc_runtime_LoggerBuf_TimestampProxy_Fxns__ xdc_runtime_LoggerBuf_TimestampProxy_Fxns__; typedef const xdc_runtime_LoggerBuf_TimestampProxy_Fxns__* xdc_runtime_LoggerBuf_TimestampProxy_Module; typedef struct xdc_runtime_LoggerBuf_Module_GateProxy_Fxns__ xdc_runtime_LoggerBuf_Module_GateProxy_Fxns__; typedef const xdc_runtime_LoggerBuf_Module_GateProxy_Fxns__* xdc_runtime_LoggerBuf_Module_GateProxy_Module; typedef struct xdc_runtime_LoggerBuf_Module_GateProxy_Params xdc_runtime_LoggerBuf_Module_GateProxy_Params; typedef struct xdc_runtime_IGateProvider___Object *xdc_runtime_LoggerBuf_Module_GateProxy_Handle; typedef struct xdc_runtime_LoggerSys_TimestampProxy_Fxns__ xdc_runtime_LoggerSys_TimestampProxy_Fxns__; typedef const xdc_runtime_LoggerSys_TimestampProxy_Fxns__* xdc_runtime_LoggerSys_TimestampProxy_Module; typedef struct xdc_runtime_Main_Module_GateProxy_Fxns__ xdc_runtime_Main_Module_GateProxy_Fxns__; typedef const xdc_runtime_Main_Module_GateProxy_Fxns__* xdc_runtime_Main_Module_GateProxy_Module; typedef struct xdc_runtime_Main_Module_GateProxy_Params xdc_runtime_Main_Module_GateProxy_Params; typedef struct xdc_runtime_IGateProvider___Object *xdc_runtime_Main_Module_GateProxy_Handle; typedef struct xdc_runtime_Memory_HeapProxy_Fxns__ xdc_runtime_Memory_HeapProxy_Fxns__; typedef const xdc_runtime_Memory_HeapProxy_Fxns__* xdc_runtime_Memory_HeapProxy_Module; typedef struct xdc_runtime_Memory_HeapProxy_Params xdc_runtime_Memory_HeapProxy_Params; typedef struct xdc_runtime_IHeap___Object *xdc_runtime_Memory_HeapProxy_Handle; typedef struct xdc_runtime_System_SupportProxy_Fxns__ xdc_runtime_System_SupportProxy_Fxns__; typedef const xdc_runtime_System_SupportProxy_Fxns__* xdc_runtime_System_SupportProxy_Module; typedef struct xdc_runtime_System_Module_GateProxy_Fxns__ xdc_runtime_System_Module_GateProxy_Fxns__; typedef const xdc_runtime_System_Module_GateProxy_Fxns__* xdc_runtime_System_Module_GateProxy_Module; typedef struct xdc_runtime_System_Module_GateProxy_Params xdc_runtime_System_Module_GateProxy_Params; typedef struct xdc_runtime_IGateProvider___Object *xdc_runtime_System_Module_GateProxy_Handle; typedef struct xdc_runtime_Timestamp_SupportProxy_Fxns__ xdc_runtime_Timestamp_SupportProxy_Fxns__; typedef const xdc_runtime_Timestamp_SupportProxy_Fxns__* xdc_runtime_Timestamp_SupportProxy_Module; typedef xdc_Bits16 xdc_runtime_Types_ModuleId; typedef xdc_Bits16 xdc_runtime_Types_DiagsMask; typedef xdc_Bits32 xdc_runtime_Types_Event; typedef xdc_runtime_Types_Event xdc_runtime_Types_EventId; struct xdc_runtime_Types_CordAddr__; typedef xdc_runtime_Types_CordAddr__* xdc_runtime_Types_CordAddr; struct xdc_runtime_Types_GateRef__; typedef xdc_runtime_Types_GateRef__* xdc_runtime_Types_GateRef; typedef xdc_Bits16 xdc_runtime_Types_RopeId; enum xdc_runtime_Types_CreatePolicy { xdc_runtime_Types_STATIC_POLICY, xdc_runtime_Types_CREATE_POLICY, xdc_runtime_Types_DELETE_POLICY }; typedef enum xdc_runtime_Types_CreatePolicy xdc_runtime_Types_CreatePolicy; struct xdc_runtime_Types_Label { xdc_Ptr handle; xdc_runtime_Types_ModuleId modId; xdc_String iname; xdc_Bool named; }; struct xdc_runtime_Types_Site { xdc_runtime_Types_ModuleId mod; xdc_String file; xdc_Int line; }; struct xdc_runtime_Types_Timestamp64 { xdc_Bits32 hi; xdc_Bits32 lo; }; struct xdc_runtime_Types_FreqHz { xdc_Bits32 hi; xdc_Bits32 lo; }; struct xdc_runtime_Types_RegDesc { xdc_runtime_Types_RegDesc* next; xdc_String modName; xdc_runtime_Types_ModuleId id; xdc_runtime_Types_DiagsMask mask; }; typedef xdc_Bits32 xdc_runtime_Types_LogEvent; typedef void (*xdc_runtime_Types_LoggerFxn0)(xdc_Ptr, xdc_runtime_Types_LogEvent, xdc_runtime_Types_ModuleId); typedef void (*xdc_runtime_Types_LoggerFxn1)(xdc_Ptr, xdc_runtime_Types_LogEvent, xdc_runtime_Types_ModuleId, xdc_IArg); typedef void (*xdc_runtime_Types_LoggerFxn2)(xdc_Ptr, xdc_runtime_Types_LogEvent, xdc_runtime_Types_ModuleId, xdc_IArg, xdc_IArg); typedef void (*xdc_runtime_Types_LoggerFxn4)(xdc_Ptr, xdc_runtime_Types_LogEvent, xdc_runtime_Types_ModuleId, xdc_IArg, xdc_IArg, xdc_IArg, xdc_IArg); typedef void (*xdc_runtime_Types_LoggerFxn8)(xdc_Ptr, xdc_runtime_Types_LogEvent, xdc_runtime_Types_ModuleId, xdc_IArg, xdc_IArg, xdc_IArg, xdc_IArg, xdc_IArg, xdc_IArg, xdc_IArg, xdc_IArg); struct xdc_runtime_Types_Vec { xdc_Int len; xdc_Ptr arr; }; struct xdc_runtime_Types_Link { xdc_runtime_Types_Link* next; xdc_runtime_Types_Link* prev; }; struct xdc_runtime_Types_InstHdr { xdc_runtime_Types_Link link; }; struct xdc_runtime_Types_PrmsHdr { xdc_SizeT size; xdc_Ptr self; xdc_Ptr modFxns; xdc_Ptr instPrms; }; struct xdc_runtime_Types_Base { xdc_runtime_Types_Base* base; }; struct xdc_runtime_Types_SysFxns { xdc_Ptr (*__create)(xdc_Ptr, xdc_SizeT, const xdc_Ptr, const xdc_Ptr, xdc_SizeT, xdc_runtime_Error_Block*); void (*__delete)(xdc_Ptr); xdc_runtime_Types_Label* (*__label)(xdc_Ptr, xdc_runtime_Types_Label*); xdc_runtime_Types_ModuleId __mid; }; struct xdc_runtime_Types_SysFxns2 { xdc_Ptr (*__create)(xdc_Ptr, xdc_SizeT, const xdc_Ptr, const xdc_UChar*, xdc_SizeT, xdc_runtime_Error_Block*); void (*__delete)(xdc_Ptr); xdc_runtime_Types_Label* (*__label)(xdc_Ptr, xdc_runtime_Types_Label*); xdc_runtime_Types_ModuleId __mid; }; typedef xdc_Bits32 CT__xdc_runtime_Types_Module__diagsEnabled; extern "C" far const CT__xdc_runtime_Types_Module__diagsEnabled xdc_runtime_Types_Module__diagsEnabled__C; typedef xdc_Bits32 CT__xdc_runtime_Types_Module__diagsIncluded; extern "C" far const CT__xdc_runtime_Types_Module__diagsIncluded xdc_runtime_Types_Module__diagsIncluded__C; typedef xdc_Bits16* CT__xdc_runtime_Types_Module__diagsMask; extern "C" far const CT__xdc_runtime_Types_Module__diagsMask xdc_runtime_Types_Module__diagsMask__C; typedef xdc_Ptr CT__xdc_runtime_Types_Module__gateObj; extern "C" far const CT__xdc_runtime_Types_Module__gateObj xdc_runtime_Types_Module__gateObj__C; typedef xdc_Ptr CT__xdc_runtime_Types_Module__gatePrms; extern "C" far const CT__xdc_runtime_Types_Module__gatePrms xdc_runtime_Types_Module__gatePrms__C; typedef xdc_runtime_Types_ModuleId CT__xdc_runtime_Types_Module__id; extern "C" far const CT__xdc_runtime_Types_Module__id xdc_runtime_Types_Module__id__C; typedef xdc_Bool CT__xdc_runtime_Types_Module__loggerDefined; extern "C" far const CT__xdc_runtime_Types_Module__loggerDefined xdc_runtime_Types_Module__loggerDefined__C; typedef xdc_Ptr CT__xdc_runtime_Types_Module__loggerObj; extern "C" far const CT__xdc_runtime_Types_Module__loggerObj xdc_runtime_Types_Module__loggerObj__C; typedef xdc_runtime_Types_LoggerFxn0 CT__xdc_runtime_Types_Module__loggerFxn0; extern "C" far const CT__xdc_runtime_Types_Module__loggerFxn0 xdc_runtime_Types_Module__loggerFxn0__C; typedef xdc_runtime_Types_LoggerFxn1 CT__xdc_runtime_Types_Module__loggerFxn1; extern "C" far const CT__xdc_runtime_Types_Module__loggerFxn1 xdc_runtime_Types_Module__loggerFxn1__C; typedef xdc_runtime_Types_LoggerFxn2 CT__xdc_runtime_Types_Module__loggerFxn2; extern "C" far const CT__xdc_runtime_Types_Module__loggerFxn2 xdc_runtime_Types_Module__loggerFxn2__C; typedef xdc_runtime_Types_LoggerFxn4 CT__xdc_runtime_Types_Module__loggerFxn4; extern "C" far const CT__xdc_runtime_Types_Module__loggerFxn4 xdc_runtime_Types_Module__loggerFxn4__C; typedef xdc_runtime_Types_LoggerFxn8 CT__xdc_runtime_Types_Module__loggerFxn8; extern "C" far const CT__xdc_runtime_Types_Module__loggerFxn8 xdc_runtime_Types_Module__loggerFxn8__C; typedef xdc_Bool (*CT__xdc_runtime_Types_Module__startupDoneFxn)(void); extern "C" far const CT__xdc_runtime_Types_Module__startupDoneFxn xdc_runtime_Types_Module__startupDoneFxn__C; typedef xdc_Int CT__xdc_runtime_Types_Object__count; extern "C" far const CT__xdc_runtime_Types_Object__count xdc_runtime_Types_Object__count__C; typedef xdc_runtime_IHeap_Handle CT__xdc_runtime_Types_Object__heap; extern "C" far const CT__xdc_runtime_Types_Object__heap xdc_runtime_Types_Object__heap__C; typedef xdc_SizeT CT__xdc_runtime_Types_Object__sizeof; extern "C" far const CT__xdc_runtime_Types_Object__sizeof xdc_runtime_Types_Object__sizeof__C; typedef xdc_Ptr CT__xdc_runtime_Types_Object__table; extern "C" far const CT__xdc_runtime_Types_Object__table xdc_runtime_Types_Object__table__C; extern "C" xdc_Bool xdc_runtime_Types_Module__startupDone__S( void ); static inline CT__xdc_runtime_Types_Module__id xdc_runtime_Types_Module_id( void ) { return xdc_runtime_Types_Module__id__C; } static inline xdc_Bool xdc_runtime_Types_Module_hasMask( void ) { return xdc_runtime_Types_Module__diagsMask__C != 0; } static inline xdc_Bits16 xdc_runtime_Types_Module_getMask( void ) { return xdc_runtime_Types_Module__diagsMask__C != 0 ? *xdc_runtime_Types_Module__diagsMask__C : 0; } static inline void xdc_runtime_Types_Module_setMask( xdc_Bits16 mask ) { if (xdc_runtime_Types_Module__diagsMask__C != 0) *xdc_runtime_Types_Module__diagsMask__C = mask; } struct xdc_runtime_IInstance_Params { size_t __size; xdc_String name; }; struct xdc_runtime_IInstance_Fxns__ { xdc_runtime_Types_Base* __base; const xdc_runtime_Types_SysFxns2* __sysp; xdc_runtime_Types_SysFxns2 __sfxns; }; extern "C" const xdc_runtime_Types_Base xdc_runtime_IInstance_Interface__BASE__C; static inline void xdc_runtime_IInstance_delete( xdc_runtime_IInstance_Handle* instp ) { (*instp)->__fxns->__sysp->__delete(instp); } static inline xdc_runtime_IInstance_Module xdc_runtime_IInstance_Handle_to_Module( xdc_runtime_IInstance_Handle inst ) { return inst->__fxns; } static inline xdc_runtime_Types_Label* xdc_runtime_IInstance_Handle_label( xdc_runtime_IInstance_Handle inst, xdc_runtime_Types_Label* lab ) { return inst->__fxns->__sysp->__label(inst, lab); } static inline xdc_runtime_Types_ModuleId xdc_runtime_IInstance_Module_id( xdc_runtime_IInstance_Module mod ) { return mod->__sysp->__mid; } struct xdc_runtime_IGateProvider_Params { size_t __size; const void* __self; void* __fxns; xdc_runtime_IInstance_Params* instance; }; struct xdc_runtime_IGateProvider_Fxns__ { xdc_runtime_Types_Base* __base; const xdc_runtime_Types_SysFxns2* __sysp; xdc_Bool (*query)(xdc_Int); xdc_IArg (*enter)(void*); void (*leave)(void*, xdc_IArg); xdc_runtime_Types_SysFxns2 __sfxns; }; extern "C" const xdc_runtime_Types_Base xdc_runtime_IGateProvider_Interface__BASE__C; static inline xdc_runtime_IGateProvider_Handle xdc_runtime_IGateProvider_create( xdc_runtime_IGateProvider_Module __mod, const xdc_runtime_IGateProvider_Params* __prms, xdc_runtime_Error_Block* __eb ) { return (xdc_runtime_IGateProvider_Handle) __mod->__sysp->__create(0, 0, 0, (const xdc_UChar*)__prms, sizeof (xdc_runtime_IGateProvider_Params), __eb); } static inline void xdc_runtime_IGateProvider_delete( xdc_runtime_IGateProvider_Handle* instp ) { (*instp)->__fxns->__sysp->__delete(instp); } static inline xdc_runtime_IGateProvider_Module xdc_runtime_IGateProvider_Handle_to_Module( xdc_runtime_IGateProvider_Handle inst ) { return inst->__fxns; } static inline xdc_runtime_Types_Label* xdc_runtime_IGateProvider_Handle_label( xdc_runtime_IGateProvider_Handle inst, xdc_runtime_Types_Label* lab ) { return inst->__fxns->__sysp->__label(inst, lab); } static inline xdc_runtime_Types_ModuleId xdc_runtime_IGateProvider_Module_id( xdc_runtime_IGateProvider_Module mod ) { return mod->__sysp->__mid; } static inline xdc_Bool xdc_runtime_IGateProvider_query( xdc_runtime_IGateProvider_Module __inst, xdc_Int qual ) { return __inst->query(qual); } static inline xdc_IArg xdc_runtime_IGateProvider_enter( xdc_runtime_IGateProvider_Handle __inst ) { return __inst->__fxns->enter((void*)__inst); } static inline void xdc_runtime_IGateProvider_leave( xdc_runtime_IGateProvider_Handle __inst, xdc_IArg key ) { __inst->__fxns->leave((void*)__inst, key); } typedef xdc_Bool (*xdc_runtime_IGateProvider_query_FxnT)(xdc_Int); static inline xdc_runtime_IGateProvider_query_FxnT xdc_runtime_IGateProvider_query_fxnP( xdc_runtime_IGateProvider_Module __inst ) { return (xdc_runtime_IGateProvider_query_FxnT)__inst->query; } typedef xdc_IArg (*xdc_runtime_IGateProvider_enter_FxnT)(void*); static inline xdc_runtime_IGateProvider_enter_FxnT xdc_runtime_IGateProvider_enter_fxnP( xdc_runtime_IGateProvider_Handle __inst ) { return (xdc_runtime_IGateProvider_enter_FxnT)__inst->__fxns->enter; } typedef void (*xdc_runtime_IGateProvider_leave_FxnT)(void*, xdc_IArg); static inline xdc_runtime_IGateProvider_leave_FxnT xdc_runtime_IGateProvider_leave_fxnP( xdc_runtime_IGateProvider_Handle __inst ) { return (xdc_runtime_IGateProvider_leave_FxnT)__inst->__fxns->leave; } typedef xdc_Bits32 CT__xdc_runtime_Main_Module_GateProxy_Module__diagsEnabled; extern "C" far const CT__xdc_runtime_Main_Module_GateProxy_Module__diagsEnabled xdc_runtime_Main_Module_GateProxy_Module__diagsEnabled__C; typedef xdc_Bits32 CT__xdc_runtime_Main_Module_GateProxy_Module__diagsIncluded; extern "C" far const CT__xdc_runtime_Main_Module_GateProxy_Module__diagsIncluded xdc_runtime_Main_Module_GateProxy_Module__diagsIncluded__C; typedef xdc_Bits16* CT__xdc_runtime_Main_Module_GateProxy_Module__diagsMask; extern "C" far const CT__xdc_runtime_Main_Module_GateProxy_Module__diagsMask xdc_runtime_Main_Module_GateProxy_Module__diagsMask__C; typedef xdc_Ptr CT__xdc_runtime_Main_Module_GateProxy_Module__gateObj; extern "C" far const CT__xdc_runtime_Main_Module_GateProxy_Module__gateObj xdc_runtime_Main_Module_GateProxy_Module__gateObj__C; typedef xdc_Ptr CT__xdc_runtime_Main_Module_GateProxy_Module__gatePrms; extern "C" far const CT__xdc_runtime_Main_Module_GateProxy_Module__gatePrms xdc_runtime_Main_Module_GateProxy_Module__gatePrms__C; typedef xdc_runtime_Types_ModuleId CT__xdc_runtime_Main_Module_GateProxy_Module__id; extern "C" far const CT__xdc_runtime_Main_Module_GateProxy_Module__id xdc_runtime_Main_Module_GateProxy_Module__id__C; typedef xdc_Bool CT__xdc_runtime_Main_Module_GateProxy_Module__loggerDefined; extern "C" far const CT__xdc_runtime_Main_Module_GateProxy_Module__loggerDefined xdc_runtime_Main_Module_GateProxy_Module__loggerDefined__C; typedef xdc_Ptr CT__xdc_runtime_Main_Module_GateProxy_Module__loggerObj; extern "C" far const CT__xdc_runtime_Main_Module_GateProxy_Module__loggerObj xdc_runtime_Main_Module_GateProxy_Module__loggerObj__C; typedef xdc_runtime_Types_LoggerFxn0 CT__xdc_runtime_Main_Module_GateProxy_Module__loggerFxn0; extern "C" far const CT__xdc_runtime_Main_Module_GateProxy_Module__loggerFxn0 xdc_runtime_Main_Module_GateProxy_Module__loggerFxn0__C; typedef xdc_runtime_Types_LoggerFxn1 CT__xdc_runtime_Main_Module_GateProxy_Module__loggerFxn1; extern "C" far const CT__xdc_runtime_Main_Module_GateProxy_Module__loggerFxn1 xdc_runtime_Main_Module_GateProxy_Module__loggerFxn1__C; typedef xdc_runtime_Types_LoggerFxn2 CT__xdc_runtime_Main_Module_GateProxy_Module__loggerFxn2; extern "C" far const CT__xdc_runtime_Main_Module_GateProxy_Module__loggerFxn2 xdc_runtime_Main_Module_GateProxy_Module__loggerFxn2__C; typedef xdc_runtime_Types_LoggerFxn4 CT__xdc_runtime_Main_Module_GateProxy_Module__loggerFxn4; extern "C" far const CT__xdc_runtime_Main_Module_GateProxy_Module__loggerFxn4 xdc_runtime_Main_Module_GateProxy_Module__loggerFxn4__C; typedef xdc_runtime_Types_LoggerFxn8 CT__xdc_runtime_Main_Module_GateProxy_Module__loggerFxn8; extern "C" far const CT__xdc_runtime_Main_Module_GateProxy_Module__loggerFxn8 xdc_runtime_Main_Module_GateProxy_Module__loggerFxn8__C; typedef xdc_Bool (*CT__xdc_runtime_Main_Module_GateProxy_Module__startupDoneFxn)(void); extern "C" far const CT__xdc_runtime_Main_Module_GateProxy_Module__startupDoneFxn xdc_runtime_Main_Module_GateProxy_Module__startupDoneFxn__C; typedef xdc_Int CT__xdc_runtime_Main_Module_GateProxy_Object__count; extern "C" far const CT__xdc_runtime_Main_Module_GateProxy_Object__count xdc_runtime_Main_Module_GateProxy_Object__count__C; typedef xdc_runtime_IHeap_Handle CT__xdc_runtime_Main_Module_GateProxy_Object__heap; extern "C" far const CT__xdc_runtime_Main_Module_GateProxy_Object__heap xdc_runtime_Main_Module_GateProxy_Object__heap__C; typedef xdc_SizeT CT__xdc_runtime_Main_Module_GateProxy_Object__sizeof; extern "C" far const CT__xdc_runtime_Main_Module_GateProxy_Object__sizeof xdc_runtime_Main_Module_GateProxy_Object__sizeof__C; typedef xdc_Ptr CT__xdc_runtime_Main_Module_GateProxy_Object__table; extern "C" far const CT__xdc_runtime_Main_Module_GateProxy_Object__table xdc_runtime_Main_Module_GateProxy_Object__table__C; struct xdc_runtime_Main_Module_GateProxy_Params { size_t __size; const void* __self; void* __fxns; xdc_runtime_IInstance_Params* instance; xdc_runtime_IInstance_Params __iprms; }; struct xdc_runtime_Main_Module_GateProxy_Struct { const xdc_runtime_Main_Module_GateProxy_Fxns__* __fxns; xdc_runtime_Types_CordAddr __name; }; struct xdc_runtime_Main_Module_GateProxy_Fxns__ { xdc_runtime_Types_Base* __base; const xdc_runtime_Types_SysFxns2* __sysp; xdc_Bool (*query)(xdc_Int); xdc_IArg (*enter)(xdc_runtime_Main_Module_GateProxy_Handle); void (*leave)(xdc_runtime_Main_Module_GateProxy_Handle, xdc_IArg); xdc_runtime_Types_SysFxns2 __sfxns; }; extern "C" const xdc_runtime_Main_Module_GateProxy_Fxns__ xdc_runtime_Main_Module_GateProxy_Module__FXNS__C; extern "C" xdc_runtime_Types_Label* xdc_runtime_Main_Module_GateProxy_Handle__label__S( xdc_Ptr obj, xdc_runtime_Types_Label* lab ); extern "C" xdc_Bool xdc_runtime_Main_Module_GateProxy_Module__startupDone__S( void ); extern "C" xdc_Ptr xdc_runtime_Main_Module_GateProxy_Object__create__S( xdc_Ptr __oa, xdc_SizeT __osz, xdc_Ptr __aa, const xdc_UChar* __pa, xdc_SizeT __psz, xdc_runtime_Error_Block* __eb ); extern "C" void xdc_runtime_Main_Module_GateProxy_Object__delete__S( xdc_Ptr instp ); extern "C" void xdc_runtime_Main_Module_GateProxy_Object__destruct__S( xdc_Ptr objp ); extern "C" xdc_Ptr xdc_runtime_Main_Module_GateProxy_Object__get__S( xdc_Ptr oarr, xdc_Int i ); extern "C" xdc_Ptr xdc_runtime_Main_Module_GateProxy_Object__first__S( void ); extern "C" xdc_Ptr xdc_runtime_Main_Module_GateProxy_Object__next__S( xdc_Ptr obj ); extern "C" void xdc_runtime_Main_Module_GateProxy_Params__init__S( xdc_Ptr dst, xdc_Ptr src, xdc_SizeT psz, xdc_SizeT isz ); extern "C" xdc_Bool xdc_runtime_Main_Module_GateProxy_Proxy__abstract__S( void ); extern "C" xdc_Ptr xdc_runtime_Main_Module_GateProxy_Proxy__delegate__S( void ); extern "C" xdc_Bool xdc_runtime_Main_Module_GateProxy_query__E( xdc_Int qual ); extern "C" xdc_Bool xdc_runtime_Main_Module_GateProxy_query__R( xdc_Int qual ); extern "C" xdc_IArg xdc_runtime_Main_Module_GateProxy_enter__E( xdc_runtime_Main_Module_GateProxy_Handle __inst ); extern "C" xdc_IArg xdc_runtime_Main_Module_GateProxy_enter__R( xdc_runtime_Main_Module_GateProxy_Handle __inst ); extern "C" void xdc_runtime_Main_Module_GateProxy_leave__E( xdc_runtime_Main_Module_GateProxy_Handle __inst, xdc_IArg key ); extern "C" void xdc_runtime_Main_Module_GateProxy_leave__R( xdc_runtime_Main_Module_GateProxy_Handle __inst, xdc_IArg key ); typedef xdc_IArg (*xdc_runtime_Main_Module_GateProxy_enter_FxnT)(void*); static inline xdc_runtime_Main_Module_GateProxy_enter_FxnT xdc_runtime_Main_Module_GateProxy_enter_fxnP( void ) { return (xdc_runtime_Main_Module_GateProxy_enter_FxnT)xdc_runtime_Main_Module_GateProxy_enter__E; } typedef void (*xdc_runtime_Main_Module_GateProxy_leave_FxnT)(void*, xdc_IArg); static inline xdc_runtime_Main_Module_GateProxy_leave_FxnT xdc_runtime_Main_Module_GateProxy_leave_fxnP( void ) { return (xdc_runtime_Main_Module_GateProxy_leave_FxnT)xdc_runtime_Main_Module_GateProxy_leave__E; } static inline xdc_runtime_IGateProvider_Module xdc_runtime_Main_Module_GateProxy_Module_upCast( void ) { return (xdc_runtime_IGateProvider_Module)xdc_runtime_Main_Module_GateProxy_Proxy__delegate__S(); } static inline xdc_runtime_IGateProvider_Handle xdc_runtime_Main_Module_GateProxy_Handle_upCast( xdc_runtime_Main_Module_GateProxy_Handle i ) { return (xdc_runtime_IGateProvider_Handle)i; } static inline xdc_runtime_Main_Module_GateProxy_Handle xdc_runtime_Main_Module_GateProxy_Handle_downCast( xdc_runtime_IGateProvider_Handle i ) { xdc_runtime_IGateProvider_Handle i2 = (xdc_runtime_IGateProvider_Handle)i; if (xdc_runtime_Main_Module_GateProxy_Proxy__abstract__S()) return (xdc_runtime_Main_Module_GateProxy_Handle)i; return (void*)i2->__fxns == (void*)xdc_runtime_Main_Module_GateProxy_Proxy__delegate__S() ? (xdc_runtime_Main_Module_GateProxy_Handle)i : 0; } static inline CT__xdc_runtime_Main_Module_GateProxy_Module__id xdc_runtime_Main_Module_GateProxy_Module_id( void ) { return xdc_runtime_Main_Module_GateProxy_Module__id__C; } static inline void xdc_runtime_Main_Module_GateProxy_Params_init( xdc_runtime_Main_Module_GateProxy_Params* prms ) { if (prms) { xdc_runtime_Main_Module_GateProxy_Params__init__S(prms, 0, sizeof(xdc_runtime_Main_Module_GateProxy_Params), sizeof(xdc_runtime_IInstance_Params)); } } static inline void xdc_runtime_Main_Module_GateProxy_Params_copy( xdc_runtime_Main_Module_GateProxy_Params* dst, const xdc_runtime_Main_Module_GateProxy_Params* src ) { if (dst) { xdc_runtime_Main_Module_GateProxy_Params__init__S(dst, (xdc_Ptr)src, sizeof(xdc_runtime_Main_Module_GateProxy_Params), sizeof(xdc_runtime_IInstance_Params)); } } static inline xdc_runtime_Main_Module_GateProxy_Handle xdc_runtime_Main_Module_GateProxy_create( const xdc_runtime_Main_Module_GateProxy_Params* __prms, xdc_runtime_Error_Block* __eb ) { return (xdc_runtime_Main_Module_GateProxy_Handle)xdc_runtime_Main_Module_GateProxy_Object__create__S(0, 0, 0, (const xdc_UChar*)__prms, sizeof(xdc_runtime_Main_Module_GateProxy_Params), __eb); } static inline void xdc_runtime_Main_Module_GateProxy_delete( xdc_runtime_Main_Module_GateProxy_Handle* instp ) { xdc_runtime_Main_Module_GateProxy_Object__delete__S(instp); } typedef xdc_Bits32 CT__xdc_runtime_Main_Module__diagsEnabled; extern "C" far const CT__xdc_runtime_Main_Module__diagsEnabled xdc_runtime_Main_Module__diagsEnabled__C; typedef xdc_Bits32 CT__xdc_runtime_Main_Module__diagsIncluded; extern "C" far const CT__xdc_runtime_Main_Module__diagsIncluded xdc_runtime_Main_Module__diagsIncluded__C; typedef xdc_Bits16* CT__xdc_runtime_Main_Module__diagsMask; extern "C" far const CT__xdc_runtime_Main_Module__diagsMask xdc_runtime_Main_Module__diagsMask__C; typedef xdc_Ptr CT__xdc_runtime_Main_Module__gateObj; extern "C" far const CT__xdc_runtime_Main_Module__gateObj xdc_runtime_Main_Module__gateObj__C; typedef xdc_Ptr CT__xdc_runtime_Main_Module__gatePrms; extern "C" far const CT__xdc_runtime_Main_Module__gatePrms xdc_runtime_Main_Module__gatePrms__C; typedef xdc_runtime_Types_ModuleId CT__xdc_runtime_Main_Module__id; extern "C" far const CT__xdc_runtime_Main_Module__id xdc_runtime_Main_Module__id__C; typedef xdc_Bool CT__xdc_runtime_Main_Module__loggerDefined; extern "C" far const CT__xdc_runtime_Main_Module__loggerDefined xdc_runtime_Main_Module__loggerDefined__C; typedef xdc_Ptr CT__xdc_runtime_Main_Module__loggerObj; extern "C" far const CT__xdc_runtime_Main_Module__loggerObj xdc_runtime_Main_Module__loggerObj__C; typedef xdc_runtime_Types_LoggerFxn0 CT__xdc_runtime_Main_Module__loggerFxn0; extern "C" far const CT__xdc_runtime_Main_Module__loggerFxn0 xdc_runtime_Main_Module__loggerFxn0__C; typedef xdc_runtime_Types_LoggerFxn1 CT__xdc_runtime_Main_Module__loggerFxn1; extern "C" far const CT__xdc_runtime_Main_Module__loggerFxn1 xdc_runtime_Main_Module__loggerFxn1__C; typedef xdc_runtime_Types_LoggerFxn2 CT__xdc_runtime_Main_Module__loggerFxn2; extern "C" far const CT__xdc_runtime_Main_Module__loggerFxn2 xdc_runtime_Main_Module__loggerFxn2__C; typedef xdc_runtime_Types_LoggerFxn4 CT__xdc_runtime_Main_Module__loggerFxn4; extern "C" far const CT__xdc_runtime_Main_Module__loggerFxn4 xdc_runtime_Main_Module__loggerFxn4__C; typedef xdc_runtime_Types_LoggerFxn8 CT__xdc_runtime_Main_Module__loggerFxn8; extern "C" far const CT__xdc_runtime_Main_Module__loggerFxn8 xdc_runtime_Main_Module__loggerFxn8__C; typedef xdc_Bool (*CT__xdc_runtime_Main_Module__startupDoneFxn)(void); extern "C" far const CT__xdc_runtime_Main_Module__startupDoneFxn xdc_runtime_Main_Module__startupDoneFxn__C; typedef xdc_Int CT__xdc_runtime_Main_Object__count; extern "C" far const CT__xdc_runtime_Main_Object__count xdc_runtime_Main_Object__count__C; typedef xdc_runtime_IHeap_Handle CT__xdc_runtime_Main_Object__heap; extern "C" far const CT__xdc_runtime_Main_Object__heap xdc_runtime_Main_Object__heap__C; typedef xdc_SizeT CT__xdc_runtime_Main_Object__sizeof; extern "C" far const CT__xdc_runtime_Main_Object__sizeof xdc_runtime_Main_Object__sizeof__C; typedef xdc_Ptr CT__xdc_runtime_Main_Object__table; extern "C" far const CT__xdc_runtime_Main_Object__table xdc_runtime_Main_Object__table__C; extern "C" xdc_Bool xdc_runtime_Main_Module__startupDone__S( void ); static inline CT__xdc_runtime_Main_Module__id xdc_runtime_Main_Module_id( void ) { return xdc_runtime_Main_Module__id__C; } static inline xdc_Bool xdc_runtime_Main_Module_hasMask( void ) { return xdc_runtime_Main_Module__diagsMask__C != 0; } static inline xdc_Bits16 xdc_runtime_Main_Module_getMask( void ) { return xdc_runtime_Main_Module__diagsMask__C != 0 ? *xdc_runtime_Main_Module__diagsMask__C : 0; } static inline void xdc_runtime_Main_Module_setMask( xdc_Bits16 mask ) { if (xdc_runtime_Main_Module__diagsMask__C != 0) *xdc_runtime_Main_Module__diagsMask__C = mask; } typedef xdc_Bits32 xdc_runtime_Error_Id; namespace xdc_runtime { namespace Error { typedef xdc_runtime_Error_Id Id; }} enum xdc_runtime_Error_Policy { xdc_runtime_Error_TERMINATE, xdc_runtime_Error_UNWIND }; typedef enum xdc_runtime_Error_Policy xdc_runtime_Error_Policy; typedef void (*xdc_runtime_Error_HookFxn)(xdc_runtime_Error_Block*); typedef xdc_IArg __T1_xdc_runtime_Error_Data__arg; typedef xdc_IArg __ARRAY1_xdc_runtime_Error_Data__arg[2]; typedef __ARRAY1_xdc_runtime_Error_Data__arg __TA_xdc_runtime_Error_Data__arg; struct xdc_runtime_Error_Data { __TA_xdc_runtime_Error_Data__arg arg; }; typedef xdc_IArg __T1_xdc_runtime_Error_Block__xtra; typedef xdc_IArg __ARRAY1_xdc_runtime_Error_Block__xtra[4]; typedef __ARRAY1_xdc_runtime_Error_Block__xtra __TA_xdc_runtime_Error_Block__xtra; struct xdc_runtime_Error_Block { xdc_UInt16 unused; xdc_runtime_Error_Data data; xdc_runtime_Error_Id id; xdc_String msg; xdc_runtime_Types_Site site; __TA_xdc_runtime_Error_Block__xtra xtra; }; typedef xdc_Bits32 CT__xdc_runtime_Error_Module__diagsEnabled; extern "C" far const CT__xdc_runtime_Error_Module__diagsEnabled xdc_runtime_Error_Module__diagsEnabled__C; typedef xdc_Bits32 CT__xdc_runtime_Error_Module__diagsIncluded; extern "C" far const CT__xdc_runtime_Error_Module__diagsIncluded xdc_runtime_Error_Module__diagsIncluded__C; typedef xdc_Bits16* CT__xdc_runtime_Error_Module__diagsMask; extern "C" far const CT__xdc_runtime_Error_Module__diagsMask xdc_runtime_Error_Module__diagsMask__C; typedef xdc_Ptr CT__xdc_runtime_Error_Module__gateObj; extern "C" far const CT__xdc_runtime_Error_Module__gateObj xdc_runtime_Error_Module__gateObj__C; typedef xdc_Ptr CT__xdc_runtime_Error_Module__gatePrms; extern "C" far const CT__xdc_runtime_Error_Module__gatePrms xdc_runtime_Error_Module__gatePrms__C; typedef xdc_runtime_Types_ModuleId CT__xdc_runtime_Error_Module__id; extern "C" far const CT__xdc_runtime_Error_Module__id xdc_runtime_Error_Module__id__C; typedef xdc_Bool CT__xdc_runtime_Error_Module__loggerDefined; extern "C" far const CT__xdc_runtime_Error_Module__loggerDefined xdc_runtime_Error_Module__loggerDefined__C; typedef xdc_Ptr CT__xdc_runtime_Error_Module__loggerObj; extern "C" far const CT__xdc_runtime_Error_Module__loggerObj xdc_runtime_Error_Module__loggerObj__C; typedef xdc_runtime_Types_LoggerFxn0 CT__xdc_runtime_Error_Module__loggerFxn0; extern "C" far const CT__xdc_runtime_Error_Module__loggerFxn0 xdc_runtime_Error_Module__loggerFxn0__C; typedef xdc_runtime_Types_LoggerFxn1 CT__xdc_runtime_Error_Module__loggerFxn1; extern "C" far const CT__xdc_runtime_Error_Module__loggerFxn1 xdc_runtime_Error_Module__loggerFxn1__C; typedef xdc_runtime_Types_LoggerFxn2 CT__xdc_runtime_Error_Module__loggerFxn2; extern "C" far const CT__xdc_runtime_Error_Module__loggerFxn2 xdc_runtime_Error_Module__loggerFxn2__C; typedef xdc_runtime_Types_LoggerFxn4 CT__xdc_runtime_Error_Module__loggerFxn4; extern "C" far const CT__xdc_runtime_Error_Module__loggerFxn4 xdc_runtime_Error_Module__loggerFxn4__C; typedef xdc_runtime_Types_LoggerFxn8 CT__xdc_runtime_Error_Module__loggerFxn8; extern "C" far const CT__xdc_runtime_Error_Module__loggerFxn8 xdc_runtime_Error_Module__loggerFxn8__C; typedef xdc_Bool (*CT__xdc_runtime_Error_Module__startupDoneFxn)(void); extern "C" far const CT__xdc_runtime_Error_Module__startupDoneFxn xdc_runtime_Error_Module__startupDoneFxn__C; typedef xdc_Int CT__xdc_runtime_Error_Object__count; extern "C" far const CT__xdc_runtime_Error_Object__count xdc_runtime_Error_Object__count__C; typedef xdc_runtime_IHeap_Handle CT__xdc_runtime_Error_Object__heap; extern "C" far const CT__xdc_runtime_Error_Object__heap xdc_runtime_Error_Object__heap__C; typedef xdc_SizeT CT__xdc_runtime_Error_Object__sizeof; extern "C" far const CT__xdc_runtime_Error_Object__sizeof xdc_runtime_Error_Object__sizeof__C; typedef xdc_Ptr CT__xdc_runtime_Error_Object__table; extern "C" far const CT__xdc_runtime_Error_Object__table xdc_runtime_Error_Object__table__C; typedef xdc_runtime_Error_Id CT__xdc_runtime_Error_E_generic; extern "C" far const CT__xdc_runtime_Error_E_generic xdc_runtime_Error_E_generic__C; typedef xdc_runtime_Error_Id CT__xdc_runtime_Error_E_memory; extern "C" far const CT__xdc_runtime_Error_E_memory xdc_runtime_Error_E_memory__C; typedef xdc_runtime_Error_Id CT__xdc_runtime_Error_E_msgCode; extern "C" far const CT__xdc_runtime_Error_E_msgCode xdc_runtime_Error_E_msgCode__C; typedef xdc_runtime_Error_Policy CT__xdc_runtime_Error_policy; extern "C" far const CT__xdc_runtime_Error_policy xdc_runtime_Error_policy__C; typedef xdc_runtime_Error_HookFxn CT__xdc_runtime_Error_raiseHook; extern "C" far const CT__xdc_runtime_Error_raiseHook xdc_runtime_Error_raiseHook__C; typedef xdc_UInt16 CT__xdc_runtime_Error_maxDepth; extern "C" far const CT__xdc_runtime_Error_maxDepth xdc_runtime_Error_maxDepth__C; extern "C" xdc_Bool xdc_runtime_Error_Module__startupDone__S( void ); extern "C" xdc_Bool xdc_runtime_Error_check__E( xdc_runtime_Error_Block* eb ); extern "C" xdc_Bool xdc_runtime_Error_check__F( xdc_runtime_Error_Block* eb ); extern "C" xdc_Bool xdc_runtime_Error_check__R( xdc_runtime_Error_Block* eb ); extern "C" xdc_runtime_Error_Data* xdc_runtime_Error_getData__E( xdc_runtime_Error_Block* eb ); extern "C" xdc_runtime_Error_Data* xdc_runtime_Error_getData__F( xdc_runtime_Error_Block* eb ); extern "C" xdc_runtime_Error_Data* xdc_runtime_Error_getData__R( xdc_runtime_Error_Block* eb ); extern "C" xdc_UInt16 xdc_runtime_Error_getCode__E( xdc_runtime_Error_Block* eb ); extern "C" xdc_UInt16 xdc_runtime_Error_getCode__F( xdc_runtime_Error_Block* eb ); extern "C" xdc_UInt16 xdc_runtime_Error_getCode__R( xdc_runtime_Error_Block* eb ); extern "C" xdc_runtime_Error_Id xdc_runtime_Error_getId__E( xdc_runtime_Error_Block* eb ); extern "C" xdc_runtime_Error_Id xdc_runtime_Error_getId__F( xdc_runtime_Error_Block* eb ); extern "C" xdc_runtime_Error_Id xdc_runtime_Error_getId__R( xdc_runtime_Error_Block* eb ); extern "C" xdc_String xdc_runtime_Error_getMsg__E( xdc_runtime_Error_Block* eb ); extern "C" xdc_String xdc_runtime_Error_getMsg__F( xdc_runtime_Error_Block* eb ); extern "C" xdc_String xdc_runtime_Error_getMsg__R( xdc_runtime_Error_Block* eb ); extern "C" xdc_runtime_Types_Site* xdc_runtime_Error_getSite__E( xdc_runtime_Error_Block* eb ); extern "C" xdc_runtime_Types_Site* xdc_runtime_Error_getSite__F( xdc_runtime_Error_Block* eb ); extern "C" xdc_runtime_Types_Site* xdc_runtime_Error_getSite__R( xdc_runtime_Error_Block* eb ); extern "C" void xdc_runtime_Error_init__E( xdc_runtime_Error_Block* eb ); extern "C" void xdc_runtime_Error_init__F( xdc_runtime_Error_Block* eb ); extern "C" void xdc_runtime_Error_init__R( xdc_runtime_Error_Block* eb ); extern "C" void xdc_runtime_Error_print__E( xdc_runtime_Error_Block* eb ); extern "C" void xdc_runtime_Error_print__F( xdc_runtime_Error_Block* eb ); extern "C" void xdc_runtime_Error_print__R( xdc_runtime_Error_Block* eb ); extern "C" void xdc_runtime_Error_raiseX__E( xdc_runtime_Error_Block* eb, xdc_runtime_Types_ModuleId mod, xdc_String file, xdc_Int line, xdc_runtime_Error_Id id, xdc_IArg arg1, xdc_IArg arg2 ); extern "C" void xdc_runtime_Error_raiseX__F( xdc_runtime_Error_Block* eb, xdc_runtime_Types_ModuleId mod, xdc_String file, xdc_Int line, xdc_runtime_Error_Id id, xdc_IArg arg1, xdc_IArg arg2 ); extern "C" void xdc_runtime_Error_raiseX__R( xdc_runtime_Error_Block* eb, xdc_runtime_Types_ModuleId mod, xdc_String file, xdc_Int line, xdc_runtime_Error_Id id, xdc_IArg arg1, xdc_IArg arg2 ); static inline CT__xdc_runtime_Error_Module__id xdc_runtime_Error_Module_id( void ) { return xdc_runtime_Error_Module__id__C; } static inline xdc_Bool xdc_runtime_Error_Module_hasMask( void ) { return xdc_runtime_Error_Module__diagsMask__C != 0; } static inline xdc_Bits16 xdc_runtime_Error_Module_getMask( void ) { return xdc_runtime_Error_Module__diagsMask__C != 0 ? *xdc_runtime_Error_Module__diagsMask__C : 0; } static inline void xdc_runtime_Error_Module_setMask( xdc_Bits16 mask ) { if (xdc_runtime_Error_Module__diagsMask__C != 0) *xdc_runtime_Error_Module__diagsMask__C = mask; } typedef xdc_Bits32 CT__xdc_runtime_Memory_HeapProxy_Module__diagsEnabled; extern "C" far const CT__xdc_runtime_Memory_HeapProxy_Module__diagsEnabled xdc_runtime_Memory_HeapProxy_Module__diagsEnabled__C; typedef xdc_Bits32 CT__xdc_runtime_Memory_HeapProxy_Module__diagsIncluded; extern "C" far const CT__xdc_runtime_Memory_HeapProxy_Module__diagsIncluded xdc_runtime_Memory_HeapProxy_Module__diagsIncluded__C; typedef xdc_Bits16* CT__xdc_runtime_Memory_HeapProxy_Module__diagsMask; extern "C" far const CT__xdc_runtime_Memory_HeapProxy_Module__diagsMask xdc_runtime_Memory_HeapProxy_Module__diagsMask__C; typedef xdc_Ptr CT__xdc_runtime_Memory_HeapProxy_Module__gateObj; extern "C" far const CT__xdc_runtime_Memory_HeapProxy_Module__gateObj xdc_runtime_Memory_HeapProxy_Module__gateObj__C; typedef xdc_Ptr CT__xdc_runtime_Memory_HeapProxy_Module__gatePrms; extern "C" far const CT__xdc_runtime_Memory_HeapProxy_Module__gatePrms xdc_runtime_Memory_HeapProxy_Module__gatePrms__C; typedef xdc_runtime_Types_ModuleId CT__xdc_runtime_Memory_HeapProxy_Module__id; extern "C" far const CT__xdc_runtime_Memory_HeapProxy_Module__id xdc_runtime_Memory_HeapProxy_Module__id__C; typedef xdc_Bool CT__xdc_runtime_Memory_HeapProxy_Module__loggerDefined; extern "C" far const CT__xdc_runtime_Memory_HeapProxy_Module__loggerDefined xdc_runtime_Memory_HeapProxy_Module__loggerDefined__C; typedef xdc_Ptr CT__xdc_runtime_Memory_HeapProxy_Module__loggerObj; extern "C" far const CT__xdc_runtime_Memory_HeapProxy_Module__loggerObj xdc_runtime_Memory_HeapProxy_Module__loggerObj__C; typedef xdc_runtime_Types_LoggerFxn0 CT__xdc_runtime_Memory_HeapProxy_Module__loggerFxn0; extern "C" far const CT__xdc_runtime_Memory_HeapProxy_Module__loggerFxn0 xdc_runtime_Memory_HeapProxy_Module__loggerFxn0__C; typedef xdc_runtime_Types_LoggerFxn1 CT__xdc_runtime_Memory_HeapProxy_Module__loggerFxn1; extern "C" far const CT__xdc_runtime_Memory_HeapProxy_Module__loggerFxn1 xdc_runtime_Memory_HeapProxy_Module__loggerFxn1__C; typedef xdc_runtime_Types_LoggerFxn2 CT__xdc_runtime_Memory_HeapProxy_Module__loggerFxn2; extern "C" far const CT__xdc_runtime_Memory_HeapProxy_Module__loggerFxn2 xdc_runtime_Memory_HeapProxy_Module__loggerFxn2__C; typedef xdc_runtime_Types_LoggerFxn4 CT__xdc_runtime_Memory_HeapProxy_Module__loggerFxn4; extern "C" far const CT__xdc_runtime_Memory_HeapProxy_Module__loggerFxn4 xdc_runtime_Memory_HeapProxy_Module__loggerFxn4__C; typedef xdc_runtime_Types_LoggerFxn8 CT__xdc_runtime_Memory_HeapProxy_Module__loggerFxn8; extern "C" far const CT__xdc_runtime_Memory_HeapProxy_Module__loggerFxn8 xdc_runtime_Memory_HeapProxy_Module__loggerFxn8__C; typedef xdc_Bool (*CT__xdc_runtime_Memory_HeapProxy_Module__startupDoneFxn)(void); extern "C" far const CT__xdc_runtime_Memory_HeapProxy_Module__startupDoneFxn xdc_runtime_Memory_HeapProxy_Module__startupDoneFxn__C; typedef xdc_Int CT__xdc_runtime_Memory_HeapProxy_Object__count; extern "C" far const CT__xdc_runtime_Memory_HeapProxy_Object__count xdc_runtime_Memory_HeapProxy_Object__count__C; typedef xdc_runtime_IHeap_Handle CT__xdc_runtime_Memory_HeapProxy_Object__heap; extern "C" far const CT__xdc_runtime_Memory_HeapProxy_Object__heap xdc_runtime_Memory_HeapProxy_Object__heap__C; typedef xdc_SizeT CT__xdc_runtime_Memory_HeapProxy_Object__sizeof; extern "C" far const CT__xdc_runtime_Memory_HeapProxy_Object__sizeof xdc_runtime_Memory_HeapProxy_Object__sizeof__C; typedef xdc_Ptr CT__xdc_runtime_Memory_HeapProxy_Object__table; extern "C" far const CT__xdc_runtime_Memory_HeapProxy_Object__table xdc_runtime_Memory_HeapProxy_Object__table__C; struct xdc_runtime_Memory_HeapProxy_Params { size_t __size; const void* __self; void* __fxns; xdc_runtime_IInstance_Params* instance; xdc_runtime_IInstance_Params __iprms; }; struct xdc_runtime_Memory_HeapProxy_Struct { const xdc_runtime_Memory_HeapProxy_Fxns__* __fxns; xdc_runtime_Types_CordAddr __name; }; struct xdc_runtime_Memory_HeapProxy_Fxns__ { xdc_runtime_Types_Base* __base; const xdc_runtime_Types_SysFxns2* __sysp; xdc_Ptr (*alloc)(xdc_runtime_Memory_HeapProxy_Handle, xdc_SizeT, xdc_SizeT, xdc_runtime_Error_Block*); void (*free)(xdc_runtime_Memory_HeapProxy_Handle, xdc_Ptr, xdc_SizeT); xdc_Bool (*isBlocking)(xdc_runtime_Memory_HeapProxy_Handle); void (*getStats)(xdc_runtime_Memory_HeapProxy_Handle, xdc_runtime_Memory_Stats*); xdc_runtime_Types_SysFxns2 __sfxns; }; extern "C" const xdc_runtime_Memory_HeapProxy_Fxns__ xdc_runtime_Memory_HeapProxy_Module__FXNS__C; extern "C" xdc_runtime_Types_Label* xdc_runtime_Memory_HeapProxy_Handle__label__S( xdc_Ptr obj, xdc_runtime_Types_Label* lab ); extern "C" xdc_Bool xdc_runtime_Memory_HeapProxy_Module__startupDone__S( void ); extern "C" xdc_Ptr xdc_runtime_Memory_HeapProxy_Object__create__S( xdc_Ptr __oa, xdc_SizeT __osz, xdc_Ptr __aa, const xdc_UChar* __pa, xdc_SizeT __psz, xdc_runtime_Error_Block* __eb ); extern "C" void xdc_runtime_Memory_HeapProxy_Object__delete__S( xdc_Ptr instp ); extern "C" void xdc_runtime_Memory_HeapProxy_Object__destruct__S( xdc_Ptr objp ); extern "C" xdc_Ptr xdc_runtime_Memory_HeapProxy_Object__get__S( xdc_Ptr oarr, xdc_Int i ); extern "C" xdc_Ptr xdc_runtime_Memory_HeapProxy_Object__first__S( void ); extern "C" xdc_Ptr xdc_runtime_Memory_HeapProxy_Object__next__S( xdc_Ptr obj ); extern "C" void xdc_runtime_Memory_HeapProxy_Params__init__S( xdc_Ptr dst, xdc_Ptr src, xdc_SizeT psz, xdc_SizeT isz ); extern "C" xdc_Bool xdc_runtime_Memory_HeapProxy_Proxy__abstract__S( void ); extern "C" xdc_Ptr xdc_runtime_Memory_HeapProxy_Proxy__delegate__S( void ); extern "C" xdc_Ptr xdc_runtime_Memory_HeapProxy_alloc__E( xdc_runtime_Memory_HeapProxy_Handle __inst, xdc_SizeT size, xdc_SizeT align, xdc_runtime_Error_Block* eb ); extern "C" xdc_Ptr xdc_runtime_Memory_HeapProxy_alloc__R( xdc_runtime_Memory_HeapProxy_Handle __inst, xdc_SizeT size, xdc_SizeT align, xdc_runtime_Error_Block* eb ); extern "C" void xdc_runtime_Memory_HeapProxy_free__E( xdc_runtime_Memory_HeapProxy_Handle __inst, xdc_Ptr block, xdc_SizeT size ); extern "C" void xdc_runtime_Memory_HeapProxy_free__R( xdc_runtime_Memory_HeapProxy_Handle __inst, xdc_Ptr block, xdc_SizeT size ); extern "C" xdc_Bool xdc_runtime_Memory_HeapProxy_isBlocking__E( xdc_runtime_Memory_HeapProxy_Handle __inst ); extern "C" xdc_Bool xdc_runtime_Memory_HeapProxy_isBlocking__R( xdc_runtime_Memory_HeapProxy_Handle __inst ); extern "C" void xdc_runtime_Memory_HeapProxy_getStats__E( xdc_runtime_Memory_HeapProxy_Handle __inst, xdc_runtime_Memory_Stats* stats ); extern "C" void xdc_runtime_Memory_HeapProxy_getStats__R( xdc_runtime_Memory_HeapProxy_Handle __inst, xdc_runtime_Memory_Stats* stats ); typedef xdc_Ptr (*xdc_runtime_Memory_HeapProxy_alloc_FxnT)(void*, xdc_SizeT, xdc_SizeT, xdc_runtime_Error_Block*); static inline xdc_runtime_Memory_HeapProxy_alloc_FxnT xdc_runtime_Memory_HeapProxy_alloc_fxnP( void ) { return (xdc_runtime_Memory_HeapProxy_alloc_FxnT)xdc_runtime_Memory_HeapProxy_alloc__E; } typedef void (*xdc_runtime_Memory_HeapProxy_free_FxnT)(void*, xdc_Ptr, xdc_SizeT); static inline xdc_runtime_Memory_HeapProxy_free_FxnT xdc_runtime_Memory_HeapProxy_free_fxnP( void ) { return (xdc_runtime_Memory_HeapProxy_free_FxnT)xdc_runtime_Memory_HeapProxy_free__E; } typedef xdc_Bool (*xdc_runtime_Memory_HeapProxy_isBlocking_FxnT)(void*); static inline xdc_runtime_Memory_HeapProxy_isBlocking_FxnT xdc_runtime_Memory_HeapProxy_isBlocking_fxnP( void ) { return (xdc_runtime_Memory_HeapProxy_isBlocking_FxnT)xdc_runtime_Memory_HeapProxy_isBlocking__E; } typedef void (*xdc_runtime_Memory_HeapProxy_getStats_FxnT)(void*, xdc_runtime_Memory_Stats*); static inline xdc_runtime_Memory_HeapProxy_getStats_FxnT xdc_runtime_Memory_HeapProxy_getStats_fxnP( void ) { return (xdc_runtime_Memory_HeapProxy_getStats_FxnT)xdc_runtime_Memory_HeapProxy_getStats__E; } static inline xdc_runtime_IHeap_Module xdc_runtime_Memory_HeapProxy_Module_upCast( void ) { return (xdc_runtime_IHeap_Module)xdc_runtime_Memory_HeapProxy_Proxy__delegate__S(); } static inline xdc_runtime_IHeap_Handle xdc_runtime_Memory_HeapProxy_Handle_upCast( xdc_runtime_Memory_HeapProxy_Handle i ) { return (xdc_runtime_IHeap_Handle)i; } static inline xdc_runtime_Memory_HeapProxy_Handle xdc_runtime_Memory_HeapProxy_Handle_downCast( xdc_runtime_IHeap_Handle i ) { xdc_runtime_IHeap_Handle i2 = (xdc_runtime_IHeap_Handle)i; if (xdc_runtime_Memory_HeapProxy_Proxy__abstract__S()) return (xdc_runtime_Memory_HeapProxy_Handle)i; return (void*)i2->__fxns == (void*)xdc_runtime_Memory_HeapProxy_Proxy__delegate__S() ? (xdc_runtime_Memory_HeapProxy_Handle)i : 0; } static inline CT__xdc_runtime_Memory_HeapProxy_Module__id xdc_runtime_Memory_HeapProxy_Module_id( void ) { return xdc_runtime_Memory_HeapProxy_Module__id__C; } static inline void xdc_runtime_Memory_HeapProxy_Params_init( xdc_runtime_Memory_HeapProxy_Params* prms ) { if (prms) { xdc_runtime_Memory_HeapProxy_Params__init__S(prms, 0, sizeof(xdc_runtime_Memory_HeapProxy_Params), sizeof(xdc_runtime_IInstance_Params)); } } static inline void xdc_runtime_Memory_HeapProxy_Params_copy( xdc_runtime_Memory_HeapProxy_Params* dst, const xdc_runtime_Memory_HeapProxy_Params* src ) { if (dst) { xdc_runtime_Memory_HeapProxy_Params__init__S(dst, (xdc_Ptr)src, sizeof(xdc_runtime_Memory_HeapProxy_Params), sizeof(xdc_runtime_IInstance_Params)); } } static inline xdc_runtime_Memory_HeapProxy_Handle xdc_runtime_Memory_HeapProxy_create( const xdc_runtime_Memory_HeapProxy_Params* __prms, xdc_runtime_Error_Block* __eb ) { return (xdc_runtime_Memory_HeapProxy_Handle)xdc_runtime_Memory_HeapProxy_Object__create__S(0, 0, 0, (const xdc_UChar*)__prms, sizeof(xdc_runtime_Memory_HeapProxy_Params), __eb); } static inline void xdc_runtime_Memory_HeapProxy_delete( xdc_runtime_Memory_HeapProxy_Handle* instp ) { xdc_runtime_Memory_HeapProxy_Object__delete__S(instp); } typedef xdc_UArg xdc_runtime_Memory_Size; struct xdc_runtime_Memory_Stats { xdc_runtime_Memory_Size totalSize; xdc_runtime_Memory_Size totalFreeSize; xdc_runtime_Memory_Size largestFreeSize; }; typedef xdc_Bits32 CT__xdc_runtime_Memory_Module__diagsEnabled; extern "C" far const CT__xdc_runtime_Memory_Module__diagsEnabled xdc_runtime_Memory_Module__diagsEnabled__C; typedef xdc_Bits32 CT__xdc_runtime_Memory_Module__diagsIncluded; extern "C" far const CT__xdc_runtime_Memory_Module__diagsIncluded xdc_runtime_Memory_Module__diagsIncluded__C; typedef xdc_Bits16* CT__xdc_runtime_Memory_Module__diagsMask; extern "C" far const CT__xdc_runtime_Memory_Module__diagsMask xdc_runtime_Memory_Module__diagsMask__C; typedef xdc_Ptr CT__xdc_runtime_Memory_Module__gateObj; extern "C" far const CT__xdc_runtime_Memory_Module__gateObj xdc_runtime_Memory_Module__gateObj__C; typedef xdc_Ptr CT__xdc_runtime_Memory_Module__gatePrms; extern "C" far const CT__xdc_runtime_Memory_Module__gatePrms xdc_runtime_Memory_Module__gatePrms__C; typedef xdc_runtime_Types_ModuleId CT__xdc_runtime_Memory_Module__id; extern "C" far const CT__xdc_runtime_Memory_Module__id xdc_runtime_Memory_Module__id__C; typedef xdc_Bool CT__xdc_runtime_Memory_Module__loggerDefined; extern "C" far const CT__xdc_runtime_Memory_Module__loggerDefined xdc_runtime_Memory_Module__loggerDefined__C; typedef xdc_Ptr CT__xdc_runtime_Memory_Module__loggerObj; extern "C" far const CT__xdc_runtime_Memory_Module__loggerObj xdc_runtime_Memory_Module__loggerObj__C; typedef xdc_runtime_Types_LoggerFxn0 CT__xdc_runtime_Memory_Module__loggerFxn0; extern "C" far const CT__xdc_runtime_Memory_Module__loggerFxn0 xdc_runtime_Memory_Module__loggerFxn0__C; typedef xdc_runtime_Types_LoggerFxn1 CT__xdc_runtime_Memory_Module__loggerFxn1; extern "C" far const CT__xdc_runtime_Memory_Module__loggerFxn1 xdc_runtime_Memory_Module__loggerFxn1__C; typedef xdc_runtime_Types_LoggerFxn2 CT__xdc_runtime_Memory_Module__loggerFxn2; extern "C" far const CT__xdc_runtime_Memory_Module__loggerFxn2 xdc_runtime_Memory_Module__loggerFxn2__C; typedef xdc_runtime_Types_LoggerFxn4 CT__xdc_runtime_Memory_Module__loggerFxn4; extern "C" far const CT__xdc_runtime_Memory_Module__loggerFxn4 xdc_runtime_Memory_Module__loggerFxn4__C; typedef xdc_runtime_Types_LoggerFxn8 CT__xdc_runtime_Memory_Module__loggerFxn8; extern "C" far const CT__xdc_runtime_Memory_Module__loggerFxn8 xdc_runtime_Memory_Module__loggerFxn8__C; typedef xdc_Bool (*CT__xdc_runtime_Memory_Module__startupDoneFxn)(void); extern "C" far const CT__xdc_runtime_Memory_Module__startupDoneFxn xdc_runtime_Memory_Module__startupDoneFxn__C; typedef xdc_Int CT__xdc_runtime_Memory_Object__count; extern "C" far const CT__xdc_runtime_Memory_Object__count xdc_runtime_Memory_Object__count__C; typedef xdc_runtime_IHeap_Handle CT__xdc_runtime_Memory_Object__heap; extern "C" far const CT__xdc_runtime_Memory_Object__heap xdc_runtime_Memory_Object__heap__C; typedef xdc_SizeT CT__xdc_runtime_Memory_Object__sizeof; extern "C" far const CT__xdc_runtime_Memory_Object__sizeof xdc_runtime_Memory_Object__sizeof__C; typedef xdc_Ptr CT__xdc_runtime_Memory_Object__table; extern "C" far const CT__xdc_runtime_Memory_Object__table xdc_runtime_Memory_Object__table__C; typedef xdc_runtime_IHeap_Handle CT__xdc_runtime_Memory_defaultHeapInstance; extern "C" far const CT__xdc_runtime_Memory_defaultHeapInstance xdc_runtime_Memory_defaultHeapInstance__C; extern "C" xdc_Bool xdc_runtime_Memory_Module__startupDone__S( void ); extern "C" xdc_Ptr xdc_runtime_Memory_alloc__E( xdc_runtime_IHeap_Handle heap, xdc_SizeT size, xdc_SizeT align, xdc_runtime_Error_Block* eb ); extern "C" xdc_Ptr xdc_runtime_Memory_alloc__F( xdc_runtime_IHeap_Handle heap, xdc_SizeT size, xdc_SizeT align, xdc_runtime_Error_Block* eb ); extern "C" xdc_Ptr xdc_runtime_Memory_alloc__R( xdc_runtime_IHeap_Handle heap, xdc_SizeT size, xdc_SizeT align, xdc_runtime_Error_Block* eb ); extern "C" xdc_Ptr xdc_runtime_Memory_calloc__E( xdc_runtime_IHeap_Handle heap, xdc_SizeT size, xdc_SizeT align, xdc_runtime_Error_Block* eb ); extern "C" xdc_Ptr xdc_runtime_Memory_calloc__F( xdc_runtime_IHeap_Handle heap, xdc_SizeT size, xdc_SizeT align, xdc_runtime_Error_Block* eb ); extern "C" xdc_Ptr xdc_runtime_Memory_calloc__R( xdc_runtime_IHeap_Handle heap, xdc_SizeT size, xdc_SizeT align, xdc_runtime_Error_Block* eb ); extern "C" void xdc_runtime_Memory_free__E( xdc_runtime_IHeap_Handle heap, xdc_Ptr block, xdc_SizeT size ); extern "C" void xdc_runtime_Memory_free__F( xdc_runtime_IHeap_Handle heap, xdc_Ptr block, xdc_SizeT size ); extern "C" void xdc_runtime_Memory_free__R( xdc_runtime_IHeap_Handle heap, xdc_Ptr block, xdc_SizeT size ); extern "C" void xdc_runtime_Memory_getStats__E( xdc_runtime_IHeap_Handle heap, xdc_runtime_Memory_Stats* stats ); extern "C" void xdc_runtime_Memory_getStats__F( xdc_runtime_IHeap_Handle heap, xdc_runtime_Memory_Stats* stats ); extern "C" void xdc_runtime_Memory_getStats__R( xdc_runtime_IHeap_Handle heap, xdc_runtime_Memory_Stats* stats ); extern "C" xdc_Bool xdc_runtime_Memory_query__E( xdc_runtime_IHeap_Handle heap, xdc_Int qual ); extern "C" xdc_Bool xdc_runtime_Memory_query__F( xdc_runtime_IHeap_Handle heap, xdc_Int qual ); extern "C" xdc_Bool xdc_runtime_Memory_query__R( xdc_runtime_IHeap_Handle heap, xdc_Int qual ); extern "C" xdc_SizeT xdc_runtime_Memory_getMaxDefaultTypeAlign__E( void ); extern "C" xdc_SizeT xdc_runtime_Memory_getMaxDefaultTypeAlign__F( void ); extern "C" xdc_SizeT xdc_runtime_Memory_getMaxDefaultTypeAlign__R( void ); extern "C" xdc_Ptr xdc_runtime_Memory_valloc__E( xdc_runtime_IHeap_Handle heap, xdc_SizeT size, xdc_SizeT align, xdc_Char value, xdc_runtime_Error_Block* eb ); extern "C" xdc_Ptr xdc_runtime_Memory_valloc__F( xdc_runtime_IHeap_Handle heap, xdc_SizeT size, xdc_SizeT align, xdc_Char value, xdc_runtime_Error_Block* eb ); extern "C" xdc_Ptr xdc_runtime_Memory_valloc__R( xdc_runtime_IHeap_Handle heap, xdc_SizeT size, xdc_SizeT align, xdc_Char value, xdc_runtime_Error_Block* eb ); static inline CT__xdc_runtime_Memory_Module__id xdc_runtime_Memory_Module_id( void ) { return xdc_runtime_Memory_Module__id__C; } static inline xdc_Bool xdc_runtime_Memory_Module_hasMask( void ) { return xdc_runtime_Memory_Module__diagsMask__C != 0; } static inline xdc_Bits16 xdc_runtime_Memory_Module_getMask( void ) { return xdc_runtime_Memory_Module__diagsMask__C != 0 ? *xdc_runtime_Memory_Module__diagsMask__C : 0; } static inline void xdc_runtime_Memory_Module_setMask( xdc_Bits16 mask ) { if (xdc_runtime_Memory_Module__diagsMask__C != 0) *xdc_runtime_Memory_Module__diagsMask__C = mask; } struct xdc_runtime_IHeap_Params { size_t __size; const void* __self; void* __fxns; xdc_runtime_IInstance_Params* instance; }; struct xdc_runtime_IHeap_Fxns__ { xdc_runtime_Types_Base* __base; const xdc_runtime_Types_SysFxns2* __sysp; xdc_Ptr (*alloc)(void*, xdc_SizeT, xdc_SizeT, xdc_runtime_Error_Block*); void (*free)(void*, xdc_Ptr, xdc_SizeT); xdc_Bool (*isBlocking)(void*); void (*getStats)(void*, xdc_runtime_Memory_Stats*); xdc_runtime_Types_SysFxns2 __sfxns; }; extern "C" const xdc_runtime_Types_Base xdc_runtime_IHeap_Interface__BASE__C; static inline xdc_runtime_IHeap_Handle xdc_runtime_IHeap_create( xdc_runtime_IHeap_Module __mod, const xdc_runtime_IHeap_Params* __prms, xdc_runtime_Error_Block* __eb ) { return (xdc_runtime_IHeap_Handle) __mod->__sysp->__create(0, 0, 0, (const xdc_UChar*)__prms, sizeof (xdc_runtime_IHeap_Params), __eb); } static inline void xdc_runtime_IHeap_delete( xdc_runtime_IHeap_Handle* instp ) { (*instp)->__fxns->__sysp->__delete(instp); } static inline xdc_runtime_IHeap_Module xdc_runtime_IHeap_Handle_to_Module( xdc_runtime_IHeap_Handle inst ) { return inst->__fxns; } static inline xdc_runtime_Types_Label* xdc_runtime_IHeap_Handle_label( xdc_runtime_IHeap_Handle inst, xdc_runtime_Types_Label* lab ) { return inst->__fxns->__sysp->__label(inst, lab); } static inline xdc_runtime_Types_ModuleId xdc_runtime_IHeap_Module_id( xdc_runtime_IHeap_Module mod ) { return mod->__sysp->__mid; } static inline xdc_Ptr xdc_runtime_IHeap_alloc( xdc_runtime_IHeap_Handle __inst, xdc_SizeT size, xdc_SizeT align, xdc_runtime_Error_Block* eb ) { return __inst->__fxns->alloc((void*)__inst, size, align, eb); } static inline void xdc_runtime_IHeap_free( xdc_runtime_IHeap_Handle __inst, xdc_Ptr block, xdc_SizeT size ) { __inst->__fxns->free((void*)__inst, block, size); } static inline xdc_Bool xdc_runtime_IHeap_isBlocking( xdc_runtime_IHeap_Handle __inst ) { return __inst->__fxns->isBlocking((void*)__inst); } static inline void xdc_runtime_IHeap_getStats( xdc_runtime_IHeap_Handle __inst, xdc_runtime_Memory_Stats* stats ) { __inst->__fxns->getStats((void*)__inst, stats); } typedef xdc_Ptr (*xdc_runtime_IHeap_alloc_FxnT)(void*, xdc_SizeT, xdc_SizeT, xdc_runtime_Error_Block*); static inline xdc_runtime_IHeap_alloc_FxnT xdc_runtime_IHeap_alloc_fxnP( xdc_runtime_IHeap_Handle __inst ) { return (xdc_runtime_IHeap_alloc_FxnT)__inst->__fxns->alloc; } typedef void (*xdc_runtime_IHeap_free_FxnT)(void*, xdc_Ptr, xdc_SizeT); static inline xdc_runtime_IHeap_free_FxnT xdc_runtime_IHeap_free_fxnP( xdc_runtime_IHeap_Handle __inst ) { return (xdc_runtime_IHeap_free_FxnT)__inst->__fxns->free; } typedef xdc_Bool (*xdc_runtime_IHeap_isBlocking_FxnT)(void*); static inline xdc_runtime_IHeap_isBlocking_FxnT xdc_runtime_IHeap_isBlocking_fxnP( xdc_runtime_IHeap_Handle __inst ) { return (xdc_runtime_IHeap_isBlocking_FxnT)__inst->__fxns->isBlocking; } typedef void (*xdc_runtime_IHeap_getStats_FxnT)(void*, xdc_runtime_Memory_Stats*); static inline xdc_runtime_IHeap_getStats_FxnT xdc_runtime_IHeap_getStats_fxnP( xdc_runtime_IHeap_Handle __inst ) { return (xdc_runtime_IHeap_getStats_FxnT)__inst->__fxns->getStats; } struct xdc_runtime_IModule_Fxns__ { xdc_runtime_Types_Base* __base; const xdc_runtime_Types_SysFxns2* __sysp; xdc_runtime_Types_SysFxns2 __sfxns; }; extern "C" const xdc_runtime_Types_Base xdc_runtime_IModule_Interface__BASE__C; static inline xdc_runtime_Types_ModuleId xdc_runtime_IModule_Module_id( xdc_runtime_IModule_Module mod ) { return mod->__sysp->__mid; } struct xdc_runtime_ISystemSupport_Fxns__ { xdc_runtime_Types_Base* __base; const xdc_runtime_Types_SysFxns2* __sysp; void (*abort)(xdc_String); void (*exit)(xdc_Int); void (*flush)(void); void (*putch)(xdc_Char); xdc_Bool (*ready)(void); xdc_runtime_Types_SysFxns2 __sfxns; }; extern "C" const xdc_runtime_Types_Base xdc_runtime_ISystemSupport_Interface__BASE__C; static inline xdc_runtime_Types_ModuleId xdc_runtime_ISystemSupport_Module_id( xdc_runtime_ISystemSupport_Module mod ) { return mod->__sysp->__mid; } static inline void xdc_runtime_ISystemSupport_abort( xdc_runtime_ISystemSupport_Module __inst, xdc_String str ) { __inst->abort(str); } static inline void xdc_runtime_ISystemSupport_exit( xdc_runtime_ISystemSupport_Module __inst, xdc_Int stat ) { __inst->exit(stat); } static inline void xdc_runtime_ISystemSupport_flush( xdc_runtime_ISystemSupport_Module __inst ) { __inst->flush(); } static inline void xdc_runtime_ISystemSupport_putch( xdc_runtime_ISystemSupport_Module __inst, xdc_Char ch ) { __inst->putch(ch); } static inline xdc_Bool xdc_runtime_ISystemSupport_ready( xdc_runtime_ISystemSupport_Module __inst ) { return __inst->ready(); } typedef void (*xdc_runtime_ISystemSupport_abort_FxnT)(xdc_String); static inline xdc_runtime_ISystemSupport_abort_FxnT xdc_runtime_ISystemSupport_abort_fxnP( xdc_runtime_ISystemSupport_Module __inst ) { return (xdc_runtime_ISystemSupport_abort_FxnT)__inst->abort; } typedef void (*xdc_runtime_ISystemSupport_exit_FxnT)(xdc_Int); static inline xdc_runtime_ISystemSupport_exit_FxnT xdc_runtime_ISystemSupport_exit_fxnP( xdc_runtime_ISystemSupport_Module __inst ) { return (xdc_runtime_ISystemSupport_exit_FxnT)__inst->exit; } typedef void (*xdc_runtime_ISystemSupport_flush_FxnT)(void); static inline xdc_runtime_ISystemSupport_flush_FxnT xdc_runtime_ISystemSupport_flush_fxnP( xdc_runtime_ISystemSupport_Module __inst ) { return (xdc_runtime_ISystemSupport_flush_FxnT)__inst->flush; } typedef void (*xdc_runtime_ISystemSupport_putch_FxnT)(xdc_Char); static inline xdc_runtime_ISystemSupport_putch_FxnT xdc_runtime_ISystemSupport_putch_fxnP( xdc_runtime_ISystemSupport_Module __inst ) { return (xdc_runtime_ISystemSupport_putch_FxnT)__inst->putch; } typedef xdc_Bool (*xdc_runtime_ISystemSupport_ready_FxnT)(void); static inline xdc_runtime_ISystemSupport_ready_FxnT xdc_runtime_ISystemSupport_ready_fxnP( xdc_runtime_ISystemSupport_Module __inst ) { return (xdc_runtime_ISystemSupport_ready_FxnT)__inst->ready; } typedef xdc_runtime_Types_DiagsMask xdc_runtime_Diags_Mask; enum xdc_runtime_Diags_EventLevel { xdc_runtime_Diags_LEVEL1 = 0x0, xdc_runtime_Diags_LEVEL2 = 0x20, xdc_runtime_Diags_LEVEL3 = 0x40, xdc_runtime_Diags_LEVEL4 = 0x60 }; typedef enum xdc_runtime_Diags_EventLevel xdc_runtime_Diags_EventLevel; struct xdc_runtime_Diags_DictElem { xdc_runtime_Types_ModuleId modId; xdc_runtime_Diags_Mask* maskAddr; }; typedef xdc_Bits32 CT__xdc_runtime_Diags_Module__diagsEnabled; extern "C" far const CT__xdc_runtime_Diags_Module__diagsEnabled xdc_runtime_Diags_Module__diagsEnabled__C; typedef xdc_Bits32 CT__xdc_runtime_Diags_Module__diagsIncluded; extern "C" far const CT__xdc_runtime_Diags_Module__diagsIncluded xdc_runtime_Diags_Module__diagsIncluded__C; typedef xdc_Bits16* CT__xdc_runtime_Diags_Module__diagsMask; extern "C" far const CT__xdc_runtime_Diags_Module__diagsMask xdc_runtime_Diags_Module__diagsMask__C; typedef xdc_Ptr CT__xdc_runtime_Diags_Module__gateObj; extern "C" far const CT__xdc_runtime_Diags_Module__gateObj xdc_runtime_Diags_Module__gateObj__C; typedef xdc_Ptr CT__xdc_runtime_Diags_Module__gatePrms; extern "C" far const CT__xdc_runtime_Diags_Module__gatePrms xdc_runtime_Diags_Module__gatePrms__C; typedef xdc_runtime_Types_ModuleId CT__xdc_runtime_Diags_Module__id; extern "C" far const CT__xdc_runtime_Diags_Module__id xdc_runtime_Diags_Module__id__C; typedef xdc_Bool CT__xdc_runtime_Diags_Module__loggerDefined; extern "C" far const CT__xdc_runtime_Diags_Module__loggerDefined xdc_runtime_Diags_Module__loggerDefined__C; typedef xdc_Ptr CT__xdc_runtime_Diags_Module__loggerObj; extern "C" far const CT__xdc_runtime_Diags_Module__loggerObj xdc_runtime_Diags_Module__loggerObj__C; typedef xdc_runtime_Types_LoggerFxn0 CT__xdc_runtime_Diags_Module__loggerFxn0; extern "C" far const CT__xdc_runtime_Diags_Module__loggerFxn0 xdc_runtime_Diags_Module__loggerFxn0__C; typedef xdc_runtime_Types_LoggerFxn1 CT__xdc_runtime_Diags_Module__loggerFxn1; extern "C" far const CT__xdc_runtime_Diags_Module__loggerFxn1 xdc_runtime_Diags_Module__loggerFxn1__C; typedef xdc_runtime_Types_LoggerFxn2 CT__xdc_runtime_Diags_Module__loggerFxn2; extern "C" far const CT__xdc_runtime_Diags_Module__loggerFxn2 xdc_runtime_Diags_Module__loggerFxn2__C; typedef xdc_runtime_Types_LoggerFxn4 CT__xdc_runtime_Diags_Module__loggerFxn4; extern "C" far const CT__xdc_runtime_Diags_Module__loggerFxn4 xdc_runtime_Diags_Module__loggerFxn4__C; typedef xdc_runtime_Types_LoggerFxn8 CT__xdc_runtime_Diags_Module__loggerFxn8; extern "C" far const CT__xdc_runtime_Diags_Module__loggerFxn8 xdc_runtime_Diags_Module__loggerFxn8__C; typedef xdc_Bool (*CT__xdc_runtime_Diags_Module__startupDoneFxn)(void); extern "C" far const CT__xdc_runtime_Diags_Module__startupDoneFxn xdc_runtime_Diags_Module__startupDoneFxn__C; typedef xdc_Int CT__xdc_runtime_Diags_Object__count; extern "C" far const CT__xdc_runtime_Diags_Object__count xdc_runtime_Diags_Object__count__C; typedef xdc_runtime_IHeap_Handle CT__xdc_runtime_Diags_Object__heap; extern "C" far const CT__xdc_runtime_Diags_Object__heap xdc_runtime_Diags_Object__heap__C; typedef xdc_SizeT CT__xdc_runtime_Diags_Object__sizeof; extern "C" far const CT__xdc_runtime_Diags_Object__sizeof xdc_runtime_Diags_Object__sizeof__C; typedef xdc_Ptr CT__xdc_runtime_Diags_Object__table; extern "C" far const CT__xdc_runtime_Diags_Object__table xdc_runtime_Diags_Object__table__C; typedef xdc_Bool CT__xdc_runtime_Diags_setMaskEnabled; extern "C" far const CT__xdc_runtime_Diags_setMaskEnabled xdc_runtime_Diags_setMaskEnabled__C; typedef xdc_runtime_Diags_DictElem* CT__xdc_runtime_Diags_dictBase; extern "C" far const CT__xdc_runtime_Diags_dictBase xdc_runtime_Diags_dictBase__C; extern "C" xdc_Bool xdc_runtime_Diags_Module__startupDone__S( void ); extern "C" void xdc_runtime_Diags_setMask__E( xdc_String control ); extern "C" void xdc_runtime_Diags_setMask__F( xdc_String control ); extern "C" void xdc_runtime_Diags_setMask__R( xdc_String control ); static inline CT__xdc_runtime_Diags_Module__id xdc_runtime_Diags_Module_id( void ) { return xdc_runtime_Diags_Module__id__C; } static inline xdc_Bool xdc_runtime_Diags_Module_hasMask( void ) { return xdc_runtime_Diags_Module__diagsMask__C != 0; } static inline xdc_Bits16 xdc_runtime_Diags_Module_getMask( void ) { return xdc_runtime_Diags_Module__diagsMask__C != 0 ? *xdc_runtime_Diags_Module__diagsMask__C : 0; } static inline void xdc_runtime_Diags_Module_setMask( xdc_Bits16 mask ) { if (xdc_runtime_Diags_Module__diagsMask__C != 0) *xdc_runtime_Diags_Module__diagsMask__C = mask; } typedef xdc_Bits32 xdc_runtime_Assert_Id; typedef xdc_Bits32 CT__xdc_runtime_Assert_Module__diagsEnabled; extern "C" far const CT__xdc_runtime_Assert_Module__diagsEnabled xdc_runtime_Assert_Module__diagsEnabled__C; typedef xdc_Bits32 CT__xdc_runtime_Assert_Module__diagsIncluded; extern "C" far const CT__xdc_runtime_Assert_Module__diagsIncluded xdc_runtime_Assert_Module__diagsIncluded__C; typedef xdc_Bits16* CT__xdc_runtime_Assert_Module__diagsMask; extern "C" far const CT__xdc_runtime_Assert_Module__diagsMask xdc_runtime_Assert_Module__diagsMask__C; typedef xdc_Ptr CT__xdc_runtime_Assert_Module__gateObj; extern "C" far const CT__xdc_runtime_Assert_Module__gateObj xdc_runtime_Assert_Module__gateObj__C; typedef xdc_Ptr CT__xdc_runtime_Assert_Module__gatePrms; extern "C" far const CT__xdc_runtime_Assert_Module__gatePrms xdc_runtime_Assert_Module__gatePrms__C; typedef xdc_runtime_Types_ModuleId CT__xdc_runtime_Assert_Module__id; extern "C" far const CT__xdc_runtime_Assert_Module__id xdc_runtime_Assert_Module__id__C; typedef xdc_Bool CT__xdc_runtime_Assert_Module__loggerDefined; extern "C" far const CT__xdc_runtime_Assert_Module__loggerDefined xdc_runtime_Assert_Module__loggerDefined__C; typedef xdc_Ptr CT__xdc_runtime_Assert_Module__loggerObj; extern "C" far const CT__xdc_runtime_Assert_Module__loggerObj xdc_runtime_Assert_Module__loggerObj__C; typedef xdc_runtime_Types_LoggerFxn0 CT__xdc_runtime_Assert_Module__loggerFxn0; extern "C" far const CT__xdc_runtime_Assert_Module__loggerFxn0 xdc_runtime_Assert_Module__loggerFxn0__C; typedef xdc_runtime_Types_LoggerFxn1 CT__xdc_runtime_Assert_Module__loggerFxn1; extern "C" far const CT__xdc_runtime_Assert_Module__loggerFxn1 xdc_runtime_Assert_Module__loggerFxn1__C; typedef xdc_runtime_Types_LoggerFxn2 CT__xdc_runtime_Assert_Module__loggerFxn2; extern "C" far const CT__xdc_runtime_Assert_Module__loggerFxn2 xdc_runtime_Assert_Module__loggerFxn2__C; typedef xdc_runtime_Types_LoggerFxn4 CT__xdc_runtime_Assert_Module__loggerFxn4; extern "C" far const CT__xdc_runtime_Assert_Module__loggerFxn4 xdc_runtime_Assert_Module__loggerFxn4__C; typedef xdc_runtime_Types_LoggerFxn8 CT__xdc_runtime_Assert_Module__loggerFxn8; extern "C" far const CT__xdc_runtime_Assert_Module__loggerFxn8 xdc_runtime_Assert_Module__loggerFxn8__C; typedef xdc_Bool (*CT__xdc_runtime_Assert_Module__startupDoneFxn)(void); extern "C" far const CT__xdc_runtime_Assert_Module__startupDoneFxn xdc_runtime_Assert_Module__startupDoneFxn__C; typedef xdc_Int CT__xdc_runtime_Assert_Object__count; extern "C" far const CT__xdc_runtime_Assert_Object__count xdc_runtime_Assert_Object__count__C; typedef xdc_runtime_IHeap_Handle CT__xdc_runtime_Assert_Object__heap; extern "C" far const CT__xdc_runtime_Assert_Object__heap xdc_runtime_Assert_Object__heap__C; typedef xdc_SizeT CT__xdc_runtime_Assert_Object__sizeof; extern "C" far const CT__xdc_runtime_Assert_Object__sizeof xdc_runtime_Assert_Object__sizeof__C; typedef xdc_Ptr CT__xdc_runtime_Assert_Object__table; extern "C" far const CT__xdc_runtime_Assert_Object__table xdc_runtime_Assert_Object__table__C; typedef xdc_runtime_Error_Id CT__xdc_runtime_Assert_E_assertFailed; extern "C" far const CT__xdc_runtime_Assert_E_assertFailed xdc_runtime_Assert_E_assertFailed__C; extern "C" xdc_Bool xdc_runtime_Assert_Module__startupDone__S( void ); extern "C" void xdc_runtime_Assert_raise__I( xdc_runtime_Types_ModuleId mod, xdc_String file, xdc_Int line, xdc_runtime_Assert_Id id ); static inline CT__xdc_runtime_Assert_Module__id xdc_runtime_Assert_Module_id( void ) { return xdc_runtime_Assert_Module__id__C; } static inline xdc_Bool xdc_runtime_Assert_Module_hasMask( void ) { return xdc_runtime_Assert_Module__diagsMask__C != 0; } static inline xdc_Bits16 xdc_runtime_Assert_Module_getMask( void ) { return xdc_runtime_Assert_Module__diagsMask__C != 0 ? *xdc_runtime_Assert_Module__diagsMask__C : 0; } static inline void xdc_runtime_Assert_Module_setMask( xdc_Bits16 mask ) { if (xdc_runtime_Assert_Module__diagsMask__C != 0) *xdc_runtime_Assert_Module__diagsMask__C = mask; } typedef xdc_Bits32 CT__xdc_runtime_System_SupportProxy_Module__diagsEnabled; extern "C" far const CT__xdc_runtime_System_SupportProxy_Module__diagsEnabled xdc_runtime_System_SupportProxy_Module__diagsEnabled__C; typedef xdc_Bits32 CT__xdc_runtime_System_SupportProxy_Module__diagsIncluded; extern "C" far const CT__xdc_runtime_System_SupportProxy_Module__diagsIncluded xdc_runtime_System_SupportProxy_Module__diagsIncluded__C; typedef xdc_Bits16* CT__xdc_runtime_System_SupportProxy_Module__diagsMask; extern "C" far const CT__xdc_runtime_System_SupportProxy_Module__diagsMask xdc_runtime_System_SupportProxy_Module__diagsMask__C; typedef xdc_Ptr CT__xdc_runtime_System_SupportProxy_Module__gateObj; extern "C" far const CT__xdc_runtime_System_SupportProxy_Module__gateObj xdc_runtime_System_SupportProxy_Module__gateObj__C; typedef xdc_Ptr CT__xdc_runtime_System_SupportProxy_Module__gatePrms; extern "C" far const CT__xdc_runtime_System_SupportProxy_Module__gatePrms xdc_runtime_System_SupportProxy_Module__gatePrms__C; typedef xdc_runtime_Types_ModuleId CT__xdc_runtime_System_SupportProxy_Module__id; extern "C" far const CT__xdc_runtime_System_SupportProxy_Module__id xdc_runtime_System_SupportProxy_Module__id__C; typedef xdc_Bool CT__xdc_runtime_System_SupportProxy_Module__loggerDefined; extern "C" far const CT__xdc_runtime_System_SupportProxy_Module__loggerDefined xdc_runtime_System_SupportProxy_Module__loggerDefined__C; typedef xdc_Ptr CT__xdc_runtime_System_SupportProxy_Module__loggerObj; extern "C" far const CT__xdc_runtime_System_SupportProxy_Module__loggerObj xdc_runtime_System_SupportProxy_Module__loggerObj__C; typedef xdc_runtime_Types_LoggerFxn0 CT__xdc_runtime_System_SupportProxy_Module__loggerFxn0; extern "C" far const CT__xdc_runtime_System_SupportProxy_Module__loggerFxn0 xdc_runtime_System_SupportProxy_Module__loggerFxn0__C; typedef xdc_runtime_Types_LoggerFxn1 CT__xdc_runtime_System_SupportProxy_Module__loggerFxn1; extern "C" far const CT__xdc_runtime_System_SupportProxy_Module__loggerFxn1 xdc_runtime_System_SupportProxy_Module__loggerFxn1__C; typedef xdc_runtime_Types_LoggerFxn2 CT__xdc_runtime_System_SupportProxy_Module__loggerFxn2; extern "C" far const CT__xdc_runtime_System_SupportProxy_Module__loggerFxn2 xdc_runtime_System_SupportProxy_Module__loggerFxn2__C; typedef xdc_runtime_Types_LoggerFxn4 CT__xdc_runtime_System_SupportProxy_Module__loggerFxn4; extern "C" far const CT__xdc_runtime_System_SupportProxy_Module__loggerFxn4 xdc_runtime_System_SupportProxy_Module__loggerFxn4__C; typedef xdc_runtime_Types_LoggerFxn8 CT__xdc_runtime_System_SupportProxy_Module__loggerFxn8; extern "C" far const CT__xdc_runtime_System_SupportProxy_Module__loggerFxn8 xdc_runtime_System_SupportProxy_Module__loggerFxn8__C; typedef xdc_Bool (*CT__xdc_runtime_System_SupportProxy_Module__startupDoneFxn)(void); extern "C" far const CT__xdc_runtime_System_SupportProxy_Module__startupDoneFxn xdc_runtime_System_SupportProxy_Module__startupDoneFxn__C; typedef xdc_Int CT__xdc_runtime_System_SupportProxy_Object__count; extern "C" far const CT__xdc_runtime_System_SupportProxy_Object__count xdc_runtime_System_SupportProxy_Object__count__C; typedef xdc_runtime_IHeap_Handle CT__xdc_runtime_System_SupportProxy_Object__heap; extern "C" far const CT__xdc_runtime_System_SupportProxy_Object__heap xdc_runtime_System_SupportProxy_Object__heap__C; typedef xdc_SizeT CT__xdc_runtime_System_SupportProxy_Object__sizeof; extern "C" far const CT__xdc_runtime_System_SupportProxy_Object__sizeof xdc_runtime_System_SupportProxy_Object__sizeof__C; typedef xdc_Ptr CT__xdc_runtime_System_SupportProxy_Object__table; extern "C" far const CT__xdc_runtime_System_SupportProxy_Object__table xdc_runtime_System_SupportProxy_Object__table__C; struct xdc_runtime_System_SupportProxy_Fxns__ { xdc_runtime_Types_Base* __base; const xdc_runtime_Types_SysFxns2* __sysp; void (*abort)(xdc_String); void (*exit)(xdc_Int); void (*flush)(void); void (*putch)(xdc_Char); xdc_Bool (*ready)(void); xdc_runtime_Types_SysFxns2 __sfxns; }; extern "C" const xdc_runtime_System_SupportProxy_Fxns__ xdc_runtime_System_SupportProxy_Module__FXNS__C; extern "C" xdc_runtime_Types_Label* xdc_runtime_System_SupportProxy_Handle__label__S( xdc_Ptr obj, xdc_runtime_Types_Label* lab ); extern "C" xdc_Bool xdc_runtime_System_SupportProxy_Module__startupDone__S( void ); extern "C" xdc_Ptr xdc_runtime_System_SupportProxy_Object__create__S( xdc_Ptr __oa, xdc_SizeT __osz, xdc_Ptr __aa, const xdc_UChar* __pa, xdc_SizeT __psz, xdc_runtime_Error_Block* __eb ); extern "C" void xdc_runtime_System_SupportProxy_Object__delete__S( xdc_Ptr instp ); extern "C" void xdc_runtime_System_SupportProxy_Object__destruct__S( xdc_Ptr objp ); extern "C" xdc_Ptr xdc_runtime_System_SupportProxy_Object__get__S( xdc_Ptr oarr, xdc_Int i ); extern "C" xdc_Ptr xdc_runtime_System_SupportProxy_Object__first__S( void ); extern "C" xdc_Ptr xdc_runtime_System_SupportProxy_Object__next__S( xdc_Ptr obj ); extern "C" void xdc_runtime_System_SupportProxy_Params__init__S( xdc_Ptr dst, xdc_Ptr src, xdc_SizeT psz, xdc_SizeT isz ); extern "C" xdc_Bool xdc_runtime_System_SupportProxy_Proxy__abstract__S( void ); extern "C" xdc_Ptr xdc_runtime_System_SupportProxy_Proxy__delegate__S( void ); extern "C" void xdc_runtime_System_SupportProxy_abort__E( xdc_String str ); extern "C" void xdc_runtime_System_SupportProxy_abort__R( xdc_String str ); extern "C" void xdc_runtime_System_SupportProxy_exit__E( xdc_Int stat ); extern "C" void xdc_runtime_System_SupportProxy_exit__R( xdc_Int stat ); extern "C" void xdc_runtime_System_SupportProxy_flush__E( void ); extern "C" void xdc_runtime_System_SupportProxy_flush__R( void ); extern "C" void xdc_runtime_System_SupportProxy_putch__E( xdc_Char ch ); extern "C" void xdc_runtime_System_SupportProxy_putch__R( xdc_Char ch ); extern "C" xdc_Bool xdc_runtime_System_SupportProxy_ready__E( void ); extern "C" xdc_Bool xdc_runtime_System_SupportProxy_ready__R( void ); static inline xdc_runtime_ISystemSupport_Module xdc_runtime_System_SupportProxy_Module_upCast( void ) { return (xdc_runtime_ISystemSupport_Module)xdc_runtime_System_SupportProxy_Proxy__delegate__S(); } static inline CT__xdc_runtime_System_SupportProxy_Module__id xdc_runtime_System_SupportProxy_Module_id( void ) { return xdc_runtime_System_SupportProxy_Module__id__C; } typedef xdc_Bits32 CT__xdc_runtime_System_Module_GateProxy_Module__diagsEnabled; extern "C" far const CT__xdc_runtime_System_Module_GateProxy_Module__diagsEnabled xdc_runtime_System_Module_GateProxy_Module__diagsEnabled__C; typedef xdc_Bits32 CT__xdc_runtime_System_Module_GateProxy_Module__diagsIncluded; extern "C" far const CT__xdc_runtime_System_Module_GateProxy_Module__diagsIncluded xdc_runtime_System_Module_GateProxy_Module__diagsIncluded__C; typedef xdc_Bits16* CT__xdc_runtime_System_Module_GateProxy_Module__diagsMask; extern "C" far const CT__xdc_runtime_System_Module_GateProxy_Module__diagsMask xdc_runtime_System_Module_GateProxy_Module__diagsMask__C; typedef xdc_Ptr CT__xdc_runtime_System_Module_GateProxy_Module__gateObj; extern "C" far const CT__xdc_runtime_System_Module_GateProxy_Module__gateObj xdc_runtime_System_Module_GateProxy_Module__gateObj__C; typedef xdc_Ptr CT__xdc_runtime_System_Module_GateProxy_Module__gatePrms; extern "C" far const CT__xdc_runtime_System_Module_GateProxy_Module__gatePrms xdc_runtime_System_Module_GateProxy_Module__gatePrms__C; typedef xdc_runtime_Types_ModuleId CT__xdc_runtime_System_Module_GateProxy_Module__id; extern "C" far const CT__xdc_runtime_System_Module_GateProxy_Module__id xdc_runtime_System_Module_GateProxy_Module__id__C; typedef xdc_Bool CT__xdc_runtime_System_Module_GateProxy_Module__loggerDefined; extern "C" far const CT__xdc_runtime_System_Module_GateProxy_Module__loggerDefined xdc_runtime_System_Module_GateProxy_Module__loggerDefined__C; typedef xdc_Ptr CT__xdc_runtime_System_Module_GateProxy_Module__loggerObj; extern "C" far const CT__xdc_runtime_System_Module_GateProxy_Module__loggerObj xdc_runtime_System_Module_GateProxy_Module__loggerObj__C; typedef xdc_runtime_Types_LoggerFxn0 CT__xdc_runtime_System_Module_GateProxy_Module__loggerFxn0; extern "C" far const CT__xdc_runtime_System_Module_GateProxy_Module__loggerFxn0 xdc_runtime_System_Module_GateProxy_Module__loggerFxn0__C; typedef xdc_runtime_Types_LoggerFxn1 CT__xdc_runtime_System_Module_GateProxy_Module__loggerFxn1; extern "C" far const CT__xdc_runtime_System_Module_GateProxy_Module__loggerFxn1 xdc_runtime_System_Module_GateProxy_Module__loggerFxn1__C; typedef xdc_runtime_Types_LoggerFxn2 CT__xdc_runtime_System_Module_GateProxy_Module__loggerFxn2; extern "C" far const CT__xdc_runtime_System_Module_GateProxy_Module__loggerFxn2 xdc_runtime_System_Module_GateProxy_Module__loggerFxn2__C; typedef xdc_runtime_Types_LoggerFxn4 CT__xdc_runtime_System_Module_GateProxy_Module__loggerFxn4; extern "C" far const CT__xdc_runtime_System_Module_GateProxy_Module__loggerFxn4 xdc_runtime_System_Module_GateProxy_Module__loggerFxn4__C; typedef xdc_runtime_Types_LoggerFxn8 CT__xdc_runtime_System_Module_GateProxy_Module__loggerFxn8; extern "C" far const CT__xdc_runtime_System_Module_GateProxy_Module__loggerFxn8 xdc_runtime_System_Module_GateProxy_Module__loggerFxn8__C; typedef xdc_Bool (*CT__xdc_runtime_System_Module_GateProxy_Module__startupDoneFxn)(void); extern "C" far const CT__xdc_runtime_System_Module_GateProxy_Module__startupDoneFxn xdc_runtime_System_Module_GateProxy_Module__startupDoneFxn__C; typedef xdc_Int CT__xdc_runtime_System_Module_GateProxy_Object__count; extern "C" far const CT__xdc_runtime_System_Module_GateProxy_Object__count xdc_runtime_System_Module_GateProxy_Object__count__C; typedef xdc_runtime_IHeap_Handle CT__xdc_runtime_System_Module_GateProxy_Object__heap; extern "C" far const CT__xdc_runtime_System_Module_GateProxy_Object__heap xdc_runtime_System_Module_GateProxy_Object__heap__C; typedef xdc_SizeT CT__xdc_runtime_System_Module_GateProxy_Object__sizeof; extern "C" far const CT__xdc_runtime_System_Module_GateProxy_Object__sizeof xdc_runtime_System_Module_GateProxy_Object__sizeof__C; typedef xdc_Ptr CT__xdc_runtime_System_Module_GateProxy_Object__table; extern "C" far const CT__xdc_runtime_System_Module_GateProxy_Object__table xdc_runtime_System_Module_GateProxy_Object__table__C; struct xdc_runtime_System_Module_GateProxy_Params { size_t __size; const void* __self; void* __fxns; xdc_runtime_IInstance_Params* instance; xdc_runtime_IInstance_Params __iprms; }; struct xdc_runtime_System_Module_GateProxy_Struct { const xdc_runtime_System_Module_GateProxy_Fxns__* __fxns; xdc_runtime_Types_CordAddr __name; }; struct xdc_runtime_System_Module_GateProxy_Fxns__ { xdc_runtime_Types_Base* __base; const xdc_runtime_Types_SysFxns2* __sysp; xdc_Bool (*query)(xdc_Int); xdc_IArg (*enter)(xdc_runtime_System_Module_GateProxy_Handle); void (*leave)(xdc_runtime_System_Module_GateProxy_Handle, xdc_IArg); xdc_runtime_Types_SysFxns2 __sfxns; }; extern "C" const xdc_runtime_System_Module_GateProxy_Fxns__ xdc_runtime_System_Module_GateProxy_Module__FXNS__C; extern "C" xdc_runtime_Types_Label* xdc_runtime_System_Module_GateProxy_Handle__label__S( xdc_Ptr obj, xdc_runtime_Types_Label* lab ); extern "C" xdc_Bool xdc_runtime_System_Module_GateProxy_Module__startupDone__S( void ); extern "C" xdc_Ptr xdc_runtime_System_Module_GateProxy_Object__create__S( xdc_Ptr __oa, xdc_SizeT __osz, xdc_Ptr __aa, const xdc_UChar* __pa, xdc_SizeT __psz, xdc_runtime_Error_Block* __eb ); extern "C" void xdc_runtime_System_Module_GateProxy_Object__delete__S( xdc_Ptr instp ); extern "C" void xdc_runtime_System_Module_GateProxy_Object__destruct__S( xdc_Ptr objp ); extern "C" xdc_Ptr xdc_runtime_System_Module_GateProxy_Object__get__S( xdc_Ptr oarr, xdc_Int i ); extern "C" xdc_Ptr xdc_runtime_System_Module_GateProxy_Object__first__S( void ); extern "C" xdc_Ptr xdc_runtime_System_Module_GateProxy_Object__next__S( xdc_Ptr obj ); extern "C" void xdc_runtime_System_Module_GateProxy_Params__init__S( xdc_Ptr dst, xdc_Ptr src, xdc_SizeT psz, xdc_SizeT isz ); extern "C" xdc_Bool xdc_runtime_System_Module_GateProxy_Proxy__abstract__S( void ); extern "C" xdc_Ptr xdc_runtime_System_Module_GateProxy_Proxy__delegate__S( void ); extern "C" xdc_Bool xdc_runtime_System_Module_GateProxy_query__E( xdc_Int qual ); extern "C" xdc_Bool xdc_runtime_System_Module_GateProxy_query__R( xdc_Int qual ); extern "C" xdc_IArg xdc_runtime_System_Module_GateProxy_enter__E( xdc_runtime_System_Module_GateProxy_Handle __inst ); extern "C" xdc_IArg xdc_runtime_System_Module_GateProxy_enter__R( xdc_runtime_System_Module_GateProxy_Handle __inst ); extern "C" void xdc_runtime_System_Module_GateProxy_leave__E( xdc_runtime_System_Module_GateProxy_Handle __inst, xdc_IArg key ); extern "C" void xdc_runtime_System_Module_GateProxy_leave__R( xdc_runtime_System_Module_GateProxy_Handle __inst, xdc_IArg key ); typedef xdc_IArg (*xdc_runtime_System_Module_GateProxy_enter_FxnT)(void*); static inline xdc_runtime_System_Module_GateProxy_enter_FxnT xdc_runtime_System_Module_GateProxy_enter_fxnP( void ) { return (xdc_runtime_System_Module_GateProxy_enter_FxnT)xdc_runtime_System_Module_GateProxy_enter__E; } typedef void (*xdc_runtime_System_Module_GateProxy_leave_FxnT)(void*, xdc_IArg); static inline xdc_runtime_System_Module_GateProxy_leave_FxnT xdc_runtime_System_Module_GateProxy_leave_fxnP( void ) { return (xdc_runtime_System_Module_GateProxy_leave_FxnT)xdc_runtime_System_Module_GateProxy_leave__E; } static inline xdc_runtime_IGateProvider_Module xdc_runtime_System_Module_GateProxy_Module_upCast( void ) { return (xdc_runtime_IGateProvider_Module)xdc_runtime_System_Module_GateProxy_Proxy__delegate__S(); } static inline xdc_runtime_IGateProvider_Handle xdc_runtime_System_Module_GateProxy_Handle_upCast( xdc_runtime_System_Module_GateProxy_Handle i ) { return (xdc_runtime_IGateProvider_Handle)i; } static inline xdc_runtime_System_Module_GateProxy_Handle xdc_runtime_System_Module_GateProxy_Handle_downCast( xdc_runtime_IGateProvider_Handle i ) { xdc_runtime_IGateProvider_Handle i2 = (xdc_runtime_IGateProvider_Handle)i; if (xdc_runtime_System_Module_GateProxy_Proxy__abstract__S()) return (xdc_runtime_System_Module_GateProxy_Handle)i; return (void*)i2->__fxns == (void*)xdc_runtime_System_Module_GateProxy_Proxy__delegate__S() ? (xdc_runtime_System_Module_GateProxy_Handle)i : 0; } static inline CT__xdc_runtime_System_Module_GateProxy_Module__id xdc_runtime_System_Module_GateProxy_Module_id( void ) { return xdc_runtime_System_Module_GateProxy_Module__id__C; } static inline void xdc_runtime_System_Module_GateProxy_Params_init( xdc_runtime_System_Module_GateProxy_Params* prms ) { if (prms) { xdc_runtime_System_Module_GateProxy_Params__init__S(prms, 0, sizeof(xdc_runtime_System_Module_GateProxy_Params), sizeof(xdc_runtime_IInstance_Params)); } } static inline void xdc_runtime_System_Module_GateProxy_Params_copy( xdc_runtime_System_Module_GateProxy_Params* dst, const xdc_runtime_System_Module_GateProxy_Params* src ) { if (dst) { xdc_runtime_System_Module_GateProxy_Params__init__S(dst, (xdc_Ptr)src, sizeof(xdc_runtime_System_Module_GateProxy_Params), sizeof(xdc_runtime_IInstance_Params)); } } static inline xdc_runtime_System_Module_GateProxy_Handle xdc_runtime_System_Module_GateProxy_create( const xdc_runtime_System_Module_GateProxy_Params* __prms, xdc_runtime_Error_Block* __eb ) { return (xdc_runtime_System_Module_GateProxy_Handle)xdc_runtime_System_Module_GateProxy_Object__create__S(0, 0, 0, (const xdc_UChar*)__prms, sizeof(xdc_runtime_System_Module_GateProxy_Params), __eb); } static inline void xdc_runtime_System_Module_GateProxy_delete( xdc_runtime_System_Module_GateProxy_Handle* instp ) { xdc_runtime_System_Module_GateProxy_Object__delete__S(instp); } typedef void (*xdc_runtime_System_AtexitHandler)(xdc_Int); struct xdc_runtime_System_ParseData { xdc_Int width; xdc_Bool lFlag; xdc_Bool lJust; xdc_Int precis; xdc_Int len; xdc_Int zpad; xdc_Char* end; xdc_Bool aFlag; xdc_Char* ptr; }; typedef xdc_Int (*xdc_runtime_System_ExtendFxn)(xdc_Char**, xdc_Char**, xdc_VaList*, xdc_runtime_System_ParseData*); typedef xdc_runtime_System_AtexitHandler __T1_xdc_runtime_System_Module_State__atexitHandlers; typedef xdc_runtime_System_AtexitHandler *__ARRAY1_xdc_runtime_System_Module_State__atexitHandlers; typedef __ARRAY1_xdc_runtime_System_Module_State__atexitHandlers __TA_xdc_runtime_System_Module_State__atexitHandlers; typedef xdc_Bits32 CT__xdc_runtime_System_Module__diagsEnabled; extern "C" far const CT__xdc_runtime_System_Module__diagsEnabled xdc_runtime_System_Module__diagsEnabled__C; typedef xdc_Bits32 CT__xdc_runtime_System_Module__diagsIncluded; extern "C" far const CT__xdc_runtime_System_Module__diagsIncluded xdc_runtime_System_Module__diagsIncluded__C; typedef xdc_Bits16* CT__xdc_runtime_System_Module__diagsMask; extern "C" far const CT__xdc_runtime_System_Module__diagsMask xdc_runtime_System_Module__diagsMask__C; typedef xdc_Ptr CT__xdc_runtime_System_Module__gateObj; extern "C" far const CT__xdc_runtime_System_Module__gateObj xdc_runtime_System_Module__gateObj__C; typedef xdc_Ptr CT__xdc_runtime_System_Module__gatePrms; extern "C" far const CT__xdc_runtime_System_Module__gatePrms xdc_runtime_System_Module__gatePrms__C; typedef xdc_runtime_Types_ModuleId CT__xdc_runtime_System_Module__id; extern "C" far const CT__xdc_runtime_System_Module__id xdc_runtime_System_Module__id__C; typedef xdc_Bool CT__xdc_runtime_System_Module__loggerDefined; extern "C" far const CT__xdc_runtime_System_Module__loggerDefined xdc_runtime_System_Module__loggerDefined__C; typedef xdc_Ptr CT__xdc_runtime_System_Module__loggerObj; extern "C" far const CT__xdc_runtime_System_Module__loggerObj xdc_runtime_System_Module__loggerObj__C; typedef xdc_runtime_Types_LoggerFxn0 CT__xdc_runtime_System_Module__loggerFxn0; extern "C" far const CT__xdc_runtime_System_Module__loggerFxn0 xdc_runtime_System_Module__loggerFxn0__C; typedef xdc_runtime_Types_LoggerFxn1 CT__xdc_runtime_System_Module__loggerFxn1; extern "C" far const CT__xdc_runtime_System_Module__loggerFxn1 xdc_runtime_System_Module__loggerFxn1__C; typedef xdc_runtime_Types_LoggerFxn2 CT__xdc_runtime_System_Module__loggerFxn2; extern "C" far const CT__xdc_runtime_System_Module__loggerFxn2 xdc_runtime_System_Module__loggerFxn2__C; typedef xdc_runtime_Types_LoggerFxn4 CT__xdc_runtime_System_Module__loggerFxn4; extern "C" far const CT__xdc_runtime_System_Module__loggerFxn4 xdc_runtime_System_Module__loggerFxn4__C; typedef xdc_runtime_Types_LoggerFxn8 CT__xdc_runtime_System_Module__loggerFxn8; extern "C" far const CT__xdc_runtime_System_Module__loggerFxn8 xdc_runtime_System_Module__loggerFxn8__C; typedef xdc_Bool (*CT__xdc_runtime_System_Module__startupDoneFxn)(void); extern "C" far const CT__xdc_runtime_System_Module__startupDoneFxn xdc_runtime_System_Module__startupDoneFxn__C; typedef xdc_Int CT__xdc_runtime_System_Object__count; extern "C" far const CT__xdc_runtime_System_Object__count xdc_runtime_System_Object__count__C; typedef xdc_runtime_IHeap_Handle CT__xdc_runtime_System_Object__heap; extern "C" far const CT__xdc_runtime_System_Object__heap xdc_runtime_System_Object__heap__C; typedef xdc_SizeT CT__xdc_runtime_System_Object__sizeof; extern "C" far const CT__xdc_runtime_System_Object__sizeof xdc_runtime_System_Object__sizeof__C; typedef xdc_Ptr CT__xdc_runtime_System_Object__table; extern "C" far const CT__xdc_runtime_System_Object__table xdc_runtime_System_Object__table__C; typedef xdc_runtime_Assert_Id CT__xdc_runtime_System_A_cannotFitIntoArg; extern "C" far const CT__xdc_runtime_System_A_cannotFitIntoArg xdc_runtime_System_A_cannotFitIntoArg__C; typedef xdc_Int CT__xdc_runtime_System_maxAtexitHandlers; extern "C" far const CT__xdc_runtime_System_maxAtexitHandlers xdc_runtime_System_maxAtexitHandlers__C; typedef xdc_runtime_System_ExtendFxn CT__xdc_runtime_System_extendFxn; extern "C" far const CT__xdc_runtime_System_extendFxn xdc_runtime_System_extendFxn__C; extern "C" xdc_Int xdc_runtime_System_Module_startup__E( xdc_Int state ); extern "C" xdc_Int xdc_runtime_System_Module_startup__F( xdc_Int state ); extern "C" xdc_Int xdc_runtime_System_Module_startup__R( xdc_Int state ); extern "C" xdc_Bool xdc_runtime_System_Module__startupDone__S( void ); extern "C" void xdc_runtime_System_abort__E( xdc_String str ); extern "C" void xdc_runtime_System_abort__F( xdc_String str ); extern "C" void xdc_runtime_System_abort__R( xdc_String str ); extern "C" xdc_Bool xdc_runtime_System_atexit__E( xdc_runtime_System_AtexitHandler handler ); extern "C" xdc_Bool xdc_runtime_System_atexit__F( xdc_runtime_System_AtexitHandler handler ); extern "C" xdc_Bool xdc_runtime_System_atexit__R( xdc_runtime_System_AtexitHandler handler ); extern "C" void xdc_runtime_System_exit__E( xdc_Int stat ); extern "C" void xdc_runtime_System_exit__F( xdc_Int stat ); extern "C" void xdc_runtime_System_exit__R( xdc_Int stat ); extern "C" void xdc_runtime_System_putch__E( xdc_Char ch ); extern "C" void xdc_runtime_System_putch__F( xdc_Char ch ); extern "C" void xdc_runtime_System_putch__R( xdc_Char ch ); extern "C" void xdc_runtime_System_flush__E( void ); extern "C" void xdc_runtime_System_flush__F( void ); extern "C" void xdc_runtime_System_flush__R( void ); extern "C" xdc_Int xdc_runtime_System_printf__E( xdc_String fmt, ... ); extern "C" xdc_Int xdc_runtime_System_printf_va__E( xdc_String fmt, va_list _va ); extern "C" xdc_Int xdc_runtime_System_printf_va__F( xdc_String fmt, va_list _va ); extern "C" xdc_Int xdc_runtime_System_printf_va__R( xdc_String fmt, va_list _va ); extern "C" xdc_Int xdc_runtime_System_aprintf__E( xdc_String fmt, ... ); extern "C" xdc_Int xdc_runtime_System_aprintf_va__E( xdc_String fmt, va_list _va ); extern "C" xdc_Int xdc_runtime_System_aprintf_va__F( xdc_String fmt, va_list _va ); extern "C" xdc_Int xdc_runtime_System_aprintf_va__R( xdc_String fmt, va_list _va ); extern "C" xdc_Int xdc_runtime_System_sprintf__E( xdc_Char buf[], xdc_String fmt, ... ); extern "C" xdc_Int xdc_runtime_System_sprintf_va__E( xdc_Char buf[], xdc_String fmt, va_list _va ); extern "C" xdc_Int xdc_runtime_System_sprintf_va__F( xdc_Char buf[], xdc_String fmt, va_list _va ); extern "C" xdc_Int xdc_runtime_System_sprintf_va__R( xdc_Char buf[], xdc_String fmt, va_list _va ); extern "C" xdc_Int xdc_runtime_System_asprintf__E( xdc_Char buf[], xdc_String fmt, ... ); extern "C" xdc_Int xdc_runtime_System_asprintf_va__E( xdc_Char buf[], xdc_String fmt, va_list _va ); extern "C" xdc_Int xdc_runtime_System_asprintf_va__F( xdc_Char buf[], xdc_String fmt, va_list _va ); extern "C" xdc_Int xdc_runtime_System_asprintf_va__R( xdc_Char buf[], xdc_String fmt, va_list _va ); extern "C" xdc_Int xdc_runtime_System_vprintf__E( xdc_String fmt, xdc_VaList va ); extern "C" xdc_Int xdc_runtime_System_vprintf__F( xdc_String fmt, xdc_VaList va ); extern "C" xdc_Int xdc_runtime_System_vprintf__R( xdc_String fmt, xdc_VaList va ); extern "C" xdc_Int xdc_runtime_System_avprintf__E( xdc_String fmt, xdc_VaList va ); extern "C" xdc_Int xdc_runtime_System_avprintf__F( xdc_String fmt, xdc_VaList va ); extern "C" xdc_Int xdc_runtime_System_avprintf__R( xdc_String fmt, xdc_VaList va ); extern "C" xdc_Int xdc_runtime_System_vsprintf__E( xdc_Char buf[], xdc_String fmt, xdc_VaList va ); extern "C" xdc_Int xdc_runtime_System_vsprintf__F( xdc_Char buf[], xdc_String fmt, xdc_VaList va ); extern "C" xdc_Int xdc_runtime_System_vsprintf__R( xdc_Char buf[], xdc_String fmt, xdc_VaList va ); extern "C" xdc_Int xdc_runtime_System_avsprintf__E( xdc_Char buf[], xdc_String fmt, xdc_VaList va ); extern "C" xdc_Int xdc_runtime_System_avsprintf__F( xdc_Char buf[], xdc_String fmt, xdc_VaList va ); extern "C" xdc_Int xdc_runtime_System_avsprintf__R( xdc_Char buf[], xdc_String fmt, xdc_VaList va ); extern "C" xdc_Int xdc_runtime_System_printfExtend__I( xdc_Char** bufp, xdc_Char** fmt, xdc_VaList* va, xdc_runtime_System_ParseData* parse ); extern "C" xdc_Int xdc_runtime_System_doPrint__I( xdc_Char buf[], xdc_String fmt, xdc_VaList* pva, xdc_Bool aFlag ); extern "C" xdc_Char* xdc_runtime_System_formatNum__I( xdc_Char* ptr, xdc_UInt32 n, xdc_Int zpad, xdc_Int base ); extern "C" void xdc_runtime_System_lastFxn__I( void ); extern "C" void xdc_runtime_System_putchar__I( xdc_Char** bufp, xdc_Char ch ); extern "C" void xdc_runtime_System_rtsExit__I( void ); static inline CT__xdc_runtime_System_Module__id xdc_runtime_System_Module_id( void ) { return xdc_runtime_System_Module__id__C; } static inline xdc_Bool xdc_runtime_System_Module_hasMask( void ) { return xdc_runtime_System_Module__diagsMask__C != 0; } static inline xdc_Bits16 xdc_runtime_System_Module_getMask( void ) { return xdc_runtime_System_Module__diagsMask__C != 0 ? *xdc_runtime_System_Module__diagsMask__C : 0; } static inline void xdc_runtime_System_Module_setMask( xdc_Bits16 mask ) { if (xdc_runtime_System_Module__diagsMask__C != 0) *xdc_runtime_System_Module__diagsMask__C = mask; } typedef struct ti_sysbios_BIOS_intSize ti_sysbios_BIOS_intSize; typedef struct ti_sysbios_BIOS_Module_State ti_sysbios_BIOS_Module_State; typedef struct ti_sysbios_BIOS_RtsGateProxy_Fxns__ ti_sysbios_BIOS_RtsGateProxy_Fxns__; typedef const ti_sysbios_BIOS_RtsGateProxy_Fxns__* ti_sysbios_BIOS_RtsGateProxy_Module; typedef struct ti_sysbios_BIOS_RtsGateProxy_Params ti_sysbios_BIOS_RtsGateProxy_Params; typedef struct xdc_runtime_IGateProvider___Object *ti_sysbios_BIOS_RtsGateProxy_Handle; typedef xdc_Bits32 CT__ti_sysbios_BIOS_RtsGateProxy_Module__diagsEnabled; extern "C" far const CT__ti_sysbios_BIOS_RtsGateProxy_Module__diagsEnabled ti_sysbios_BIOS_RtsGateProxy_Module__diagsEnabled__C; typedef xdc_Bits32 CT__ti_sysbios_BIOS_RtsGateProxy_Module__diagsIncluded; extern "C" far const CT__ti_sysbios_BIOS_RtsGateProxy_Module__diagsIncluded ti_sysbios_BIOS_RtsGateProxy_Module__diagsIncluded__C; typedef xdc_Bits16* CT__ti_sysbios_BIOS_RtsGateProxy_Module__diagsMask; extern "C" far const CT__ti_sysbios_BIOS_RtsGateProxy_Module__diagsMask ti_sysbios_BIOS_RtsGateProxy_Module__diagsMask__C; typedef xdc_Ptr CT__ti_sysbios_BIOS_RtsGateProxy_Module__gateObj; extern "C" far const CT__ti_sysbios_BIOS_RtsGateProxy_Module__gateObj ti_sysbios_BIOS_RtsGateProxy_Module__gateObj__C; typedef xdc_Ptr CT__ti_sysbios_BIOS_RtsGateProxy_Module__gatePrms; extern "C" far const CT__ti_sysbios_BIOS_RtsGateProxy_Module__gatePrms ti_sysbios_BIOS_RtsGateProxy_Module__gatePrms__C; typedef xdc_runtime_Types_ModuleId CT__ti_sysbios_BIOS_RtsGateProxy_Module__id; extern "C" far const CT__ti_sysbios_BIOS_RtsGateProxy_Module__id ti_sysbios_BIOS_RtsGateProxy_Module__id__C; typedef xdc_Bool CT__ti_sysbios_BIOS_RtsGateProxy_Module__loggerDefined; extern "C" far const CT__ti_sysbios_BIOS_RtsGateProxy_Module__loggerDefined ti_sysbios_BIOS_RtsGateProxy_Module__loggerDefined__C; typedef xdc_Ptr CT__ti_sysbios_BIOS_RtsGateProxy_Module__loggerObj; extern "C" far const CT__ti_sysbios_BIOS_RtsGateProxy_Module__loggerObj ti_sysbios_BIOS_RtsGateProxy_Module__loggerObj__C; typedef xdc_runtime_Types_LoggerFxn0 CT__ti_sysbios_BIOS_RtsGateProxy_Module__loggerFxn0; extern "C" far const CT__ti_sysbios_BIOS_RtsGateProxy_Module__loggerFxn0 ti_sysbios_BIOS_RtsGateProxy_Module__loggerFxn0__C; typedef xdc_runtime_Types_LoggerFxn1 CT__ti_sysbios_BIOS_RtsGateProxy_Module__loggerFxn1; extern "C" far const CT__ti_sysbios_BIOS_RtsGateProxy_Module__loggerFxn1 ti_sysbios_BIOS_RtsGateProxy_Module__loggerFxn1__C; typedef xdc_runtime_Types_LoggerFxn2 CT__ti_sysbios_BIOS_RtsGateProxy_Module__loggerFxn2; extern "C" far const CT__ti_sysbios_BIOS_RtsGateProxy_Module__loggerFxn2 ti_sysbios_BIOS_RtsGateProxy_Module__loggerFxn2__C; typedef xdc_runtime_Types_LoggerFxn4 CT__ti_sysbios_BIOS_RtsGateProxy_Module__loggerFxn4; extern "C" far const CT__ti_sysbios_BIOS_RtsGateProxy_Module__loggerFxn4 ti_sysbios_BIOS_RtsGateProxy_Module__loggerFxn4__C; typedef xdc_runtime_Types_LoggerFxn8 CT__ti_sysbios_BIOS_RtsGateProxy_Module__loggerFxn8; extern "C" far const CT__ti_sysbios_BIOS_RtsGateProxy_Module__loggerFxn8 ti_sysbios_BIOS_RtsGateProxy_Module__loggerFxn8__C; typedef xdc_Bool (*CT__ti_sysbios_BIOS_RtsGateProxy_Module__startupDoneFxn)(void); extern "C" far const CT__ti_sysbios_BIOS_RtsGateProxy_Module__startupDoneFxn ti_sysbios_BIOS_RtsGateProxy_Module__startupDoneFxn__C; typedef xdc_Int CT__ti_sysbios_BIOS_RtsGateProxy_Object__count; extern "C" far const CT__ti_sysbios_BIOS_RtsGateProxy_Object__count ti_sysbios_BIOS_RtsGateProxy_Object__count__C; typedef xdc_runtime_IHeap_Handle CT__ti_sysbios_BIOS_RtsGateProxy_Object__heap; extern "C" far const CT__ti_sysbios_BIOS_RtsGateProxy_Object__heap ti_sysbios_BIOS_RtsGateProxy_Object__heap__C; typedef xdc_SizeT CT__ti_sysbios_BIOS_RtsGateProxy_Object__sizeof; extern "C" far const CT__ti_sysbios_BIOS_RtsGateProxy_Object__sizeof ti_sysbios_BIOS_RtsGateProxy_Object__sizeof__C; typedef xdc_Ptr CT__ti_sysbios_BIOS_RtsGateProxy_Object__table; extern "C" far const CT__ti_sysbios_BIOS_RtsGateProxy_Object__table ti_sysbios_BIOS_RtsGateProxy_Object__table__C; struct ti_sysbios_BIOS_RtsGateProxy_Params { size_t __size; const void* __self; void* __fxns; xdc_runtime_IInstance_Params* instance; xdc_runtime_IInstance_Params __iprms; }; struct ti_sysbios_BIOS_RtsGateProxy_Struct { const ti_sysbios_BIOS_RtsGateProxy_Fxns__* __fxns; xdc_runtime_Types_CordAddr __name; }; struct ti_sysbios_BIOS_RtsGateProxy_Fxns__ { xdc_runtime_Types_Base* __base; const xdc_runtime_Types_SysFxns2* __sysp; xdc_Bool (*query)(xdc_Int); xdc_IArg (*enter)(ti_sysbios_BIOS_RtsGateProxy_Handle); void (*leave)(ti_sysbios_BIOS_RtsGateProxy_Handle, xdc_IArg); xdc_runtime_Types_SysFxns2 __sfxns; }; extern "C" const ti_sysbios_BIOS_RtsGateProxy_Fxns__ ti_sysbios_BIOS_RtsGateProxy_Module__FXNS__C; extern "C" xdc_runtime_Types_Label* ti_sysbios_BIOS_RtsGateProxy_Handle__label__S( xdc_Ptr obj, xdc_runtime_Types_Label* lab ); extern "C" xdc_Bool ti_sysbios_BIOS_RtsGateProxy_Module__startupDone__S( void ); extern "C" xdc_Ptr ti_sysbios_BIOS_RtsGateProxy_Object__create__S( xdc_Ptr __oa, xdc_SizeT __osz, xdc_Ptr __aa, const xdc_UChar* __pa, xdc_SizeT __psz, xdc_runtime_Error_Block* __eb ); extern "C" void ti_sysbios_BIOS_RtsGateProxy_Object__delete__S( xdc_Ptr instp ); extern "C" void ti_sysbios_BIOS_RtsGateProxy_Object__destruct__S( xdc_Ptr objp ); extern "C" xdc_Ptr ti_sysbios_BIOS_RtsGateProxy_Object__get__S( xdc_Ptr oarr, xdc_Int i ); extern "C" xdc_Ptr ti_sysbios_BIOS_RtsGateProxy_Object__first__S( void ); extern "C" xdc_Ptr ti_sysbios_BIOS_RtsGateProxy_Object__next__S( xdc_Ptr obj ); extern "C" void ti_sysbios_BIOS_RtsGateProxy_Params__init__S( xdc_Ptr dst, xdc_Ptr src, xdc_SizeT psz, xdc_SizeT isz ); extern "C" xdc_Bool ti_sysbios_BIOS_RtsGateProxy_Proxy__abstract__S( void ); extern "C" xdc_Ptr ti_sysbios_BIOS_RtsGateProxy_Proxy__delegate__S( void ); extern "C" xdc_Bool ti_sysbios_BIOS_RtsGateProxy_query__E( xdc_Int qual ); extern "C" xdc_Bool ti_sysbios_BIOS_RtsGateProxy_query__R( xdc_Int qual ); extern "C" xdc_IArg ti_sysbios_BIOS_RtsGateProxy_enter__E( ti_sysbios_BIOS_RtsGateProxy_Handle __inst ); extern "C" xdc_IArg ti_sysbios_BIOS_RtsGateProxy_enter__R( ti_sysbios_BIOS_RtsGateProxy_Handle __inst ); extern "C" void ti_sysbios_BIOS_RtsGateProxy_leave__E( ti_sysbios_BIOS_RtsGateProxy_Handle __inst, xdc_IArg key ); extern "C" void ti_sysbios_BIOS_RtsGateProxy_leave__R( ti_sysbios_BIOS_RtsGateProxy_Handle __inst, xdc_IArg key ); typedef xdc_IArg (*ti_sysbios_BIOS_RtsGateProxy_enter_FxnT)(void*); static inline ti_sysbios_BIOS_RtsGateProxy_enter_FxnT ti_sysbios_BIOS_RtsGateProxy_enter_fxnP( void ) { return (ti_sysbios_BIOS_RtsGateProxy_enter_FxnT)ti_sysbios_BIOS_RtsGateProxy_enter__E; } typedef void (*ti_sysbios_BIOS_RtsGateProxy_leave_FxnT)(void*, xdc_IArg); static inline ti_sysbios_BIOS_RtsGateProxy_leave_FxnT ti_sysbios_BIOS_RtsGateProxy_leave_fxnP( void ) { return (ti_sysbios_BIOS_RtsGateProxy_leave_FxnT)ti_sysbios_BIOS_RtsGateProxy_leave__E; } static inline xdc_runtime_IGateProvider_Module ti_sysbios_BIOS_RtsGateProxy_Module_upCast( void ) { return (xdc_runtime_IGateProvider_Module)ti_sysbios_BIOS_RtsGateProxy_Proxy__delegate__S(); } static inline xdc_runtime_IGateProvider_Handle ti_sysbios_BIOS_RtsGateProxy_Handle_upCast( ti_sysbios_BIOS_RtsGateProxy_Handle i ) { return (xdc_runtime_IGateProvider_Handle)i; } static inline ti_sysbios_BIOS_RtsGateProxy_Handle ti_sysbios_BIOS_RtsGateProxy_Handle_downCast( xdc_runtime_IGateProvider_Handle i ) { xdc_runtime_IGateProvider_Handle i2 = (xdc_runtime_IGateProvider_Handle)i; if (ti_sysbios_BIOS_RtsGateProxy_Proxy__abstract__S()) return (ti_sysbios_BIOS_RtsGateProxy_Handle)i; return (void*)i2->__fxns == (void*)ti_sysbios_BIOS_RtsGateProxy_Proxy__delegate__S() ? (ti_sysbios_BIOS_RtsGateProxy_Handle)i : 0; } static inline CT__ti_sysbios_BIOS_RtsGateProxy_Module__id ti_sysbios_BIOS_RtsGateProxy_Module_id( void ) { return ti_sysbios_BIOS_RtsGateProxy_Module__id__C; } static inline void ti_sysbios_BIOS_RtsGateProxy_Params_init( ti_sysbios_BIOS_RtsGateProxy_Params* prms ) { if (prms) { ti_sysbios_BIOS_RtsGateProxy_Params__init__S(prms, 0, sizeof(ti_sysbios_BIOS_RtsGateProxy_Params), sizeof(xdc_runtime_IInstance_Params)); } } static inline void ti_sysbios_BIOS_RtsGateProxy_Params_copy( ti_sysbios_BIOS_RtsGateProxy_Params* dst, const ti_sysbios_BIOS_RtsGateProxy_Params* src ) { if (dst) { ti_sysbios_BIOS_RtsGateProxy_Params__init__S(dst, (xdc_Ptr)src, sizeof(ti_sysbios_BIOS_RtsGateProxy_Params), sizeof(xdc_runtime_IInstance_Params)); } } static inline ti_sysbios_BIOS_RtsGateProxy_Handle ti_sysbios_BIOS_RtsGateProxy_create( const ti_sysbios_BIOS_RtsGateProxy_Params* __prms, xdc_runtime_Error_Block* __eb ) { return (ti_sysbios_BIOS_RtsGateProxy_Handle)ti_sysbios_BIOS_RtsGateProxy_Object__create__S(0, 0, 0, (const xdc_UChar*)__prms, sizeof(ti_sysbios_BIOS_RtsGateProxy_Params), __eb); } static inline void ti_sysbios_BIOS_RtsGateProxy_delete( ti_sysbios_BIOS_RtsGateProxy_Handle* instp ) { ti_sysbios_BIOS_RtsGateProxy_Object__delete__S(instp); } enum ti_sysbios_BIOS_ThreadType { ti_sysbios_BIOS_ThreadType_Hwi, ti_sysbios_BIOS_ThreadType_Swi, ti_sysbios_BIOS_ThreadType_Task, ti_sysbios_BIOS_ThreadType_Main }; typedef enum ti_sysbios_BIOS_ThreadType ti_sysbios_BIOS_ThreadType; enum ti_sysbios_BIOS_RtsLockType { ti_sysbios_BIOS_NoLocking, ti_sysbios_BIOS_GateHwi, ti_sysbios_BIOS_GateSwi, ti_sysbios_BIOS_GateMutex, ti_sysbios_BIOS_GateMutexPri }; typedef enum ti_sysbios_BIOS_RtsLockType ti_sysbios_BIOS_RtsLockType; enum ti_sysbios_BIOS_LibType { ti_sysbios_BIOS_LibType_Instrumented, ti_sysbios_BIOS_LibType_NonInstrumented, ti_sysbios_BIOS_LibType_Custom, ti_sysbios_BIOS_LibType_Debug }; typedef enum ti_sysbios_BIOS_LibType ti_sysbios_BIOS_LibType; typedef void (*ti_sysbios_BIOS_StartupFuncPtr)(void); struct ti_sysbios_BIOS_intSize { xdc_Int intSize; }; typedef void (*ti_sysbios_BIOS_StartFuncPtr)(void); typedef xdc_Bits32 CT__ti_sysbios_BIOS_Module__diagsEnabled; extern "C" far const CT__ti_sysbios_BIOS_Module__diagsEnabled ti_sysbios_BIOS_Module__diagsEnabled__C; typedef xdc_Bits32 CT__ti_sysbios_BIOS_Module__diagsIncluded; extern "C" far const CT__ti_sysbios_BIOS_Module__diagsIncluded ti_sysbios_BIOS_Module__diagsIncluded__C; typedef xdc_Bits16* CT__ti_sysbios_BIOS_Module__diagsMask; extern "C" far const CT__ti_sysbios_BIOS_Module__diagsMask ti_sysbios_BIOS_Module__diagsMask__C; typedef xdc_Ptr CT__ti_sysbios_BIOS_Module__gateObj; extern "C" far const CT__ti_sysbios_BIOS_Module__gateObj ti_sysbios_BIOS_Module__gateObj__C; typedef xdc_Ptr CT__ti_sysbios_BIOS_Module__gatePrms; extern "C" far const CT__ti_sysbios_BIOS_Module__gatePrms ti_sysbios_BIOS_Module__gatePrms__C; typedef xdc_runtime_Types_ModuleId CT__ti_sysbios_BIOS_Module__id; extern "C" far const CT__ti_sysbios_BIOS_Module__id ti_sysbios_BIOS_Module__id__C; typedef xdc_Bool CT__ti_sysbios_BIOS_Module__loggerDefined; extern "C" far const CT__ti_sysbios_BIOS_Module__loggerDefined ti_sysbios_BIOS_Module__loggerDefined__C; typedef xdc_Ptr CT__ti_sysbios_BIOS_Module__loggerObj; extern "C" far const CT__ti_sysbios_BIOS_Module__loggerObj ti_sysbios_BIOS_Module__loggerObj__C; typedef xdc_runtime_Types_LoggerFxn0 CT__ti_sysbios_BIOS_Module__loggerFxn0; extern "C" far const CT__ti_sysbios_BIOS_Module__loggerFxn0 ti_sysbios_BIOS_Module__loggerFxn0__C; typedef xdc_runtime_Types_LoggerFxn1 CT__ti_sysbios_BIOS_Module__loggerFxn1; extern "C" far const CT__ti_sysbios_BIOS_Module__loggerFxn1 ti_sysbios_BIOS_Module__loggerFxn1__C; typedef xdc_runtime_Types_LoggerFxn2 CT__ti_sysbios_BIOS_Module__loggerFxn2; extern "C" far const CT__ti_sysbios_BIOS_Module__loggerFxn2 ti_sysbios_BIOS_Module__loggerFxn2__C; typedef xdc_runtime_Types_LoggerFxn4 CT__ti_sysbios_BIOS_Module__loggerFxn4; extern "C" far const CT__ti_sysbios_BIOS_Module__loggerFxn4 ti_sysbios_BIOS_Module__loggerFxn4__C; typedef xdc_runtime_Types_LoggerFxn8 CT__ti_sysbios_BIOS_Module__loggerFxn8; extern "C" far const CT__ti_sysbios_BIOS_Module__loggerFxn8 ti_sysbios_BIOS_Module__loggerFxn8__C; typedef xdc_Bool (*CT__ti_sysbios_BIOS_Module__startupDoneFxn)(void); extern "C" far const CT__ti_sysbios_BIOS_Module__startupDoneFxn ti_sysbios_BIOS_Module__startupDoneFxn__C; typedef xdc_Int CT__ti_sysbios_BIOS_Object__count; extern "C" far const CT__ti_sysbios_BIOS_Object__count ti_sysbios_BIOS_Object__count__C; typedef xdc_runtime_IHeap_Handle CT__ti_sysbios_BIOS_Object__heap; extern "C" far const CT__ti_sysbios_BIOS_Object__heap ti_sysbios_BIOS_Object__heap__C; typedef xdc_SizeT CT__ti_sysbios_BIOS_Object__sizeof; extern "C" far const CT__ti_sysbios_BIOS_Object__sizeof ti_sysbios_BIOS_Object__sizeof__C; typedef xdc_Ptr CT__ti_sysbios_BIOS_Object__table; extern "C" far const CT__ti_sysbios_BIOS_Object__table ti_sysbios_BIOS_Object__table__C; typedef xdc_Bool CT__ti_sysbios_BIOS_smpEnabled; extern "C" far const CT__ti_sysbios_BIOS_smpEnabled ti_sysbios_BIOS_smpEnabled__C; typedef xdc_runtime_Types_FreqHz CT__ti_sysbios_BIOS_cpuFreq; extern "C" far const CT__ti_sysbios_BIOS_cpuFreq ti_sysbios_BIOS_cpuFreq__C; typedef xdc_Bool CT__ti_sysbios_BIOS_taskEnabled; extern "C" far const CT__ti_sysbios_BIOS_taskEnabled ti_sysbios_BIOS_taskEnabled__C; typedef xdc_Bool CT__ti_sysbios_BIOS_swiEnabled; extern "C" far const CT__ti_sysbios_BIOS_swiEnabled ti_sysbios_BIOS_swiEnabled__C; typedef xdc_Bool CT__ti_sysbios_BIOS_clockEnabled; extern "C" far const CT__ti_sysbios_BIOS_clockEnabled ti_sysbios_BIOS_clockEnabled__C; typedef xdc_SizeT CT__ti_sysbios_BIOS_heapSize; extern "C" far const CT__ti_sysbios_BIOS_heapSize ti_sysbios_BIOS_heapSize__C; typedef xdc_String CT__ti_sysbios_BIOS_heapSection; extern "C" far const CT__ti_sysbios_BIOS_heapSection ti_sysbios_BIOS_heapSection__C; typedef void (*CT__ti_sysbios_BIOS_installedErrorHook)(xdc_runtime_Error_Block*); extern "C" far const CT__ti_sysbios_BIOS_installedErrorHook ti_sysbios_BIOS_installedErrorHook__C; extern "C" xdc_Bool ti_sysbios_BIOS_Module__startupDone__S( void ); extern "C" void ti_sysbios_BIOS_start__E( void ); extern "C" void ti_sysbios_BIOS_start__F( void ); extern "C" void ti_sysbios_BIOS_start__R( void ); extern "C" void ti_sysbios_BIOS_exit__E( xdc_Int stat ); extern "C" void ti_sysbios_BIOS_exit__F( xdc_Int stat ); extern "C" void ti_sysbios_BIOS_exit__R( xdc_Int stat ); extern "C" ti_sysbios_BIOS_ThreadType ti_sysbios_BIOS_getThreadType__E( void ); extern "C" ti_sysbios_BIOS_ThreadType ti_sysbios_BIOS_getThreadType__F( void ); extern "C" ti_sysbios_BIOS_ThreadType ti_sysbios_BIOS_getThreadType__R( void ); extern "C" ti_sysbios_BIOS_ThreadType ti_sysbios_BIOS_setThreadType__E( ti_sysbios_BIOS_ThreadType ttype ); extern "C" ti_sysbios_BIOS_ThreadType ti_sysbios_BIOS_setThreadType__F( ti_sysbios_BIOS_ThreadType ttype ); extern "C" ti_sysbios_BIOS_ThreadType ti_sysbios_BIOS_setThreadType__R( ti_sysbios_BIOS_ThreadType ttype ); extern "C" void ti_sysbios_BIOS_setCpuFreq__E( xdc_runtime_Types_FreqHz* freq ); extern "C" void ti_sysbios_BIOS_setCpuFreq__F( xdc_runtime_Types_FreqHz* freq ); extern "C" void ti_sysbios_BIOS_setCpuFreq__R( xdc_runtime_Types_FreqHz* freq ); extern "C" void ti_sysbios_BIOS_getCpuFreq__E( xdc_runtime_Types_FreqHz* freq ); extern "C" void ti_sysbios_BIOS_getCpuFreq__F( xdc_runtime_Types_FreqHz* freq ); extern "C" void ti_sysbios_BIOS_getCpuFreq__R( xdc_runtime_Types_FreqHz* freq ); extern "C" void ti_sysbios_BIOS_errorRaiseHook__I( xdc_runtime_Error_Block* eb ); extern "C" void ti_sysbios_BIOS_startFunc__I( void ); extern "C" void ti_sysbios_BIOS_registerRTSLock__I( void ); extern "C" void ti_sysbios_BIOS_removeRTSLock__I( void ); static inline CT__ti_sysbios_BIOS_Module__id ti_sysbios_BIOS_Module_id( void ) { return ti_sysbios_BIOS_Module__id__C; } static inline xdc_Bool ti_sysbios_BIOS_Module_hasMask( void ) { return ti_sysbios_BIOS_Module__diagsMask__C != 0; } static inline xdc_Bits16 ti_sysbios_BIOS_Module_getMask( void ) { return ti_sysbios_BIOS_Module__diagsMask__C != 0 ? *ti_sysbios_BIOS_Module__diagsMask__C : 0; } static inline void ti_sysbios_BIOS_Module_setMask( xdc_Bits16 mask ) { if (ti_sysbios_BIOS_Module__diagsMask__C != 0) *ti_sysbios_BIOS_Module__diagsMask__C = mask; } using std::va_list; extern "C" namespace std { typedef struct { int fd; unsigned char* buf; unsigned char* pos; unsigned char* bufend; unsigned char* buff_stop; unsigned int flags; } FILE; typedef int fpos_t; extern far FILE _ftable[20]; extern far char _tmpnams[20][16]; extern int remove(const char *_file); extern int rename(const char *_old, const char *_new); extern FILE *tmpfile(void); extern char *tmpnam(char *_s); extern int fclose(FILE *_fp); extern FILE *fopen(const char *_fname, const char *_mode); extern FILE *freopen(const char *_fname, const char *_mode, register FILE *_fp); extern void setbuf(register FILE *_fp, char *_buf); extern int setvbuf(register FILE *_fp, register char *_buf, register int _type, register size_t _size); extern int fflush(register FILE *_fp); extern int fprintf(FILE *_fp, const char *_format, ...) __attribute__((__format__ (__printf__, 2, 3))); extern int fscanf(FILE *_fp, const char *_fmt, ...) __attribute__((__format__ (__scanf__, 2, 3))); extern int printf(const char *_format, ...) __attribute__((__format__ (__printf__, 1, 2))); extern int scanf(const char *_fmt, ...) __attribute__((__format__ (__scanf__, 1, 2))); extern int sprintf(char *_string, const char *_format, ...) __attribute__((__format__ (__printf__, 2, 3))); extern int snprintf(char *_string, size_t _n, const char *_format, ...) __attribute__((__format__ (__printf__, 3, 4))); extern int sscanf(const char *_str, const char *_fmt, ...) __attribute__((__format__ (__scanf__, 2, 3))); extern int vfprintf(FILE *_fp, const char *_format, va_list _ap) __attribute__((__format__ (__printf__, 2, 0))); extern int vprintf(const char *_format, va_list _ap) __attribute__((__format__ (__printf__, 1, 0))); extern int vsprintf(char *_string, const char *_format, va_list _ap) __attribute__((__format__ (__printf__, 2, 0))); extern int vsnprintf(char *_string, size_t _n, const char *_format, va_list _ap) __attribute__((__format__ (__printf__, 3, 0))); extern int fgetc(register FILE *_fp); extern char *fgets(char *_ptr, register int _size, register FILE *_fp); extern int fputc(int _c, register FILE *_fp); extern int fputs(const char *_ptr, register FILE *_fp); extern int getc(FILE *_p); extern int getchar(void); extern char *gets(char *_ptr); extern int putc(int _x, FILE *_fp); extern int putchar(int _x); extern int puts(const char *_ptr); extern int ungetc(int _c, register FILE *_fp); extern size_t fread(void *_ptr, size_t _size, size_t _count, FILE *_fp); extern size_t fwrite(const void *_ptr, size_t _size, size_t _count, register FILE *_fp); extern int fgetpos(FILE *_fp, fpos_t *_pos); extern int fseek(register FILE *_fp, long _offset, int _ptrname); extern int fsetpos(FILE *_fp, const fpos_t *_pos); extern long ftell(FILE *_fp); extern void rewind(register FILE *_fp); extern void clearerr(FILE *_fp); extern int feof(FILE *_fp); extern int ferror(FILE *_fp); extern void perror(const char *_s); } using std::size_t; using std::FILE; using std::fpos_t; using std::_ftable; using std::_tmpnams; using std::remove; using std::rename; using std::tmpfile; using std::tmpnam; using std::fclose; using std::fopen; using std::freopen; using std::setbuf; using std::setvbuf; using std::fflush; using std::fprintf; using std::fscanf; using std::printf; using std::scanf; using std::sprintf; using std::sscanf; using std::vfprintf; using std::vprintf; using std::vsprintf; using std::fgetc; using std::fgets; using std::fputc; using std::fputs; using std::getc; using std::getchar; using std::gets; using std::putc; using std::putchar; using std::puts; using std::ungetc; using std::fread; using std::fwrite; using std::fgetpos; using std::fseek; using std::fsetpos; using std::ftell; using std::rewind; using std::clearerr; using std::feof; using std::ferror; using std::perror; typedef struct ti_sysbios_knl_Clock_Module_State ti_sysbios_knl_Clock_Module_State; typedef struct ti_sysbios_knl_Clock_Params ti_sysbios_knl_Clock_Params; typedef struct ti_sysbios_knl_Clock_Object ti_sysbios_knl_Clock_Object; typedef struct ti_sysbios_knl_Clock_Struct ti_sysbios_knl_Clock_Struct; typedef ti_sysbios_knl_Clock_Object* ti_sysbios_knl_Clock_Handle; typedef struct ti_sysbios_knl_Clock_Object__ ti_sysbios_knl_Clock_Instance_State; typedef ti_sysbios_knl_Clock_Object* ti_sysbios_knl_Clock_Instance; typedef struct ti_sysbios_knl_Intrinsics_Fxns__ ti_sysbios_knl_Intrinsics_Fxns__; typedef const ti_sysbios_knl_Intrinsics_Fxns__* ti_sysbios_knl_Intrinsics_Module; typedef struct ti_sysbios_knl_Event_PendElem ti_sysbios_knl_Event_PendElem; typedef struct ti_sysbios_knl_Event_Params ti_sysbios_knl_Event_Params; typedef struct ti_sysbios_knl_Event_Object ti_sysbios_knl_Event_Object; typedef struct ti_sysbios_knl_Event_Struct ti_sysbios_knl_Event_Struct; typedef ti_sysbios_knl_Event_Object* ti_sysbios_knl_Event_Handle; typedef struct ti_sysbios_knl_Event_Object__ ti_sysbios_knl_Event_Instance_State; typedef ti_sysbios_knl_Event_Object* ti_sysbios_knl_Event_Instance; typedef struct ti_sysbios_knl_Mailbox_MbxElem ti_sysbios_knl_Mailbox_MbxElem; typedef struct ti_sysbios_knl_Mailbox_Params ti_sysbios_knl_Mailbox_Params; typedef struct ti_sysbios_knl_Mailbox_Object ti_sysbios_knl_Mailbox_Object; typedef struct ti_sysbios_knl_Mailbox_Struct ti_sysbios_knl_Mailbox_Struct; typedef ti_sysbios_knl_Mailbox_Object* ti_sysbios_knl_Mailbox_Handle; typedef struct ti_sysbios_knl_Mailbox_Object__ ti_sysbios_knl_Mailbox_Instance_State; typedef ti_sysbios_knl_Mailbox_Object* ti_sysbios_knl_Mailbox_Instance; typedef struct ti_sysbios_knl_Queue_Elem ti_sysbios_knl_Queue_Elem; typedef struct ti_sysbios_knl_Queue_Params ti_sysbios_knl_Queue_Params; typedef struct ti_sysbios_knl_Queue_Object ti_sysbios_knl_Queue_Object; typedef struct ti_sysbios_knl_Queue_Struct ti_sysbios_knl_Queue_Struct; typedef ti_sysbios_knl_Queue_Object* ti_sysbios_knl_Queue_Handle; typedef struct ti_sysbios_knl_Queue_Object__ ti_sysbios_knl_Queue_Instance_State; typedef ti_sysbios_knl_Queue_Object* ti_sysbios_knl_Queue_Instance; typedef struct ti_sysbios_knl_Semaphore_PendElem ti_sysbios_knl_Semaphore_PendElem; typedef struct ti_sysbios_knl_Semaphore_Params ti_sysbios_knl_Semaphore_Params; typedef struct ti_sysbios_knl_Semaphore_Object ti_sysbios_knl_Semaphore_Object; typedef struct ti_sysbios_knl_Semaphore_Struct ti_sysbios_knl_Semaphore_Struct; typedef ti_sysbios_knl_Semaphore_Object* ti_sysbios_knl_Semaphore_Handle; typedef struct ti_sysbios_knl_Semaphore_Object__ ti_sysbios_knl_Semaphore_Instance_State; typedef ti_sysbios_knl_Semaphore_Object* ti_sysbios_knl_Semaphore_Instance; typedef struct ti_sysbios_knl_Swi_HookSet ti_sysbios_knl_Swi_HookSet; typedef struct ti_sysbios_knl_Swi_Module_State ti_sysbios_knl_Swi_Module_State; typedef struct ti_sysbios_knl_Swi_Params ti_sysbios_knl_Swi_Params; typedef struct ti_sysbios_knl_Swi_Object ti_sysbios_knl_Swi_Object; typedef struct ti_sysbios_knl_Swi_Struct ti_sysbios_knl_Swi_Struct; typedef ti_sysbios_knl_Swi_Object* ti_sysbios_knl_Swi_Handle; typedef struct ti_sysbios_knl_Swi_Object__ ti_sysbios_knl_Swi_Instance_State; typedef ti_sysbios_knl_Swi_Object* ti_sysbios_knl_Swi_Instance; typedef struct ti_sysbios_knl_Task_Stat ti_sysbios_knl_Task_Stat; typedef struct ti_sysbios_knl_Task_HookSet ti_sysbios_knl_Task_HookSet; typedef struct ti_sysbios_knl_Task_PendElem ti_sysbios_knl_Task_PendElem; typedef struct ti_sysbios_knl_Task_Module_State ti_sysbios_knl_Task_Module_State; typedef struct ti_sysbios_knl_Task_Params ti_sysbios_knl_Task_Params; typedef struct ti_sysbios_knl_Task_Object ti_sysbios_knl_Task_Object; typedef struct ti_sysbios_knl_Task_Struct ti_sysbios_knl_Task_Struct; typedef ti_sysbios_knl_Task_Object* ti_sysbios_knl_Task_Handle; typedef struct ti_sysbios_knl_Task_Object__ ti_sysbios_knl_Task_Instance_State; typedef ti_sysbios_knl_Task_Object* ti_sysbios_knl_Task_Instance; typedef struct ti_sysbios_knl_Intrinsics_SupportProxy_Fxns__ ti_sysbios_knl_Intrinsics_SupportProxy_Fxns__; typedef const ti_sysbios_knl_Intrinsics_SupportProxy_Fxns__* ti_sysbios_knl_Intrinsics_SupportProxy_Module; typedef struct ti_sysbios_knl_Task_SupportProxy_Fxns__ ti_sysbios_knl_Task_SupportProxy_Fxns__; typedef const ti_sysbios_knl_Task_SupportProxy_Fxns__* ti_sysbios_knl_Task_SupportProxy_Module; struct ti_sysbios_knl_Queue_Elem { ti_sysbios_knl_Queue_Elem*volatile next; ti_sysbios_knl_Queue_Elem*volatile prev; }; typedef xdc_Bits32 CT__ti_sysbios_knl_Queue_Module__diagsEnabled; extern "C" far const CT__ti_sysbios_knl_Queue_Module__diagsEnabled ti_sysbios_knl_Queue_Module__diagsEnabled__C; typedef xdc_Bits32 CT__ti_sysbios_knl_Queue_Module__diagsIncluded; extern "C" far const CT__ti_sysbios_knl_Queue_Module__diagsIncluded ti_sysbios_knl_Queue_Module__diagsIncluded__C; typedef xdc_Bits16* CT__ti_sysbios_knl_Queue_Module__diagsMask; extern "C" far const CT__ti_sysbios_knl_Queue_Module__diagsMask ti_sysbios_knl_Queue_Module__diagsMask__C; typedef xdc_Ptr CT__ti_sysbios_knl_Queue_Module__gateObj; extern "C" far const CT__ti_sysbios_knl_Queue_Module__gateObj ti_sysbios_knl_Queue_Module__gateObj__C; typedef xdc_Ptr CT__ti_sysbios_knl_Queue_Module__gatePrms; extern "C" far const CT__ti_sysbios_knl_Queue_Module__gatePrms ti_sysbios_knl_Queue_Module__gatePrms__C; typedef xdc_runtime_Types_ModuleId CT__ti_sysbios_knl_Queue_Module__id; extern "C" far const CT__ti_sysbios_knl_Queue_Module__id ti_sysbios_knl_Queue_Module__id__C; typedef xdc_Bool CT__ti_sysbios_knl_Queue_Module__loggerDefined; extern "C" far const CT__ti_sysbios_knl_Queue_Module__loggerDefined ti_sysbios_knl_Queue_Module__loggerDefined__C; typedef xdc_Ptr CT__ti_sysbios_knl_Queue_Module__loggerObj; extern "C" far const CT__ti_sysbios_knl_Queue_Module__loggerObj ti_sysbios_knl_Queue_Module__loggerObj__C; typedef xdc_runtime_Types_LoggerFxn0 CT__ti_sysbios_knl_Queue_Module__loggerFxn0; extern "C" far const CT__ti_sysbios_knl_Queue_Module__loggerFxn0 ti_sysbios_knl_Queue_Module__loggerFxn0__C; typedef xdc_runtime_Types_LoggerFxn1 CT__ti_sysbios_knl_Queue_Module__loggerFxn1; extern "C" far const CT__ti_sysbios_knl_Queue_Module__loggerFxn1 ti_sysbios_knl_Queue_Module__loggerFxn1__C; typedef xdc_runtime_Types_LoggerFxn2 CT__ti_sysbios_knl_Queue_Module__loggerFxn2; extern "C" far const CT__ti_sysbios_knl_Queue_Module__loggerFxn2 ti_sysbios_knl_Queue_Module__loggerFxn2__C; typedef xdc_runtime_Types_LoggerFxn4 CT__ti_sysbios_knl_Queue_Module__loggerFxn4; extern "C" far const CT__ti_sysbios_knl_Queue_Module__loggerFxn4 ti_sysbios_knl_Queue_Module__loggerFxn4__C; typedef xdc_runtime_Types_LoggerFxn8 CT__ti_sysbios_knl_Queue_Module__loggerFxn8; extern "C" far const CT__ti_sysbios_knl_Queue_Module__loggerFxn8 ti_sysbios_knl_Queue_Module__loggerFxn8__C; typedef xdc_Bool (*CT__ti_sysbios_knl_Queue_Module__startupDoneFxn)(void); extern "C" far const CT__ti_sysbios_knl_Queue_Module__startupDoneFxn ti_sysbios_knl_Queue_Module__startupDoneFxn__C; typedef xdc_Int CT__ti_sysbios_knl_Queue_Object__count; extern "C" far const CT__ti_sysbios_knl_Queue_Object__count ti_sysbios_knl_Queue_Object__count__C; typedef xdc_runtime_IHeap_Handle CT__ti_sysbios_knl_Queue_Object__heap; extern "C" far const CT__ti_sysbios_knl_Queue_Object__heap ti_sysbios_knl_Queue_Object__heap__C; typedef xdc_SizeT CT__ti_sysbios_knl_Queue_Object__sizeof; extern "C" far const CT__ti_sysbios_knl_Queue_Object__sizeof ti_sysbios_knl_Queue_Object__sizeof__C; typedef xdc_Ptr CT__ti_sysbios_knl_Queue_Object__table; extern "C" far const CT__ti_sysbios_knl_Queue_Object__table ti_sysbios_knl_Queue_Object__table__C; struct ti_sysbios_knl_Queue_Params { size_t __size; const void* __self; void* __fxns; xdc_runtime_IInstance_Params* instance; xdc_runtime_IInstance_Params __iprms; }; struct ti_sysbios_knl_Queue_Struct { ti_sysbios_knl_Queue_Elem __f0; xdc_runtime_Types_CordAddr __name; }; extern "C" void ti_sysbios_knl_Queue_Instance_init__F( ti_sysbios_knl_Queue_Object*, const ti_sysbios_knl_Queue_Params* ); extern "C" void ti_sysbios_knl_Queue_Instance_init__R( ti_sysbios_knl_Queue_Object*, const ti_sysbios_knl_Queue_Params* ); extern "C" xdc_runtime_Types_Label* ti_sysbios_knl_Queue_Handle__label__S( xdc_Ptr obj, xdc_runtime_Types_Label* lab ); extern "C" xdc_Bool ti_sysbios_knl_Queue_Module__startupDone__S( void ); extern "C" xdc_Ptr ti_sysbios_knl_Queue_Object__create__S( xdc_Ptr __oa, xdc_SizeT __osz, xdc_Ptr __aa, const xdc_UChar* __pa, xdc_SizeT __psz, xdc_runtime_Error_Block* __eb ); extern "C" void ti_sysbios_knl_Queue_Object__delete__S( xdc_Ptr instp ); extern "C" void ti_sysbios_knl_Queue_Object__destruct__S( xdc_Ptr objp ); extern "C" xdc_Ptr ti_sysbios_knl_Queue_Object__get__S( xdc_Ptr oarr, xdc_Int i ); extern "C" xdc_Ptr ti_sysbios_knl_Queue_Object__first__S( void ); extern "C" xdc_Ptr ti_sysbios_knl_Queue_Object__next__S( xdc_Ptr obj ); extern "C" void ti_sysbios_knl_Queue_Params__init__S( xdc_Ptr dst, xdc_Ptr src, xdc_SizeT psz, xdc_SizeT isz ); extern "C" void ti_sysbios_knl_Queue_elemClear__E( ti_sysbios_knl_Queue_Elem* qelem ); extern "C" void ti_sysbios_knl_Queue_elemClear__F( ti_sysbios_knl_Queue_Elem* qelem ); extern "C" void ti_sysbios_knl_Queue_elemClear__R( ti_sysbios_knl_Queue_Elem* qelem ); extern "C" void ti_sysbios_knl_Queue_insert__E( ti_sysbios_knl_Queue_Elem* qelem, ti_sysbios_knl_Queue_Elem* elem ); extern "C" void ti_sysbios_knl_Queue_insert__F( ti_sysbios_knl_Queue_Elem* qelem, ti_sysbios_knl_Queue_Elem* elem ); extern "C" void ti_sysbios_knl_Queue_insert__R( ti_sysbios_knl_Queue_Elem* qelem, ti_sysbios_knl_Queue_Elem* elem ); extern "C" xdc_Ptr ti_sysbios_knl_Queue_next__E( ti_sysbios_knl_Queue_Elem* qelem ); extern "C" xdc_Ptr ti_sysbios_knl_Queue_next__F( ti_sysbios_knl_Queue_Elem* qelem ); extern "C" xdc_Ptr ti_sysbios_knl_Queue_next__R( ti_sysbios_knl_Queue_Elem* qelem ); extern "C" xdc_Ptr ti_sysbios_knl_Queue_prev__E( ti_sysbios_knl_Queue_Elem* qelem ); extern "C" xdc_Ptr ti_sysbios_knl_Queue_prev__F( ti_sysbios_knl_Queue_Elem* qelem ); extern "C" xdc_Ptr ti_sysbios_knl_Queue_prev__R( ti_sysbios_knl_Queue_Elem* qelem ); extern "C" void ti_sysbios_knl_Queue_remove__E( ti_sysbios_knl_Queue_Elem* qelem ); extern "C" void ti_sysbios_knl_Queue_remove__F( ti_sysbios_knl_Queue_Elem* qelem ); extern "C" void ti_sysbios_knl_Queue_remove__R( ti_sysbios_knl_Queue_Elem* qelem ); extern "C" xdc_Bool ti_sysbios_knl_Queue_isQueued__E( ti_sysbios_knl_Queue_Elem* qelem ); extern "C" xdc_Bool ti_sysbios_knl_Queue_isQueued__F( ti_sysbios_knl_Queue_Elem* qelem ); extern "C" xdc_Bool ti_sysbios_knl_Queue_isQueued__R( ti_sysbios_knl_Queue_Elem* qelem ); extern "C" xdc_Ptr ti_sysbios_knl_Queue_dequeue__E( ti_sysbios_knl_Queue_Handle __inst ); extern "C" xdc_Ptr ti_sysbios_knl_Queue_dequeue__F( ti_sysbios_knl_Queue_Object* __inst ); extern "C" xdc_Ptr ti_sysbios_knl_Queue_dequeue__R( ti_sysbios_knl_Queue_Handle __inst ); extern "C" xdc_Bool ti_sysbios_knl_Queue_empty__E( ti_sysbios_knl_Queue_Handle __inst ); extern "C" xdc_Bool ti_sysbios_knl_Queue_empty__F( ti_sysbios_knl_Queue_Object* __inst ); extern "C" xdc_Bool ti_sysbios_knl_Queue_empty__R( ti_sysbios_knl_Queue_Handle __inst ); extern "C" void ti_sysbios_knl_Queue_enqueue__E( ti_sysbios_knl_Queue_Handle __inst, ti_sysbios_knl_Queue_Elem* elem ); extern "C" void ti_sysbios_knl_Queue_enqueue__F( ti_sysbios_knl_Queue_Object* __inst, ti_sysbios_knl_Queue_Elem* elem ); extern "C" void ti_sysbios_knl_Queue_enqueue__R( ti_sysbios_knl_Queue_Handle __inst, ti_sysbios_knl_Queue_Elem* elem ); extern "C" xdc_Ptr ti_sysbios_knl_Queue_get__E( ti_sysbios_knl_Queue_Handle __inst ); extern "C" xdc_Ptr ti_sysbios_knl_Queue_get__F( ti_sysbios_knl_Queue_Object* __inst ); extern "C" xdc_Ptr ti_sysbios_knl_Queue_get__R( ti_sysbios_knl_Queue_Handle __inst ); extern "C" xdc_Ptr ti_sysbios_knl_Queue_head__E( ti_sysbios_knl_Queue_Handle __inst ); extern "C" xdc_Ptr ti_sysbios_knl_Queue_head__F( ti_sysbios_knl_Queue_Object* __inst ); extern "C" xdc_Ptr ti_sysbios_knl_Queue_head__R( ti_sysbios_knl_Queue_Handle __inst ); extern "C" void ti_sysbios_knl_Queue_put__E( ti_sysbios_knl_Queue_Handle __inst, ti_sysbios_knl_Queue_Elem* elem ); extern "C" void ti_sysbios_knl_Queue_put__F( ti_sysbios_knl_Queue_Object* __inst, ti_sysbios_knl_Queue_Elem* elem ); extern "C" void ti_sysbios_knl_Queue_put__R( ti_sysbios_knl_Queue_Handle __inst, ti_sysbios_knl_Queue_Elem* elem ); typedef xdc_Ptr (*ti_sysbios_knl_Queue_dequeue_FxnT)(void*); static inline ti_sysbios_knl_Queue_dequeue_FxnT ti_sysbios_knl_Queue_dequeue_fxnP( void ) { return (ti_sysbios_knl_Queue_dequeue_FxnT)ti_sysbios_knl_Queue_dequeue__E; } typedef xdc_Bool (*ti_sysbios_knl_Queue_empty_FxnT)(void*); static inline ti_sysbios_knl_Queue_empty_FxnT ti_sysbios_knl_Queue_empty_fxnP( void ) { return (ti_sysbios_knl_Queue_empty_FxnT)ti_sysbios_knl_Queue_empty__E; } typedef void (*ti_sysbios_knl_Queue_enqueue_FxnT)(void*, ti_sysbios_knl_Queue_Elem*); static inline ti_sysbios_knl_Queue_enqueue_FxnT ti_sysbios_knl_Queue_enqueue_fxnP( void ) { return (ti_sysbios_knl_Queue_enqueue_FxnT)ti_sysbios_knl_Queue_enqueue__E; } typedef xdc_Ptr (*ti_sysbios_knl_Queue_get_FxnT)(void*); static inline ti_sysbios_knl_Queue_get_FxnT ti_sysbios_knl_Queue_get_fxnP( void ) { return (ti_sysbios_knl_Queue_get_FxnT)ti_sysbios_knl_Queue_get__E; } typedef xdc_Ptr (*ti_sysbios_knl_Queue_head_FxnT)(void*); static inline ti_sysbios_knl_Queue_head_FxnT ti_sysbios_knl_Queue_head_fxnP( void ) { return (ti_sysbios_knl_Queue_head_FxnT)ti_sysbios_knl_Queue_head__E; } typedef void (*ti_sysbios_knl_Queue_put_FxnT)(void*, ti_sysbios_knl_Queue_Elem*); static inline ti_sysbios_knl_Queue_put_FxnT ti_sysbios_knl_Queue_put_fxnP( void ) { return (ti_sysbios_knl_Queue_put_FxnT)ti_sysbios_knl_Queue_put__E; } static inline CT__ti_sysbios_knl_Queue_Module__id ti_sysbios_knl_Queue_Module_id( void ) { return ti_sysbios_knl_Queue_Module__id__C; } static inline xdc_Bool ti_sysbios_knl_Queue_Module_hasMask( void ) { return ti_sysbios_knl_Queue_Module__diagsMask__C != 0; } static inline xdc_Bits16 ti_sysbios_knl_Queue_Module_getMask( void ) { return ti_sysbios_knl_Queue_Module__diagsMask__C != 0 ? *ti_sysbios_knl_Queue_Module__diagsMask__C : 0; } static inline void ti_sysbios_knl_Queue_Module_setMask( xdc_Bits16 mask ) { if (ti_sysbios_knl_Queue_Module__diagsMask__C != 0) *ti_sysbios_knl_Queue_Module__diagsMask__C = mask; } static inline void ti_sysbios_knl_Queue_Params_init( ti_sysbios_knl_Queue_Params* prms ) { if (prms) { ti_sysbios_knl_Queue_Params__init__S(prms, 0, sizeof(ti_sysbios_knl_Queue_Params), sizeof(xdc_runtime_IInstance_Params)); } } static inline void ti_sysbios_knl_Queue_Params_copy( ti_sysbios_knl_Queue_Params* dst, const ti_sysbios_knl_Queue_Params* src ) { if (dst) { ti_sysbios_knl_Queue_Params__init__S(dst, (xdc_Ptr)src, sizeof(ti_sysbios_knl_Queue_Params), sizeof(xdc_runtime_IInstance_Params)); } } static inline ti_sysbios_knl_Queue_Handle ti_sysbios_knl_Queue_Object_get( ti_sysbios_knl_Queue_Instance_State* oarr, int i ) { return (ti_sysbios_knl_Queue_Handle)ti_sysbios_knl_Queue_Object__get__S(oarr, i); } static inline ti_sysbios_knl_Queue_Handle ti_sysbios_knl_Queue_Object_first( void ) { return (ti_sysbios_knl_Queue_Handle)ti_sysbios_knl_Queue_Object__first__S(); } static inline ti_sysbios_knl_Queue_Handle ti_sysbios_knl_Queue_Object_next( ti_sysbios_knl_Queue_Object* obj ) { return (ti_sysbios_knl_Queue_Handle)ti_sysbios_knl_Queue_Object__next__S(obj); } static inline xdc_runtime_Types_Label* ti_sysbios_knl_Queue_Handle_label( ti_sysbios_knl_Queue_Handle inst, xdc_runtime_Types_Label* lab ) { return ti_sysbios_knl_Queue_Handle__label__S(inst, lab); } static inline String ti_sysbios_knl_Queue_Handle_name( ti_sysbios_knl_Queue_Handle inst ) { xdc_runtime_Types_Label lab; return ti_sysbios_knl_Queue_Handle__label__S(inst, &lab)->iname; } static inline ti_sysbios_knl_Queue_Handle ti_sysbios_knl_Queue_create( const ti_sysbios_knl_Queue_Params* __prms, xdc_runtime_Error_Block* __eb ) { return (ti_sysbios_knl_Queue_Handle)ti_sysbios_knl_Queue_Object__create__S(0, 0, 0, (const xdc_UChar*)__prms, sizeof(ti_sysbios_knl_Queue_Params), __eb); } static inline void ti_sysbios_knl_Queue_construct( ti_sysbios_knl_Queue_Struct* __obj, const ti_sysbios_knl_Queue_Params* __prms ) { ti_sysbios_knl_Queue_Object__create__S(__obj, sizeof (ti_sysbios_knl_Queue_Struct), 0, (const xdc_UChar*)__prms, sizeof(ti_sysbios_knl_Queue_Params), 0); } static inline void ti_sysbios_knl_Queue_delete( ti_sysbios_knl_Queue_Handle* instp ) { ti_sysbios_knl_Queue_Object__delete__S(instp); } static inline void ti_sysbios_knl_Queue_destruct( ti_sysbios_knl_Queue_Struct* obj ) { ti_sysbios_knl_Queue_Object__destruct__S(obj); } static inline ti_sysbios_knl_Queue_Handle ti_sysbios_knl_Queue_handle( ti_sysbios_knl_Queue_Struct* str ) { return (ti_sysbios_knl_Queue_Handle)str; } static inline ti_sysbios_knl_Queue_Struct* ti_sysbios_knl_Queue_struct( ti_sysbios_knl_Queue_Handle inst ) { return (ti_sysbios_knl_Queue_Struct*)inst; } typedef xdc_Bits32 xdc_runtime_Log_Event; typedef xdc_runtime_Types_CordAddr xdc_runtime_Text_CordAddr; typedef xdc_runtime_Types_Label xdc_runtime_Text_Label; typedef xdc_runtime_Types_RopeId xdc_runtime_Text_RopeId; struct xdc_runtime_Text_Node { xdc_runtime_Types_RopeId left; xdc_runtime_Types_RopeId right; }; typedef xdc_Bool (*xdc_runtime_Text_RopeVisitor)(xdc_Ptr, xdc_String); struct xdc_runtime_Text_MatchVisState { xdc_String pat; xdc_Int* lenp; xdc_Int res; }; struct xdc_runtime_Text_PrintVisState { xdc_Char** bufp; xdc_Int len; xdc_Int res; }; typedef void (*xdc_runtime_Text_VisitRopeFxn)(xdc_runtime_Text_RopeId, xdc_Fxn, xdc_Ptr); typedef void (*xdc_runtime_Text_VisitRopeFxn2)(xdc_runtime_Text_RopeId, xdc_Fxn, xdc_Ptr, xdc_String[]); typedef xdc_Bits32 CT__xdc_runtime_Text_Module__diagsEnabled; extern "C" far const CT__xdc_runtime_Text_Module__diagsEnabled xdc_runtime_Text_Module__diagsEnabled__C; typedef xdc_Bits32 CT__xdc_runtime_Text_Module__diagsIncluded; extern "C" far const CT__xdc_runtime_Text_Module__diagsIncluded xdc_runtime_Text_Module__diagsIncluded__C; typedef xdc_Bits16* CT__xdc_runtime_Text_Module__diagsMask; extern "C" far const CT__xdc_runtime_Text_Module__diagsMask xdc_runtime_Text_Module__diagsMask__C; typedef xdc_Ptr CT__xdc_runtime_Text_Module__gateObj; extern "C" far const CT__xdc_runtime_Text_Module__gateObj xdc_runtime_Text_Module__gateObj__C; typedef xdc_Ptr CT__xdc_runtime_Text_Module__gatePrms; extern "C" far const CT__xdc_runtime_Text_Module__gatePrms xdc_runtime_Text_Module__gatePrms__C; typedef xdc_runtime_Types_ModuleId CT__xdc_runtime_Text_Module__id; extern "C" far const CT__xdc_runtime_Text_Module__id xdc_runtime_Text_Module__id__C; typedef xdc_Bool CT__xdc_runtime_Text_Module__loggerDefined; extern "C" far const CT__xdc_runtime_Text_Module__loggerDefined xdc_runtime_Text_Module__loggerDefined__C; typedef xdc_Ptr CT__xdc_runtime_Text_Module__loggerObj; extern "C" far const CT__xdc_runtime_Text_Module__loggerObj xdc_runtime_Text_Module__loggerObj__C; typedef xdc_runtime_Types_LoggerFxn0 CT__xdc_runtime_Text_Module__loggerFxn0; extern "C" far const CT__xdc_runtime_Text_Module__loggerFxn0 xdc_runtime_Text_Module__loggerFxn0__C; typedef xdc_runtime_Types_LoggerFxn1 CT__xdc_runtime_Text_Module__loggerFxn1; extern "C" far const CT__xdc_runtime_Text_Module__loggerFxn1 xdc_runtime_Text_Module__loggerFxn1__C; typedef xdc_runtime_Types_LoggerFxn2 CT__xdc_runtime_Text_Module__loggerFxn2; extern "C" far const CT__xdc_runtime_Text_Module__loggerFxn2 xdc_runtime_Text_Module__loggerFxn2__C; typedef xdc_runtime_Types_LoggerFxn4 CT__xdc_runtime_Text_Module__loggerFxn4; extern "C" far const CT__xdc_runtime_Text_Module__loggerFxn4 xdc_runtime_Text_Module__loggerFxn4__C; typedef xdc_runtime_Types_LoggerFxn8 CT__xdc_runtime_Text_Module__loggerFxn8; extern "C" far const CT__xdc_runtime_Text_Module__loggerFxn8 xdc_runtime_Text_Module__loggerFxn8__C; typedef xdc_Bool (*CT__xdc_runtime_Text_Module__startupDoneFxn)(void); extern "C" far const CT__xdc_runtime_Text_Module__startupDoneFxn xdc_runtime_Text_Module__startupDoneFxn__C; typedef xdc_Int CT__xdc_runtime_Text_Object__count; extern "C" far const CT__xdc_runtime_Text_Object__count xdc_runtime_Text_Object__count__C; typedef xdc_runtime_IHeap_Handle CT__xdc_runtime_Text_Object__heap; extern "C" far const CT__xdc_runtime_Text_Object__heap xdc_runtime_Text_Object__heap__C; typedef xdc_SizeT CT__xdc_runtime_Text_Object__sizeof; extern "C" far const CT__xdc_runtime_Text_Object__sizeof xdc_runtime_Text_Object__sizeof__C; typedef xdc_Ptr CT__xdc_runtime_Text_Object__table; extern "C" far const CT__xdc_runtime_Text_Object__table xdc_runtime_Text_Object__table__C; typedef xdc_String CT__xdc_runtime_Text_nameUnknown; extern "C" far const CT__xdc_runtime_Text_nameUnknown xdc_runtime_Text_nameUnknown__C; typedef xdc_String CT__xdc_runtime_Text_nameEmpty; extern "C" far const CT__xdc_runtime_Text_nameEmpty xdc_runtime_Text_nameEmpty__C; typedef xdc_String CT__xdc_runtime_Text_nameStatic; extern "C" far const CT__xdc_runtime_Text_nameStatic xdc_runtime_Text_nameStatic__C; typedef xdc_Bool CT__xdc_runtime_Text_isLoaded; extern "C" far const CT__xdc_runtime_Text_isLoaded xdc_runtime_Text_isLoaded__C; typedef xdc_Char __T1_xdc_runtime_Text_charTab; typedef xdc_Char *__ARRAY1_xdc_runtime_Text_charTab; typedef __ARRAY1_xdc_runtime_Text_charTab __TA_xdc_runtime_Text_charTab; typedef __TA_xdc_runtime_Text_charTab CT__xdc_runtime_Text_charTab; extern "C" far const CT__xdc_runtime_Text_charTab xdc_runtime_Text_charTab__C; typedef xdc_runtime_Text_Node __T1_xdc_runtime_Text_nodeTab; typedef xdc_runtime_Text_Node *__ARRAY1_xdc_runtime_Text_nodeTab; typedef __ARRAY1_xdc_runtime_Text_nodeTab __TA_xdc_runtime_Text_nodeTab; typedef __TA_xdc_runtime_Text_nodeTab CT__xdc_runtime_Text_nodeTab; extern "C" far const CT__xdc_runtime_Text_nodeTab xdc_runtime_Text_nodeTab__C; typedef xdc_Int16 CT__xdc_runtime_Text_charCnt; extern "C" far const CT__xdc_runtime_Text_charCnt xdc_runtime_Text_charCnt__C; typedef xdc_Int16 CT__xdc_runtime_Text_nodeCnt; extern "C" far const CT__xdc_runtime_Text_nodeCnt xdc_runtime_Text_nodeCnt__C; typedef xdc_UInt16 CT__xdc_runtime_Text_unnamedModsLastId; extern "C" far const CT__xdc_runtime_Text_unnamedModsLastId xdc_runtime_Text_unnamedModsLastId__C; typedef xdc_UInt16 CT__xdc_runtime_Text_registryModsLastId; extern "C" far const CT__xdc_runtime_Text_registryModsLastId xdc_runtime_Text_registryModsLastId__C; typedef xdc_runtime_Text_VisitRopeFxn CT__xdc_runtime_Text_visitRopeFxn; extern "C" far const CT__xdc_runtime_Text_visitRopeFxn xdc_runtime_Text_visitRopeFxn__C; typedef xdc_runtime_Text_VisitRopeFxn2 CT__xdc_runtime_Text_visitRopeFxn2; extern "C" far const CT__xdc_runtime_Text_visitRopeFxn2 xdc_runtime_Text_visitRopeFxn2__C; extern "C" xdc_Bool xdc_runtime_Text_Module__startupDone__S( void ); extern "C" xdc_String xdc_runtime_Text_cordText__E( xdc_runtime_Text_CordAddr cord ); extern "C" xdc_String xdc_runtime_Text_cordText__F( xdc_runtime_Text_CordAddr cord ); extern "C" xdc_String xdc_runtime_Text_cordText__R( xdc_runtime_Text_CordAddr cord ); extern "C" xdc_String xdc_runtime_Text_ropeText__E( xdc_runtime_Text_RopeId rope ); extern "C" xdc_String xdc_runtime_Text_ropeText__F( xdc_runtime_Text_RopeId rope ); extern "C" xdc_String xdc_runtime_Text_ropeText__R( xdc_runtime_Text_RopeId rope ); extern "C" xdc_Int xdc_runtime_Text_matchRope__E( xdc_runtime_Text_RopeId rope, xdc_String pat, xdc_Int* lenp ); extern "C" xdc_Int xdc_runtime_Text_matchRope__F( xdc_runtime_Text_RopeId rope, xdc_String pat, xdc_Int* lenp ); extern "C" xdc_Int xdc_runtime_Text_matchRope__R( xdc_runtime_Text_RopeId rope, xdc_String pat, xdc_Int* lenp ); extern "C" xdc_Int xdc_runtime_Text_putLab__E( xdc_runtime_Types_Label* lab, xdc_Char** bufp, xdc_Int len ); extern "C" xdc_Int xdc_runtime_Text_putLab__F( xdc_runtime_Types_Label* lab, xdc_Char** bufp, xdc_Int len ); extern "C" xdc_Int xdc_runtime_Text_putLab__R( xdc_runtime_Types_Label* lab, xdc_Char** bufp, xdc_Int len ); extern "C" xdc_Int xdc_runtime_Text_putMod__E( xdc_runtime_Types_ModuleId mid, xdc_Char** bufp, xdc_Int len ); extern "C" xdc_Int xdc_runtime_Text_putMod__F( xdc_runtime_Types_ModuleId mid, xdc_Char** bufp, xdc_Int len ); extern "C" xdc_Int xdc_runtime_Text_putMod__R( xdc_runtime_Types_ModuleId mid, xdc_Char** bufp, xdc_Int len ); extern "C" xdc_Int xdc_runtime_Text_putSite__E( xdc_runtime_Types_Site* site, xdc_Char** bufp, xdc_Int len ); extern "C" xdc_Int xdc_runtime_Text_putSite__F( xdc_runtime_Types_Site* site, xdc_Char** bufp, xdc_Int len ); extern "C" xdc_Int xdc_runtime_Text_putSite__R( xdc_runtime_Types_Site* site, xdc_Char** bufp, xdc_Int len ); extern "C" xdc_Bool xdc_runtime_Text_matchVisFxn__I( xdc_Ptr p, xdc_String s ); extern "C" xdc_Bool xdc_runtime_Text_printVisFxn__I( xdc_Ptr p, xdc_String s ); extern "C" void xdc_runtime_Text_visitRope__I( xdc_runtime_Text_RopeId rope, xdc_Fxn visFxn, xdc_Ptr visState ); extern "C" void xdc_runtime_Text_visitRope2__I( xdc_runtime_Text_RopeId rope, xdc_Fxn visFxn, xdc_Ptr visState, xdc_String stack[] ); extern "C" xdc_Int xdc_runtime_Text_xprintf__I( xdc_Char** bufp, xdc_String fmt, ... ); static inline CT__xdc_runtime_Text_Module__id xdc_runtime_Text_Module_id( void ) { return xdc_runtime_Text_Module__id__C; } static inline xdc_Bool xdc_runtime_Text_Module_hasMask( void ) { return xdc_runtime_Text_Module__diagsMask__C != 0; } static inline xdc_Bits16 xdc_runtime_Text_Module_getMask( void ) { return xdc_runtime_Text_Module__diagsMask__C != 0 ? *xdc_runtime_Text_Module__diagsMask__C : 0; } static inline void xdc_runtime_Text_Module_setMask( xdc_Bits16 mask ) { if (xdc_runtime_Text_Module__diagsMask__C != 0) *xdc_runtime_Text_Module__diagsMask__C = mask; } typedef xdc_IArg __T1_xdc_runtime_Log_EventRec__arg; typedef xdc_IArg __ARRAY1_xdc_runtime_Log_EventRec__arg[8]; typedef __ARRAY1_xdc_runtime_Log_EventRec__arg __TA_xdc_runtime_Log_EventRec__arg; struct xdc_runtime_Log_EventRec { xdc_runtime_Types_Timestamp64 tstamp; xdc_Bits32 serial; xdc_runtime_Types_Event evt; __TA_xdc_runtime_Log_EventRec__arg arg; }; typedef xdc_runtime_Types_RopeId xdc_runtime_Log_EventId; typedef xdc_Bits32 CT__xdc_runtime_Log_Module__diagsEnabled; extern "C" far const CT__xdc_runtime_Log_Module__diagsEnabled xdc_runtime_Log_Module__diagsEnabled__C; typedef xdc_Bits32 CT__xdc_runtime_Log_Module__diagsIncluded; extern "C" far const CT__xdc_runtime_Log_Module__diagsIncluded xdc_runtime_Log_Module__diagsIncluded__C; typedef xdc_Bits16* CT__xdc_runtime_Log_Module__diagsMask; extern "C" far const CT__xdc_runtime_Log_Module__diagsMask xdc_runtime_Log_Module__diagsMask__C; typedef xdc_Ptr CT__xdc_runtime_Log_Module__gateObj; extern "C" far const CT__xdc_runtime_Log_Module__gateObj xdc_runtime_Log_Module__gateObj__C; typedef xdc_Ptr CT__xdc_runtime_Log_Module__gatePrms; extern "C" far const CT__xdc_runtime_Log_Module__gatePrms xdc_runtime_Log_Module__gatePrms__C; typedef xdc_runtime_Types_ModuleId CT__xdc_runtime_Log_Module__id; extern "C" far const CT__xdc_runtime_Log_Module__id xdc_runtime_Log_Module__id__C; typedef xdc_Bool CT__xdc_runtime_Log_Module__loggerDefined; extern "C" far const CT__xdc_runtime_Log_Module__loggerDefined xdc_runtime_Log_Module__loggerDefined__C; typedef xdc_Ptr CT__xdc_runtime_Log_Module__loggerObj; extern "C" far const CT__xdc_runtime_Log_Module__loggerObj xdc_runtime_Log_Module__loggerObj__C; typedef xdc_runtime_Types_LoggerFxn0 CT__xdc_runtime_Log_Module__loggerFxn0; extern "C" far const CT__xdc_runtime_Log_Module__loggerFxn0 xdc_runtime_Log_Module__loggerFxn0__C; typedef xdc_runtime_Types_LoggerFxn1 CT__xdc_runtime_Log_Module__loggerFxn1; extern "C" far const CT__xdc_runtime_Log_Module__loggerFxn1 xdc_runtime_Log_Module__loggerFxn1__C; typedef xdc_runtime_Types_LoggerFxn2 CT__xdc_runtime_Log_Module__loggerFxn2; extern "C" far const CT__xdc_runtime_Log_Module__loggerFxn2 xdc_runtime_Log_Module__loggerFxn2__C; typedef xdc_runtime_Types_LoggerFxn4 CT__xdc_runtime_Log_Module__loggerFxn4; extern "C" far const CT__xdc_runtime_Log_Module__loggerFxn4 xdc_runtime_Log_Module__loggerFxn4__C; typedef xdc_runtime_Types_LoggerFxn8 CT__xdc_runtime_Log_Module__loggerFxn8; extern "C" far const CT__xdc_runtime_Log_Module__loggerFxn8 xdc_runtime_Log_Module__loggerFxn8__C; typedef xdc_Bool (*CT__xdc_runtime_Log_Module__startupDoneFxn)(void); extern "C" far const CT__xdc_runtime_Log_Module__startupDoneFxn xdc_runtime_Log_Module__startupDoneFxn__C; typedef xdc_Int CT__xdc_runtime_Log_Object__count; extern "C" far const CT__xdc_runtime_Log_Object__count xdc_runtime_Log_Object__count__C; typedef xdc_runtime_IHeap_Handle CT__xdc_runtime_Log_Object__heap; extern "C" far const CT__xdc_runtime_Log_Object__heap xdc_runtime_Log_Object__heap__C; typedef xdc_SizeT CT__xdc_runtime_Log_Object__sizeof; extern "C" far const CT__xdc_runtime_Log_Object__sizeof xdc_runtime_Log_Object__sizeof__C; typedef xdc_Ptr CT__xdc_runtime_Log_Object__table; extern "C" far const CT__xdc_runtime_Log_Object__table xdc_runtime_Log_Object__table__C; typedef xdc_runtime_Log_Event CT__xdc_runtime_Log_L_construct; extern "C" far const CT__xdc_runtime_Log_L_construct xdc_runtime_Log_L_construct__C; typedef xdc_runtime_Log_Event CT__xdc_runtime_Log_L_create; extern "C" far const CT__xdc_runtime_Log_L_create xdc_runtime_Log_L_create__C; typedef xdc_runtime_Log_Event CT__xdc_runtime_Log_L_destruct; extern "C" far const CT__xdc_runtime_Log_L_destruct xdc_runtime_Log_L_destruct__C; typedef xdc_runtime_Log_Event CT__xdc_runtime_Log_L_delete; extern "C" far const CT__xdc_runtime_Log_L_delete xdc_runtime_Log_L_delete__C; typedef xdc_runtime_Log_Event CT__xdc_runtime_Log_L_error; extern "C" far const CT__xdc_runtime_Log_L_error xdc_runtime_Log_L_error__C; typedef xdc_runtime_Log_Event CT__xdc_runtime_Log_L_warning; extern "C" far const CT__xdc_runtime_Log_L_warning xdc_runtime_Log_L_warning__C; typedef xdc_runtime_Log_Event CT__xdc_runtime_Log_L_info; extern "C" far const CT__xdc_runtime_Log_L_info xdc_runtime_Log_L_info__C; typedef xdc_runtime_Log_Event CT__xdc_runtime_Log_L_start; extern "C" far const CT__xdc_runtime_Log_L_start xdc_runtime_Log_L_start__C; typedef xdc_runtime_Log_Event CT__xdc_runtime_Log_L_stop; extern "C" far const CT__xdc_runtime_Log_L_stop xdc_runtime_Log_L_stop__C; typedef xdc_runtime_Log_Event CT__xdc_runtime_Log_L_startInstance; extern "C" far const CT__xdc_runtime_Log_L_startInstance xdc_runtime_Log_L_startInstance__C; typedef xdc_runtime_Log_Event CT__xdc_runtime_Log_L_stopInstance; extern "C" far const CT__xdc_runtime_Log_L_stopInstance xdc_runtime_Log_L_stopInstance__C; extern "C" xdc_Bool xdc_runtime_Log_Module__startupDone__S( void ); extern "C" void xdc_runtime_Log_doPrint__E( xdc_runtime_Log_EventRec* evRec ); extern "C" void xdc_runtime_Log_doPrint__F( xdc_runtime_Log_EventRec* evRec ); extern "C" void xdc_runtime_Log_doPrint__R( xdc_runtime_Log_EventRec* evRec ); static inline CT__xdc_runtime_Log_Module__id xdc_runtime_Log_Module_id( void ) { return xdc_runtime_Log_Module__id__C; } static inline xdc_Bool xdc_runtime_Log_Module_hasMask( void ) { return xdc_runtime_Log_Module__diagsMask__C != 0; } static inline xdc_Bits16 xdc_runtime_Log_Module_getMask( void ) { return xdc_runtime_Log_Module__diagsMask__C != 0 ? *xdc_runtime_Log_Module__diagsMask__C : 0; } static inline void xdc_runtime_Log_Module_setMask( xdc_Bits16 mask ) { if (xdc_runtime_Log_Module__diagsMask__C != 0) *xdc_runtime_Log_Module__diagsMask__C = mask; } typedef void (*ti_sysbios_knl_Swi_FuncPtr)(xdc_UArg, xdc_UArg); struct ti_sysbios_knl_Swi_HookSet { void (*registerFxn)(xdc_Int); void (*createFxn)(ti_sysbios_knl_Swi_Handle, xdc_runtime_Error_Block*); void (*readyFxn)(ti_sysbios_knl_Swi_Handle); void (*beginFxn)(ti_sysbios_knl_Swi_Handle); void (*endFxn)(ti_sysbios_knl_Swi_Handle); void (*deleteFxn)(ti_sysbios_knl_Swi_Handle); }; typedef struct ti_sysbios_knl_Swi_Args__create { ti_sysbios_knl_Swi_FuncPtr fxn; } ti_sysbios_knl_Swi_Args__create; typedef xdc_Ptr __T1_ti_sysbios_knl_Swi_Instance_State__hookEnv; typedef xdc_Ptr *__ARRAY1_ti_sysbios_knl_Swi_Instance_State__hookEnv; typedef __ARRAY1_ti_sysbios_knl_Swi_Instance_State__hookEnv __TA_ti_sysbios_knl_Swi_Instance_State__hookEnv; typedef ti_sysbios_knl_Queue_Instance_State __T1_ti_sysbios_knl_Swi_Module_State__readyQ; typedef ti_sysbios_knl_Queue_Instance_State *__ARRAY1_ti_sysbios_knl_Swi_Module_State__readyQ; typedef __ARRAY1_ti_sysbios_knl_Swi_Module_State__readyQ __TA_ti_sysbios_knl_Swi_Module_State__readyQ; typedef ti_sysbios_knl_Swi_Handle __T1_ti_sysbios_knl_Swi_Module_State__constructedSwis; typedef ti_sysbios_knl_Swi_Handle *__ARRAY1_ti_sysbios_knl_Swi_Module_State__constructedSwis; typedef __ARRAY1_ti_sysbios_knl_Swi_Module_State__constructedSwis __TA_ti_sysbios_knl_Swi_Module_State__constructedSwis; typedef xdc_Bits32 CT__ti_sysbios_knl_Swi_Module__diagsEnabled; extern "C" far const CT__ti_sysbios_knl_Swi_Module__diagsEnabled ti_sysbios_knl_Swi_Module__diagsEnabled__C; typedef xdc_Bits32 CT__ti_sysbios_knl_Swi_Module__diagsIncluded; extern "C" far const CT__ti_sysbios_knl_Swi_Module__diagsIncluded ti_sysbios_knl_Swi_Module__diagsIncluded__C; typedef xdc_Bits16* CT__ti_sysbios_knl_Swi_Module__diagsMask; extern "C" far const CT__ti_sysbios_knl_Swi_Module__diagsMask ti_sysbios_knl_Swi_Module__diagsMask__C; typedef xdc_Ptr CT__ti_sysbios_knl_Swi_Module__gateObj; extern "C" far const CT__ti_sysbios_knl_Swi_Module__gateObj ti_sysbios_knl_Swi_Module__gateObj__C; typedef xdc_Ptr CT__ti_sysbios_knl_Swi_Module__gatePrms; extern "C" far const CT__ti_sysbios_knl_Swi_Module__gatePrms ti_sysbios_knl_Swi_Module__gatePrms__C; typedef xdc_runtime_Types_ModuleId CT__ti_sysbios_knl_Swi_Module__id; extern "C" far const CT__ti_sysbios_knl_Swi_Module__id ti_sysbios_knl_Swi_Module__id__C; typedef xdc_Bool CT__ti_sysbios_knl_Swi_Module__loggerDefined; extern "C" far const CT__ti_sysbios_knl_Swi_Module__loggerDefined ti_sysbios_knl_Swi_Module__loggerDefined__C; typedef xdc_Ptr CT__ti_sysbios_knl_Swi_Module__loggerObj; extern "C" far const CT__ti_sysbios_knl_Swi_Module__loggerObj ti_sysbios_knl_Swi_Module__loggerObj__C; typedef xdc_runtime_Types_LoggerFxn0 CT__ti_sysbios_knl_Swi_Module__loggerFxn0; extern "C" far const CT__ti_sysbios_knl_Swi_Module__loggerFxn0 ti_sysbios_knl_Swi_Module__loggerFxn0__C; typedef xdc_runtime_Types_LoggerFxn1 CT__ti_sysbios_knl_Swi_Module__loggerFxn1; extern "C" far const CT__ti_sysbios_knl_Swi_Module__loggerFxn1 ti_sysbios_knl_Swi_Module__loggerFxn1__C; typedef xdc_runtime_Types_LoggerFxn2 CT__ti_sysbios_knl_Swi_Module__loggerFxn2; extern "C" far const CT__ti_sysbios_knl_Swi_Module__loggerFxn2 ti_sysbios_knl_Swi_Module__loggerFxn2__C; typedef xdc_runtime_Types_LoggerFxn4 CT__ti_sysbios_knl_Swi_Module__loggerFxn4; extern "C" far const CT__ti_sysbios_knl_Swi_Module__loggerFxn4 ti_sysbios_knl_Swi_Module__loggerFxn4__C; typedef xdc_runtime_Types_LoggerFxn8 CT__ti_sysbios_knl_Swi_Module__loggerFxn8; extern "C" far const CT__ti_sysbios_knl_Swi_Module__loggerFxn8 ti_sysbios_knl_Swi_Module__loggerFxn8__C; typedef xdc_Bool (*CT__ti_sysbios_knl_Swi_Module__startupDoneFxn)(void); extern "C" far const CT__ti_sysbios_knl_Swi_Module__startupDoneFxn ti_sysbios_knl_Swi_Module__startupDoneFxn__C; typedef xdc_Int CT__ti_sysbios_knl_Swi_Object__count; extern "C" far const CT__ti_sysbios_knl_Swi_Object__count ti_sysbios_knl_Swi_Object__count__C; typedef xdc_runtime_IHeap_Handle CT__ti_sysbios_knl_Swi_Object__heap; extern "C" far const CT__ti_sysbios_knl_Swi_Object__heap ti_sysbios_knl_Swi_Object__heap__C; typedef xdc_SizeT CT__ti_sysbios_knl_Swi_Object__sizeof; extern "C" far const CT__ti_sysbios_knl_Swi_Object__sizeof ti_sysbios_knl_Swi_Object__sizeof__C; typedef xdc_Ptr CT__ti_sysbios_knl_Swi_Object__table; extern "C" far const CT__ti_sysbios_knl_Swi_Object__table ti_sysbios_knl_Swi_Object__table__C; typedef xdc_runtime_Log_Event CT__ti_sysbios_knl_Swi_LM_begin; extern "C" far const CT__ti_sysbios_knl_Swi_LM_begin ti_sysbios_knl_Swi_LM_begin__C; typedef xdc_runtime_Log_Event CT__ti_sysbios_knl_Swi_LD_end; extern "C" far const CT__ti_sysbios_knl_Swi_LD_end ti_sysbios_knl_Swi_LD_end__C; typedef xdc_runtime_Log_Event CT__ti_sysbios_knl_Swi_LM_post; extern "C" far const CT__ti_sysbios_knl_Swi_LM_post ti_sysbios_knl_Swi_LM_post__C; typedef xdc_runtime_Assert_Id CT__ti_sysbios_knl_Swi_A_swiDisabled; extern "C" far const CT__ti_sysbios_knl_Swi_A_swiDisabled ti_sysbios_knl_Swi_A_swiDisabled__C; typedef xdc_runtime_Assert_Id CT__ti_sysbios_knl_Swi_A_badPriority; extern "C" far const CT__ti_sysbios_knl_Swi_A_badPriority ti_sysbios_knl_Swi_A_badPriority__C; typedef xdc_UInt CT__ti_sysbios_knl_Swi_numPriorities; extern "C" far const CT__ti_sysbios_knl_Swi_numPriorities ti_sysbios_knl_Swi_numPriorities__C; typedef ti_sysbios_knl_Swi_HookSet __T1_ti_sysbios_knl_Swi_hooks; typedef struct { int length; ti_sysbios_knl_Swi_HookSet *elem; } __ARRAY1_ti_sysbios_knl_Swi_hooks; typedef __ARRAY1_ti_sysbios_knl_Swi_hooks __TA_ti_sysbios_knl_Swi_hooks; typedef __TA_ti_sysbios_knl_Swi_hooks CT__ti_sysbios_knl_Swi_hooks; extern "C" far const CT__ti_sysbios_knl_Swi_hooks ti_sysbios_knl_Swi_hooks__C; typedef xdc_UInt (*CT__ti_sysbios_knl_Swi_taskDisable)(void); extern "C" far const CT__ti_sysbios_knl_Swi_taskDisable ti_sysbios_knl_Swi_taskDisable__C; typedef void (*CT__ti_sysbios_knl_Swi_taskRestore)(xdc_UInt); extern "C" far const CT__ti_sysbios_knl_Swi_taskRestore ti_sysbios_knl_Swi_taskRestore__C; typedef xdc_UInt CT__ti_sysbios_knl_Swi_numConstructedSwis; extern "C" far const CT__ti_sysbios_knl_Swi_numConstructedSwis ti_sysbios_knl_Swi_numConstructedSwis__C; struct ti_sysbios_knl_Swi_Params { size_t __size; const void* __self; void* __fxns; xdc_runtime_IInstance_Params* instance; xdc_UArg arg0; xdc_UArg arg1; xdc_UInt priority; xdc_UInt trigger; xdc_runtime_IInstance_Params __iprms; }; struct ti_sysbios_knl_Swi_Struct { ti_sysbios_knl_Queue_Elem __f0; ti_sysbios_knl_Swi_FuncPtr __f1; xdc_UArg __f2; xdc_UArg __f3; xdc_UInt __f4; xdc_UInt __f5; xdc_Bool __f6; xdc_UInt __f7; xdc_UInt __f8; ti_sysbios_knl_Queue_Handle __f9; __TA_ti_sysbios_knl_Swi_Instance_State__hookEnv __f10; xdc_runtime_Types_CordAddr __name; }; extern "C" xdc_Int ti_sysbios_knl_Swi_Module_startup__E( xdc_Int state ); extern "C" xdc_Int ti_sysbios_knl_Swi_Module_startup__F( xdc_Int state ); extern "C" xdc_Int ti_sysbios_knl_Swi_Module_startup__R( xdc_Int state ); extern "C" int ti_sysbios_knl_Swi_Instance_init__F( ti_sysbios_knl_Swi_Object*, ti_sysbios_knl_Swi_FuncPtr fxn, const ti_sysbios_knl_Swi_Params*, xdc_runtime_Error_Block* ); extern "C" void ti_sysbios_knl_Swi_Instance_finalize__F( ti_sysbios_knl_Swi_Object* , int ); extern "C" int ti_sysbios_knl_Swi_Instance_init__R( ti_sysbios_knl_Swi_Object*, ti_sysbios_knl_Swi_FuncPtr fxn, const ti_sysbios_knl_Swi_Params*, xdc_runtime_Error_Block* ); extern "C" void ti_sysbios_knl_Swi_Instance_finalize__R( ti_sysbios_knl_Swi_Object* , int ); extern "C" xdc_runtime_Types_Label* ti_sysbios_knl_Swi_Handle__label__S( xdc_Ptr obj, xdc_runtime_Types_Label* lab ); extern "C" xdc_Bool ti_sysbios_knl_Swi_Module__startupDone__S( void ); extern "C" xdc_Ptr ti_sysbios_knl_Swi_Object__create__S( xdc_Ptr __oa, xdc_SizeT __osz, xdc_Ptr __aa, const xdc_UChar* __pa, xdc_SizeT __psz, xdc_runtime_Error_Block* __eb ); extern "C" void ti_sysbios_knl_Swi_Object__delete__S( xdc_Ptr instp ); extern "C" void ti_sysbios_knl_Swi_Object__destruct__S( xdc_Ptr objp ); extern "C" xdc_Ptr ti_sysbios_knl_Swi_Object__get__S( xdc_Ptr oarr, xdc_Int i ); extern "C" xdc_Ptr ti_sysbios_knl_Swi_Object__first__S( void ); extern "C" xdc_Ptr ti_sysbios_knl_Swi_Object__next__S( xdc_Ptr obj ); extern "C" void ti_sysbios_knl_Swi_Params__init__S( xdc_Ptr dst, xdc_Ptr src, xdc_SizeT psz, xdc_SizeT isz ); extern "C" void ti_sysbios_knl_Swi_startup__E( void ); extern "C" void ti_sysbios_knl_Swi_startup__F( void ); extern "C" void ti_sysbios_knl_Swi_startup__R( void ); extern "C" xdc_Bool ti_sysbios_knl_Swi_enabled__E( void ); extern "C" xdc_Bool ti_sysbios_knl_Swi_enabled__F( void ); extern "C" xdc_Bool ti_sysbios_knl_Swi_enabled__R( void ); extern "C" xdc_UInt ti_sysbios_knl_Swi_disable__E( void ); extern "C" xdc_UInt ti_sysbios_knl_Swi_disable__F( void ); extern "C" xdc_UInt ti_sysbios_knl_Swi_disable__R( void ); extern "C" void ti_sysbios_knl_Swi_enable__E( void ); extern "C" void ti_sysbios_knl_Swi_enable__F( void ); extern "C" void ti_sysbios_knl_Swi_enable__R( void ); extern "C" void ti_sysbios_knl_Swi_restore__E( xdc_UInt key ); extern "C" void ti_sysbios_knl_Swi_restore__F( xdc_UInt key ); extern "C" void ti_sysbios_knl_Swi_restore__R( xdc_UInt key ); extern "C" void ti_sysbios_knl_Swi_restoreHwi__E( xdc_UInt key ); extern "C" void ti_sysbios_knl_Swi_restoreHwi__F( xdc_UInt key ); extern "C" void ti_sysbios_knl_Swi_restoreHwi__R( xdc_UInt key ); extern "C" ti_sysbios_knl_Swi_Handle ti_sysbios_knl_Swi_self__E( void ); extern "C" ti_sysbios_knl_Swi_Handle ti_sysbios_knl_Swi_self__F( void ); extern "C" ti_sysbios_knl_Swi_Handle ti_sysbios_knl_Swi_self__R( void ); extern "C" xdc_UInt ti_sysbios_knl_Swi_getTrigger__E( void ); extern "C" xdc_UInt ti_sysbios_knl_Swi_getTrigger__F( void ); extern "C" xdc_UInt ti_sysbios_knl_Swi_getTrigger__R( void ); extern "C" xdc_UInt ti_sysbios_knl_Swi_raisePri__E( xdc_UInt priority ); extern "C" xdc_UInt ti_sysbios_knl_Swi_raisePri__F( xdc_UInt priority ); extern "C" xdc_UInt ti_sysbios_knl_Swi_raisePri__R( xdc_UInt priority ); extern "C" void ti_sysbios_knl_Swi_restorePri__E( xdc_UInt key ); extern "C" void ti_sysbios_knl_Swi_restorePri__F( xdc_UInt key ); extern "C" void ti_sysbios_knl_Swi_restorePri__R( xdc_UInt key ); extern "C" void ti_sysbios_knl_Swi_andn__E( ti_sysbios_knl_Swi_Handle __inst, xdc_UInt mask ); extern "C" void ti_sysbios_knl_Swi_andn__F( ti_sysbios_knl_Swi_Object* __inst, xdc_UInt mask ); extern "C" void ti_sysbios_knl_Swi_andn__R( ti_sysbios_knl_Swi_Handle __inst, xdc_UInt mask ); extern "C" void ti_sysbios_knl_Swi_dec__E( ti_sysbios_knl_Swi_Handle __inst ); extern "C" void ti_sysbios_knl_Swi_dec__F( ti_sysbios_knl_Swi_Object* __inst ); extern "C" void ti_sysbios_knl_Swi_dec__R( ti_sysbios_knl_Swi_Handle __inst ); extern "C" xdc_Ptr ti_sysbios_knl_Swi_getHookContext__E( ti_sysbios_knl_Swi_Handle __inst, xdc_Int id ); extern "C" xdc_Ptr ti_sysbios_knl_Swi_getHookContext__F( ti_sysbios_knl_Swi_Object* __inst, xdc_Int id ); extern "C" xdc_Ptr ti_sysbios_knl_Swi_getHookContext__R( ti_sysbios_knl_Swi_Handle __inst, xdc_Int id ); extern "C" void ti_sysbios_knl_Swi_setHookContext__E( ti_sysbios_knl_Swi_Handle __inst, xdc_Int id, xdc_Ptr hookContext ); extern "C" void ti_sysbios_knl_Swi_setHookContext__F( ti_sysbios_knl_Swi_Object* __inst, xdc_Int id, xdc_Ptr hookContext ); extern "C" void ti_sysbios_knl_Swi_setHookContext__R( ti_sysbios_knl_Swi_Handle __inst, xdc_Int id, xdc_Ptr hookContext ); extern "C" xdc_UInt ti_sysbios_knl_Swi_getPri__E( ti_sysbios_knl_Swi_Handle __inst ); extern "C" xdc_UInt ti_sysbios_knl_Swi_getPri__F( ti_sysbios_knl_Swi_Object* __inst ); extern "C" xdc_UInt ti_sysbios_knl_Swi_getPri__R( ti_sysbios_knl_Swi_Handle __inst ); extern "C" ti_sysbios_knl_Swi_FuncPtr ti_sysbios_knl_Swi_getFunc__E( ti_sysbios_knl_Swi_Handle __inst, xdc_UArg* arg0, xdc_UArg* arg1 ); extern "C" ti_sysbios_knl_Swi_FuncPtr ti_sysbios_knl_Swi_getFunc__F( ti_sysbios_knl_Swi_Object* __inst, xdc_UArg* arg0, xdc_UArg* arg1 ); extern "C" ti_sysbios_knl_Swi_FuncPtr ti_sysbios_knl_Swi_getFunc__R( ti_sysbios_knl_Swi_Handle __inst, xdc_UArg* arg0, xdc_UArg* arg1 ); extern "C" void ti_sysbios_knl_Swi_inc__E( ti_sysbios_knl_Swi_Handle __inst ); extern "C" void ti_sysbios_knl_Swi_inc__F( ti_sysbios_knl_Swi_Object* __inst ); extern "C" void ti_sysbios_knl_Swi_inc__R( ti_sysbios_knl_Swi_Handle __inst ); extern "C" void ti_sysbios_knl_Swi_or__E( ti_sysbios_knl_Swi_Handle __inst, xdc_UInt mask ); extern "C" void ti_sysbios_knl_Swi_or__F( ti_sysbios_knl_Swi_Object* __inst, xdc_UInt mask ); extern "C" void ti_sysbios_knl_Swi_or__R( ti_sysbios_knl_Swi_Handle __inst, xdc_UInt mask ); extern "C" void ti_sysbios_knl_Swi_post__E( ti_sysbios_knl_Swi_Handle __inst ); extern "C" void ti_sysbios_knl_Swi_post__F( ti_sysbios_knl_Swi_Object* __inst ); extern "C" void ti_sysbios_knl_Swi_post__R( ti_sysbios_knl_Swi_Handle __inst ); extern "C" void ti_sysbios_knl_Swi_schedule__I( void ); extern "C" void ti_sysbios_knl_Swi_run__I( ti_sysbios_knl_Swi_Object* swi ); extern "C" xdc_Int ti_sysbios_knl_Swi_postInit__I( ti_sysbios_knl_Swi_Object* swi, xdc_runtime_Error_Block* eb ); typedef void (*ti_sysbios_knl_Swi_andn_FxnT)(void*, xdc_UInt); static inline ti_sysbios_knl_Swi_andn_FxnT ti_sysbios_knl_Swi_andn_fxnP( void ) { return (ti_sysbios_knl_Swi_andn_FxnT)ti_sysbios_knl_Swi_andn__E; } typedef void (*ti_sysbios_knl_Swi_dec_FxnT)(void*); static inline ti_sysbios_knl_Swi_dec_FxnT ti_sysbios_knl_Swi_dec_fxnP( void ) { return (ti_sysbios_knl_Swi_dec_FxnT)ti_sysbios_knl_Swi_dec__E; } typedef xdc_Ptr (*ti_sysbios_knl_Swi_getHookContext_FxnT)(void*, xdc_Int); static inline ti_sysbios_knl_Swi_getHookContext_FxnT ti_sysbios_knl_Swi_getHookContext_fxnP( void ) { return (ti_sysbios_knl_Swi_getHookContext_FxnT)ti_sysbios_knl_Swi_getHookContext__E; } typedef void (*ti_sysbios_knl_Swi_setHookContext_FxnT)(void*, xdc_Int, xdc_Ptr); static inline ti_sysbios_knl_Swi_setHookContext_FxnT ti_sysbios_knl_Swi_setHookContext_fxnP( void ) { return (ti_sysbios_knl_Swi_setHookContext_FxnT)ti_sysbios_knl_Swi_setHookContext__E; } typedef xdc_UInt (*ti_sysbios_knl_Swi_getPri_FxnT)(void*); static inline ti_sysbios_knl_Swi_getPri_FxnT ti_sysbios_knl_Swi_getPri_fxnP( void ) { return (ti_sysbios_knl_Swi_getPri_FxnT)ti_sysbios_knl_Swi_getPri__E; } typedef ti_sysbios_knl_Swi_FuncPtr (*ti_sysbios_knl_Swi_getFunc_FxnT)(void*, xdc_UArg*, xdc_UArg*); static inline ti_sysbios_knl_Swi_getFunc_FxnT ti_sysbios_knl_Swi_getFunc_fxnP( void ) { return (ti_sysbios_knl_Swi_getFunc_FxnT)ti_sysbios_knl_Swi_getFunc__E; } typedef void (*ti_sysbios_knl_Swi_inc_FxnT)(void*); static inline ti_sysbios_knl_Swi_inc_FxnT ti_sysbios_knl_Swi_inc_fxnP( void ) { return (ti_sysbios_knl_Swi_inc_FxnT)ti_sysbios_knl_Swi_inc__E; } typedef void (*ti_sysbios_knl_Swi_or_FxnT)(void*, xdc_UInt); static inline ti_sysbios_knl_Swi_or_FxnT ti_sysbios_knl_Swi_or_fxnP( void ) { return (ti_sysbios_knl_Swi_or_FxnT)ti_sysbios_knl_Swi_or__E; } typedef void (*ti_sysbios_knl_Swi_post_FxnT)(void*); static inline ti_sysbios_knl_Swi_post_FxnT ti_sysbios_knl_Swi_post_fxnP( void ) { return (ti_sysbios_knl_Swi_post_FxnT)ti_sysbios_knl_Swi_post__E; } static inline CT__ti_sysbios_knl_Swi_Module__id ti_sysbios_knl_Swi_Module_id( void ) { return ti_sysbios_knl_Swi_Module__id__C; } static inline xdc_Bool ti_sysbios_knl_Swi_Module_hasMask( void ) { return ti_sysbios_knl_Swi_Module__diagsMask__C != 0; } static inline xdc_Bits16 ti_sysbios_knl_Swi_Module_getMask( void ) { return ti_sysbios_knl_Swi_Module__diagsMask__C != 0 ? *ti_sysbios_knl_Swi_Module__diagsMask__C : 0; } static inline void ti_sysbios_knl_Swi_Module_setMask( xdc_Bits16 mask ) { if (ti_sysbios_knl_Swi_Module__diagsMask__C != 0) *ti_sysbios_knl_Swi_Module__diagsMask__C = mask; } static inline void ti_sysbios_knl_Swi_Params_init( ti_sysbios_knl_Swi_Params* prms ) { if (prms) { ti_sysbios_knl_Swi_Params__init__S(prms, 0, sizeof(ti_sysbios_knl_Swi_Params), sizeof(xdc_runtime_IInstance_Params)); } } static inline void ti_sysbios_knl_Swi_Params_copy( ti_sysbios_knl_Swi_Params* dst, const ti_sysbios_knl_Swi_Params* src ) { if (dst) { ti_sysbios_knl_Swi_Params__init__S(dst, (xdc_Ptr)src, sizeof(ti_sysbios_knl_Swi_Params), sizeof(xdc_runtime_IInstance_Params)); } } static inline ti_sysbios_knl_Swi_Handle ti_sysbios_knl_Swi_Object_get( ti_sysbios_knl_Swi_Instance_State* oarr, int i ) { return (ti_sysbios_knl_Swi_Handle)ti_sysbios_knl_Swi_Object__get__S(oarr, i); } static inline ti_sysbios_knl_Swi_Handle ti_sysbios_knl_Swi_Object_first( void ) { return (ti_sysbios_knl_Swi_Handle)ti_sysbios_knl_Swi_Object__first__S(); } static inline ti_sysbios_knl_Swi_Handle ti_sysbios_knl_Swi_Object_next( ti_sysbios_knl_Swi_Object* obj ) { return (ti_sysbios_knl_Swi_Handle)ti_sysbios_knl_Swi_Object__next__S(obj); } static inline xdc_runtime_Types_Label* ti_sysbios_knl_Swi_Handle_label( ti_sysbios_knl_Swi_Handle inst, xdc_runtime_Types_Label* lab ) { return ti_sysbios_knl_Swi_Handle__label__S(inst, lab); } static inline String ti_sysbios_knl_Swi_Handle_name( ti_sysbios_knl_Swi_Handle inst ) { xdc_runtime_Types_Label lab; return ti_sysbios_knl_Swi_Handle__label__S(inst, &lab)->iname; } static inline ti_sysbios_knl_Swi_Handle ti_sysbios_knl_Swi_create( ti_sysbios_knl_Swi_FuncPtr fxn, const ti_sysbios_knl_Swi_Params* __prms, xdc_runtime_Error_Block* __eb ) { ti_sysbios_knl_Swi_Args__create __args; __args.fxn = fxn; return (ti_sysbios_knl_Swi_Handle)ti_sysbios_knl_Swi_Object__create__S(0, 0, &__args, (const xdc_UChar*)__prms, sizeof(ti_sysbios_knl_Swi_Params), __eb); } static inline void ti_sysbios_knl_Swi_construct( ti_sysbios_knl_Swi_Struct* __obj, ti_sysbios_knl_Swi_FuncPtr fxn, const ti_sysbios_knl_Swi_Params* __prms, xdc_runtime_Error_Block* __eb ) { ti_sysbios_knl_Swi_Args__create __args; __args.fxn = fxn; ti_sysbios_knl_Swi_Object__create__S(__obj, sizeof (ti_sysbios_knl_Swi_Struct), &__args, (const xdc_UChar*)__prms, sizeof(ti_sysbios_knl_Swi_Params), __eb); } static inline void ti_sysbios_knl_Swi_delete( ti_sysbios_knl_Swi_Handle* instp ) { ti_sysbios_knl_Swi_Object__delete__S(instp); } static inline void ti_sysbios_knl_Swi_destruct( ti_sysbios_knl_Swi_Struct* obj ) { ti_sysbios_knl_Swi_Object__destruct__S(obj); } static inline ti_sysbios_knl_Swi_Handle ti_sysbios_knl_Swi_handle( ti_sysbios_knl_Swi_Struct* str ) { return (ti_sysbios_knl_Swi_Handle)str; } static inline ti_sysbios_knl_Swi_Struct* ti_sysbios_knl_Swi_struct( ti_sysbios_knl_Swi_Handle inst ) { return (ti_sysbios_knl_Swi_Struct*)inst; } typedef struct ti_sysbios_hal_Hwi_Fxns__ ti_sysbios_hal_Hwi_Fxns__; typedef const ti_sysbios_hal_Hwi_Fxns__* ti_sysbios_hal_Hwi_Module; typedef struct ti_sysbios_hal_Hwi_Params ti_sysbios_hal_Hwi_Params; typedef struct ti_sysbios_hal_Hwi_Object ti_sysbios_hal_Hwi_Object; typedef struct ti_sysbios_hal_Hwi_Struct ti_sysbios_hal_Hwi_Struct; typedef ti_sysbios_hal_Hwi_Object* ti_sysbios_hal_Hwi_Handle; typedef struct ti_sysbios_hal_Hwi_Object__ ti_sysbios_hal_Hwi_Instance_State; typedef ti_sysbios_hal_Hwi_Object* ti_sysbios_hal_Hwi_Instance; typedef struct ti_sysbios_hal_Timer_Fxns__ ti_sysbios_hal_Timer_Fxns__; typedef const ti_sysbios_hal_Timer_Fxns__* ti_sysbios_hal_Timer_Module; typedef struct ti_sysbios_hal_Timer_Params ti_sysbios_hal_Timer_Params; typedef struct ti_sysbios_hal_Timer_Object ti_sysbios_hal_Timer_Object; typedef struct ti_sysbios_hal_Timer_Struct ti_sysbios_hal_Timer_Struct; typedef ti_sysbios_hal_Timer_Object* ti_sysbios_hal_Timer_Handle; typedef struct ti_sysbios_hal_Timer_Object__ ti_sysbios_hal_Timer_Instance_State; typedef ti_sysbios_hal_Timer_Object* ti_sysbios_hal_Timer_Instance; typedef struct ti_sysbios_hal_TimerNull_Fxns__ ti_sysbios_hal_TimerNull_Fxns__; typedef const ti_sysbios_hal_TimerNull_Fxns__* ti_sysbios_hal_TimerNull_Module; typedef struct ti_sysbios_hal_TimerNull_Params ti_sysbios_hal_TimerNull_Params; typedef struct ti_sysbios_hal_TimerNull_Object ti_sysbios_hal_TimerNull_Object; typedef struct ti_sysbios_hal_TimerNull_Struct ti_sysbios_hal_TimerNull_Struct; typedef ti_sysbios_hal_TimerNull_Object* ti_sysbios_hal_TimerNull_Handle; typedef struct ti_sysbios_hal_TimerNull_Object__ ti_sysbios_hal_TimerNull_Instance_State; typedef ti_sysbios_hal_TimerNull_Object* ti_sysbios_hal_TimerNull_Instance; typedef struct ti_sysbios_hal_Cache_Fxns__ ti_sysbios_hal_Cache_Fxns__; typedef const ti_sysbios_hal_Cache_Fxns__* ti_sysbios_hal_Cache_Module; typedef struct ti_sysbios_hal_CacheNull_Fxns__ ti_sysbios_hal_CacheNull_Fxns__; typedef const ti_sysbios_hal_CacheNull_Fxns__* ti_sysbios_hal_CacheNull_Module; typedef struct ti_sysbios_hal_Hwi_HwiProxy_Fxns__ ti_sysbios_hal_Hwi_HwiProxy_Fxns__; typedef const ti_sysbios_hal_Hwi_HwiProxy_Fxns__* ti_sysbios_hal_Hwi_HwiProxy_Module; typedef struct ti_sysbios_hal_Hwi_HwiProxy_Params ti_sysbios_hal_Hwi_HwiProxy_Params; typedef struct ti_sysbios_interfaces_IHwi___Object *ti_sysbios_hal_Hwi_HwiProxy_Handle; typedef struct ti_sysbios_hal_Timer_TimerProxy_Fxns__ ti_sysbios_hal_Timer_TimerProxy_Fxns__; typedef const ti_sysbios_hal_Timer_TimerProxy_Fxns__* ti_sysbios_hal_Timer_TimerProxy_Module; typedef struct ti_sysbios_hal_Timer_TimerProxy_Params ti_sysbios_hal_Timer_TimerProxy_Params; typedef struct ti_sysbios_interfaces_ITimer___Object *ti_sysbios_hal_Timer_TimerProxy_Handle; typedef struct ti_sysbios_hal_Cache_CacheProxy_Fxns__ ti_sysbios_hal_Cache_CacheProxy_Fxns__; typedef const ti_sysbios_hal_Cache_CacheProxy_Fxns__* ti_sysbios_hal_Cache_CacheProxy_Module; typedef struct ti_sysbios_interfaces_IHwi_HookSet ti_sysbios_interfaces_IHwi_HookSet; typedef struct ti_sysbios_interfaces_IHwi_StackInfo ti_sysbios_interfaces_IHwi_StackInfo; typedef struct ti_sysbios_interfaces_IHwi_Fxns__ ti_sysbios_interfaces_IHwi_Fxns__; typedef const ti_sysbios_interfaces_IHwi_Fxns__* ti_sysbios_interfaces_IHwi_Module; typedef struct ti_sysbios_interfaces_IHwi_Params ti_sysbios_interfaces_IHwi_Params; typedef struct ti_sysbios_interfaces_IHwi___Object { ti_sysbios_interfaces_IHwi_Fxns__* __fxns; xdc_Bits32 __label; } *ti_sysbios_interfaces_IHwi_Handle; typedef struct ti_sysbios_interfaces_ITaskSupport_Fxns__ ti_sysbios_interfaces_ITaskSupport_Fxns__; typedef const ti_sysbios_interfaces_ITaskSupport_Fxns__* ti_sysbios_interfaces_ITaskSupport_Module; typedef struct ti_sysbios_interfaces_ITimer_Fxns__ ti_sysbios_interfaces_ITimer_Fxns__; typedef const ti_sysbios_interfaces_ITimer_Fxns__* ti_sysbios_interfaces_ITimer_Module; typedef struct ti_sysbios_interfaces_ITimer_Params ti_sysbios_interfaces_ITimer_Params; typedef struct ti_sysbios_interfaces_ITimer___Object { ti_sysbios_interfaces_ITimer_Fxns__* __fxns; xdc_Bits32 __label; } *ti_sysbios_interfaces_ITimer_Handle; typedef struct ti_sysbios_interfaces_ITimerSupport_Fxns__ ti_sysbios_interfaces_ITimerSupport_Fxns__; typedef const ti_sysbios_interfaces_ITimerSupport_Fxns__* ti_sysbios_interfaces_ITimerSupport_Module; typedef struct ti_sysbios_interfaces_ITimestamp_Fxns__ ti_sysbios_interfaces_ITimestamp_Fxns__; typedef const ti_sysbios_interfaces_ITimestamp_Fxns__* ti_sysbios_interfaces_ITimestamp_Module; typedef struct ti_sysbios_interfaces_IIntrinsicsSupport_Fxns__ ti_sysbios_interfaces_IIntrinsicsSupport_Fxns__; typedef const ti_sysbios_interfaces_IIntrinsicsSupport_Fxns__* ti_sysbios_interfaces_IIntrinsicsSupport_Module; typedef struct ti_sysbios_interfaces_ICache_Fxns__ ti_sysbios_interfaces_ICache_Fxns__; typedef const ti_sysbios_interfaces_ICache_Fxns__* ti_sysbios_interfaces_ICache_Module; typedef void (*ti_sysbios_interfaces_ITimer_FuncPtr)(xdc_UArg); enum ti_sysbios_interfaces_ITimer_StartMode { ti_sysbios_interfaces_ITimer_StartMode_AUTO, ti_sysbios_interfaces_ITimer_StartMode_USER }; typedef enum ti_sysbios_interfaces_ITimer_StartMode ti_sysbios_interfaces_ITimer_StartMode; enum ti_sysbios_interfaces_ITimer_RunMode { ti_sysbios_interfaces_ITimer_RunMode_CONTINUOUS, ti_sysbios_interfaces_ITimer_RunMode_ONESHOT, ti_sysbios_interfaces_ITimer_RunMode_DYNAMIC }; typedef enum ti_sysbios_interfaces_ITimer_RunMode ti_sysbios_interfaces_ITimer_RunMode; enum ti_sysbios_interfaces_ITimer_Status { ti_sysbios_interfaces_ITimer_Status_INUSE, ti_sysbios_interfaces_ITimer_Status_FREE }; typedef enum ti_sysbios_interfaces_ITimer_Status ti_sysbios_interfaces_ITimer_Status; enum ti_sysbios_interfaces_ITimer_PeriodType { ti_sysbios_interfaces_ITimer_PeriodType_MICROSECS, ti_sysbios_interfaces_ITimer_PeriodType_COUNTS }; typedef enum ti_sysbios_interfaces_ITimer_PeriodType ti_sysbios_interfaces_ITimer_PeriodType; typedef struct ti_sysbios_interfaces_ITimer_Args__create { xdc_Int id; ti_sysbios_interfaces_ITimer_FuncPtr tickFxn; } ti_sysbios_interfaces_ITimer_Args__create; struct ti_sysbios_interfaces_ITimer_Params { size_t __size; const void* __self; void* __fxns; xdc_runtime_IInstance_Params* instance; ti_sysbios_interfaces_ITimer_RunMode runMode; ti_sysbios_interfaces_ITimer_StartMode startMode; xdc_UArg arg; xdc_UInt32 period; ti_sysbios_interfaces_ITimer_PeriodType periodType; xdc_runtime_Types_FreqHz extFreq; }; struct ti_sysbios_interfaces_ITimer_Fxns__ { xdc_runtime_Types_Base* __base; const xdc_runtime_Types_SysFxns2* __sysp; xdc_UInt (*getNumTimers)(void); ti_sysbios_interfaces_ITimer_Status (*getStatus)(xdc_UInt); void (*startup)(void); xdc_UInt32 (*getMaxTicks)(void*, xdc_UInt32); void (*setNextTick)(void*, xdc_UInt32, xdc_UInt32); void (*start)(void*); void (*stop)(void*); void (*setPeriod)(void*, xdc_UInt32); xdc_Bool (*setPeriodMicroSecs)(void*, xdc_UInt32); xdc_UInt32 (*getPeriod)(void*); xdc_UInt32 (*getCount)(void*); void (*getFreq)(void*, xdc_runtime_Types_FreqHz*); ti_sysbios_interfaces_ITimer_FuncPtr (*getFunc)(void*, xdc_UArg*); void (*setFunc)(void*, ti_sysbios_interfaces_ITimer_FuncPtr, xdc_UArg); void (*trigger)(void*, xdc_UInt32); xdc_UInt32 (*getExpiredCounts)(void*); xdc_runtime_Types_SysFxns2 __sfxns; }; extern "C" const xdc_runtime_Types_Base ti_sysbios_interfaces_ITimer_Interface__BASE__C; static inline ti_sysbios_interfaces_ITimer_Handle ti_sysbios_interfaces_ITimer_create( ti_sysbios_interfaces_ITimer_Module __mod, xdc_Int id, ti_sysbios_interfaces_ITimer_FuncPtr tickFxn, const ti_sysbios_interfaces_ITimer_Params* __prms, xdc_runtime_Error_Block* __eb ) { ti_sysbios_interfaces_ITimer_Args__create __args; __args.id = id; __args.tickFxn = tickFxn; return (ti_sysbios_interfaces_ITimer_Handle) __mod->__sysp->__create(0, 0, &__args, (const xdc_UChar*)__prms, sizeof (ti_sysbios_interfaces_ITimer_Params), __eb); } static inline void ti_sysbios_interfaces_ITimer_delete( ti_sysbios_interfaces_ITimer_Handle* instp ) { (*instp)->__fxns->__sysp->__delete(instp); } static inline ti_sysbios_interfaces_ITimer_Module ti_sysbios_interfaces_ITimer_Handle_to_Module( ti_sysbios_interfaces_ITimer_Handle inst ) { return inst->__fxns; } static inline xdc_runtime_Types_Label* ti_sysbios_interfaces_ITimer_Handle_label( ti_sysbios_interfaces_ITimer_Handle inst, xdc_runtime_Types_Label* lab ) { return inst->__fxns->__sysp->__label(inst, lab); } static inline xdc_runtime_Types_ModuleId ti_sysbios_interfaces_ITimer_Module_id( ti_sysbios_interfaces_ITimer_Module mod ) { return mod->__sysp->__mid; } static inline xdc_UInt ti_sysbios_interfaces_ITimer_getNumTimers( ti_sysbios_interfaces_ITimer_Module __inst ) { return __inst->getNumTimers(); } static inline ti_sysbios_interfaces_ITimer_Status ti_sysbios_interfaces_ITimer_getStatus( ti_sysbios_interfaces_ITimer_Module __inst, xdc_UInt id ) { return __inst->getStatus(id); } static inline void ti_sysbios_interfaces_ITimer_startup( ti_sysbios_interfaces_ITimer_Module __inst ) { __inst->startup(); } static inline xdc_UInt32 ti_sysbios_interfaces_ITimer_getMaxTicks( ti_sysbios_interfaces_ITimer_Handle __inst, xdc_UInt32 periodCounts ) { return __inst->__fxns->getMaxTicks((void*)__inst, periodCounts); } static inline void ti_sysbios_interfaces_ITimer_setNextTick( ti_sysbios_interfaces_ITimer_Handle __inst, xdc_UInt32 newPeriod, xdc_UInt32 countsPerTick ) { __inst->__fxns->setNextTick((void*)__inst, newPeriod, countsPerTick); } static inline void ti_sysbios_interfaces_ITimer_start( ti_sysbios_interfaces_ITimer_Handle __inst ) { __inst->__fxns->start((void*)__inst); } static inline void ti_sysbios_interfaces_ITimer_stop( ti_sysbios_interfaces_ITimer_Handle __inst ) { __inst->__fxns->stop((void*)__inst); } static inline void ti_sysbios_interfaces_ITimer_setPeriod( ti_sysbios_interfaces_ITimer_Handle __inst, xdc_UInt32 period ) { __inst->__fxns->setPeriod((void*)__inst, period); } static inline xdc_Bool ti_sysbios_interfaces_ITimer_setPeriodMicroSecs( ti_sysbios_interfaces_ITimer_Handle __inst, xdc_UInt32 microsecs ) { return __inst->__fxns->setPeriodMicroSecs((void*)__inst, microsecs); } static inline xdc_UInt32 ti_sysbios_interfaces_ITimer_getPeriod( ti_sysbios_interfaces_ITimer_Handle __inst ) { return __inst->__fxns->getPeriod((void*)__inst); } static inline xdc_UInt32 ti_sysbios_interfaces_ITimer_getCount( ti_sysbios_interfaces_ITimer_Handle __inst ) { return __inst->__fxns->getCount((void*)__inst); } static inline void ti_sysbios_interfaces_ITimer_getFreq( ti_sysbios_interfaces_ITimer_Handle __inst, xdc_runtime_Types_FreqHz* freq ) { __inst->__fxns->getFreq((void*)__inst, freq); } static inline ti_sysbios_interfaces_ITimer_FuncPtr ti_sysbios_interfaces_ITimer_getFunc( ti_sysbios_interfaces_ITimer_Handle __inst, xdc_UArg* arg ) { return __inst->__fxns->getFunc((void*)__inst, arg); } static inline void ti_sysbios_interfaces_ITimer_setFunc( ti_sysbios_interfaces_ITimer_Handle __inst, ti_sysbios_interfaces_ITimer_FuncPtr fxn, xdc_UArg arg ) { __inst->__fxns->setFunc((void*)__inst, fxn, arg); } static inline void ti_sysbios_interfaces_ITimer_trigger( ti_sysbios_interfaces_ITimer_Handle __inst, xdc_UInt32 cycles ) { __inst->__fxns->trigger((void*)__inst, cycles); } static inline xdc_UInt32 ti_sysbios_interfaces_ITimer_getExpiredCounts( ti_sysbios_interfaces_ITimer_Handle __inst ) { return __inst->__fxns->getExpiredCounts((void*)__inst); } typedef xdc_UInt (*ti_sysbios_interfaces_ITimer_getNumTimers_FxnT)(void); static inline ti_sysbios_interfaces_ITimer_getNumTimers_FxnT ti_sysbios_interfaces_ITimer_getNumTimers_fxnP( ti_sysbios_interfaces_ITimer_Module __inst ) { return (ti_sysbios_interfaces_ITimer_getNumTimers_FxnT)__inst->getNumTimers; } typedef ti_sysbios_interfaces_ITimer_Status (*ti_sysbios_interfaces_ITimer_getStatus_FxnT)(xdc_UInt); static inline ti_sysbios_interfaces_ITimer_getStatus_FxnT ti_sysbios_interfaces_ITimer_getStatus_fxnP( ti_sysbios_interfaces_ITimer_Module __inst ) { return (ti_sysbios_interfaces_ITimer_getStatus_FxnT)__inst->getStatus; } typedef void (*ti_sysbios_interfaces_ITimer_startup_FxnT)(void); static inline ti_sysbios_interfaces_ITimer_startup_FxnT ti_sysbios_interfaces_ITimer_startup_fxnP( ti_sysbios_interfaces_ITimer_Module __inst ) { return (ti_sysbios_interfaces_ITimer_startup_FxnT)__inst->startup; } typedef xdc_UInt32 (*ti_sysbios_interfaces_ITimer_getMaxTicks_FxnT)(void*, xdc_UInt32); static inline ti_sysbios_interfaces_ITimer_getMaxTicks_FxnT ti_sysbios_interfaces_ITimer_getMaxTicks_fxnP( ti_sysbios_interfaces_ITimer_Handle __inst ) { return (ti_sysbios_interfaces_ITimer_getMaxTicks_FxnT)__inst->__fxns->getMaxTicks; } typedef void (*ti_sysbios_interfaces_ITimer_setNextTick_FxnT)(void*, xdc_UInt32, xdc_UInt32); static inline ti_sysbios_interfaces_ITimer_setNextTick_FxnT ti_sysbios_interfaces_ITimer_setNextTick_fxnP( ti_sysbios_interfaces_ITimer_Handle __inst ) { return (ti_sysbios_interfaces_ITimer_setNextTick_FxnT)__inst->__fxns->setNextTick; } typedef void (*ti_sysbios_interfaces_ITimer_start_FxnT)(void*); static inline ti_sysbios_interfaces_ITimer_start_FxnT ti_sysbios_interfaces_ITimer_start_fxnP( ti_sysbios_interfaces_ITimer_Handle __inst ) { return (ti_sysbios_interfaces_ITimer_start_FxnT)__inst->__fxns->start; } typedef void (*ti_sysbios_interfaces_ITimer_stop_FxnT)(void*); static inline ti_sysbios_interfaces_ITimer_stop_FxnT ti_sysbios_interfaces_ITimer_stop_fxnP( ti_sysbios_interfaces_ITimer_Handle __inst ) { return (ti_sysbios_interfaces_ITimer_stop_FxnT)__inst->__fxns->stop; } typedef void (*ti_sysbios_interfaces_ITimer_setPeriod_FxnT)(void*, xdc_UInt32); static inline ti_sysbios_interfaces_ITimer_setPeriod_FxnT ti_sysbios_interfaces_ITimer_setPeriod_fxnP( ti_sysbios_interfaces_ITimer_Handle __inst ) { return (ti_sysbios_interfaces_ITimer_setPeriod_FxnT)__inst->__fxns->setPeriod; } typedef xdc_Bool (*ti_sysbios_interfaces_ITimer_setPeriodMicroSecs_FxnT)(void*, xdc_UInt32); static inline ti_sysbios_interfaces_ITimer_setPeriodMicroSecs_FxnT ti_sysbios_interfaces_ITimer_setPeriodMicroSecs_fxnP( ti_sysbios_interfaces_ITimer_Handle __inst ) { return (ti_sysbios_interfaces_ITimer_setPeriodMicroSecs_FxnT)__inst->__fxns->setPeriodMicroSecs; } typedef xdc_UInt32 (*ti_sysbios_interfaces_ITimer_getPeriod_FxnT)(void*); static inline ti_sysbios_interfaces_ITimer_getPeriod_FxnT ti_sysbios_interfaces_ITimer_getPeriod_fxnP( ti_sysbios_interfaces_ITimer_Handle __inst ) { return (ti_sysbios_interfaces_ITimer_getPeriod_FxnT)__inst->__fxns->getPeriod; } typedef xdc_UInt32 (*ti_sysbios_interfaces_ITimer_getCount_FxnT)(void*); static inline ti_sysbios_interfaces_ITimer_getCount_FxnT ti_sysbios_interfaces_ITimer_getCount_fxnP( ti_sysbios_interfaces_ITimer_Handle __inst ) { return (ti_sysbios_interfaces_ITimer_getCount_FxnT)__inst->__fxns->getCount; } typedef void (*ti_sysbios_interfaces_ITimer_getFreq_FxnT)(void*, xdc_runtime_Types_FreqHz*); static inline ti_sysbios_interfaces_ITimer_getFreq_FxnT ti_sysbios_interfaces_ITimer_getFreq_fxnP( ti_sysbios_interfaces_ITimer_Handle __inst ) { return (ti_sysbios_interfaces_ITimer_getFreq_FxnT)__inst->__fxns->getFreq; } typedef ti_sysbios_interfaces_ITimer_FuncPtr (*ti_sysbios_interfaces_ITimer_getFunc_FxnT)(void*, xdc_UArg*); static inline ti_sysbios_interfaces_ITimer_getFunc_FxnT ti_sysbios_interfaces_ITimer_getFunc_fxnP( ti_sysbios_interfaces_ITimer_Handle __inst ) { return (ti_sysbios_interfaces_ITimer_getFunc_FxnT)__inst->__fxns->getFunc; } typedef void (*ti_sysbios_interfaces_ITimer_setFunc_FxnT)(void*, ti_sysbios_interfaces_ITimer_FuncPtr, xdc_UArg); static inline ti_sysbios_interfaces_ITimer_setFunc_FxnT ti_sysbios_interfaces_ITimer_setFunc_fxnP( ti_sysbios_interfaces_ITimer_Handle __inst ) { return (ti_sysbios_interfaces_ITimer_setFunc_FxnT)__inst->__fxns->setFunc; } typedef void (*ti_sysbios_interfaces_ITimer_trigger_FxnT)(void*, xdc_UInt32); static inline ti_sysbios_interfaces_ITimer_trigger_FxnT ti_sysbios_interfaces_ITimer_trigger_fxnP( ti_sysbios_interfaces_ITimer_Handle __inst ) { return (ti_sysbios_interfaces_ITimer_trigger_FxnT)__inst->__fxns->trigger; } typedef xdc_UInt32 (*ti_sysbios_interfaces_ITimer_getExpiredCounts_FxnT)(void*); static inline ti_sysbios_interfaces_ITimer_getExpiredCounts_FxnT ti_sysbios_interfaces_ITimer_getExpiredCounts_fxnP( ti_sysbios_interfaces_ITimer_Handle __inst ) { return (ti_sysbios_interfaces_ITimer_getExpiredCounts_FxnT)__inst->__fxns->getExpiredCounts; } typedef ti_sysbios_interfaces_ITimer_FuncPtr ti_sysbios_hal_Timer_TimerProxy_FuncPtr; typedef ti_sysbios_interfaces_ITimer_StartMode ti_sysbios_hal_Timer_TimerProxy_StartMode; typedef ti_sysbios_interfaces_ITimer_RunMode ti_sysbios_hal_Timer_TimerProxy_RunMode; typedef ti_sysbios_interfaces_ITimer_Status ti_sysbios_hal_Timer_TimerProxy_Status; typedef ti_sysbios_interfaces_ITimer_PeriodType ti_sysbios_hal_Timer_TimerProxy_PeriodType; typedef struct ti_sysbios_hal_Timer_TimerProxy_Args__create { xdc_Int id; ti_sysbios_interfaces_ITimer_FuncPtr tickFxn; } ti_sysbios_hal_Timer_TimerProxy_Args__create; typedef xdc_Bits32 CT__ti_sysbios_hal_Timer_TimerProxy_Module__diagsEnabled; extern "C" far const CT__ti_sysbios_hal_Timer_TimerProxy_Module__diagsEnabled ti_sysbios_hal_Timer_TimerProxy_Module__diagsEnabled__C; typedef xdc_Bits32 CT__ti_sysbios_hal_Timer_TimerProxy_Module__diagsIncluded; extern "C" far const CT__ti_sysbios_hal_Timer_TimerProxy_Module__diagsIncluded ti_sysbios_hal_Timer_TimerProxy_Module__diagsIncluded__C; typedef xdc_Bits16* CT__ti_sysbios_hal_Timer_TimerProxy_Module__diagsMask; extern "C" far const CT__ti_sysbios_hal_Timer_TimerProxy_Module__diagsMask ti_sysbios_hal_Timer_TimerProxy_Module__diagsMask__C; typedef xdc_Ptr CT__ti_sysbios_hal_Timer_TimerProxy_Module__gateObj; extern "C" far const CT__ti_sysbios_hal_Timer_TimerProxy_Module__gateObj ti_sysbios_hal_Timer_TimerProxy_Module__gateObj__C; typedef xdc_Ptr CT__ti_sysbios_hal_Timer_TimerProxy_Module__gatePrms; extern "C" far const CT__ti_sysbios_hal_Timer_TimerProxy_Module__gatePrms ti_sysbios_hal_Timer_TimerProxy_Module__gatePrms__C; typedef xdc_runtime_Types_ModuleId CT__ti_sysbios_hal_Timer_TimerProxy_Module__id; extern "C" far const CT__ti_sysbios_hal_Timer_TimerProxy_Module__id ti_sysbios_hal_Timer_TimerProxy_Module__id__C; typedef xdc_Bool CT__ti_sysbios_hal_Timer_TimerProxy_Module__loggerDefined; extern "C" far const CT__ti_sysbios_hal_Timer_TimerProxy_Module__loggerDefined ti_sysbios_hal_Timer_TimerProxy_Module__loggerDefined__C; typedef xdc_Ptr CT__ti_sysbios_hal_Timer_TimerProxy_Module__loggerObj; extern "C" far const CT__ti_sysbios_hal_Timer_TimerProxy_Module__loggerObj ti_sysbios_hal_Timer_TimerProxy_Module__loggerObj__C; typedef xdc_runtime_Types_LoggerFxn0 CT__ti_sysbios_hal_Timer_TimerProxy_Module__loggerFxn0; extern "C" far const CT__ti_sysbios_hal_Timer_TimerProxy_Module__loggerFxn0 ti_sysbios_hal_Timer_TimerProxy_Module__loggerFxn0__C; typedef xdc_runtime_Types_LoggerFxn1 CT__ti_sysbios_hal_Timer_TimerProxy_Module__loggerFxn1; extern "C" far const CT__ti_sysbios_hal_Timer_TimerProxy_Module__loggerFxn1 ti_sysbios_hal_Timer_TimerProxy_Module__loggerFxn1__C; typedef xdc_runtime_Types_LoggerFxn2 CT__ti_sysbios_hal_Timer_TimerProxy_Module__loggerFxn2; extern "C" far const CT__ti_sysbios_hal_Timer_TimerProxy_Module__loggerFxn2 ti_sysbios_hal_Timer_TimerProxy_Module__loggerFxn2__C; typedef xdc_runtime_Types_LoggerFxn4 CT__ti_sysbios_hal_Timer_TimerProxy_Module__loggerFxn4; extern "C" far const CT__ti_sysbios_hal_Timer_TimerProxy_Module__loggerFxn4 ti_sysbios_hal_Timer_TimerProxy_Module__loggerFxn4__C; typedef xdc_runtime_Types_LoggerFxn8 CT__ti_sysbios_hal_Timer_TimerProxy_Module__loggerFxn8; extern "C" far const CT__ti_sysbios_hal_Timer_TimerProxy_Module__loggerFxn8 ti_sysbios_hal_Timer_TimerProxy_Module__loggerFxn8__C; typedef xdc_Bool (*CT__ti_sysbios_hal_Timer_TimerProxy_Module__startupDoneFxn)(void); extern "C" far const CT__ti_sysbios_hal_Timer_TimerProxy_Module__startupDoneFxn ti_sysbios_hal_Timer_TimerProxy_Module__startupDoneFxn__C; typedef xdc_Int CT__ti_sysbios_hal_Timer_TimerProxy_Object__count; extern "C" far const CT__ti_sysbios_hal_Timer_TimerProxy_Object__count ti_sysbios_hal_Timer_TimerProxy_Object__count__C; typedef xdc_runtime_IHeap_Handle CT__ti_sysbios_hal_Timer_TimerProxy_Object__heap; extern "C" far const CT__ti_sysbios_hal_Timer_TimerProxy_Object__heap ti_sysbios_hal_Timer_TimerProxy_Object__heap__C; typedef xdc_SizeT CT__ti_sysbios_hal_Timer_TimerProxy_Object__sizeof; extern "C" far const CT__ti_sysbios_hal_Timer_TimerProxy_Object__sizeof ti_sysbios_hal_Timer_TimerProxy_Object__sizeof__C; typedef xdc_Ptr CT__ti_sysbios_hal_Timer_TimerProxy_Object__table; extern "C" far const CT__ti_sysbios_hal_Timer_TimerProxy_Object__table ti_sysbios_hal_Timer_TimerProxy_Object__table__C; struct ti_sysbios_hal_Timer_TimerProxy_Params { size_t __size; const void* __self; void* __fxns; xdc_runtime_IInstance_Params* instance; ti_sysbios_interfaces_ITimer_RunMode runMode; ti_sysbios_interfaces_ITimer_StartMode startMode; xdc_UArg arg; xdc_UInt32 period; ti_sysbios_interfaces_ITimer_PeriodType periodType; xdc_runtime_Types_FreqHz extFreq; xdc_runtime_IInstance_Params __iprms; }; struct ti_sysbios_hal_Timer_TimerProxy_Struct { const ti_sysbios_hal_Timer_TimerProxy_Fxns__* __fxns; xdc_runtime_Types_CordAddr __name; }; struct ti_sysbios_hal_Timer_TimerProxy_Fxns__ { xdc_runtime_Types_Base* __base; const xdc_runtime_Types_SysFxns2* __sysp; xdc_UInt (*getNumTimers)(void); ti_sysbios_interfaces_ITimer_Status (*getStatus)(xdc_UInt); void (*startup)(void); xdc_UInt32 (*getMaxTicks)(ti_sysbios_hal_Timer_TimerProxy_Handle, xdc_UInt32); void (*setNextTick)(ti_sysbios_hal_Timer_TimerProxy_Handle, xdc_UInt32, xdc_UInt32); void (*start)(ti_sysbios_hal_Timer_TimerProxy_Handle); void (*stop)(ti_sysbios_hal_Timer_TimerProxy_Handle); void (*setPeriod)(ti_sysbios_hal_Timer_TimerProxy_Handle, xdc_UInt32); xdc_Bool (*setPeriodMicroSecs)(ti_sysbios_hal_Timer_TimerProxy_Handle, xdc_UInt32); xdc_UInt32 (*getPeriod)(ti_sysbios_hal_Timer_TimerProxy_Handle); xdc_UInt32 (*getCount)(ti_sysbios_hal_Timer_TimerProxy_Handle); void (*getFreq)(ti_sysbios_hal_Timer_TimerProxy_Handle, xdc_runtime_Types_FreqHz*); ti_sysbios_interfaces_ITimer_FuncPtr (*getFunc)(ti_sysbios_hal_Timer_TimerProxy_Handle, xdc_UArg*); void (*setFunc)(ti_sysbios_hal_Timer_TimerProxy_Handle, ti_sysbios_interfaces_ITimer_FuncPtr, xdc_UArg); void (*trigger)(ti_sysbios_hal_Timer_TimerProxy_Handle, xdc_UInt32); xdc_UInt32 (*getExpiredCounts)(ti_sysbios_hal_Timer_TimerProxy_Handle); xdc_runtime_Types_SysFxns2 __sfxns; }; extern "C" const ti_sysbios_hal_Timer_TimerProxy_Fxns__ ti_sysbios_hal_Timer_TimerProxy_Module__FXNS__C; extern "C" xdc_runtime_Types_Label* ti_sysbios_hal_Timer_TimerProxy_Handle__label__S( xdc_Ptr obj, xdc_runtime_Types_Label* lab ); extern "C" xdc_Bool ti_sysbios_hal_Timer_TimerProxy_Module__startupDone__S( void ); extern "C" xdc_Ptr ti_sysbios_hal_Timer_TimerProxy_Object__create__S( xdc_Ptr __oa, xdc_SizeT __osz, xdc_Ptr __aa, const xdc_UChar* __pa, xdc_SizeT __psz, xdc_runtime_Error_Block* __eb ); extern "C" void ti_sysbios_hal_Timer_TimerProxy_Object__delete__S( xdc_Ptr instp ); extern "C" void ti_sysbios_hal_Timer_TimerProxy_Object__destruct__S( xdc_Ptr objp ); extern "C" xdc_Ptr ti_sysbios_hal_Timer_TimerProxy_Object__get__S( xdc_Ptr oarr, xdc_Int i ); extern "C" xdc_Ptr ti_sysbios_hal_Timer_TimerProxy_Object__first__S( void ); extern "C" xdc_Ptr ti_sysbios_hal_Timer_TimerProxy_Object__next__S( xdc_Ptr obj ); extern "C" void ti_sysbios_hal_Timer_TimerProxy_Params__init__S( xdc_Ptr dst, xdc_Ptr src, xdc_SizeT psz, xdc_SizeT isz ); extern "C" xdc_Bool ti_sysbios_hal_Timer_TimerProxy_Proxy__abstract__S( void ); extern "C" xdc_Ptr ti_sysbios_hal_Timer_TimerProxy_Proxy__delegate__S( void ); extern "C" xdc_UInt ti_sysbios_hal_Timer_TimerProxy_getNumTimers__E( void ); extern "C" xdc_UInt ti_sysbios_hal_Timer_TimerProxy_getNumTimers__R( void ); extern "C" ti_sysbios_interfaces_ITimer_Status ti_sysbios_hal_Timer_TimerProxy_getStatus__E( xdc_UInt id ); extern "C" ti_sysbios_interfaces_ITimer_Status ti_sysbios_hal_Timer_TimerProxy_getStatus__R( xdc_UInt id ); extern "C" void ti_sysbios_hal_Timer_TimerProxy_startup__E( void ); extern "C" void ti_sysbios_hal_Timer_TimerProxy_startup__R( void ); extern "C" xdc_UInt32 ti_sysbios_hal_Timer_TimerProxy_getMaxTicks__E( ti_sysbios_hal_Timer_TimerProxy_Handle __inst, xdc_UInt32 periodCounts ); extern "C" xdc_UInt32 ti_sysbios_hal_Timer_TimerProxy_getMaxTicks__R( ti_sysbios_hal_Timer_TimerProxy_Handle __inst, xdc_UInt32 periodCounts ); extern "C" void ti_sysbios_hal_Timer_TimerProxy_setNextTick__E( ti_sysbios_hal_Timer_TimerProxy_Handle __inst, xdc_UInt32 newPeriod, xdc_UInt32 countsPerTick ); extern "C" void ti_sysbios_hal_Timer_TimerProxy_setNextTick__R( ti_sysbios_hal_Timer_TimerProxy_Handle __inst, xdc_UInt32 newPeriod, xdc_UInt32 countsPerTick ); extern "C" void ti_sysbios_hal_Timer_TimerProxy_start__E( ti_sysbios_hal_Timer_TimerProxy_Handle __inst ); extern "C" void ti_sysbios_hal_Timer_TimerProxy_start__R( ti_sysbios_hal_Timer_TimerProxy_Handle __inst ); extern "C" void ti_sysbios_hal_Timer_TimerProxy_stop__E( ti_sysbios_hal_Timer_TimerProxy_Handle __inst ); extern "C" void ti_sysbios_hal_Timer_TimerProxy_stop__R( ti_sysbios_hal_Timer_TimerProxy_Handle __inst ); extern "C" void ti_sysbios_hal_Timer_TimerProxy_setPeriod__E( ti_sysbios_hal_Timer_TimerProxy_Handle __inst, xdc_UInt32 period ); extern "C" void ti_sysbios_hal_Timer_TimerProxy_setPeriod__R( ti_sysbios_hal_Timer_TimerProxy_Handle __inst, xdc_UInt32 period ); extern "C" xdc_Bool ti_sysbios_hal_Timer_TimerProxy_setPeriodMicroSecs__E( ti_sysbios_hal_Timer_TimerProxy_Handle __inst, xdc_UInt32 microsecs ); extern "C" xdc_Bool ti_sysbios_hal_Timer_TimerProxy_setPeriodMicroSecs__R( ti_sysbios_hal_Timer_TimerProxy_Handle __inst, xdc_UInt32 microsecs ); extern "C" xdc_UInt32 ti_sysbios_hal_Timer_TimerProxy_getPeriod__E( ti_sysbios_hal_Timer_TimerProxy_Handle __inst ); extern "C" xdc_UInt32 ti_sysbios_hal_Timer_TimerProxy_getPeriod__R( ti_sysbios_hal_Timer_TimerProxy_Handle __inst ); extern "C" xdc_UInt32 ti_sysbios_hal_Timer_TimerProxy_getCount__E( ti_sysbios_hal_Timer_TimerProxy_Handle __inst ); extern "C" xdc_UInt32 ti_sysbios_hal_Timer_TimerProxy_getCount__R( ti_sysbios_hal_Timer_TimerProxy_Handle __inst ); extern "C" void ti_sysbios_hal_Timer_TimerProxy_getFreq__E( ti_sysbios_hal_Timer_TimerProxy_Handle __inst, xdc_runtime_Types_FreqHz* freq ); extern "C" void ti_sysbios_hal_Timer_TimerProxy_getFreq__R( ti_sysbios_hal_Timer_TimerProxy_Handle __inst, xdc_runtime_Types_FreqHz* freq ); extern "C" ti_sysbios_interfaces_ITimer_FuncPtr ti_sysbios_hal_Timer_TimerProxy_getFunc__E( ti_sysbios_hal_Timer_TimerProxy_Handle __inst, xdc_UArg* arg ); extern "C" ti_sysbios_interfaces_ITimer_FuncPtr ti_sysbios_hal_Timer_TimerProxy_getFunc__R( ti_sysbios_hal_Timer_TimerProxy_Handle __inst, xdc_UArg* arg ); extern "C" void ti_sysbios_hal_Timer_TimerProxy_setFunc__E( ti_sysbios_hal_Timer_TimerProxy_Handle __inst, ti_sysbios_interfaces_ITimer_FuncPtr fxn, xdc_UArg arg ); extern "C" void ti_sysbios_hal_Timer_TimerProxy_setFunc__R( ti_sysbios_hal_Timer_TimerProxy_Handle __inst, ti_sysbios_interfaces_ITimer_FuncPtr fxn, xdc_UArg arg ); extern "C" void ti_sysbios_hal_Timer_TimerProxy_trigger__E( ti_sysbios_hal_Timer_TimerProxy_Handle __inst, xdc_UInt32 cycles ); extern "C" void ti_sysbios_hal_Timer_TimerProxy_trigger__R( ti_sysbios_hal_Timer_TimerProxy_Handle __inst, xdc_UInt32 cycles ); extern "C" xdc_UInt32 ti_sysbios_hal_Timer_TimerProxy_getExpiredCounts__E( ti_sysbios_hal_Timer_TimerProxy_Handle __inst ); extern "C" xdc_UInt32 ti_sysbios_hal_Timer_TimerProxy_getExpiredCounts__R( ti_sysbios_hal_Timer_TimerProxy_Handle __inst ); typedef xdc_UInt32 (*ti_sysbios_hal_Timer_TimerProxy_getMaxTicks_FxnT)(void*, xdc_UInt32); static inline ti_sysbios_hal_Timer_TimerProxy_getMaxTicks_FxnT ti_sysbios_hal_Timer_TimerProxy_getMaxTicks_fxnP( void ) { return (ti_sysbios_hal_Timer_TimerProxy_getMaxTicks_FxnT)ti_sysbios_hal_Timer_TimerProxy_getMaxTicks__E; } typedef void (*ti_sysbios_hal_Timer_TimerProxy_setNextTick_FxnT)(void*, xdc_UInt32, xdc_UInt32); static inline ti_sysbios_hal_Timer_TimerProxy_setNextTick_FxnT ti_sysbios_hal_Timer_TimerProxy_setNextTick_fxnP( void ) { return (ti_sysbios_hal_Timer_TimerProxy_setNextTick_FxnT)ti_sysbios_hal_Timer_TimerProxy_setNextTick__E; } typedef void (*ti_sysbios_hal_Timer_TimerProxy_start_FxnT)(void*); static inline ti_sysbios_hal_Timer_TimerProxy_start_FxnT ti_sysbios_hal_Timer_TimerProxy_start_fxnP( void ) { return (ti_sysbios_hal_Timer_TimerProxy_start_FxnT)ti_sysbios_hal_Timer_TimerProxy_start__E; } typedef void (*ti_sysbios_hal_Timer_TimerProxy_stop_FxnT)(void*); static inline ti_sysbios_hal_Timer_TimerProxy_stop_FxnT ti_sysbios_hal_Timer_TimerProxy_stop_fxnP( void ) { return (ti_sysbios_hal_Timer_TimerProxy_stop_FxnT)ti_sysbios_hal_Timer_TimerProxy_stop__E; } typedef void (*ti_sysbios_hal_Timer_TimerProxy_setPeriod_FxnT)(void*, xdc_UInt32); static inline ti_sysbios_hal_Timer_TimerProxy_setPeriod_FxnT ti_sysbios_hal_Timer_TimerProxy_setPeriod_fxnP( void ) { return (ti_sysbios_hal_Timer_TimerProxy_setPeriod_FxnT)ti_sysbios_hal_Timer_TimerProxy_setPeriod__E; } typedef xdc_Bool (*ti_sysbios_hal_Timer_TimerProxy_setPeriodMicroSecs_FxnT)(void*, xdc_UInt32); static inline ti_sysbios_hal_Timer_TimerProxy_setPeriodMicroSecs_FxnT ti_sysbios_hal_Timer_TimerProxy_setPeriodMicroSecs_fxnP( void ) { return (ti_sysbios_hal_Timer_TimerProxy_setPeriodMicroSecs_FxnT)ti_sysbios_hal_Timer_TimerProxy_setPeriodMicroSecs__E; } typedef xdc_UInt32 (*ti_sysbios_hal_Timer_TimerProxy_getPeriod_FxnT)(void*); static inline ti_sysbios_hal_Timer_TimerProxy_getPeriod_FxnT ti_sysbios_hal_Timer_TimerProxy_getPeriod_fxnP( void ) { return (ti_sysbios_hal_Timer_TimerProxy_getPeriod_FxnT)ti_sysbios_hal_Timer_TimerProxy_getPeriod__E; } typedef xdc_UInt32 (*ti_sysbios_hal_Timer_TimerProxy_getCount_FxnT)(void*); static inline ti_sysbios_hal_Timer_TimerProxy_getCount_FxnT ti_sysbios_hal_Timer_TimerProxy_getCount_fxnP( void ) { return (ti_sysbios_hal_Timer_TimerProxy_getCount_FxnT)ti_sysbios_hal_Timer_TimerProxy_getCount__E; } typedef void (*ti_sysbios_hal_Timer_TimerProxy_getFreq_FxnT)(void*, xdc_runtime_Types_FreqHz*); static inline ti_sysbios_hal_Timer_TimerProxy_getFreq_FxnT ti_sysbios_hal_Timer_TimerProxy_getFreq_fxnP( void ) { return (ti_sysbios_hal_Timer_TimerProxy_getFreq_FxnT)ti_sysbios_hal_Timer_TimerProxy_getFreq__E; } typedef ti_sysbios_interfaces_ITimer_FuncPtr (*ti_sysbios_hal_Timer_TimerProxy_getFunc_FxnT)(void*, xdc_UArg*); static inline ti_sysbios_hal_Timer_TimerProxy_getFunc_FxnT ti_sysbios_hal_Timer_TimerProxy_getFunc_fxnP( void ) { return (ti_sysbios_hal_Timer_TimerProxy_getFunc_FxnT)ti_sysbios_hal_Timer_TimerProxy_getFunc__E; } typedef void (*ti_sysbios_hal_Timer_TimerProxy_setFunc_FxnT)(void*, ti_sysbios_interfaces_ITimer_FuncPtr, xdc_UArg); static inline ti_sysbios_hal_Timer_TimerProxy_setFunc_FxnT ti_sysbios_hal_Timer_TimerProxy_setFunc_fxnP( void ) { return (ti_sysbios_hal_Timer_TimerProxy_setFunc_FxnT)ti_sysbios_hal_Timer_TimerProxy_setFunc__E; } typedef void (*ti_sysbios_hal_Timer_TimerProxy_trigger_FxnT)(void*, xdc_UInt32); static inline ti_sysbios_hal_Timer_TimerProxy_trigger_FxnT ti_sysbios_hal_Timer_TimerProxy_trigger_fxnP( void ) { return (ti_sysbios_hal_Timer_TimerProxy_trigger_FxnT)ti_sysbios_hal_Timer_TimerProxy_trigger__E; } typedef xdc_UInt32 (*ti_sysbios_hal_Timer_TimerProxy_getExpiredCounts_FxnT)(void*); static inline ti_sysbios_hal_Timer_TimerProxy_getExpiredCounts_FxnT ti_sysbios_hal_Timer_TimerProxy_getExpiredCounts_fxnP( void ) { return (ti_sysbios_hal_Timer_TimerProxy_getExpiredCounts_FxnT)ti_sysbios_hal_Timer_TimerProxy_getExpiredCounts__E; } static inline ti_sysbios_interfaces_ITimer_Module ti_sysbios_hal_Timer_TimerProxy_Module_upCast( void ) { return (ti_sysbios_interfaces_ITimer_Module)ti_sysbios_hal_Timer_TimerProxy_Proxy__delegate__S(); } static inline ti_sysbios_interfaces_ITimer_Handle ti_sysbios_hal_Timer_TimerProxy_Handle_upCast( ti_sysbios_hal_Timer_TimerProxy_Handle i ) { return (ti_sysbios_interfaces_ITimer_Handle)i; } static inline ti_sysbios_hal_Timer_TimerProxy_Handle ti_sysbios_hal_Timer_TimerProxy_Handle_downCast( ti_sysbios_interfaces_ITimer_Handle i ) { ti_sysbios_interfaces_ITimer_Handle i2 = (ti_sysbios_interfaces_ITimer_Handle)i; if (ti_sysbios_hal_Timer_TimerProxy_Proxy__abstract__S()) return (ti_sysbios_hal_Timer_TimerProxy_Handle)i; return (void*)i2->__fxns == (void*)ti_sysbios_hal_Timer_TimerProxy_Proxy__delegate__S() ? (ti_sysbios_hal_Timer_TimerProxy_Handle)i : 0; } static inline CT__ti_sysbios_hal_Timer_TimerProxy_Module__id ti_sysbios_hal_Timer_TimerProxy_Module_id( void ) { return ti_sysbios_hal_Timer_TimerProxy_Module__id__C; } static inline void ti_sysbios_hal_Timer_TimerProxy_Params_init( ti_sysbios_hal_Timer_TimerProxy_Params* prms ) { if (prms) { ti_sysbios_hal_Timer_TimerProxy_Params__init__S(prms, 0, sizeof(ti_sysbios_hal_Timer_TimerProxy_Params), sizeof(xdc_runtime_IInstance_Params)); } } static inline void ti_sysbios_hal_Timer_TimerProxy_Params_copy( ti_sysbios_hal_Timer_TimerProxy_Params* dst, const ti_sysbios_hal_Timer_TimerProxy_Params* src ) { if (dst) { ti_sysbios_hal_Timer_TimerProxy_Params__init__S(dst, (xdc_Ptr)src, sizeof(ti_sysbios_hal_Timer_TimerProxy_Params), sizeof(xdc_runtime_IInstance_Params)); } } static inline ti_sysbios_hal_Timer_TimerProxy_Handle ti_sysbios_hal_Timer_TimerProxy_create( xdc_Int id, ti_sysbios_interfaces_ITimer_FuncPtr tickFxn, const ti_sysbios_hal_Timer_TimerProxy_Params* __prms, xdc_runtime_Error_Block* __eb ) { ti_sysbios_hal_Timer_TimerProxy_Args__create __args; __args.id = id; __args.tickFxn = tickFxn; return (ti_sysbios_hal_Timer_TimerProxy_Handle)ti_sysbios_hal_Timer_TimerProxy_Object__create__S(0, 0, &__args, (const xdc_UChar*)__prms, sizeof(ti_sysbios_hal_Timer_TimerProxy_Params), __eb); } static inline void ti_sysbios_hal_Timer_TimerProxy_delete( ti_sysbios_hal_Timer_TimerProxy_Handle* instp ) { ti_sysbios_hal_Timer_TimerProxy_Object__delete__S(instp); } typedef ti_sysbios_interfaces_ITimer_FuncPtr ti_sysbios_hal_Timer_FuncPtr; typedef ti_sysbios_interfaces_ITimer_StartMode ti_sysbios_hal_Timer_StartMode; typedef ti_sysbios_interfaces_ITimer_RunMode ti_sysbios_hal_Timer_RunMode; typedef ti_sysbios_interfaces_ITimer_Status ti_sysbios_hal_Timer_Status; typedef ti_sysbios_interfaces_ITimer_PeriodType ti_sysbios_hal_Timer_PeriodType; typedef struct ti_sysbios_hal_Timer_Args__create { xdc_Int id; ti_sysbios_hal_Timer_FuncPtr tickFxn; } ti_sysbios_hal_Timer_Args__create; typedef xdc_Bits32 CT__ti_sysbios_hal_Timer_Module__diagsEnabled; extern "C" far const CT__ti_sysbios_hal_Timer_Module__diagsEnabled ti_sysbios_hal_Timer_Module__diagsEnabled__C; typedef xdc_Bits32 CT__ti_sysbios_hal_Timer_Module__diagsIncluded; extern "C" far const CT__ti_sysbios_hal_Timer_Module__diagsIncluded ti_sysbios_hal_Timer_Module__diagsIncluded__C; typedef xdc_Bits16* CT__ti_sysbios_hal_Timer_Module__diagsMask; extern "C" far const CT__ti_sysbios_hal_Timer_Module__diagsMask ti_sysbios_hal_Timer_Module__diagsMask__C; typedef xdc_Ptr CT__ti_sysbios_hal_Timer_Module__gateObj; extern "C" far const CT__ti_sysbios_hal_Timer_Module__gateObj ti_sysbios_hal_Timer_Module__gateObj__C; typedef xdc_Ptr CT__ti_sysbios_hal_Timer_Module__gatePrms; extern "C" far const CT__ti_sysbios_hal_Timer_Module__gatePrms ti_sysbios_hal_Timer_Module__gatePrms__C; typedef xdc_runtime_Types_ModuleId CT__ti_sysbios_hal_Timer_Module__id; extern "C" far const CT__ti_sysbios_hal_Timer_Module__id ti_sysbios_hal_Timer_Module__id__C; typedef xdc_Bool CT__ti_sysbios_hal_Timer_Module__loggerDefined; extern "C" far const CT__ti_sysbios_hal_Timer_Module__loggerDefined ti_sysbios_hal_Timer_Module__loggerDefined__C; typedef xdc_Ptr CT__ti_sysbios_hal_Timer_Module__loggerObj; extern "C" far const CT__ti_sysbios_hal_Timer_Module__loggerObj ti_sysbios_hal_Timer_Module__loggerObj__C; typedef xdc_runtime_Types_LoggerFxn0 CT__ti_sysbios_hal_Timer_Module__loggerFxn0; extern "C" far const CT__ti_sysbios_hal_Timer_Module__loggerFxn0 ti_sysbios_hal_Timer_Module__loggerFxn0__C; typedef xdc_runtime_Types_LoggerFxn1 CT__ti_sysbios_hal_Timer_Module__loggerFxn1; extern "C" far const CT__ti_sysbios_hal_Timer_Module__loggerFxn1 ti_sysbios_hal_Timer_Module__loggerFxn1__C; typedef xdc_runtime_Types_LoggerFxn2 CT__ti_sysbios_hal_Timer_Module__loggerFxn2; extern "C" far const CT__ti_sysbios_hal_Timer_Module__loggerFxn2 ti_sysbios_hal_Timer_Module__loggerFxn2__C; typedef xdc_runtime_Types_LoggerFxn4 CT__ti_sysbios_hal_Timer_Module__loggerFxn4; extern "C" far const CT__ti_sysbios_hal_Timer_Module__loggerFxn4 ti_sysbios_hal_Timer_Module__loggerFxn4__C; typedef xdc_runtime_Types_LoggerFxn8 CT__ti_sysbios_hal_Timer_Module__loggerFxn8; extern "C" far const CT__ti_sysbios_hal_Timer_Module__loggerFxn8 ti_sysbios_hal_Timer_Module__loggerFxn8__C; typedef xdc_Bool (*CT__ti_sysbios_hal_Timer_Module__startupDoneFxn)(void); extern "C" far const CT__ti_sysbios_hal_Timer_Module__startupDoneFxn ti_sysbios_hal_Timer_Module__startupDoneFxn__C; typedef xdc_Int CT__ti_sysbios_hal_Timer_Object__count; extern "C" far const CT__ti_sysbios_hal_Timer_Object__count ti_sysbios_hal_Timer_Object__count__C; typedef xdc_runtime_IHeap_Handle CT__ti_sysbios_hal_Timer_Object__heap; extern "C" far const CT__ti_sysbios_hal_Timer_Object__heap ti_sysbios_hal_Timer_Object__heap__C; typedef xdc_SizeT CT__ti_sysbios_hal_Timer_Object__sizeof; extern "C" far const CT__ti_sysbios_hal_Timer_Object__sizeof ti_sysbios_hal_Timer_Object__sizeof__C; typedef xdc_Ptr CT__ti_sysbios_hal_Timer_Object__table; extern "C" far const CT__ti_sysbios_hal_Timer_Object__table ti_sysbios_hal_Timer_Object__table__C; struct ti_sysbios_hal_Timer_Params { size_t __size; const void* __self; void* __fxns; xdc_runtime_IInstance_Params* instance; ti_sysbios_interfaces_ITimer_RunMode runMode; ti_sysbios_interfaces_ITimer_StartMode startMode; xdc_UArg arg; xdc_UInt32 period; ti_sysbios_interfaces_ITimer_PeriodType periodType; xdc_runtime_Types_FreqHz extFreq; xdc_runtime_IInstance_Params __iprms; }; struct ti_sysbios_hal_Timer_Struct { const ti_sysbios_hal_Timer_Fxns__* __fxns; ti_sysbios_hal_Timer_TimerProxy_Handle __f0; xdc_runtime_Types_CordAddr __name; }; struct ti_sysbios_hal_Timer_Fxns__ { xdc_runtime_Types_Base* __base; const xdc_runtime_Types_SysFxns2* __sysp; xdc_UInt (*getNumTimers)(void); ti_sysbios_interfaces_ITimer_Status (*getStatus)(xdc_UInt); void (*startup)(void); xdc_UInt32 (*getMaxTicks)(ti_sysbios_hal_Timer_Handle, xdc_UInt32); void (*setNextTick)(ti_sysbios_hal_Timer_Handle, xdc_UInt32, xdc_UInt32); void (*start)(ti_sysbios_hal_Timer_Handle); void (*stop)(ti_sysbios_hal_Timer_Handle); void (*setPeriod)(ti_sysbios_hal_Timer_Handle, xdc_UInt32); xdc_Bool (*setPeriodMicroSecs)(ti_sysbios_hal_Timer_Handle, xdc_UInt32); xdc_UInt32 (*getPeriod)(ti_sysbios_hal_Timer_Handle); xdc_UInt32 (*getCount)(ti_sysbios_hal_Timer_Handle); void (*getFreq)(ti_sysbios_hal_Timer_Handle, xdc_runtime_Types_FreqHz*); ti_sysbios_interfaces_ITimer_FuncPtr (*getFunc)(ti_sysbios_hal_Timer_Handle, xdc_UArg*); void (*setFunc)(ti_sysbios_hal_Timer_Handle, ti_sysbios_interfaces_ITimer_FuncPtr, xdc_UArg); void (*trigger)(ti_sysbios_hal_Timer_Handle, xdc_UInt32); xdc_UInt32 (*getExpiredCounts)(ti_sysbios_hal_Timer_Handle); xdc_runtime_Types_SysFxns2 __sfxns; }; extern "C" const ti_sysbios_hal_Timer_Fxns__ ti_sysbios_hal_Timer_Module__FXNS__C; extern "C" xdc_Int ti_sysbios_hal_Timer_Module_startup__E( xdc_Int state ); extern "C" xdc_Int ti_sysbios_hal_Timer_Module_startup__F( xdc_Int state ); extern "C" xdc_Int ti_sysbios_hal_Timer_Module_startup__R( xdc_Int state ); extern "C" int ti_sysbios_hal_Timer_Instance_init__F( ti_sysbios_hal_Timer_Object*, xdc_Int id, ti_sysbios_hal_Timer_FuncPtr tickFxn, const ti_sysbios_hal_Timer_Params*, xdc_runtime_Error_Block* ); extern "C" void ti_sysbios_hal_Timer_Instance_finalize__F( ti_sysbios_hal_Timer_Object* , int ); extern "C" int ti_sysbios_hal_Timer_Instance_init__R( ti_sysbios_hal_Timer_Object*, xdc_Int id, ti_sysbios_hal_Timer_FuncPtr tickFxn, const ti_sysbios_hal_Timer_Params*, xdc_runtime_Error_Block* ); extern "C" void ti_sysbios_hal_Timer_Instance_finalize__R( ti_sysbios_hal_Timer_Object* , int ); extern "C" xdc_runtime_Types_Label* ti_sysbios_hal_Timer_Handle__label__S( xdc_Ptr obj, xdc_runtime_Types_Label* lab ); extern "C" xdc_Bool ti_sysbios_hal_Timer_Module__startupDone__S( void ); extern "C" xdc_Ptr ti_sysbios_hal_Timer_Object__create__S( xdc_Ptr __oa, xdc_SizeT __osz, xdc_Ptr __aa, const xdc_UChar* __pa, xdc_SizeT __psz, xdc_runtime_Error_Block* __eb ); extern "C" void ti_sysbios_hal_Timer_Object__delete__S( xdc_Ptr instp ); extern "C" void ti_sysbios_hal_Timer_Object__destruct__S( xdc_Ptr objp ); extern "C" xdc_Ptr ti_sysbios_hal_Timer_Object__get__S( xdc_Ptr oarr, xdc_Int i ); extern "C" xdc_Ptr ti_sysbios_hal_Timer_Object__first__S( void ); extern "C" xdc_Ptr ti_sysbios_hal_Timer_Object__next__S( xdc_Ptr obj ); extern "C" void ti_sysbios_hal_Timer_Params__init__S( xdc_Ptr dst, xdc_Ptr src, xdc_SizeT psz, xdc_SizeT isz ); extern "C" xdc_UInt ti_sysbios_hal_Timer_getNumTimers__E( void ); extern "C" xdc_UInt ti_sysbios_hal_Timer_getNumTimers__F( void ); extern "C" xdc_UInt ti_sysbios_hal_Timer_getNumTimers__R( void ); extern "C" ti_sysbios_interfaces_ITimer_Status ti_sysbios_hal_Timer_getStatus__E( xdc_UInt id ); extern "C" ti_sysbios_interfaces_ITimer_Status ti_sysbios_hal_Timer_getStatus__F( xdc_UInt id ); extern "C" ti_sysbios_interfaces_ITimer_Status ti_sysbios_hal_Timer_getStatus__R( xdc_UInt id ); extern "C" void ti_sysbios_hal_Timer_startup__E( void ); extern "C" void ti_sysbios_hal_Timer_startup__F( void ); extern "C" void ti_sysbios_hal_Timer_startup__R( void ); extern "C" xdc_UInt32 ti_sysbios_hal_Timer_getMaxTicks__E( ti_sysbios_hal_Timer_Handle __inst, xdc_UInt32 periodCounts ); extern "C" xdc_UInt32 ti_sysbios_hal_Timer_getMaxTicks__F( ti_sysbios_hal_Timer_Object* __inst, xdc_UInt32 periodCounts ); extern "C" xdc_UInt32 ti_sysbios_hal_Timer_getMaxTicks__R( ti_sysbios_hal_Timer_Handle __inst, xdc_UInt32 periodCounts ); extern "C" void ti_sysbios_hal_Timer_setNextTick__E( ti_sysbios_hal_Timer_Handle __inst, xdc_UInt32 newPeriod, xdc_UInt32 countsPerTick ); extern "C" void ti_sysbios_hal_Timer_setNextTick__F( ti_sysbios_hal_Timer_Object* __inst, xdc_UInt32 newPeriod, xdc_UInt32 countsPerTick ); extern "C" void ti_sysbios_hal_Timer_setNextTick__R( ti_sysbios_hal_Timer_Handle __inst, xdc_UInt32 newPeriod, xdc_UInt32 countsPerTick ); extern "C" void ti_sysbios_hal_Timer_start__E( ti_sysbios_hal_Timer_Handle __inst ); extern "C" void ti_sysbios_hal_Timer_start__F( ti_sysbios_hal_Timer_Object* __inst ); extern "C" void ti_sysbios_hal_Timer_start__R( ti_sysbios_hal_Timer_Handle __inst ); extern "C" void ti_sysbios_hal_Timer_stop__E( ti_sysbios_hal_Timer_Handle __inst ); extern "C" void ti_sysbios_hal_Timer_stop__F( ti_sysbios_hal_Timer_Object* __inst ); extern "C" void ti_sysbios_hal_Timer_stop__R( ti_sysbios_hal_Timer_Handle __inst ); extern "C" void ti_sysbios_hal_Timer_setPeriod__E( ti_sysbios_hal_Timer_Handle __inst, xdc_UInt32 period ); extern "C" void ti_sysbios_hal_Timer_setPeriod__F( ti_sysbios_hal_Timer_Object* __inst, xdc_UInt32 period ); extern "C" void ti_sysbios_hal_Timer_setPeriod__R( ti_sysbios_hal_Timer_Handle __inst, xdc_UInt32 period ); extern "C" xdc_Bool ti_sysbios_hal_Timer_setPeriodMicroSecs__E( ti_sysbios_hal_Timer_Handle __inst, xdc_UInt32 microsecs ); extern "C" xdc_Bool ti_sysbios_hal_Timer_setPeriodMicroSecs__F( ti_sysbios_hal_Timer_Object* __inst, xdc_UInt32 microsecs ); extern "C" xdc_Bool ti_sysbios_hal_Timer_setPeriodMicroSecs__R( ti_sysbios_hal_Timer_Handle __inst, xdc_UInt32 microsecs ); extern "C" xdc_UInt32 ti_sysbios_hal_Timer_getPeriod__E( ti_sysbios_hal_Timer_Handle __inst ); extern "C" xdc_UInt32 ti_sysbios_hal_Timer_getPeriod__F( ti_sysbios_hal_Timer_Object* __inst ); extern "C" xdc_UInt32 ti_sysbios_hal_Timer_getPeriod__R( ti_sysbios_hal_Timer_Handle __inst ); extern "C" xdc_UInt32 ti_sysbios_hal_Timer_getCount__E( ti_sysbios_hal_Timer_Handle __inst ); extern "C" xdc_UInt32 ti_sysbios_hal_Timer_getCount__F( ti_sysbios_hal_Timer_Object* __inst ); extern "C" xdc_UInt32 ti_sysbios_hal_Timer_getCount__R( ti_sysbios_hal_Timer_Handle __inst ); extern "C" void ti_sysbios_hal_Timer_getFreq__E( ti_sysbios_hal_Timer_Handle __inst, xdc_runtime_Types_FreqHz* freq ); extern "C" void ti_sysbios_hal_Timer_getFreq__F( ti_sysbios_hal_Timer_Object* __inst, xdc_runtime_Types_FreqHz* freq ); extern "C" void ti_sysbios_hal_Timer_getFreq__R( ti_sysbios_hal_Timer_Handle __inst, xdc_runtime_Types_FreqHz* freq ); extern "C" ti_sysbios_interfaces_ITimer_FuncPtr ti_sysbios_hal_Timer_getFunc__E( ti_sysbios_hal_Timer_Handle __inst, xdc_UArg* arg ); extern "C" ti_sysbios_interfaces_ITimer_FuncPtr ti_sysbios_hal_Timer_getFunc__F( ti_sysbios_hal_Timer_Object* __inst, xdc_UArg* arg ); extern "C" ti_sysbios_interfaces_ITimer_FuncPtr ti_sysbios_hal_Timer_getFunc__R( ti_sysbios_hal_Timer_Handle __inst, xdc_UArg* arg ); extern "C" void ti_sysbios_hal_Timer_setFunc__E( ti_sysbios_hal_Timer_Handle __inst, ti_sysbios_interfaces_ITimer_FuncPtr fxn, xdc_UArg arg ); extern "C" void ti_sysbios_hal_Timer_setFunc__F( ti_sysbios_hal_Timer_Object* __inst, ti_sysbios_interfaces_ITimer_FuncPtr fxn, xdc_UArg arg ); extern "C" void ti_sysbios_hal_Timer_setFunc__R( ti_sysbios_hal_Timer_Handle __inst, ti_sysbios_interfaces_ITimer_FuncPtr fxn, xdc_UArg arg ); extern "C" void ti_sysbios_hal_Timer_trigger__E( ti_sysbios_hal_Timer_Handle __inst, xdc_UInt32 cycles ); extern "C" void ti_sysbios_hal_Timer_trigger__F( ti_sysbios_hal_Timer_Object* __inst, xdc_UInt32 cycles ); extern "C" void ti_sysbios_hal_Timer_trigger__R( ti_sysbios_hal_Timer_Handle __inst, xdc_UInt32 cycles ); extern "C" xdc_UInt32 ti_sysbios_hal_Timer_getExpiredCounts__E( ti_sysbios_hal_Timer_Handle __inst ); extern "C" xdc_UInt32 ti_sysbios_hal_Timer_getExpiredCounts__F( ti_sysbios_hal_Timer_Object* __inst ); extern "C" xdc_UInt32 ti_sysbios_hal_Timer_getExpiredCounts__R( ti_sysbios_hal_Timer_Handle __inst ); typedef xdc_UInt32 (*ti_sysbios_hal_Timer_getMaxTicks_FxnT)(void*, xdc_UInt32); static inline ti_sysbios_hal_Timer_getMaxTicks_FxnT ti_sysbios_hal_Timer_getMaxTicks_fxnP( void ) { return (ti_sysbios_hal_Timer_getMaxTicks_FxnT)ti_sysbios_hal_Timer_getMaxTicks__E; } typedef void (*ti_sysbios_hal_Timer_setNextTick_FxnT)(void*, xdc_UInt32, xdc_UInt32); static inline ti_sysbios_hal_Timer_setNextTick_FxnT ti_sysbios_hal_Timer_setNextTick_fxnP( void ) { return (ti_sysbios_hal_Timer_setNextTick_FxnT)ti_sysbios_hal_Timer_setNextTick__E; } typedef void (*ti_sysbios_hal_Timer_start_FxnT)(void*); static inline ti_sysbios_hal_Timer_start_FxnT ti_sysbios_hal_Timer_start_fxnP( void ) { return (ti_sysbios_hal_Timer_start_FxnT)ti_sysbios_hal_Timer_start__E; } typedef void (*ti_sysbios_hal_Timer_stop_FxnT)(void*); static inline ti_sysbios_hal_Timer_stop_FxnT ti_sysbios_hal_Timer_stop_fxnP( void ) { return (ti_sysbios_hal_Timer_stop_FxnT)ti_sysbios_hal_Timer_stop__E; } typedef void (*ti_sysbios_hal_Timer_setPeriod_FxnT)(void*, xdc_UInt32); static inline ti_sysbios_hal_Timer_setPeriod_FxnT ti_sysbios_hal_Timer_setPeriod_fxnP( void ) { return (ti_sysbios_hal_Timer_setPeriod_FxnT)ti_sysbios_hal_Timer_setPeriod__E; } typedef xdc_Bool (*ti_sysbios_hal_Timer_setPeriodMicroSecs_FxnT)(void*, xdc_UInt32); static inline ti_sysbios_hal_Timer_setPeriodMicroSecs_FxnT ti_sysbios_hal_Timer_setPeriodMicroSecs_fxnP( void ) { return (ti_sysbios_hal_Timer_setPeriodMicroSecs_FxnT)ti_sysbios_hal_Timer_setPeriodMicroSecs__E; } typedef xdc_UInt32 (*ti_sysbios_hal_Timer_getPeriod_FxnT)(void*); static inline ti_sysbios_hal_Timer_getPeriod_FxnT ti_sysbios_hal_Timer_getPeriod_fxnP( void ) { return (ti_sysbios_hal_Timer_getPeriod_FxnT)ti_sysbios_hal_Timer_getPeriod__E; } typedef xdc_UInt32 (*ti_sysbios_hal_Timer_getCount_FxnT)(void*); static inline ti_sysbios_hal_Timer_getCount_FxnT ti_sysbios_hal_Timer_getCount_fxnP( void ) { return (ti_sysbios_hal_Timer_getCount_FxnT)ti_sysbios_hal_Timer_getCount__E; } typedef void (*ti_sysbios_hal_Timer_getFreq_FxnT)(void*, xdc_runtime_Types_FreqHz*); static inline ti_sysbios_hal_Timer_getFreq_FxnT ti_sysbios_hal_Timer_getFreq_fxnP( void ) { return (ti_sysbios_hal_Timer_getFreq_FxnT)ti_sysbios_hal_Timer_getFreq__E; } typedef ti_sysbios_interfaces_ITimer_FuncPtr (*ti_sysbios_hal_Timer_getFunc_FxnT)(void*, xdc_UArg*); static inline ti_sysbios_hal_Timer_getFunc_FxnT ti_sysbios_hal_Timer_getFunc_fxnP( void ) { return (ti_sysbios_hal_Timer_getFunc_FxnT)ti_sysbios_hal_Timer_getFunc__E; } typedef void (*ti_sysbios_hal_Timer_setFunc_FxnT)(void*, ti_sysbios_interfaces_ITimer_FuncPtr, xdc_UArg); static inline ti_sysbios_hal_Timer_setFunc_FxnT ti_sysbios_hal_Timer_setFunc_fxnP( void ) { return (ti_sysbios_hal_Timer_setFunc_FxnT)ti_sysbios_hal_Timer_setFunc__E; } typedef void (*ti_sysbios_hal_Timer_trigger_FxnT)(void*, xdc_UInt32); static inline ti_sysbios_hal_Timer_trigger_FxnT ti_sysbios_hal_Timer_trigger_fxnP( void ) { return (ti_sysbios_hal_Timer_trigger_FxnT)ti_sysbios_hal_Timer_trigger__E; } typedef xdc_UInt32 (*ti_sysbios_hal_Timer_getExpiredCounts_FxnT)(void*); static inline ti_sysbios_hal_Timer_getExpiredCounts_FxnT ti_sysbios_hal_Timer_getExpiredCounts_fxnP( void ) { return (ti_sysbios_hal_Timer_getExpiredCounts_FxnT)ti_sysbios_hal_Timer_getExpiredCounts__E; } static inline ti_sysbios_interfaces_ITimer_Module ti_sysbios_hal_Timer_Module_upCast( void ) { return (ti_sysbios_interfaces_ITimer_Module)&ti_sysbios_hal_Timer_Module__FXNS__C; } static inline ti_sysbios_interfaces_ITimer_Handle ti_sysbios_hal_Timer_Handle_upCast( ti_sysbios_hal_Timer_Handle i ) { return (ti_sysbios_interfaces_ITimer_Handle)i; } static inline ti_sysbios_hal_Timer_Handle ti_sysbios_hal_Timer_Handle_downCast( ti_sysbios_interfaces_ITimer_Handle i ) { ti_sysbios_interfaces_ITimer_Handle i2 = (ti_sysbios_interfaces_ITimer_Handle)i; return (void*)i2->__fxns == (void*)&ti_sysbios_hal_Timer_Module__FXNS__C ? (ti_sysbios_hal_Timer_Handle)i : 0; } static inline CT__ti_sysbios_hal_Timer_Module__id ti_sysbios_hal_Timer_Module_id( void ) { return ti_sysbios_hal_Timer_Module__id__C; } static inline xdc_Bool ti_sysbios_hal_Timer_Module_hasMask( void ) { return ti_sysbios_hal_Timer_Module__diagsMask__C != 0; } static inline xdc_Bits16 ti_sysbios_hal_Timer_Module_getMask( void ) { return ti_sysbios_hal_Timer_Module__diagsMask__C != 0 ? *ti_sysbios_hal_Timer_Module__diagsMask__C : 0; } static inline void ti_sysbios_hal_Timer_Module_setMask( xdc_Bits16 mask ) { if (ti_sysbios_hal_Timer_Module__diagsMask__C != 0) *ti_sysbios_hal_Timer_Module__diagsMask__C = mask; } static inline void ti_sysbios_hal_Timer_Params_init( ti_sysbios_hal_Timer_Params* prms ) { if (prms) { ti_sysbios_hal_Timer_Params__init__S(prms, 0, sizeof(ti_sysbios_hal_Timer_Params), sizeof(xdc_runtime_IInstance_Params)); } } static inline void ti_sysbios_hal_Timer_Params_copy( ti_sysbios_hal_Timer_Params* dst, const ti_sysbios_hal_Timer_Params* src ) { if (dst) { ti_sysbios_hal_Timer_Params__init__S(dst, (xdc_Ptr)src, sizeof(ti_sysbios_hal_Timer_Params), sizeof(xdc_runtime_IInstance_Params)); } } static inline ti_sysbios_hal_Timer_Handle ti_sysbios_hal_Timer_Object_get( ti_sysbios_hal_Timer_Instance_State* oarr, int i ) { return (ti_sysbios_hal_Timer_Handle)ti_sysbios_hal_Timer_Object__get__S(oarr, i); } static inline ti_sysbios_hal_Timer_Handle ti_sysbios_hal_Timer_Object_first( void ) { return (ti_sysbios_hal_Timer_Handle)ti_sysbios_hal_Timer_Object__first__S(); } static inline ti_sysbios_hal_Timer_Handle ti_sysbios_hal_Timer_Object_next( ti_sysbios_hal_Timer_Object* obj ) { return (ti_sysbios_hal_Timer_Handle)ti_sysbios_hal_Timer_Object__next__S(obj); } static inline xdc_runtime_Types_Label* ti_sysbios_hal_Timer_Handle_label( ti_sysbios_hal_Timer_Handle inst, xdc_runtime_Types_Label* lab ) { return ti_sysbios_hal_Timer_Handle__label__S(inst, lab); } static inline String ti_sysbios_hal_Timer_Handle_name( ti_sysbios_hal_Timer_Handle inst ) { xdc_runtime_Types_Label lab; return ti_sysbios_hal_Timer_Handle__label__S(inst, &lab)->iname; } static inline ti_sysbios_hal_Timer_Handle ti_sysbios_hal_Timer_create( xdc_Int id, ti_sysbios_hal_Timer_FuncPtr tickFxn, const ti_sysbios_hal_Timer_Params* __prms, xdc_runtime_Error_Block* __eb ) { ti_sysbios_hal_Timer_Args__create __args; __args.id = id; __args.tickFxn = tickFxn; return (ti_sysbios_hal_Timer_Handle)ti_sysbios_hal_Timer_Object__create__S(0, 0, &__args, (const xdc_UChar*)__prms, sizeof(ti_sysbios_hal_Timer_Params), __eb); } static inline void ti_sysbios_hal_Timer_construct( ti_sysbios_hal_Timer_Struct* __obj, xdc_Int id, ti_sysbios_hal_Timer_FuncPtr tickFxn, const ti_sysbios_hal_Timer_Params* __prms, xdc_runtime_Error_Block* __eb ) { ti_sysbios_hal_Timer_Args__create __args; __args.id = id; __args.tickFxn = tickFxn; ti_sysbios_hal_Timer_Object__create__S(__obj, sizeof (ti_sysbios_hal_Timer_Struct), &__args, (const xdc_UChar*)__prms, sizeof(ti_sysbios_hal_Timer_Params), __eb); } static inline void ti_sysbios_hal_Timer_delete( ti_sysbios_hal_Timer_Handle* instp ) { ti_sysbios_hal_Timer_Object__delete__S(instp); } static inline void ti_sysbios_hal_Timer_destruct( ti_sysbios_hal_Timer_Struct* obj ) { ti_sysbios_hal_Timer_Object__destruct__S(obj); } static inline ti_sysbios_hal_Timer_Handle ti_sysbios_hal_Timer_handle( ti_sysbios_hal_Timer_Struct* str ) { return (ti_sysbios_hal_Timer_Handle)str; } static inline ti_sysbios_hal_Timer_Struct* ti_sysbios_hal_Timer_struct( ti_sysbios_hal_Timer_Handle inst ) { return (ti_sysbios_hal_Timer_Struct*)inst; } enum ti_sysbios_knl_Clock_TickSource { ti_sysbios_knl_Clock_TickSource_TIMER, ti_sysbios_knl_Clock_TickSource_USER, ti_sysbios_knl_Clock_TickSource_NULL }; typedef enum ti_sysbios_knl_Clock_TickSource ti_sysbios_knl_Clock_TickSource; enum ti_sysbios_knl_Clock_TickMode { ti_sysbios_knl_Clock_TickMode_PERIODIC, ti_sysbios_knl_Clock_TickMode_DYNAMIC }; typedef enum ti_sysbios_knl_Clock_TickMode ti_sysbios_knl_Clock_TickMode; typedef void (*ti_sysbios_knl_Clock_FuncPtr)(xdc_UArg); typedef struct ti_sysbios_knl_Clock_Args__create { ti_sysbios_knl_Clock_FuncPtr clockFxn; xdc_UInt timeout; } ti_sysbios_knl_Clock_Args__create; typedef xdc_Bits32 CT__ti_sysbios_knl_Clock_Module__diagsEnabled; extern "C" far const CT__ti_sysbios_knl_Clock_Module__diagsEnabled ti_sysbios_knl_Clock_Module__diagsEnabled__C; typedef xdc_Bits32 CT__ti_sysbios_knl_Clock_Module__diagsIncluded; extern "C" far const CT__ti_sysbios_knl_Clock_Module__diagsIncluded ti_sysbios_knl_Clock_Module__diagsIncluded__C; typedef xdc_Bits16* CT__ti_sysbios_knl_Clock_Module__diagsMask; extern "C" far const CT__ti_sysbios_knl_Clock_Module__diagsMask ti_sysbios_knl_Clock_Module__diagsMask__C; typedef xdc_Ptr CT__ti_sysbios_knl_Clock_Module__gateObj; extern "C" far const CT__ti_sysbios_knl_Clock_Module__gateObj ti_sysbios_knl_Clock_Module__gateObj__C; typedef xdc_Ptr CT__ti_sysbios_knl_Clock_Module__gatePrms; extern "C" far const CT__ti_sysbios_knl_Clock_Module__gatePrms ti_sysbios_knl_Clock_Module__gatePrms__C; typedef xdc_runtime_Types_ModuleId CT__ti_sysbios_knl_Clock_Module__id; extern "C" far const CT__ti_sysbios_knl_Clock_Module__id ti_sysbios_knl_Clock_Module__id__C; typedef xdc_Bool CT__ti_sysbios_knl_Clock_Module__loggerDefined; extern "C" far const CT__ti_sysbios_knl_Clock_Module__loggerDefined ti_sysbios_knl_Clock_Module__loggerDefined__C; typedef xdc_Ptr CT__ti_sysbios_knl_Clock_Module__loggerObj; extern "C" far const CT__ti_sysbios_knl_Clock_Module__loggerObj ti_sysbios_knl_Clock_Module__loggerObj__C; typedef xdc_runtime_Types_LoggerFxn0 CT__ti_sysbios_knl_Clock_Module__loggerFxn0; extern "C" far const CT__ti_sysbios_knl_Clock_Module__loggerFxn0 ti_sysbios_knl_Clock_Module__loggerFxn0__C; typedef xdc_runtime_Types_LoggerFxn1 CT__ti_sysbios_knl_Clock_Module__loggerFxn1; extern "C" far const CT__ti_sysbios_knl_Clock_Module__loggerFxn1 ti_sysbios_knl_Clock_Module__loggerFxn1__C; typedef xdc_runtime_Types_LoggerFxn2 CT__ti_sysbios_knl_Clock_Module__loggerFxn2; extern "C" far const CT__ti_sysbios_knl_Clock_Module__loggerFxn2 ti_sysbios_knl_Clock_Module__loggerFxn2__C; typedef xdc_runtime_Types_LoggerFxn4 CT__ti_sysbios_knl_Clock_Module__loggerFxn4; extern "C" far const CT__ti_sysbios_knl_Clock_Module__loggerFxn4 ti_sysbios_knl_Clock_Module__loggerFxn4__C; typedef xdc_runtime_Types_LoggerFxn8 CT__ti_sysbios_knl_Clock_Module__loggerFxn8; extern "C" far const CT__ti_sysbios_knl_Clock_Module__loggerFxn8 ti_sysbios_knl_Clock_Module__loggerFxn8__C; typedef xdc_Bool (*CT__ti_sysbios_knl_Clock_Module__startupDoneFxn)(void); extern "C" far const CT__ti_sysbios_knl_Clock_Module__startupDoneFxn ti_sysbios_knl_Clock_Module__startupDoneFxn__C; typedef xdc_Int CT__ti_sysbios_knl_Clock_Object__count; extern "C" far const CT__ti_sysbios_knl_Clock_Object__count ti_sysbios_knl_Clock_Object__count__C; typedef xdc_runtime_IHeap_Handle CT__ti_sysbios_knl_Clock_Object__heap; extern "C" far const CT__ti_sysbios_knl_Clock_Object__heap ti_sysbios_knl_Clock_Object__heap__C; typedef xdc_SizeT CT__ti_sysbios_knl_Clock_Object__sizeof; extern "C" far const CT__ti_sysbios_knl_Clock_Object__sizeof ti_sysbios_knl_Clock_Object__sizeof__C; typedef xdc_Ptr CT__ti_sysbios_knl_Clock_Object__table; extern "C" far const CT__ti_sysbios_knl_Clock_Object__table ti_sysbios_knl_Clock_Object__table__C; typedef xdc_runtime_Log_Event CT__ti_sysbios_knl_Clock_LW_delayed; extern "C" far const CT__ti_sysbios_knl_Clock_LW_delayed ti_sysbios_knl_Clock_LW_delayed__C; typedef xdc_runtime_Log_Event CT__ti_sysbios_knl_Clock_LM_tick; extern "C" far const CT__ti_sysbios_knl_Clock_LM_tick ti_sysbios_knl_Clock_LM_tick__C; typedef xdc_runtime_Log_Event CT__ti_sysbios_knl_Clock_LM_begin; extern "C" far const CT__ti_sysbios_knl_Clock_LM_begin ti_sysbios_knl_Clock_LM_begin__C; typedef xdc_runtime_Assert_Id CT__ti_sysbios_knl_Clock_A_clockDisabled; extern "C" far const CT__ti_sysbios_knl_Clock_A_clockDisabled ti_sysbios_knl_Clock_A_clockDisabled__C; typedef xdc_runtime_Assert_Id CT__ti_sysbios_knl_Clock_A_badThreadType; extern "C" far const CT__ti_sysbios_knl_Clock_A_badThreadType ti_sysbios_knl_Clock_A_badThreadType__C; typedef ti_sysbios_knl_Clock_TickSource CT__ti_sysbios_knl_Clock_tickSource; extern "C" far const CT__ti_sysbios_knl_Clock_tickSource ti_sysbios_knl_Clock_tickSource__C; typedef ti_sysbios_knl_Clock_TickMode CT__ti_sysbios_knl_Clock_tickMode; extern "C" far const CT__ti_sysbios_knl_Clock_tickMode ti_sysbios_knl_Clock_tickMode__C; typedef xdc_UInt CT__ti_sysbios_knl_Clock_timerId; extern "C" far const CT__ti_sysbios_knl_Clock_timerId ti_sysbios_knl_Clock_timerId__C; typedef xdc_UInt32 CT__ti_sysbios_knl_Clock_tickPeriod; extern "C" far const CT__ti_sysbios_knl_Clock_tickPeriod ti_sysbios_knl_Clock_tickPeriod__C; struct ti_sysbios_knl_Clock_Params { size_t __size; const void* __self; void* __fxns; xdc_runtime_IInstance_Params* instance; xdc_Bool startFlag; xdc_UInt period; xdc_UArg arg; xdc_runtime_IInstance_Params __iprms; }; struct ti_sysbios_knl_Clock_Struct { ti_sysbios_knl_Queue_Elem __f0; xdc_UInt32 __f1; xdc_UInt32 __f2; xdc_UInt32 __f3; volatile xdc_Bool __f4; ti_sysbios_knl_Clock_FuncPtr __f5; xdc_UArg __f6; xdc_runtime_Types_CordAddr __name; }; extern "C" xdc_Int ti_sysbios_knl_Clock_Module_startup__E( xdc_Int state ); extern "C" xdc_Int ti_sysbios_knl_Clock_Module_startup__F( xdc_Int state ); extern "C" xdc_Int ti_sysbios_knl_Clock_Module_startup__R( xdc_Int state ); extern "C" void ti_sysbios_knl_Clock_Instance_init__F( ti_sysbios_knl_Clock_Object*, ti_sysbios_knl_Clock_FuncPtr clockFxn, xdc_UInt timeout, const ti_sysbios_knl_Clock_Params* ); extern "C" void ti_sysbios_knl_Clock_Instance_finalize__F( ti_sysbios_knl_Clock_Object* ); extern "C" void ti_sysbios_knl_Clock_Instance_init__R( ti_sysbios_knl_Clock_Object*, ti_sysbios_knl_Clock_FuncPtr clockFxn, xdc_UInt timeout, const ti_sysbios_knl_Clock_Params* ); extern "C" void ti_sysbios_knl_Clock_Instance_finalize__R( ti_sysbios_knl_Clock_Object* ); extern "C" xdc_runtime_Types_Label* ti_sysbios_knl_Clock_Handle__label__S( xdc_Ptr obj, xdc_runtime_Types_Label* lab ); extern "C" xdc_Bool ti_sysbios_knl_Clock_Module__startupDone__S( void ); extern "C" xdc_Ptr ti_sysbios_knl_Clock_Object__create__S( xdc_Ptr __oa, xdc_SizeT __osz, xdc_Ptr __aa, const xdc_UChar* __pa, xdc_SizeT __psz, xdc_runtime_Error_Block* __eb ); extern "C" void ti_sysbios_knl_Clock_Object__delete__S( xdc_Ptr instp ); extern "C" void ti_sysbios_knl_Clock_Object__destruct__S( xdc_Ptr objp ); extern "C" xdc_Ptr ti_sysbios_knl_Clock_Object__get__S( xdc_Ptr oarr, xdc_Int i ); extern "C" xdc_Ptr ti_sysbios_knl_Clock_Object__first__S( void ); extern "C" xdc_Ptr ti_sysbios_knl_Clock_Object__next__S( xdc_Ptr obj ); extern "C" void ti_sysbios_knl_Clock_Params__init__S( xdc_Ptr dst, xdc_Ptr src, xdc_SizeT psz, xdc_SizeT isz ); extern "C" xdc_UInt32 ti_sysbios_knl_Clock_getTicks__E( void ); extern "C" xdc_UInt32 ti_sysbios_knl_Clock_getTicks__F( void ); extern "C" xdc_UInt32 ti_sysbios_knl_Clock_getTicks__R( void ); extern "C" ti_sysbios_hal_Timer_Handle ti_sysbios_knl_Clock_getTimerHandle__E( void ); extern "C" ti_sysbios_hal_Timer_Handle ti_sysbios_knl_Clock_getTimerHandle__F( void ); extern "C" ti_sysbios_hal_Timer_Handle ti_sysbios_knl_Clock_getTimerHandle__R( void ); extern "C" void ti_sysbios_knl_Clock_tickStop__E( void ); extern "C" void ti_sysbios_knl_Clock_tickStop__F( void ); extern "C" void ti_sysbios_knl_Clock_tickStop__R( void ); extern "C" xdc_Bool ti_sysbios_knl_Clock_tickReconfig__E( void ); extern "C" xdc_Bool ti_sysbios_knl_Clock_tickReconfig__F( void ); extern "C" xdc_Bool ti_sysbios_knl_Clock_tickReconfig__R( void ); extern "C" void ti_sysbios_knl_Clock_tickStart__E( void ); extern "C" void ti_sysbios_knl_Clock_tickStart__F( void ); extern "C" void ti_sysbios_knl_Clock_tickStart__R( void ); extern "C" void ti_sysbios_knl_Clock_tick__E( void ); extern "C" void ti_sysbios_knl_Clock_tick__F( void ); extern "C" void ti_sysbios_knl_Clock_tick__R( void ); extern "C" void ti_sysbios_knl_Clock_workFunc__E( xdc_UArg arg0, xdc_UArg arg1 ); extern "C" void ti_sysbios_knl_Clock_workFunc__F( xdc_UArg arg0, xdc_UArg arg1 ); extern "C" void ti_sysbios_knl_Clock_workFunc__R( xdc_UArg arg0, xdc_UArg arg1 ); extern "C" void ti_sysbios_knl_Clock_workFuncDynamic__E( xdc_UArg arg0, xdc_UArg arg1 ); extern "C" void ti_sysbios_knl_Clock_workFuncDynamic__F( xdc_UArg arg0, xdc_UArg arg1 ); extern "C" void ti_sysbios_knl_Clock_workFuncDynamic__R( xdc_UArg arg0, xdc_UArg arg1 ); extern "C" void ti_sysbios_knl_Clock_logTick__E( void ); extern "C" void ti_sysbios_knl_Clock_logTick__F( void ); extern "C" void ti_sysbios_knl_Clock_logTick__R( void ); extern "C" xdc_UInt32 ti_sysbios_knl_Clock_getCompletedTicks__E( void ); extern "C" xdc_UInt32 ti_sysbios_knl_Clock_getCompletedTicks__F( void ); extern "C" xdc_UInt32 ti_sysbios_knl_Clock_getCompletedTicks__R( void ); extern "C" xdc_UInt32 ti_sysbios_knl_Clock_getTickPeriod__E( void ); extern "C" xdc_UInt32 ti_sysbios_knl_Clock_getTickPeriod__F( void ); extern "C" xdc_UInt32 ti_sysbios_knl_Clock_getTickPeriod__R( void ); extern "C" void ti_sysbios_knl_Clock_setupTimerToSkipTicks__E( xdc_UInt skips ); extern "C" void ti_sysbios_knl_Clock_setupTimerToSkipTicks__F( xdc_UInt skips ); extern "C" void ti_sysbios_knl_Clock_setupTimerToSkipTicks__R( xdc_UInt skips ); extern "C" void ti_sysbios_knl_Clock_start__E( ti_sysbios_knl_Clock_Handle __inst ); extern "C" void ti_sysbios_knl_Clock_start__F( ti_sysbios_knl_Clock_Object* __inst ); extern "C" void ti_sysbios_knl_Clock_start__R( ti_sysbios_knl_Clock_Handle __inst ); extern "C" void ti_sysbios_knl_Clock_startI__E( ti_sysbios_knl_Clock_Handle __inst ); extern "C" void ti_sysbios_knl_Clock_startI__F( ti_sysbios_knl_Clock_Object* __inst ); extern "C" void ti_sysbios_knl_Clock_startI__R( ti_sysbios_knl_Clock_Handle __inst ); extern "C" void ti_sysbios_knl_Clock_stop__E( ti_sysbios_knl_Clock_Handle __inst ); extern "C" void ti_sysbios_knl_Clock_stop__F( ti_sysbios_knl_Clock_Object* __inst ); extern "C" void ti_sysbios_knl_Clock_stop__R( ti_sysbios_knl_Clock_Handle __inst ); extern "C" void ti_sysbios_knl_Clock_setPeriod__E( ti_sysbios_knl_Clock_Handle __inst, xdc_UInt period ); extern "C" void ti_sysbios_knl_Clock_setPeriod__F( ti_sysbios_knl_Clock_Object* __inst, xdc_UInt period ); extern "C" void ti_sysbios_knl_Clock_setPeriod__R( ti_sysbios_knl_Clock_Handle __inst, xdc_UInt period ); extern "C" void ti_sysbios_knl_Clock_setTimeout__E( ti_sysbios_knl_Clock_Handle __inst, xdc_UInt timeout ); extern "C" void ti_sysbios_knl_Clock_setTimeout__F( ti_sysbios_knl_Clock_Object* __inst, xdc_UInt timeout ); extern "C" void ti_sysbios_knl_Clock_setTimeout__R( ti_sysbios_knl_Clock_Handle __inst, xdc_UInt timeout ); extern "C" void ti_sysbios_knl_Clock_setFunc__E( ti_sysbios_knl_Clock_Handle __inst, ti_sysbios_knl_Clock_FuncPtr fxn, xdc_UArg arg ); extern "C" void ti_sysbios_knl_Clock_setFunc__F( ti_sysbios_knl_Clock_Object* __inst, ti_sysbios_knl_Clock_FuncPtr fxn, xdc_UArg arg ); extern "C" void ti_sysbios_knl_Clock_setFunc__R( ti_sysbios_knl_Clock_Handle __inst, ti_sysbios_knl_Clock_FuncPtr fxn, xdc_UArg arg ); extern "C" xdc_UInt ti_sysbios_knl_Clock_getPeriod__E( ti_sysbios_knl_Clock_Handle __inst ); extern "C" xdc_UInt ti_sysbios_knl_Clock_getPeriod__F( ti_sysbios_knl_Clock_Object* __inst ); extern "C" xdc_UInt ti_sysbios_knl_Clock_getPeriod__R( ti_sysbios_knl_Clock_Handle __inst ); extern "C" xdc_UInt ti_sysbios_knl_Clock_getTimeout__E( ti_sysbios_knl_Clock_Handle __inst ); extern "C" xdc_UInt ti_sysbios_knl_Clock_getTimeout__F( ti_sysbios_knl_Clock_Object* __inst ); extern "C" xdc_UInt ti_sysbios_knl_Clock_getTimeout__R( ti_sysbios_knl_Clock_Handle __inst ); extern "C" void ti_sysbios_knl_Clock_doTick__I( xdc_UArg arg ); typedef void (*ti_sysbios_knl_Clock_start_FxnT)(void*); static inline ti_sysbios_knl_Clock_start_FxnT ti_sysbios_knl_Clock_start_fxnP( void ) { return (ti_sysbios_knl_Clock_start_FxnT)ti_sysbios_knl_Clock_start__E; } typedef void (*ti_sysbios_knl_Clock_startI_FxnT)(void*); static inline ti_sysbios_knl_Clock_startI_FxnT ti_sysbios_knl_Clock_startI_fxnP( void ) { return (ti_sysbios_knl_Clock_startI_FxnT)ti_sysbios_knl_Clock_startI__E; } typedef void (*ti_sysbios_knl_Clock_stop_FxnT)(void*); static inline ti_sysbios_knl_Clock_stop_FxnT ti_sysbios_knl_Clock_stop_fxnP( void ) { return (ti_sysbios_knl_Clock_stop_FxnT)ti_sysbios_knl_Clock_stop__E; } typedef void (*ti_sysbios_knl_Clock_setPeriod_FxnT)(void*, xdc_UInt); static inline ti_sysbios_knl_Clock_setPeriod_FxnT ti_sysbios_knl_Clock_setPeriod_fxnP( void ) { return (ti_sysbios_knl_Clock_setPeriod_FxnT)ti_sysbios_knl_Clock_setPeriod__E; } typedef void (*ti_sysbios_knl_Clock_setTimeout_FxnT)(void*, xdc_UInt); static inline ti_sysbios_knl_Clock_setTimeout_FxnT ti_sysbios_knl_Clock_setTimeout_fxnP( void ) { return (ti_sysbios_knl_Clock_setTimeout_FxnT)ti_sysbios_knl_Clock_setTimeout__E; } typedef void (*ti_sysbios_knl_Clock_setFunc_FxnT)(void*, ti_sysbios_knl_Clock_FuncPtr, xdc_UArg); static inline ti_sysbios_knl_Clock_setFunc_FxnT ti_sysbios_knl_Clock_setFunc_fxnP( void ) { return (ti_sysbios_knl_Clock_setFunc_FxnT)ti_sysbios_knl_Clock_setFunc__E; } typedef xdc_UInt (*ti_sysbios_knl_Clock_getPeriod_FxnT)(void*); static inline ti_sysbios_knl_Clock_getPeriod_FxnT ti_sysbios_knl_Clock_getPeriod_fxnP( void ) { return (ti_sysbios_knl_Clock_getPeriod_FxnT)ti_sysbios_knl_Clock_getPeriod__E; } typedef xdc_UInt (*ti_sysbios_knl_Clock_getTimeout_FxnT)(void*); static inline ti_sysbios_knl_Clock_getTimeout_FxnT ti_sysbios_knl_Clock_getTimeout_fxnP( void ) { return (ti_sysbios_knl_Clock_getTimeout_FxnT)ti_sysbios_knl_Clock_getTimeout__E; } static inline CT__ti_sysbios_knl_Clock_Module__id ti_sysbios_knl_Clock_Module_id( void ) { return ti_sysbios_knl_Clock_Module__id__C; } static inline xdc_Bool ti_sysbios_knl_Clock_Module_hasMask( void ) { return ti_sysbios_knl_Clock_Module__diagsMask__C != 0; } static inline xdc_Bits16 ti_sysbios_knl_Clock_Module_getMask( void ) { return ti_sysbios_knl_Clock_Module__diagsMask__C != 0 ? *ti_sysbios_knl_Clock_Module__diagsMask__C : 0; } static inline void ti_sysbios_knl_Clock_Module_setMask( xdc_Bits16 mask ) { if (ti_sysbios_knl_Clock_Module__diagsMask__C != 0) *ti_sysbios_knl_Clock_Module__diagsMask__C = mask; } static inline void ti_sysbios_knl_Clock_Params_init( ti_sysbios_knl_Clock_Params* prms ) { if (prms) { ti_sysbios_knl_Clock_Params__init__S(prms, 0, sizeof(ti_sysbios_knl_Clock_Params), sizeof(xdc_runtime_IInstance_Params)); } } static inline void ti_sysbios_knl_Clock_Params_copy( ti_sysbios_knl_Clock_Params* dst, const ti_sysbios_knl_Clock_Params* src ) { if (dst) { ti_sysbios_knl_Clock_Params__init__S(dst, (xdc_Ptr)src, sizeof(ti_sysbios_knl_Clock_Params), sizeof(xdc_runtime_IInstance_Params)); } } static inline ti_sysbios_knl_Clock_Handle ti_sysbios_knl_Clock_Object_get( ti_sysbios_knl_Clock_Instance_State* oarr, int i ) { return (ti_sysbios_knl_Clock_Handle)ti_sysbios_knl_Clock_Object__get__S(oarr, i); } static inline ti_sysbios_knl_Clock_Handle ti_sysbios_knl_Clock_Object_first( void ) { return (ti_sysbios_knl_Clock_Handle)ti_sysbios_knl_Clock_Object__first__S(); } static inline ti_sysbios_knl_Clock_Handle ti_sysbios_knl_Clock_Object_next( ti_sysbios_knl_Clock_Object* obj ) { return (ti_sysbios_knl_Clock_Handle)ti_sysbios_knl_Clock_Object__next__S(obj); } static inline xdc_runtime_Types_Label* ti_sysbios_knl_Clock_Handle_label( ti_sysbios_knl_Clock_Handle inst, xdc_runtime_Types_Label* lab ) { return ti_sysbios_knl_Clock_Handle__label__S(inst, lab); } static inline String ti_sysbios_knl_Clock_Handle_name( ti_sysbios_knl_Clock_Handle inst ) { xdc_runtime_Types_Label lab; return ti_sysbios_knl_Clock_Handle__label__S(inst, &lab)->iname; } static inline ti_sysbios_knl_Clock_Handle ti_sysbios_knl_Clock_create( ti_sysbios_knl_Clock_FuncPtr clockFxn, xdc_UInt timeout, const ti_sysbios_knl_Clock_Params* __prms, xdc_runtime_Error_Block* __eb ) { ti_sysbios_knl_Clock_Args__create __args; __args.clockFxn = clockFxn; __args.timeout = timeout; return (ti_sysbios_knl_Clock_Handle)ti_sysbios_knl_Clock_Object__create__S(0, 0, &__args, (const xdc_UChar*)__prms, sizeof(ti_sysbios_knl_Clock_Params), __eb); } static inline void ti_sysbios_knl_Clock_construct( ti_sysbios_knl_Clock_Struct* __obj, ti_sysbios_knl_Clock_FuncPtr clockFxn, xdc_UInt timeout, const ti_sysbios_knl_Clock_Params* __prms ) { ti_sysbios_knl_Clock_Args__create __args; __args.clockFxn = clockFxn; __args.timeout = timeout; ti_sysbios_knl_Clock_Object__create__S(__obj, sizeof (ti_sysbios_knl_Clock_Struct), &__args, (const xdc_UChar*)__prms, sizeof(ti_sysbios_knl_Clock_Params), 0); } static inline void ti_sysbios_knl_Clock_delete( ti_sysbios_knl_Clock_Handle* instp ) { ti_sysbios_knl_Clock_Object__delete__S(instp); } static inline void ti_sysbios_knl_Clock_destruct( ti_sysbios_knl_Clock_Struct* obj ) { ti_sysbios_knl_Clock_Object__destruct__S(obj); } static inline ti_sysbios_knl_Clock_Handle ti_sysbios_knl_Clock_handle( ti_sysbios_knl_Clock_Struct* str ) { return (ti_sysbios_knl_Clock_Handle)str; } static inline ti_sysbios_knl_Clock_Struct* ti_sysbios_knl_Clock_struct( ti_sysbios_knl_Clock_Handle inst ) { return (ti_sysbios_knl_Clock_Struct*)inst; } typedef void (*ti_sysbios_interfaces_ITaskSupport_FuncPtr)(void); struct ti_sysbios_interfaces_ITaskSupport_Fxns__ { xdc_runtime_Types_Base* __base; const xdc_runtime_Types_SysFxns2* __sysp; xdc_Ptr (*start)(xdc_Ptr, ti_sysbios_interfaces_ITaskSupport_FuncPtr, ti_sysbios_interfaces_ITaskSupport_FuncPtr, xdc_runtime_Error_Block*); void (*swap)(xdc_Ptr*, xdc_Ptr*); xdc_Bool (*checkStack)(xdc_Char*, xdc_SizeT); xdc_SizeT (*stackUsed)(xdc_Char*, xdc_SizeT); xdc_UInt (*getStackAlignment)(void); xdc_SizeT (*getDefaultStackSize)(void); xdc_runtime_Types_SysFxns2 __sfxns; }; extern "C" const xdc_runtime_Types_Base ti_sysbios_interfaces_ITaskSupport_Interface__BASE__C; static inline xdc_runtime_Types_ModuleId ti_sysbios_interfaces_ITaskSupport_Module_id( ti_sysbios_interfaces_ITaskSupport_Module mod ) { return mod->__sysp->__mid; } static inline xdc_Ptr ti_sysbios_interfaces_ITaskSupport_start( ti_sysbios_interfaces_ITaskSupport_Module __inst, xdc_Ptr curTask, ti_sysbios_interfaces_ITaskSupport_FuncPtr enter, ti_sysbios_interfaces_ITaskSupport_FuncPtr exit, xdc_runtime_Error_Block* eb ) { return __inst->start(curTask, enter, exit, eb); } static inline void ti_sysbios_interfaces_ITaskSupport_swap( ti_sysbios_interfaces_ITaskSupport_Module __inst, xdc_Ptr* oldtskContext, xdc_Ptr* newtskContext ) { __inst->swap(oldtskContext, newtskContext); } static inline xdc_Bool ti_sysbios_interfaces_ITaskSupport_checkStack( ti_sysbios_interfaces_ITaskSupport_Module __inst, xdc_Char* stack, xdc_SizeT size ) { return __inst->checkStack(stack, size); } static inline xdc_SizeT ti_sysbios_interfaces_ITaskSupport_stackUsed( ti_sysbios_interfaces_ITaskSupport_Module __inst, xdc_Char* stack, xdc_SizeT size ) { return __inst->stackUsed(stack, size); } static inline xdc_UInt ti_sysbios_interfaces_ITaskSupport_getStackAlignment( ti_sysbios_interfaces_ITaskSupport_Module __inst ) { return __inst->getStackAlignment(); } static inline xdc_SizeT ti_sysbios_interfaces_ITaskSupport_getDefaultStackSize( ti_sysbios_interfaces_ITaskSupport_Module __inst ) { return __inst->getDefaultStackSize(); } typedef xdc_Ptr (*ti_sysbios_interfaces_ITaskSupport_start_FxnT)(xdc_Ptr, ti_sysbios_interfaces_ITaskSupport_FuncPtr, ti_sysbios_interfaces_ITaskSupport_FuncPtr, xdc_runtime_Error_Block*); static inline ti_sysbios_interfaces_ITaskSupport_start_FxnT ti_sysbios_interfaces_ITaskSupport_start_fxnP( ti_sysbios_interfaces_ITaskSupport_Module __inst ) { return (ti_sysbios_interfaces_ITaskSupport_start_FxnT)__inst->start; } typedef void (*ti_sysbios_interfaces_ITaskSupport_swap_FxnT)(xdc_Ptr*, xdc_Ptr*); static inline ti_sysbios_interfaces_ITaskSupport_swap_FxnT ti_sysbios_interfaces_ITaskSupport_swap_fxnP( ti_sysbios_interfaces_ITaskSupport_Module __inst ) { return (ti_sysbios_interfaces_ITaskSupport_swap_FxnT)__inst->swap; } typedef xdc_Bool (*ti_sysbios_interfaces_ITaskSupport_checkStack_FxnT)(xdc_Char*, xdc_SizeT); static inline ti_sysbios_interfaces_ITaskSupport_checkStack_FxnT ti_sysbios_interfaces_ITaskSupport_checkStack_fxnP( ti_sysbios_interfaces_ITaskSupport_Module __inst ) { return (ti_sysbios_interfaces_ITaskSupport_checkStack_FxnT)__inst->checkStack; } typedef xdc_SizeT (*ti_sysbios_interfaces_ITaskSupport_stackUsed_FxnT)(xdc_Char*, xdc_SizeT); static inline ti_sysbios_interfaces_ITaskSupport_stackUsed_FxnT ti_sysbios_interfaces_ITaskSupport_stackUsed_fxnP( ti_sysbios_interfaces_ITaskSupport_Module __inst ) { return (ti_sysbios_interfaces_ITaskSupport_stackUsed_FxnT)__inst->stackUsed; } typedef xdc_UInt (*ti_sysbios_interfaces_ITaskSupport_getStackAlignment_FxnT)(void); static inline ti_sysbios_interfaces_ITaskSupport_getStackAlignment_FxnT ti_sysbios_interfaces_ITaskSupport_getStackAlignment_fxnP( ti_sysbios_interfaces_ITaskSupport_Module __inst ) { return (ti_sysbios_interfaces_ITaskSupport_getStackAlignment_FxnT)__inst->getStackAlignment; } typedef xdc_SizeT (*ti_sysbios_interfaces_ITaskSupport_getDefaultStackSize_FxnT)(void); static inline ti_sysbios_interfaces_ITaskSupport_getDefaultStackSize_FxnT ti_sysbios_interfaces_ITaskSupport_getDefaultStackSize_fxnP( ti_sysbios_interfaces_ITaskSupport_Module __inst ) { return (ti_sysbios_interfaces_ITaskSupport_getDefaultStackSize_FxnT)__inst->getDefaultStackSize; } typedef ti_sysbios_interfaces_ITaskSupport_FuncPtr ti_sysbios_knl_Task_SupportProxy_FuncPtr; typedef xdc_Bits32 CT__ti_sysbios_knl_Task_SupportProxy_Module__diagsEnabled; extern "C" far const CT__ti_sysbios_knl_Task_SupportProxy_Module__diagsEnabled ti_sysbios_knl_Task_SupportProxy_Module__diagsEnabled__C; typedef xdc_Bits32 CT__ti_sysbios_knl_Task_SupportProxy_Module__diagsIncluded; extern "C" far const CT__ti_sysbios_knl_Task_SupportProxy_Module__diagsIncluded ti_sysbios_knl_Task_SupportProxy_Module__diagsIncluded__C; typedef xdc_Bits16* CT__ti_sysbios_knl_Task_SupportProxy_Module__diagsMask; extern "C" far const CT__ti_sysbios_knl_Task_SupportProxy_Module__diagsMask ti_sysbios_knl_Task_SupportProxy_Module__diagsMask__C; typedef xdc_Ptr CT__ti_sysbios_knl_Task_SupportProxy_Module__gateObj; extern "C" far const CT__ti_sysbios_knl_Task_SupportProxy_Module__gateObj ti_sysbios_knl_Task_SupportProxy_Module__gateObj__C; typedef xdc_Ptr CT__ti_sysbios_knl_Task_SupportProxy_Module__gatePrms; extern "C" far const CT__ti_sysbios_knl_Task_SupportProxy_Module__gatePrms ti_sysbios_knl_Task_SupportProxy_Module__gatePrms__C; typedef xdc_runtime_Types_ModuleId CT__ti_sysbios_knl_Task_SupportProxy_Module__id; extern "C" far const CT__ti_sysbios_knl_Task_SupportProxy_Module__id ti_sysbios_knl_Task_SupportProxy_Module__id__C; typedef xdc_Bool CT__ti_sysbios_knl_Task_SupportProxy_Module__loggerDefined; extern "C" far const CT__ti_sysbios_knl_Task_SupportProxy_Module__loggerDefined ti_sysbios_knl_Task_SupportProxy_Module__loggerDefined__C; typedef xdc_Ptr CT__ti_sysbios_knl_Task_SupportProxy_Module__loggerObj; extern "C" far const CT__ti_sysbios_knl_Task_SupportProxy_Module__loggerObj ti_sysbios_knl_Task_SupportProxy_Module__loggerObj__C; typedef xdc_runtime_Types_LoggerFxn0 CT__ti_sysbios_knl_Task_SupportProxy_Module__loggerFxn0; extern "C" far const CT__ti_sysbios_knl_Task_SupportProxy_Module__loggerFxn0 ti_sysbios_knl_Task_SupportProxy_Module__loggerFxn0__C; typedef xdc_runtime_Types_LoggerFxn1 CT__ti_sysbios_knl_Task_SupportProxy_Module__loggerFxn1; extern "C" far const CT__ti_sysbios_knl_Task_SupportProxy_Module__loggerFxn1 ti_sysbios_knl_Task_SupportProxy_Module__loggerFxn1__C; typedef xdc_runtime_Types_LoggerFxn2 CT__ti_sysbios_knl_Task_SupportProxy_Module__loggerFxn2; extern "C" far const CT__ti_sysbios_knl_Task_SupportProxy_Module__loggerFxn2 ti_sysbios_knl_Task_SupportProxy_Module__loggerFxn2__C; typedef xdc_runtime_Types_LoggerFxn4 CT__ti_sysbios_knl_Task_SupportProxy_Module__loggerFxn4; extern "C" far const CT__ti_sysbios_knl_Task_SupportProxy_Module__loggerFxn4 ti_sysbios_knl_Task_SupportProxy_Module__loggerFxn4__C; typedef xdc_runtime_Types_LoggerFxn8 CT__ti_sysbios_knl_Task_SupportProxy_Module__loggerFxn8; extern "C" far const CT__ti_sysbios_knl_Task_SupportProxy_Module__loggerFxn8 ti_sysbios_knl_Task_SupportProxy_Module__loggerFxn8__C; typedef xdc_Bool (*CT__ti_sysbios_knl_Task_SupportProxy_Module__startupDoneFxn)(void); extern "C" far const CT__ti_sysbios_knl_Task_SupportProxy_Module__startupDoneFxn ti_sysbios_knl_Task_SupportProxy_Module__startupDoneFxn__C; typedef xdc_Int CT__ti_sysbios_knl_Task_SupportProxy_Object__count; extern "C" far const CT__ti_sysbios_knl_Task_SupportProxy_Object__count ti_sysbios_knl_Task_SupportProxy_Object__count__C; typedef xdc_runtime_IHeap_Handle CT__ti_sysbios_knl_Task_SupportProxy_Object__heap; extern "C" far const CT__ti_sysbios_knl_Task_SupportProxy_Object__heap ti_sysbios_knl_Task_SupportProxy_Object__heap__C; typedef xdc_SizeT CT__ti_sysbios_knl_Task_SupportProxy_Object__sizeof; extern "C" far const CT__ti_sysbios_knl_Task_SupportProxy_Object__sizeof ti_sysbios_knl_Task_SupportProxy_Object__sizeof__C; typedef xdc_Ptr CT__ti_sysbios_knl_Task_SupportProxy_Object__table; extern "C" far const CT__ti_sysbios_knl_Task_SupportProxy_Object__table ti_sysbios_knl_Task_SupportProxy_Object__table__C; typedef xdc_SizeT CT__ti_sysbios_knl_Task_SupportProxy_defaultStackSize; extern "C" far const CT__ti_sysbios_knl_Task_SupportProxy_defaultStackSize ti_sysbios_knl_Task_SupportProxy_defaultStackSize__C; typedef xdc_UInt CT__ti_sysbios_knl_Task_SupportProxy_stackAlignment; extern "C" far const CT__ti_sysbios_knl_Task_SupportProxy_stackAlignment ti_sysbios_knl_Task_SupportProxy_stackAlignment__C; struct ti_sysbios_knl_Task_SupportProxy_Fxns__ { xdc_runtime_Types_Base* __base; const xdc_runtime_Types_SysFxns2* __sysp; xdc_Ptr (*start)(xdc_Ptr, ti_sysbios_interfaces_ITaskSupport_FuncPtr, ti_sysbios_interfaces_ITaskSupport_FuncPtr, xdc_runtime_Error_Block*); void (*swap)(xdc_Ptr*, xdc_Ptr*); xdc_Bool (*checkStack)(xdc_Char*, xdc_SizeT); xdc_SizeT (*stackUsed)(xdc_Char*, xdc_SizeT); xdc_UInt (*getStackAlignment)(void); xdc_SizeT (*getDefaultStackSize)(void); xdc_runtime_Types_SysFxns2 __sfxns; }; extern "C" const ti_sysbios_knl_Task_SupportProxy_Fxns__ ti_sysbios_knl_Task_SupportProxy_Module__FXNS__C; extern "C" xdc_runtime_Types_Label* ti_sysbios_knl_Task_SupportProxy_Handle__label__S( xdc_Ptr obj, xdc_runtime_Types_Label* lab ); extern "C" xdc_Bool ti_sysbios_knl_Task_SupportProxy_Module__startupDone__S( void ); extern "C" xdc_Ptr ti_sysbios_knl_Task_SupportProxy_Object__create__S( xdc_Ptr __oa, xdc_SizeT __osz, xdc_Ptr __aa, const xdc_UChar* __pa, xdc_SizeT __psz, xdc_runtime_Error_Block* __eb ); extern "C" void ti_sysbios_knl_Task_SupportProxy_Object__delete__S( xdc_Ptr instp ); extern "C" void ti_sysbios_knl_Task_SupportProxy_Object__destruct__S( xdc_Ptr objp ); extern "C" xdc_Ptr ti_sysbios_knl_Task_SupportProxy_Object__get__S( xdc_Ptr oarr, xdc_Int i ); extern "C" xdc_Ptr ti_sysbios_knl_Task_SupportProxy_Object__first__S( void ); extern "C" xdc_Ptr ti_sysbios_knl_Task_SupportProxy_Object__next__S( xdc_Ptr obj ); extern "C" void ti_sysbios_knl_Task_SupportProxy_Params__init__S( xdc_Ptr dst, xdc_Ptr src, xdc_SizeT psz, xdc_SizeT isz ); extern "C" xdc_Bool ti_sysbios_knl_Task_SupportProxy_Proxy__abstract__S( void ); extern "C" xdc_Ptr ti_sysbios_knl_Task_SupportProxy_Proxy__delegate__S( void ); extern "C" xdc_Ptr ti_sysbios_knl_Task_SupportProxy_start__E( xdc_Ptr curTask, ti_sysbios_interfaces_ITaskSupport_FuncPtr enter, ti_sysbios_interfaces_ITaskSupport_FuncPtr exit, xdc_runtime_Error_Block* eb ); extern "C" xdc_Ptr ti_sysbios_knl_Task_SupportProxy_start__R( xdc_Ptr curTask, ti_sysbios_interfaces_ITaskSupport_FuncPtr enter, ti_sysbios_interfaces_ITaskSupport_FuncPtr exit, xdc_runtime_Error_Block* eb ); extern "C" void ti_sysbios_knl_Task_SupportProxy_swap__E( xdc_Ptr* oldtskContext, xdc_Ptr* newtskContext ); extern "C" void ti_sysbios_knl_Task_SupportProxy_swap__R( xdc_Ptr* oldtskContext, xdc_Ptr* newtskContext ); extern "C" xdc_Bool ti_sysbios_knl_Task_SupportProxy_checkStack__E( xdc_Char* stack, xdc_SizeT size ); extern "C" xdc_Bool ti_sysbios_knl_Task_SupportProxy_checkStack__R( xdc_Char* stack, xdc_SizeT size ); extern "C" xdc_SizeT ti_sysbios_knl_Task_SupportProxy_stackUsed__E( xdc_Char* stack, xdc_SizeT size ); extern "C" xdc_SizeT ti_sysbios_knl_Task_SupportProxy_stackUsed__R( xdc_Char* stack, xdc_SizeT size ); extern "C" xdc_UInt ti_sysbios_knl_Task_SupportProxy_getStackAlignment__E( void ); extern "C" xdc_UInt ti_sysbios_knl_Task_SupportProxy_getStackAlignment__R( void ); extern "C" xdc_SizeT ti_sysbios_knl_Task_SupportProxy_getDefaultStackSize__E( void ); extern "C" xdc_SizeT ti_sysbios_knl_Task_SupportProxy_getDefaultStackSize__R( void ); static inline ti_sysbios_interfaces_ITaskSupport_Module ti_sysbios_knl_Task_SupportProxy_Module_upCast( void ) { return (ti_sysbios_interfaces_ITaskSupport_Module)ti_sysbios_knl_Task_SupportProxy_Proxy__delegate__S(); } static inline CT__ti_sysbios_knl_Task_SupportProxy_Module__id ti_sysbios_knl_Task_SupportProxy_Module_id( void ) { return ti_sysbios_knl_Task_SupportProxy_Module__id__C; } typedef void (*ti_sysbios_knl_Task_FuncPtr)(xdc_UArg, xdc_UArg); typedef void (*ti_sysbios_knl_Task_AllBlockedFuncPtr)(void); enum ti_sysbios_knl_Task_Mode { ti_sysbios_knl_Task_Mode_RUNNING, ti_sysbios_knl_Task_Mode_READY, ti_sysbios_knl_Task_Mode_BLOCKED, ti_sysbios_knl_Task_Mode_TERMINATED, ti_sysbios_knl_Task_Mode_INACTIVE }; typedef enum ti_sysbios_knl_Task_Mode ti_sysbios_knl_Task_Mode; struct ti_sysbios_knl_Task_Stat { xdc_Int priority; xdc_Ptr stack; xdc_SizeT stackSize; xdc_runtime_IHeap_Handle stackHeap; xdc_Ptr env; ti_sysbios_knl_Task_Mode mode; xdc_Ptr sp; xdc_SizeT used; }; struct ti_sysbios_knl_Task_HookSet { void (*registerFxn)(xdc_Int); void (*createFxn)(ti_sysbios_knl_Task_Handle, xdc_runtime_Error_Block*); void (*readyFxn)(ti_sysbios_knl_Task_Handle); void (*switchFxn)(ti_sysbios_knl_Task_Handle, ti_sysbios_knl_Task_Handle); void (*exitFxn)(ti_sysbios_knl_Task_Handle); void (*deleteFxn)(ti_sysbios_knl_Task_Handle); }; typedef struct ti_sysbios_knl_Task_Args__create { ti_sysbios_knl_Task_FuncPtr fxn; } ti_sysbios_knl_Task_Args__create; struct ti_sysbios_knl_Task_PendElem { ti_sysbios_knl_Queue_Elem qElem; ti_sysbios_knl_Task_Handle task; ti_sysbios_knl_Clock_Handle clock; }; typedef xdc_Char __T1_ti_sysbios_knl_Task_Instance_State__stack; typedef xdc_Char *__ARRAY1_ti_sysbios_knl_Task_Instance_State__stack; typedef __ARRAY1_ti_sysbios_knl_Task_Instance_State__stack __TA_ti_sysbios_knl_Task_Instance_State__stack; typedef xdc_Ptr __T1_ti_sysbios_knl_Task_Instance_State__hookEnv; typedef xdc_Ptr *__ARRAY1_ti_sysbios_knl_Task_Instance_State__hookEnv; typedef __ARRAY1_ti_sysbios_knl_Task_Instance_State__hookEnv __TA_ti_sysbios_knl_Task_Instance_State__hookEnv; typedef ti_sysbios_knl_Queue_Instance_State __T1_ti_sysbios_knl_Task_Module_State__readyQ; typedef ti_sysbios_knl_Queue_Instance_State *__ARRAY1_ti_sysbios_knl_Task_Module_State__readyQ; typedef __ARRAY1_ti_sysbios_knl_Task_Module_State__readyQ __TA_ti_sysbios_knl_Task_Module_State__readyQ; typedef ti_sysbios_knl_Task_Handle __T1_ti_sysbios_knl_Task_Module_State__constructedTasks; typedef ti_sysbios_knl_Task_Handle *__ARRAY1_ti_sysbios_knl_Task_Module_State__constructedTasks; typedef __ARRAY1_ti_sysbios_knl_Task_Module_State__constructedTasks __TA_ti_sysbios_knl_Task_Module_State__constructedTasks; typedef xdc_Bits32 CT__ti_sysbios_knl_Task_Module__diagsEnabled; extern "C" far const CT__ti_sysbios_knl_Task_Module__diagsEnabled ti_sysbios_knl_Task_Module__diagsEnabled__C; typedef xdc_Bits32 CT__ti_sysbios_knl_Task_Module__diagsIncluded; extern "C" far const CT__ti_sysbios_knl_Task_Module__diagsIncluded ti_sysbios_knl_Task_Module__diagsIncluded__C; typedef xdc_Bits16* CT__ti_sysbios_knl_Task_Module__diagsMask; extern "C" far const CT__ti_sysbios_knl_Task_Module__diagsMask ti_sysbios_knl_Task_Module__diagsMask__C; typedef xdc_Ptr CT__ti_sysbios_knl_Task_Module__gateObj; extern "C" far const CT__ti_sysbios_knl_Task_Module__gateObj ti_sysbios_knl_Task_Module__gateObj__C; typedef xdc_Ptr CT__ti_sysbios_knl_Task_Module__gatePrms; extern "C" far const CT__ti_sysbios_knl_Task_Module__gatePrms ti_sysbios_knl_Task_Module__gatePrms__C; typedef xdc_runtime_Types_ModuleId CT__ti_sysbios_knl_Task_Module__id; extern "C" far const CT__ti_sysbios_knl_Task_Module__id ti_sysbios_knl_Task_Module__id__C; typedef xdc_Bool CT__ti_sysbios_knl_Task_Module__loggerDefined; extern "C" far const CT__ti_sysbios_knl_Task_Module__loggerDefined ti_sysbios_knl_Task_Module__loggerDefined__C; typedef xdc_Ptr CT__ti_sysbios_knl_Task_Module__loggerObj; extern "C" far const CT__ti_sysbios_knl_Task_Module__loggerObj ti_sysbios_knl_Task_Module__loggerObj__C; typedef xdc_runtime_Types_LoggerFxn0 CT__ti_sysbios_knl_Task_Module__loggerFxn0; extern "C" far const CT__ti_sysbios_knl_Task_Module__loggerFxn0 ti_sysbios_knl_Task_Module__loggerFxn0__C; typedef xdc_runtime_Types_LoggerFxn1 CT__ti_sysbios_knl_Task_Module__loggerFxn1; extern "C" far const CT__ti_sysbios_knl_Task_Module__loggerFxn1 ti_sysbios_knl_Task_Module__loggerFxn1__C; typedef xdc_runtime_Types_LoggerFxn2 CT__ti_sysbios_knl_Task_Module__loggerFxn2; extern "C" far const CT__ti_sysbios_knl_Task_Module__loggerFxn2 ti_sysbios_knl_Task_Module__loggerFxn2__C; typedef xdc_runtime_Types_LoggerFxn4 CT__ti_sysbios_knl_Task_Module__loggerFxn4; extern "C" far const CT__ti_sysbios_knl_Task_Module__loggerFxn4 ti_sysbios_knl_Task_Module__loggerFxn4__C; typedef xdc_runtime_Types_LoggerFxn8 CT__ti_sysbios_knl_Task_Module__loggerFxn8; extern "C" far const CT__ti_sysbios_knl_Task_Module__loggerFxn8 ti_sysbios_knl_Task_Module__loggerFxn8__C; typedef xdc_Bool (*CT__ti_sysbios_knl_Task_Module__startupDoneFxn)(void); extern "C" far const CT__ti_sysbios_knl_Task_Module__startupDoneFxn ti_sysbios_knl_Task_Module__startupDoneFxn__C; typedef xdc_Int CT__ti_sysbios_knl_Task_Object__count; extern "C" far const CT__ti_sysbios_knl_Task_Object__count ti_sysbios_knl_Task_Object__count__C; typedef xdc_runtime_IHeap_Handle CT__ti_sysbios_knl_Task_Object__heap; extern "C" far const CT__ti_sysbios_knl_Task_Object__heap ti_sysbios_knl_Task_Object__heap__C; typedef xdc_SizeT CT__ti_sysbios_knl_Task_Object__sizeof; extern "C" far const CT__ti_sysbios_knl_Task_Object__sizeof ti_sysbios_knl_Task_Object__sizeof__C; typedef xdc_Ptr CT__ti_sysbios_knl_Task_Object__table; extern "C" far const CT__ti_sysbios_knl_Task_Object__table ti_sysbios_knl_Task_Object__table__C; typedef xdc_runtime_Log_Event CT__ti_sysbios_knl_Task_LM_switch; extern "C" far const CT__ti_sysbios_knl_Task_LM_switch ti_sysbios_knl_Task_LM_switch__C; typedef xdc_runtime_Log_Event CT__ti_sysbios_knl_Task_LM_sleep; extern "C" far const CT__ti_sysbios_knl_Task_LM_sleep ti_sysbios_knl_Task_LM_sleep__C; typedef xdc_runtime_Log_Event CT__ti_sysbios_knl_Task_LD_ready; extern "C" far const CT__ti_sysbios_knl_Task_LD_ready ti_sysbios_knl_Task_LD_ready__C; typedef xdc_runtime_Log_Event CT__ti_sysbios_knl_Task_LD_block; extern "C" far const CT__ti_sysbios_knl_Task_LD_block ti_sysbios_knl_Task_LD_block__C; typedef xdc_runtime_Log_Event CT__ti_sysbios_knl_Task_LM_yield; extern "C" far const CT__ti_sysbios_knl_Task_LM_yield ti_sysbios_knl_Task_LM_yield__C; typedef xdc_runtime_Log_Event CT__ti_sysbios_knl_Task_LM_setPri; extern "C" far const CT__ti_sysbios_knl_Task_LM_setPri ti_sysbios_knl_Task_LM_setPri__C; typedef xdc_runtime_Log_Event CT__ti_sysbios_knl_Task_LD_exit; extern "C" far const CT__ti_sysbios_knl_Task_LD_exit ti_sysbios_knl_Task_LD_exit__C; typedef xdc_runtime_Error_Id CT__ti_sysbios_knl_Task_E_stackOverflow; extern "C" far const CT__ti_sysbios_knl_Task_E_stackOverflow ti_sysbios_knl_Task_E_stackOverflow__C; typedef xdc_runtime_Error_Id CT__ti_sysbios_knl_Task_E_spOutOfBounds; extern "C" far const CT__ti_sysbios_knl_Task_E_spOutOfBounds ti_sysbios_knl_Task_E_spOutOfBounds__C; typedef xdc_runtime_Assert_Id CT__ti_sysbios_knl_Task_A_badThreadType; extern "C" far const CT__ti_sysbios_knl_Task_A_badThreadType ti_sysbios_knl_Task_A_badThreadType__C; typedef xdc_runtime_Assert_Id CT__ti_sysbios_knl_Task_A_badTaskState; extern "C" far const CT__ti_sysbios_knl_Task_A_badTaskState ti_sysbios_knl_Task_A_badTaskState__C; typedef xdc_runtime_Assert_Id CT__ti_sysbios_knl_Task_A_noPendElem; extern "C" far const CT__ti_sysbios_knl_Task_A_noPendElem ti_sysbios_knl_Task_A_noPendElem__C; typedef xdc_runtime_Assert_Id CT__ti_sysbios_knl_Task_A_taskDisabled; extern "C" far const CT__ti_sysbios_knl_Task_A_taskDisabled ti_sysbios_knl_Task_A_taskDisabled__C; typedef xdc_runtime_Assert_Id CT__ti_sysbios_knl_Task_A_badPriority; extern "C" far const CT__ti_sysbios_knl_Task_A_badPriority ti_sysbios_knl_Task_A_badPriority__C; typedef xdc_runtime_Assert_Id CT__ti_sysbios_knl_Task_A_badTimeout; extern "C" far const CT__ti_sysbios_knl_Task_A_badTimeout ti_sysbios_knl_Task_A_badTimeout__C; typedef xdc_UInt CT__ti_sysbios_knl_Task_numPriorities; extern "C" far const CT__ti_sysbios_knl_Task_numPriorities ti_sysbios_knl_Task_numPriorities__C; typedef xdc_SizeT CT__ti_sysbios_knl_Task_defaultStackSize; extern "C" far const CT__ti_sysbios_knl_Task_defaultStackSize ti_sysbios_knl_Task_defaultStackSize__C; typedef xdc_runtime_IHeap_Handle CT__ti_sysbios_knl_Task_defaultStackHeap; extern "C" far const CT__ti_sysbios_knl_Task_defaultStackHeap ti_sysbios_knl_Task_defaultStackHeap__C; typedef ti_sysbios_knl_Task_AllBlockedFuncPtr CT__ti_sysbios_knl_Task_allBlockedFunc; extern "C" far const CT__ti_sysbios_knl_Task_allBlockedFunc ti_sysbios_knl_Task_allBlockedFunc__C; typedef xdc_Bool CT__ti_sysbios_knl_Task_initStackFlag; extern "C" far const CT__ti_sysbios_knl_Task_initStackFlag ti_sysbios_knl_Task_initStackFlag__C; typedef xdc_Bool CT__ti_sysbios_knl_Task_deleteTerminatedTasks; extern "C" far const CT__ti_sysbios_knl_Task_deleteTerminatedTasks ti_sysbios_knl_Task_deleteTerminatedTasks__C; typedef ti_sysbios_knl_Task_HookSet __T1_ti_sysbios_knl_Task_hooks; typedef struct { int length; ti_sysbios_knl_Task_HookSet *elem; } __ARRAY1_ti_sysbios_knl_Task_hooks; typedef __ARRAY1_ti_sysbios_knl_Task_hooks __TA_ti_sysbios_knl_Task_hooks; typedef __TA_ti_sysbios_knl_Task_hooks CT__ti_sysbios_knl_Task_hooks; extern "C" far const CT__ti_sysbios_knl_Task_hooks ti_sysbios_knl_Task_hooks__C; typedef xdc_UInt CT__ti_sysbios_knl_Task_numConstructedTasks; extern "C" far const CT__ti_sysbios_knl_Task_numConstructedTasks ti_sysbios_knl_Task_numConstructedTasks__C; struct ti_sysbios_knl_Task_Params { size_t __size; const void* __self; void* __fxns; xdc_runtime_IInstance_Params* instance; xdc_UArg arg0; xdc_UArg arg1; xdc_Int priority; xdc_Ptr stack; xdc_SizeT stackSize; xdc_runtime_IHeap_Handle stackHeap; xdc_Ptr env; xdc_Bool vitalTaskFlag; xdc_runtime_IInstance_Params __iprms; }; struct ti_sysbios_knl_Task_Struct { ti_sysbios_knl_Queue_Elem __f0; volatile xdc_Int __f1; xdc_UInt __f2; xdc_Ptr __f3; ti_sysbios_knl_Task_Mode __f4; ti_sysbios_knl_Task_PendElem* __f5; xdc_SizeT __f6; __TA_ti_sysbios_knl_Task_Instance_State__stack __f7; xdc_runtime_IHeap_Handle __f8; ti_sysbios_knl_Task_FuncPtr __f9; xdc_UArg __f10; xdc_UArg __f11; xdc_Ptr __f12; __TA_ti_sysbios_knl_Task_Instance_State__hookEnv __f13; xdc_Bool __f14; ti_sysbios_knl_Queue_Handle __f15; xdc_runtime_Types_CordAddr __name; }; extern "C" xdc_Int ti_sysbios_knl_Task_Module_startup__E( xdc_Int state ); extern "C" xdc_Int ti_sysbios_knl_Task_Module_startup__F( xdc_Int state ); extern "C" xdc_Int ti_sysbios_knl_Task_Module_startup__R( xdc_Int state ); extern "C" int ti_sysbios_knl_Task_Instance_init__F( ti_sysbios_knl_Task_Object*, ti_sysbios_knl_Task_FuncPtr fxn, const ti_sysbios_knl_Task_Params*, xdc_runtime_Error_Block* ); extern "C" void ti_sysbios_knl_Task_Instance_finalize__F( ti_sysbios_knl_Task_Object* , int ); extern "C" int ti_sysbios_knl_Task_Instance_init__R( ti_sysbios_knl_Task_Object*, ti_sysbios_knl_Task_FuncPtr fxn, const ti_sysbios_knl_Task_Params*, xdc_runtime_Error_Block* ); extern "C" void ti_sysbios_knl_Task_Instance_finalize__R( ti_sysbios_knl_Task_Object* , int ); extern "C" xdc_runtime_Types_Label* ti_sysbios_knl_Task_Handle__label__S( xdc_Ptr obj, xdc_runtime_Types_Label* lab ); extern "C" xdc_Bool ti_sysbios_knl_Task_Module__startupDone__S( void ); extern "C" xdc_Ptr ti_sysbios_knl_Task_Object__create__S( xdc_Ptr __oa, xdc_SizeT __osz, xdc_Ptr __aa, const xdc_UChar* __pa, xdc_SizeT __psz, xdc_runtime_Error_Block* __eb ); extern "C" void ti_sysbios_knl_Task_Object__delete__S( xdc_Ptr instp ); extern "C" void ti_sysbios_knl_Task_Object__destruct__S( xdc_Ptr objp ); extern "C" xdc_Ptr ti_sysbios_knl_Task_Object__get__S( xdc_Ptr oarr, xdc_Int i ); extern "C" xdc_Ptr ti_sysbios_knl_Task_Object__first__S( void ); extern "C" xdc_Ptr ti_sysbios_knl_Task_Object__next__S( xdc_Ptr obj ); extern "C" void ti_sysbios_knl_Task_Params__init__S( xdc_Ptr dst, xdc_Ptr src, xdc_SizeT psz, xdc_SizeT isz ); extern "C" void ti_sysbios_knl_Task_startup__E( void ); extern "C" void ti_sysbios_knl_Task_startup__F( void ); extern "C" void ti_sysbios_knl_Task_startup__R( void ); extern "C" xdc_UInt ti_sysbios_knl_Task_disable__E( void ); extern "C" xdc_UInt ti_sysbios_knl_Task_disable__F( void ); extern "C" xdc_UInt ti_sysbios_knl_Task_disable__R( void ); extern "C" void ti_sysbios_knl_Task_enable__E( void ); extern "C" void ti_sysbios_knl_Task_enable__F( void ); extern "C" void ti_sysbios_knl_Task_enable__R( void ); extern "C" void ti_sysbios_knl_Task_restore__E( xdc_UInt key ); extern "C" void ti_sysbios_knl_Task_restore__F( xdc_UInt key ); extern "C" void ti_sysbios_knl_Task_restore__R( xdc_UInt key ); extern "C" void ti_sysbios_knl_Task_restoreHwi__E( xdc_UInt key ); extern "C" void ti_sysbios_knl_Task_restoreHwi__F( xdc_UInt key ); extern "C" void ti_sysbios_knl_Task_restoreHwi__R( xdc_UInt key ); extern "C" ti_sysbios_knl_Task_Handle ti_sysbios_knl_Task_self__E( void ); extern "C" ti_sysbios_knl_Task_Handle ti_sysbios_knl_Task_self__F( void ); extern "C" ti_sysbios_knl_Task_Handle ti_sysbios_knl_Task_self__R( void ); extern "C" void ti_sysbios_knl_Task_checkStacks__E( ti_sysbios_knl_Task_Handle oldTask, ti_sysbios_knl_Task_Handle newTask ); extern "C" void ti_sysbios_knl_Task_checkStacks__F( ti_sysbios_knl_Task_Handle oldTask, ti_sysbios_knl_Task_Handle newTask ); extern "C" void ti_sysbios_knl_Task_checkStacks__R( ti_sysbios_knl_Task_Handle oldTask, ti_sysbios_knl_Task_Handle newTask ); extern "C" void ti_sysbios_knl_Task_exit__E( void ); extern "C" void ti_sysbios_knl_Task_exit__F( void ); extern "C" void ti_sysbios_knl_Task_exit__R( void ); extern "C" void ti_sysbios_knl_Task_sleep__E( xdc_UInt nticks ); extern "C" void ti_sysbios_knl_Task_sleep__F( xdc_UInt nticks ); extern "C" void ti_sysbios_knl_Task_sleep__R( xdc_UInt nticks ); extern "C" void ti_sysbios_knl_Task_yield__E( void ); extern "C" void ti_sysbios_knl_Task_yield__F( void ); extern "C" void ti_sysbios_knl_Task_yield__R( void ); extern "C" ti_sysbios_knl_Task_Handle ti_sysbios_knl_Task_getIdleTask__E( void ); extern "C" ti_sysbios_knl_Task_Handle ti_sysbios_knl_Task_getIdleTask__F( void ); extern "C" ti_sysbios_knl_Task_Handle ti_sysbios_knl_Task_getIdleTask__R( void ); extern "C" xdc_UArg ti_sysbios_knl_Task_getArg0__E( ti_sysbios_knl_Task_Handle __inst ); extern "C" xdc_UArg ti_sysbios_knl_Task_getArg0__F( ti_sysbios_knl_Task_Object* __inst ); extern "C" xdc_UArg ti_sysbios_knl_Task_getArg0__R( ti_sysbios_knl_Task_Handle __inst ); extern "C" xdc_UArg ti_sysbios_knl_Task_getArg1__E( ti_sysbios_knl_Task_Handle __inst ); extern "C" xdc_UArg ti_sysbios_knl_Task_getArg1__F( ti_sysbios_knl_Task_Object* __inst ); extern "C" xdc_UArg ti_sysbios_knl_Task_getArg1__R( ti_sysbios_knl_Task_Handle __inst ); extern "C" xdc_Ptr ti_sysbios_knl_Task_getEnv__E( ti_sysbios_knl_Task_Handle __inst ); extern "C" xdc_Ptr ti_sysbios_knl_Task_getEnv__F( ti_sysbios_knl_Task_Object* __inst ); extern "C" xdc_Ptr ti_sysbios_knl_Task_getEnv__R( ti_sysbios_knl_Task_Handle __inst ); extern "C" xdc_Ptr ti_sysbios_knl_Task_getHookContext__E( ti_sysbios_knl_Task_Handle __inst, xdc_Int id ); extern "C" xdc_Ptr ti_sysbios_knl_Task_getHookContext__F( ti_sysbios_knl_Task_Object* __inst, xdc_Int id ); extern "C" xdc_Ptr ti_sysbios_knl_Task_getHookContext__R( ti_sysbios_knl_Task_Handle __inst, xdc_Int id ); extern "C" xdc_Int ti_sysbios_knl_Task_getPri__E( ti_sysbios_knl_Task_Handle __inst ); extern "C" xdc_Int ti_sysbios_knl_Task_getPri__F( ti_sysbios_knl_Task_Object* __inst ); extern "C" xdc_Int ti_sysbios_knl_Task_getPri__R( ti_sysbios_knl_Task_Handle __inst ); extern "C" void ti_sysbios_knl_Task_setArg0__E( ti_sysbios_knl_Task_Handle __inst, xdc_UArg arg ); extern "C" void ti_sysbios_knl_Task_setArg0__F( ti_sysbios_knl_Task_Object* __inst, xdc_UArg arg ); extern "C" void ti_sysbios_knl_Task_setArg0__R( ti_sysbios_knl_Task_Handle __inst, xdc_UArg arg ); extern "C" void ti_sysbios_knl_Task_setArg1__E( ti_sysbios_knl_Task_Handle __inst, xdc_UArg arg ); extern "C" void ti_sysbios_knl_Task_setArg1__F( ti_sysbios_knl_Task_Object* __inst, xdc_UArg arg ); extern "C" void ti_sysbios_knl_Task_setArg1__R( ti_sysbios_knl_Task_Handle __inst, xdc_UArg arg ); extern "C" void ti_sysbios_knl_Task_setEnv__E( ti_sysbios_knl_Task_Handle __inst, xdc_Ptr env ); extern "C" void ti_sysbios_knl_Task_setEnv__F( ti_sysbios_knl_Task_Object* __inst, xdc_Ptr env ); extern "C" void ti_sysbios_knl_Task_setEnv__R( ti_sysbios_knl_Task_Handle __inst, xdc_Ptr env ); extern "C" void ti_sysbios_knl_Task_setHookContext__E( ti_sysbios_knl_Task_Handle __inst, xdc_Int id, xdc_Ptr hookContext ); extern "C" void ti_sysbios_knl_Task_setHookContext__F( ti_sysbios_knl_Task_Object* __inst, xdc_Int id, xdc_Ptr hookContext ); extern "C" void ti_sysbios_knl_Task_setHookContext__R( ti_sysbios_knl_Task_Handle __inst, xdc_Int id, xdc_Ptr hookContext ); extern "C" xdc_UInt ti_sysbios_knl_Task_setPri__E( ti_sysbios_knl_Task_Handle __inst, xdc_Int newpri ); extern "C" xdc_UInt ti_sysbios_knl_Task_setPri__F( ti_sysbios_knl_Task_Object* __inst, xdc_Int newpri ); extern "C" xdc_UInt ti_sysbios_knl_Task_setPri__R( ti_sysbios_knl_Task_Handle __inst, xdc_Int newpri ); extern "C" void ti_sysbios_knl_Task_stat__E( ti_sysbios_knl_Task_Handle __inst, ti_sysbios_knl_Task_Stat* statbuf ); extern "C" void ti_sysbios_knl_Task_stat__F( ti_sysbios_knl_Task_Object* __inst, ti_sysbios_knl_Task_Stat* statbuf ); extern "C" void ti_sysbios_knl_Task_stat__R( ti_sysbios_knl_Task_Handle __inst, ti_sysbios_knl_Task_Stat* statbuf ); extern "C" ti_sysbios_knl_Task_Mode ti_sysbios_knl_Task_getMode__E( ti_sysbios_knl_Task_Handle __inst ); extern "C" ti_sysbios_knl_Task_Mode ti_sysbios_knl_Task_getMode__F( ti_sysbios_knl_Task_Object* __inst ); extern "C" ti_sysbios_knl_Task_Mode ti_sysbios_knl_Task_getMode__R( ti_sysbios_knl_Task_Handle __inst ); extern "C" void ti_sysbios_knl_Task_block__E( ti_sysbios_knl_Task_Handle __inst ); extern "C" void ti_sysbios_knl_Task_block__F( ti_sysbios_knl_Task_Object* __inst ); extern "C" void ti_sysbios_knl_Task_block__R( ti_sysbios_knl_Task_Handle __inst ); extern "C" void ti_sysbios_knl_Task_unblock__E( ti_sysbios_knl_Task_Handle __inst ); extern "C" void ti_sysbios_knl_Task_unblock__F( ti_sysbios_knl_Task_Object* __inst ); extern "C" void ti_sysbios_knl_Task_unblock__R( ti_sysbios_knl_Task_Handle __inst ); extern "C" void ti_sysbios_knl_Task_blockI__E( ti_sysbios_knl_Task_Handle __inst ); extern "C" void ti_sysbios_knl_Task_blockI__F( ti_sysbios_knl_Task_Object* __inst ); extern "C" void ti_sysbios_knl_Task_blockI__R( ti_sysbios_knl_Task_Handle __inst ); extern "C" void ti_sysbios_knl_Task_unblockI__E( ti_sysbios_knl_Task_Handle __inst, xdc_UInt hwiKey ); extern "C" void ti_sysbios_knl_Task_unblockI__F( ti_sysbios_knl_Task_Object* __inst, xdc_UInt hwiKey ); extern "C" void ti_sysbios_knl_Task_unblockI__R( ti_sysbios_knl_Task_Handle __inst, xdc_UInt hwiKey ); extern "C" void ti_sysbios_knl_Task_schedule__I( void ); extern "C" void ti_sysbios_knl_Task_enter__I( void ); extern "C" void ti_sysbios_knl_Task_sleepTimeout__I( xdc_UArg arg ); extern "C" xdc_Int ti_sysbios_knl_Task_postInit__I( ti_sysbios_knl_Task_Object* swi, xdc_runtime_Error_Block* eb ); extern "C" void ti_sysbios_knl_Task_allBlockedFunction__I( void ); extern "C" void ti_sysbios_knl_Task_deleteTerminatedTasksFunc__I( void ); typedef xdc_UArg (*ti_sysbios_knl_Task_getArg0_FxnT)(void*); static inline ti_sysbios_knl_Task_getArg0_FxnT ti_sysbios_knl_Task_getArg0_fxnP( void ) { return (ti_sysbios_knl_Task_getArg0_FxnT)ti_sysbios_knl_Task_getArg0__E; } typedef xdc_UArg (*ti_sysbios_knl_Task_getArg1_FxnT)(void*); static inline ti_sysbios_knl_Task_getArg1_FxnT ti_sysbios_knl_Task_getArg1_fxnP( void ) { return (ti_sysbios_knl_Task_getArg1_FxnT)ti_sysbios_knl_Task_getArg1__E; } typedef xdc_Ptr (*ti_sysbios_knl_Task_getEnv_FxnT)(void*); static inline ti_sysbios_knl_Task_getEnv_FxnT ti_sysbios_knl_Task_getEnv_fxnP( void ) { return (ti_sysbios_knl_Task_getEnv_FxnT)ti_sysbios_knl_Task_getEnv__E; } typedef xdc_Ptr (*ti_sysbios_knl_Task_getHookContext_FxnT)(void*, xdc_Int); static inline ti_sysbios_knl_Task_getHookContext_FxnT ti_sysbios_knl_Task_getHookContext_fxnP( void ) { return (ti_sysbios_knl_Task_getHookContext_FxnT)ti_sysbios_knl_Task_getHookContext__E; } typedef xdc_Int (*ti_sysbios_knl_Task_getPri_FxnT)(void*); static inline ti_sysbios_knl_Task_getPri_FxnT ti_sysbios_knl_Task_getPri_fxnP( void ) { return (ti_sysbios_knl_Task_getPri_FxnT)ti_sysbios_knl_Task_getPri__E; } typedef void (*ti_sysbios_knl_Task_setArg0_FxnT)(void*, xdc_UArg); static inline ti_sysbios_knl_Task_setArg0_FxnT ti_sysbios_knl_Task_setArg0_fxnP( void ) { return (ti_sysbios_knl_Task_setArg0_FxnT)ti_sysbios_knl_Task_setArg0__E; } typedef void (*ti_sysbios_knl_Task_setArg1_FxnT)(void*, xdc_UArg); static inline ti_sysbios_knl_Task_setArg1_FxnT ti_sysbios_knl_Task_setArg1_fxnP( void ) { return (ti_sysbios_knl_Task_setArg1_FxnT)ti_sysbios_knl_Task_setArg1__E; } typedef void (*ti_sysbios_knl_Task_setEnv_FxnT)(void*, xdc_Ptr); static inline ti_sysbios_knl_Task_setEnv_FxnT ti_sysbios_knl_Task_setEnv_fxnP( void ) { return (ti_sysbios_knl_Task_setEnv_FxnT)ti_sysbios_knl_Task_setEnv__E; } typedef void (*ti_sysbios_knl_Task_setHookContext_FxnT)(void*, xdc_Int, xdc_Ptr); static inline ti_sysbios_knl_Task_setHookContext_FxnT ti_sysbios_knl_Task_setHookContext_fxnP( void ) { return (ti_sysbios_knl_Task_setHookContext_FxnT)ti_sysbios_knl_Task_setHookContext__E; } typedef xdc_UInt (*ti_sysbios_knl_Task_setPri_FxnT)(void*, xdc_Int); static inline ti_sysbios_knl_Task_setPri_FxnT ti_sysbios_knl_Task_setPri_fxnP( void ) { return (ti_sysbios_knl_Task_setPri_FxnT)ti_sysbios_knl_Task_setPri__E; } typedef void (*ti_sysbios_knl_Task_stat_FxnT)(void*, ti_sysbios_knl_Task_Stat*); static inline ti_sysbios_knl_Task_stat_FxnT ti_sysbios_knl_Task_stat_fxnP( void ) { return (ti_sysbios_knl_Task_stat_FxnT)ti_sysbios_knl_Task_stat__E; } typedef ti_sysbios_knl_Task_Mode (*ti_sysbios_knl_Task_getMode_FxnT)(void*); static inline ti_sysbios_knl_Task_getMode_FxnT ti_sysbios_knl_Task_getMode_fxnP( void ) { return (ti_sysbios_knl_Task_getMode_FxnT)ti_sysbios_knl_Task_getMode__E; } typedef void (*ti_sysbios_knl_Task_block_FxnT)(void*); static inline ti_sysbios_knl_Task_block_FxnT ti_sysbios_knl_Task_block_fxnP( void ) { return (ti_sysbios_knl_Task_block_FxnT)ti_sysbios_knl_Task_block__E; } typedef void (*ti_sysbios_knl_Task_unblock_FxnT)(void*); static inline ti_sysbios_knl_Task_unblock_FxnT ti_sysbios_knl_Task_unblock_fxnP( void ) { return (ti_sysbios_knl_Task_unblock_FxnT)ti_sysbios_knl_Task_unblock__E; } typedef void (*ti_sysbios_knl_Task_blockI_FxnT)(void*); static inline ti_sysbios_knl_Task_blockI_FxnT ti_sysbios_knl_Task_blockI_fxnP( void ) { return (ti_sysbios_knl_Task_blockI_FxnT)ti_sysbios_knl_Task_blockI__E; } typedef void (*ti_sysbios_knl_Task_unblockI_FxnT)(void*, xdc_UInt); static inline ti_sysbios_knl_Task_unblockI_FxnT ti_sysbios_knl_Task_unblockI_fxnP( void ) { return (ti_sysbios_knl_Task_unblockI_FxnT)ti_sysbios_knl_Task_unblockI__E; } static inline CT__ti_sysbios_knl_Task_Module__id ti_sysbios_knl_Task_Module_id( void ) { return ti_sysbios_knl_Task_Module__id__C; } static inline xdc_Bool ti_sysbios_knl_Task_Module_hasMask( void ) { return ti_sysbios_knl_Task_Module__diagsMask__C != 0; } static inline xdc_Bits16 ti_sysbios_knl_Task_Module_getMask( void ) { return ti_sysbios_knl_Task_Module__diagsMask__C != 0 ? *ti_sysbios_knl_Task_Module__diagsMask__C : 0; } static inline void ti_sysbios_knl_Task_Module_setMask( xdc_Bits16 mask ) { if (ti_sysbios_knl_Task_Module__diagsMask__C != 0) *ti_sysbios_knl_Task_Module__diagsMask__C = mask; } static inline void ti_sysbios_knl_Task_Params_init( ti_sysbios_knl_Task_Params* prms ) { if (prms) { ti_sysbios_knl_Task_Params__init__S(prms, 0, sizeof(ti_sysbios_knl_Task_Params), sizeof(xdc_runtime_IInstance_Params)); } } static inline void ti_sysbios_knl_Task_Params_copy( ti_sysbios_knl_Task_Params* dst, const ti_sysbios_knl_Task_Params* src ) { if (dst) { ti_sysbios_knl_Task_Params__init__S(dst, (xdc_Ptr)src, sizeof(ti_sysbios_knl_Task_Params), sizeof(xdc_runtime_IInstance_Params)); } } static inline ti_sysbios_knl_Task_Handle ti_sysbios_knl_Task_Object_get( ti_sysbios_knl_Task_Instance_State* oarr, int i ) { return (ti_sysbios_knl_Task_Handle)ti_sysbios_knl_Task_Object__get__S(oarr, i); } static inline ti_sysbios_knl_Task_Handle ti_sysbios_knl_Task_Object_first( void ) { return (ti_sysbios_knl_Task_Handle)ti_sysbios_knl_Task_Object__first__S(); } static inline ti_sysbios_knl_Task_Handle ti_sysbios_knl_Task_Object_next( ti_sysbios_knl_Task_Object* obj ) { return (ti_sysbios_knl_Task_Handle)ti_sysbios_knl_Task_Object__next__S(obj); } static inline xdc_runtime_Types_Label* ti_sysbios_knl_Task_Handle_label( ti_sysbios_knl_Task_Handle inst, xdc_runtime_Types_Label* lab ) { return ti_sysbios_knl_Task_Handle__label__S(inst, lab); } static inline String ti_sysbios_knl_Task_Handle_name( ti_sysbios_knl_Task_Handle inst ) { xdc_runtime_Types_Label lab; return ti_sysbios_knl_Task_Handle__label__S(inst, &lab)->iname; } static inline ti_sysbios_knl_Task_Handle ti_sysbios_knl_Task_create( ti_sysbios_knl_Task_FuncPtr fxn, const ti_sysbios_knl_Task_Params* __prms, xdc_runtime_Error_Block* __eb ) { ti_sysbios_knl_Task_Args__create __args; __args.fxn = fxn; return (ti_sysbios_knl_Task_Handle)ti_sysbios_knl_Task_Object__create__S(0, 0, &__args, (const xdc_UChar*)__prms, sizeof(ti_sysbios_knl_Task_Params), __eb); } static inline void ti_sysbios_knl_Task_construct( ti_sysbios_knl_Task_Struct* __obj, ti_sysbios_knl_Task_FuncPtr fxn, const ti_sysbios_knl_Task_Params* __prms, xdc_runtime_Error_Block* __eb ) { ti_sysbios_knl_Task_Args__create __args; __args.fxn = fxn; ti_sysbios_knl_Task_Object__create__S(__obj, sizeof (ti_sysbios_knl_Task_Struct), &__args, (const xdc_UChar*)__prms, sizeof(ti_sysbios_knl_Task_Params), __eb); } static inline void ti_sysbios_knl_Task_delete( ti_sysbios_knl_Task_Handle* instp ) { ti_sysbios_knl_Task_Object__delete__S(instp); } static inline void ti_sysbios_knl_Task_destruct( ti_sysbios_knl_Task_Struct* obj ) { ti_sysbios_knl_Task_Object__destruct__S(obj); } static inline ti_sysbios_knl_Task_Handle ti_sysbios_knl_Task_handle( ti_sysbios_knl_Task_Struct* str ) { return (ti_sysbios_knl_Task_Handle)str; } static inline ti_sysbios_knl_Task_Struct* ti_sysbios_knl_Task_struct( ti_sysbios_knl_Task_Handle inst ) { return (ti_sysbios_knl_Task_Struct*)inst; } enum ti_sysbios_knl_Event_PendState { ti_sysbios_knl_Event_PendState_TIMEOUT = 0, ti_sysbios_knl_Event_PendState_POSTED = 1, ti_sysbios_knl_Event_PendState_CLOCK_WAIT = 2, ti_sysbios_knl_Event_PendState_WAIT_FOREVER = 3 }; typedef enum ti_sysbios_knl_Event_PendState ti_sysbios_knl_Event_PendState; struct ti_sysbios_knl_Event_PendElem { ti_sysbios_knl_Task_PendElem tpElem; ti_sysbios_knl_Event_PendState pendState; xdc_UInt matchingEvents; xdc_UInt andMask; xdc_UInt orMask; }; typedef xdc_Bits32 CT__ti_sysbios_knl_Event_Module__diagsEnabled; extern "C" far const CT__ti_sysbios_knl_Event_Module__diagsEnabled ti_sysbios_knl_Event_Module__diagsEnabled__C; typedef xdc_Bits32 CT__ti_sysbios_knl_Event_Module__diagsIncluded; extern "C" far const CT__ti_sysbios_knl_Event_Module__diagsIncluded ti_sysbios_knl_Event_Module__diagsIncluded__C; typedef xdc_Bits16* CT__ti_sysbios_knl_Event_Module__diagsMask; extern "C" far const CT__ti_sysbios_knl_Event_Module__diagsMask ti_sysbios_knl_Event_Module__diagsMask__C; typedef xdc_Ptr CT__ti_sysbios_knl_Event_Module__gateObj; extern "C" far const CT__ti_sysbios_knl_Event_Module__gateObj ti_sysbios_knl_Event_Module__gateObj__C; typedef xdc_Ptr CT__ti_sysbios_knl_Event_Module__gatePrms; extern "C" far const CT__ti_sysbios_knl_Event_Module__gatePrms ti_sysbios_knl_Event_Module__gatePrms__C; typedef xdc_runtime_Types_ModuleId CT__ti_sysbios_knl_Event_Module__id; extern "C" far const CT__ti_sysbios_knl_Event_Module__id ti_sysbios_knl_Event_Module__id__C; typedef xdc_Bool CT__ti_sysbios_knl_Event_Module__loggerDefined; extern "C" far const CT__ti_sysbios_knl_Event_Module__loggerDefined ti_sysbios_knl_Event_Module__loggerDefined__C; typedef xdc_Ptr CT__ti_sysbios_knl_Event_Module__loggerObj; extern "C" far const CT__ti_sysbios_knl_Event_Module__loggerObj ti_sysbios_knl_Event_Module__loggerObj__C; typedef xdc_runtime_Types_LoggerFxn0 CT__ti_sysbios_knl_Event_Module__loggerFxn0; extern "C" far const CT__ti_sysbios_knl_Event_Module__loggerFxn0 ti_sysbios_knl_Event_Module__loggerFxn0__C; typedef xdc_runtime_Types_LoggerFxn1 CT__ti_sysbios_knl_Event_Module__loggerFxn1; extern "C" far const CT__ti_sysbios_knl_Event_Module__loggerFxn1 ti_sysbios_knl_Event_Module__loggerFxn1__C; typedef xdc_runtime_Types_LoggerFxn2 CT__ti_sysbios_knl_Event_Module__loggerFxn2; extern "C" far const CT__ti_sysbios_knl_Event_Module__loggerFxn2 ti_sysbios_knl_Event_Module__loggerFxn2__C; typedef xdc_runtime_Types_LoggerFxn4 CT__ti_sysbios_knl_Event_Module__loggerFxn4; extern "C" far const CT__ti_sysbios_knl_Event_Module__loggerFxn4 ti_sysbios_knl_Event_Module__loggerFxn4__C; typedef xdc_runtime_Types_LoggerFxn8 CT__ti_sysbios_knl_Event_Module__loggerFxn8; extern "C" far const CT__ti_sysbios_knl_Event_Module__loggerFxn8 ti_sysbios_knl_Event_Module__loggerFxn8__C; typedef xdc_Bool (*CT__ti_sysbios_knl_Event_Module__startupDoneFxn)(void); extern "C" far const CT__ti_sysbios_knl_Event_Module__startupDoneFxn ti_sysbios_knl_Event_Module__startupDoneFxn__C; typedef xdc_Int CT__ti_sysbios_knl_Event_Object__count; extern "C" far const CT__ti_sysbios_knl_Event_Object__count ti_sysbios_knl_Event_Object__count__C; typedef xdc_runtime_IHeap_Handle CT__ti_sysbios_knl_Event_Object__heap; extern "C" far const CT__ti_sysbios_knl_Event_Object__heap ti_sysbios_knl_Event_Object__heap__C; typedef xdc_SizeT CT__ti_sysbios_knl_Event_Object__sizeof; extern "C" far const CT__ti_sysbios_knl_Event_Object__sizeof ti_sysbios_knl_Event_Object__sizeof__C; typedef xdc_Ptr CT__ti_sysbios_knl_Event_Object__table; extern "C" far const CT__ti_sysbios_knl_Event_Object__table ti_sysbios_knl_Event_Object__table__C; typedef xdc_runtime_Log_Event CT__ti_sysbios_knl_Event_LM_post; extern "C" far const CT__ti_sysbios_knl_Event_LM_post ti_sysbios_knl_Event_LM_post__C; typedef xdc_runtime_Log_Event CT__ti_sysbios_knl_Event_LM_pend; extern "C" far const CT__ti_sysbios_knl_Event_LM_pend ti_sysbios_knl_Event_LM_pend__C; typedef xdc_runtime_Assert_Id CT__ti_sysbios_knl_Event_A_nullEventMasks; extern "C" far const CT__ti_sysbios_knl_Event_A_nullEventMasks ti_sysbios_knl_Event_A_nullEventMasks__C; typedef xdc_runtime_Assert_Id CT__ti_sysbios_knl_Event_A_nullEventId; extern "C" far const CT__ti_sysbios_knl_Event_A_nullEventId ti_sysbios_knl_Event_A_nullEventId__C; typedef xdc_runtime_Assert_Id CT__ti_sysbios_knl_Event_A_eventInUse; extern "C" far const CT__ti_sysbios_knl_Event_A_eventInUse ti_sysbios_knl_Event_A_eventInUse__C; typedef xdc_runtime_Assert_Id CT__ti_sysbios_knl_Event_A_badContext; extern "C" far const CT__ti_sysbios_knl_Event_A_badContext ti_sysbios_knl_Event_A_badContext__C; struct ti_sysbios_knl_Event_Params { size_t __size; const void* __self; void* __fxns; xdc_runtime_IInstance_Params* instance; xdc_runtime_IInstance_Params __iprms; }; struct ti_sysbios_knl_Event_Struct { volatile xdc_UInt __f0; ti_sysbios_knl_Queue_Struct __f1; xdc_runtime_Types_CordAddr __name; }; extern "C" void ti_sysbios_knl_Event_Instance_init__F( ti_sysbios_knl_Event_Object*, const ti_sysbios_knl_Event_Params* ); extern "C" void ti_sysbios_knl_Event_Instance_init__R( ti_sysbios_knl_Event_Object*, const ti_sysbios_knl_Event_Params* ); extern "C" xdc_runtime_Types_Label* ti_sysbios_knl_Event_Handle__label__S( xdc_Ptr obj, xdc_runtime_Types_Label* lab ); extern "C" xdc_Bool ti_sysbios_knl_Event_Module__startupDone__S( void ); extern "C" xdc_Ptr ti_sysbios_knl_Event_Object__create__S( xdc_Ptr __oa, xdc_SizeT __osz, xdc_Ptr __aa, const xdc_UChar* __pa, xdc_SizeT __psz, xdc_runtime_Error_Block* __eb ); extern "C" void ti_sysbios_knl_Event_Object__delete__S( xdc_Ptr instp ); extern "C" void ti_sysbios_knl_Event_Object__destruct__S( xdc_Ptr objp ); extern "C" xdc_Ptr ti_sysbios_knl_Event_Object__get__S( xdc_Ptr oarr, xdc_Int i ); extern "C" xdc_Ptr ti_sysbios_knl_Event_Object__first__S( void ); extern "C" xdc_Ptr ti_sysbios_knl_Event_Object__next__S( xdc_Ptr obj ); extern "C" void ti_sysbios_knl_Event_Params__init__S( xdc_Ptr dst, xdc_Ptr src, xdc_SizeT psz, xdc_SizeT isz ); extern "C" xdc_UInt ti_sysbios_knl_Event_pend__E( ti_sysbios_knl_Event_Handle __inst, xdc_UInt andMask, xdc_UInt orMask, xdc_UInt timeout ); extern "C" xdc_UInt ti_sysbios_knl_Event_pend__F( ti_sysbios_knl_Event_Object* __inst, xdc_UInt andMask, xdc_UInt orMask, xdc_UInt timeout ); extern "C" xdc_UInt ti_sysbios_knl_Event_pend__R( ti_sysbios_knl_Event_Handle __inst, xdc_UInt andMask, xdc_UInt orMask, xdc_UInt timeout ); extern "C" void ti_sysbios_knl_Event_post__E( ti_sysbios_knl_Event_Handle __inst, xdc_UInt eventMask ); extern "C" void ti_sysbios_knl_Event_post__F( ti_sysbios_knl_Event_Object* __inst, xdc_UInt eventMask ); extern "C" void ti_sysbios_knl_Event_post__R( ti_sysbios_knl_Event_Handle __inst, xdc_UInt eventMask ); extern "C" xdc_UInt ti_sysbios_knl_Event_getPostedEvents__E( ti_sysbios_knl_Event_Handle __inst ); extern "C" xdc_UInt ti_sysbios_knl_Event_getPostedEvents__F( ti_sysbios_knl_Event_Object* __inst ); extern "C" xdc_UInt ti_sysbios_knl_Event_getPostedEvents__R( ti_sysbios_knl_Event_Handle __inst ); extern "C" void ti_sysbios_knl_Event_sync__E( ti_sysbios_knl_Event_Handle __inst, xdc_UInt eventId, xdc_UInt count ); extern "C" void ti_sysbios_knl_Event_sync__F( ti_sysbios_knl_Event_Object* __inst, xdc_UInt eventId, xdc_UInt count ); extern "C" void ti_sysbios_knl_Event_sync__R( ti_sysbios_knl_Event_Handle __inst, xdc_UInt eventId, xdc_UInt count ); extern "C" void ti_sysbios_knl_Event_pendTimeout__I( xdc_UArg arg ); typedef xdc_UInt (*ti_sysbios_knl_Event_pend_FxnT)(void*, xdc_UInt, xdc_UInt, xdc_UInt); static inline ti_sysbios_knl_Event_pend_FxnT ti_sysbios_knl_Event_pend_fxnP( void ) { return (ti_sysbios_knl_Event_pend_FxnT)ti_sysbios_knl_Event_pend__E; } typedef void (*ti_sysbios_knl_Event_post_FxnT)(void*, xdc_UInt); static inline ti_sysbios_knl_Event_post_FxnT ti_sysbios_knl_Event_post_fxnP( void ) { return (ti_sysbios_knl_Event_post_FxnT)ti_sysbios_knl_Event_post__E; } typedef xdc_UInt (*ti_sysbios_knl_Event_getPostedEvents_FxnT)(void*); static inline ti_sysbios_knl_Event_getPostedEvents_FxnT ti_sysbios_knl_Event_getPostedEvents_fxnP( void ) { return (ti_sysbios_knl_Event_getPostedEvents_FxnT)ti_sysbios_knl_Event_getPostedEvents__E; } typedef void (*ti_sysbios_knl_Event_sync_FxnT)(void*, xdc_UInt, xdc_UInt); static inline ti_sysbios_knl_Event_sync_FxnT ti_sysbios_knl_Event_sync_fxnP( void ) { return (ti_sysbios_knl_Event_sync_FxnT)ti_sysbios_knl_Event_sync__E; } static inline CT__ti_sysbios_knl_Event_Module__id ti_sysbios_knl_Event_Module_id( void ) { return ti_sysbios_knl_Event_Module__id__C; } static inline xdc_Bool ti_sysbios_knl_Event_Module_hasMask( void ) { return ti_sysbios_knl_Event_Module__diagsMask__C != 0; } static inline xdc_Bits16 ti_sysbios_knl_Event_Module_getMask( void ) { return ti_sysbios_knl_Event_Module__diagsMask__C != 0 ? *ti_sysbios_knl_Event_Module__diagsMask__C : 0; } static inline void ti_sysbios_knl_Event_Module_setMask( xdc_Bits16 mask ) { if (ti_sysbios_knl_Event_Module__diagsMask__C != 0) *ti_sysbios_knl_Event_Module__diagsMask__C = mask; } static inline void ti_sysbios_knl_Event_Params_init( ti_sysbios_knl_Event_Params* prms ) { if (prms) { ti_sysbios_knl_Event_Params__init__S(prms, 0, sizeof(ti_sysbios_knl_Event_Params), sizeof(xdc_runtime_IInstance_Params)); } } static inline void ti_sysbios_knl_Event_Params_copy( ti_sysbios_knl_Event_Params* dst, const ti_sysbios_knl_Event_Params* src ) { if (dst) { ti_sysbios_knl_Event_Params__init__S(dst, (xdc_Ptr)src, sizeof(ti_sysbios_knl_Event_Params), sizeof(xdc_runtime_IInstance_Params)); } } static inline ti_sysbios_knl_Event_Handle ti_sysbios_knl_Event_Object_get( ti_sysbios_knl_Event_Instance_State* oarr, int i ) { return (ti_sysbios_knl_Event_Handle)ti_sysbios_knl_Event_Object__get__S(oarr, i); } static inline ti_sysbios_knl_Event_Handle ti_sysbios_knl_Event_Object_first( void ) { return (ti_sysbios_knl_Event_Handle)ti_sysbios_knl_Event_Object__first__S(); } static inline ti_sysbios_knl_Event_Handle ti_sysbios_knl_Event_Object_next( ti_sysbios_knl_Event_Object* obj ) { return (ti_sysbios_knl_Event_Handle)ti_sysbios_knl_Event_Object__next__S(obj); } static inline xdc_runtime_Types_Label* ti_sysbios_knl_Event_Handle_label( ti_sysbios_knl_Event_Handle inst, xdc_runtime_Types_Label* lab ) { return ti_sysbios_knl_Event_Handle__label__S(inst, lab); } static inline String ti_sysbios_knl_Event_Handle_name( ti_sysbios_knl_Event_Handle inst ) { xdc_runtime_Types_Label lab; return ti_sysbios_knl_Event_Handle__label__S(inst, &lab)->iname; } static inline ti_sysbios_knl_Event_Handle ti_sysbios_knl_Event_create( const ti_sysbios_knl_Event_Params* __prms, xdc_runtime_Error_Block* __eb ) { return (ti_sysbios_knl_Event_Handle)ti_sysbios_knl_Event_Object__create__S(0, 0, 0, (const xdc_UChar*)__prms, sizeof(ti_sysbios_knl_Event_Params), __eb); } static inline void ti_sysbios_knl_Event_construct( ti_sysbios_knl_Event_Struct* __obj, const ti_sysbios_knl_Event_Params* __prms ) { ti_sysbios_knl_Event_Object__create__S(__obj, sizeof (ti_sysbios_knl_Event_Struct), 0, (const xdc_UChar*)__prms, sizeof(ti_sysbios_knl_Event_Params), 0); } static inline void ti_sysbios_knl_Event_delete( ti_sysbios_knl_Event_Handle* instp ) { ti_sysbios_knl_Event_Object__delete__S(instp); } static inline void ti_sysbios_knl_Event_destruct( ti_sysbios_knl_Event_Struct* obj ) { ti_sysbios_knl_Event_Object__destruct__S(obj); } static inline ti_sysbios_knl_Event_Handle ti_sysbios_knl_Event_handle( ti_sysbios_knl_Event_Struct* str ) { return (ti_sysbios_knl_Event_Handle)str; } static inline ti_sysbios_knl_Event_Struct* ti_sysbios_knl_Event_struct( ti_sysbios_knl_Event_Handle inst ) { return (ti_sysbios_knl_Event_Struct*)inst; } enum ti_sysbios_knl_Semaphore_Mode { ti_sysbios_knl_Semaphore_Mode_COUNTING, ti_sysbios_knl_Semaphore_Mode_BINARY }; typedef enum ti_sysbios_knl_Semaphore_Mode ti_sysbios_knl_Semaphore_Mode; typedef struct ti_sysbios_knl_Semaphore_Args__create { xdc_Int count; } ti_sysbios_knl_Semaphore_Args__create; enum ti_sysbios_knl_Semaphore_PendState { ti_sysbios_knl_Semaphore_PendState_TIMEOUT = 0, ti_sysbios_knl_Semaphore_PendState_POSTED = 1, ti_sysbios_knl_Semaphore_PendState_CLOCK_WAIT = 2, ti_sysbios_knl_Semaphore_PendState_WAIT_FOREVER = 3 }; typedef enum ti_sysbios_knl_Semaphore_PendState ti_sysbios_knl_Semaphore_PendState; struct ti_sysbios_knl_Semaphore_PendElem { ti_sysbios_knl_Task_PendElem tpElem; ti_sysbios_knl_Semaphore_PendState pendState; }; typedef xdc_Bits32 CT__ti_sysbios_knl_Semaphore_Module__diagsEnabled; extern "C" far const CT__ti_sysbios_knl_Semaphore_Module__diagsEnabled ti_sysbios_knl_Semaphore_Module__diagsEnabled__C; typedef xdc_Bits32 CT__ti_sysbios_knl_Semaphore_Module__diagsIncluded; extern "C" far const CT__ti_sysbios_knl_Semaphore_Module__diagsIncluded ti_sysbios_knl_Semaphore_Module__diagsIncluded__C; typedef xdc_Bits16* CT__ti_sysbios_knl_Semaphore_Module__diagsMask; extern "C" far const CT__ti_sysbios_knl_Semaphore_Module__diagsMask ti_sysbios_knl_Semaphore_Module__diagsMask__C; typedef xdc_Ptr CT__ti_sysbios_knl_Semaphore_Module__gateObj; extern "C" far const CT__ti_sysbios_knl_Semaphore_Module__gateObj ti_sysbios_knl_Semaphore_Module__gateObj__C; typedef xdc_Ptr CT__ti_sysbios_knl_Semaphore_Module__gatePrms; extern "C" far const CT__ti_sysbios_knl_Semaphore_Module__gatePrms ti_sysbios_knl_Semaphore_Module__gatePrms__C; typedef xdc_runtime_Types_ModuleId CT__ti_sysbios_knl_Semaphore_Module__id; extern "C" far const CT__ti_sysbios_knl_Semaphore_Module__id ti_sysbios_knl_Semaphore_Module__id__C; typedef xdc_Bool CT__ti_sysbios_knl_Semaphore_Module__loggerDefined; extern "C" far const CT__ti_sysbios_knl_Semaphore_Module__loggerDefined ti_sysbios_knl_Semaphore_Module__loggerDefined__C; typedef xdc_Ptr CT__ti_sysbios_knl_Semaphore_Module__loggerObj; extern "C" far const CT__ti_sysbios_knl_Semaphore_Module__loggerObj ti_sysbios_knl_Semaphore_Module__loggerObj__C; typedef xdc_runtime_Types_LoggerFxn0 CT__ti_sysbios_knl_Semaphore_Module__loggerFxn0; extern "C" far const CT__ti_sysbios_knl_Semaphore_Module__loggerFxn0 ti_sysbios_knl_Semaphore_Module__loggerFxn0__C; typedef xdc_runtime_Types_LoggerFxn1 CT__ti_sysbios_knl_Semaphore_Module__loggerFxn1; extern "C" far const CT__ti_sysbios_knl_Semaphore_Module__loggerFxn1 ti_sysbios_knl_Semaphore_Module__loggerFxn1__C; typedef xdc_runtime_Types_LoggerFxn2 CT__ti_sysbios_knl_Semaphore_Module__loggerFxn2; extern "C" far const CT__ti_sysbios_knl_Semaphore_Module__loggerFxn2 ti_sysbios_knl_Semaphore_Module__loggerFxn2__C; typedef xdc_runtime_Types_LoggerFxn4 CT__ti_sysbios_knl_Semaphore_Module__loggerFxn4; extern "C" far const CT__ti_sysbios_knl_Semaphore_Module__loggerFxn4 ti_sysbios_knl_Semaphore_Module__loggerFxn4__C; typedef xdc_runtime_Types_LoggerFxn8 CT__ti_sysbios_knl_Semaphore_Module__loggerFxn8; extern "C" far const CT__ti_sysbios_knl_Semaphore_Module__loggerFxn8 ti_sysbios_knl_Semaphore_Module__loggerFxn8__C; typedef xdc_Bool (*CT__ti_sysbios_knl_Semaphore_Module__startupDoneFxn)(void); extern "C" far const CT__ti_sysbios_knl_Semaphore_Module__startupDoneFxn ti_sysbios_knl_Semaphore_Module__startupDoneFxn__C; typedef xdc_Int CT__ti_sysbios_knl_Semaphore_Object__count; extern "C" far const CT__ti_sysbios_knl_Semaphore_Object__count ti_sysbios_knl_Semaphore_Object__count__C; typedef xdc_runtime_IHeap_Handle CT__ti_sysbios_knl_Semaphore_Object__heap; extern "C" far const CT__ti_sysbios_knl_Semaphore_Object__heap ti_sysbios_knl_Semaphore_Object__heap__C; typedef xdc_SizeT CT__ti_sysbios_knl_Semaphore_Object__sizeof; extern "C" far const CT__ti_sysbios_knl_Semaphore_Object__sizeof ti_sysbios_knl_Semaphore_Object__sizeof__C; typedef xdc_Ptr CT__ti_sysbios_knl_Semaphore_Object__table; extern "C" far const CT__ti_sysbios_knl_Semaphore_Object__table ti_sysbios_knl_Semaphore_Object__table__C; typedef xdc_runtime_Log_Event CT__ti_sysbios_knl_Semaphore_LM_post; extern "C" far const CT__ti_sysbios_knl_Semaphore_LM_post ti_sysbios_knl_Semaphore_LM_post__C; typedef xdc_runtime_Log_Event CT__ti_sysbios_knl_Semaphore_LM_pend; extern "C" far const CT__ti_sysbios_knl_Semaphore_LM_pend ti_sysbios_knl_Semaphore_LM_pend__C; typedef xdc_runtime_Assert_Id CT__ti_sysbios_knl_Semaphore_A_noEvents; extern "C" far const CT__ti_sysbios_knl_Semaphore_A_noEvents ti_sysbios_knl_Semaphore_A_noEvents__C; typedef xdc_runtime_Assert_Id CT__ti_sysbios_knl_Semaphore_A_invTimeout; extern "C" far const CT__ti_sysbios_knl_Semaphore_A_invTimeout ti_sysbios_knl_Semaphore_A_invTimeout__C; typedef xdc_runtime_Assert_Id CT__ti_sysbios_knl_Semaphore_A_badContext; extern "C" far const CT__ti_sysbios_knl_Semaphore_A_badContext ti_sysbios_knl_Semaphore_A_badContext__C; typedef xdc_Bool CT__ti_sysbios_knl_Semaphore_supportsEvents; extern "C" far const CT__ti_sysbios_knl_Semaphore_supportsEvents ti_sysbios_knl_Semaphore_supportsEvents__C; typedef void (*CT__ti_sysbios_knl_Semaphore_eventPost)(ti_sysbios_knl_Event_Handle, xdc_UInt); extern "C" far const CT__ti_sysbios_knl_Semaphore_eventPost ti_sysbios_knl_Semaphore_eventPost__C; typedef void (*CT__ti_sysbios_knl_Semaphore_eventSync)(ti_sysbios_knl_Event_Handle, xdc_UInt, xdc_UInt); extern "C" far const CT__ti_sysbios_knl_Semaphore_eventSync ti_sysbios_knl_Semaphore_eventSync__C; struct ti_sysbios_knl_Semaphore_Params { size_t __size; const void* __self; void* __fxns; xdc_runtime_IInstance_Params* instance; ti_sysbios_knl_Event_Handle event; xdc_UInt eventId; ti_sysbios_knl_Semaphore_Mode mode; xdc_runtime_IInstance_Params __iprms; }; struct ti_sysbios_knl_Semaphore_Struct { ti_sysbios_knl_Event_Handle __f0; xdc_UInt __f1; ti_sysbios_knl_Semaphore_Mode __f2; volatile xdc_UInt16 __f3; ti_sysbios_knl_Queue_Struct __f4; xdc_runtime_Types_CordAddr __name; }; extern "C" void ti_sysbios_knl_Semaphore_Instance_init__F( ti_sysbios_knl_Semaphore_Object*, xdc_Int count, const ti_sysbios_knl_Semaphore_Params* ); extern "C" void ti_sysbios_knl_Semaphore_Instance_finalize__F( ti_sysbios_knl_Semaphore_Object* ); extern "C" void ti_sysbios_knl_Semaphore_Instance_init__R( ti_sysbios_knl_Semaphore_Object*, xdc_Int count, const ti_sysbios_knl_Semaphore_Params* ); extern "C" void ti_sysbios_knl_Semaphore_Instance_finalize__R( ti_sysbios_knl_Semaphore_Object* ); extern "C" xdc_runtime_Types_Label* ti_sysbios_knl_Semaphore_Handle__label__S( xdc_Ptr obj, xdc_runtime_Types_Label* lab ); extern "C" xdc_Bool ti_sysbios_knl_Semaphore_Module__startupDone__S( void ); extern "C" xdc_Ptr ti_sysbios_knl_Semaphore_Object__create__S( xdc_Ptr __oa, xdc_SizeT __osz, xdc_Ptr __aa, const xdc_UChar* __pa, xdc_SizeT __psz, xdc_runtime_Error_Block* __eb ); extern "C" void ti_sysbios_knl_Semaphore_Object__delete__S( xdc_Ptr instp ); extern "C" void ti_sysbios_knl_Semaphore_Object__destruct__S( xdc_Ptr objp ); extern "C" xdc_Ptr ti_sysbios_knl_Semaphore_Object__get__S( xdc_Ptr oarr, xdc_Int i ); extern "C" xdc_Ptr ti_sysbios_knl_Semaphore_Object__first__S( void ); extern "C" xdc_Ptr ti_sysbios_knl_Semaphore_Object__next__S( xdc_Ptr obj ); extern "C" void ti_sysbios_knl_Semaphore_Params__init__S( xdc_Ptr dst, xdc_Ptr src, xdc_SizeT psz, xdc_SizeT isz ); extern "C" xdc_Int ti_sysbios_knl_Semaphore_getCount__E( ti_sysbios_knl_Semaphore_Handle __inst ); extern "C" xdc_Int ti_sysbios_knl_Semaphore_getCount__F( ti_sysbios_knl_Semaphore_Object* __inst ); extern "C" xdc_Int ti_sysbios_knl_Semaphore_getCount__R( ti_sysbios_knl_Semaphore_Handle __inst ); extern "C" xdc_Bool ti_sysbios_knl_Semaphore_pend__E( ti_sysbios_knl_Semaphore_Handle __inst, xdc_UInt timeout ); extern "C" xdc_Bool ti_sysbios_knl_Semaphore_pend__F( ti_sysbios_knl_Semaphore_Object* __inst, xdc_UInt timeout ); extern "C" xdc_Bool ti_sysbios_knl_Semaphore_pend__R( ti_sysbios_knl_Semaphore_Handle __inst, xdc_UInt timeout ); extern "C" void ti_sysbios_knl_Semaphore_post__E( ti_sysbios_knl_Semaphore_Handle __inst ); extern "C" void ti_sysbios_knl_Semaphore_post__F( ti_sysbios_knl_Semaphore_Object* __inst ); extern "C" void ti_sysbios_knl_Semaphore_post__R( ti_sysbios_knl_Semaphore_Handle __inst ); extern "C" void ti_sysbios_knl_Semaphore_registerEvent__E( ti_sysbios_knl_Semaphore_Handle __inst, ti_sysbios_knl_Event_Handle event, xdc_UInt eventId ); extern "C" void ti_sysbios_knl_Semaphore_registerEvent__F( ti_sysbios_knl_Semaphore_Object* __inst, ti_sysbios_knl_Event_Handle event, xdc_UInt eventId ); extern "C" void ti_sysbios_knl_Semaphore_registerEvent__R( ti_sysbios_knl_Semaphore_Handle __inst, ti_sysbios_knl_Event_Handle event, xdc_UInt eventId ); extern "C" void ti_sysbios_knl_Semaphore_reset__E( ti_sysbios_knl_Semaphore_Handle __inst, xdc_Int count ); extern "C" void ti_sysbios_knl_Semaphore_reset__F( ti_sysbios_knl_Semaphore_Object* __inst, xdc_Int count ); extern "C" void ti_sysbios_knl_Semaphore_reset__R( ti_sysbios_knl_Semaphore_Handle __inst, xdc_Int count ); extern "C" void ti_sysbios_knl_Semaphore_pendTimeout__I( xdc_UArg arg ); typedef xdc_Int (*ti_sysbios_knl_Semaphore_getCount_FxnT)(void*); static inline ti_sysbios_knl_Semaphore_getCount_FxnT ti_sysbios_knl_Semaphore_getCount_fxnP( void ) { return (ti_sysbios_knl_Semaphore_getCount_FxnT)ti_sysbios_knl_Semaphore_getCount__E; } typedef xdc_Bool (*ti_sysbios_knl_Semaphore_pend_FxnT)(void*, xdc_UInt); static inline ti_sysbios_knl_Semaphore_pend_FxnT ti_sysbios_knl_Semaphore_pend_fxnP( void ) { return (ti_sysbios_knl_Semaphore_pend_FxnT)ti_sysbios_knl_Semaphore_pend__E; } typedef void (*ti_sysbios_knl_Semaphore_post_FxnT)(void*); static inline ti_sysbios_knl_Semaphore_post_FxnT ti_sysbios_knl_Semaphore_post_fxnP( void ) { return (ti_sysbios_knl_Semaphore_post_FxnT)ti_sysbios_knl_Semaphore_post__E; } typedef void (*ti_sysbios_knl_Semaphore_registerEvent_FxnT)(void*, ti_sysbios_knl_Event_Handle, xdc_UInt); static inline ti_sysbios_knl_Semaphore_registerEvent_FxnT ti_sysbios_knl_Semaphore_registerEvent_fxnP( void ) { return (ti_sysbios_knl_Semaphore_registerEvent_FxnT)ti_sysbios_knl_Semaphore_registerEvent__E; } typedef void (*ti_sysbios_knl_Semaphore_reset_FxnT)(void*, xdc_Int); static inline ti_sysbios_knl_Semaphore_reset_FxnT ti_sysbios_knl_Semaphore_reset_fxnP( void ) { return (ti_sysbios_knl_Semaphore_reset_FxnT)ti_sysbios_knl_Semaphore_reset__E; } static inline CT__ti_sysbios_knl_Semaphore_Module__id ti_sysbios_knl_Semaphore_Module_id( void ) { return ti_sysbios_knl_Semaphore_Module__id__C; } static inline xdc_Bool ti_sysbios_knl_Semaphore_Module_hasMask( void ) { return ti_sysbios_knl_Semaphore_Module__diagsMask__C != 0; } static inline xdc_Bits16 ti_sysbios_knl_Semaphore_Module_getMask( void ) { return ti_sysbios_knl_Semaphore_Module__diagsMask__C != 0 ? *ti_sysbios_knl_Semaphore_Module__diagsMask__C : 0; } static inline void ti_sysbios_knl_Semaphore_Module_setMask( xdc_Bits16 mask ) { if (ti_sysbios_knl_Semaphore_Module__diagsMask__C != 0) *ti_sysbios_knl_Semaphore_Module__diagsMask__C = mask; } static inline void ti_sysbios_knl_Semaphore_Params_init( ti_sysbios_knl_Semaphore_Params* prms ) { if (prms) { ti_sysbios_knl_Semaphore_Params__init__S(prms, 0, sizeof(ti_sysbios_knl_Semaphore_Params), sizeof(xdc_runtime_IInstance_Params)); } } static inline void ti_sysbios_knl_Semaphore_Params_copy( ti_sysbios_knl_Semaphore_Params* dst, const ti_sysbios_knl_Semaphore_Params* src ) { if (dst) { ti_sysbios_knl_Semaphore_Params__init__S(dst, (xdc_Ptr)src, sizeof(ti_sysbios_knl_Semaphore_Params), sizeof(xdc_runtime_IInstance_Params)); } } static inline ti_sysbios_knl_Semaphore_Handle ti_sysbios_knl_Semaphore_Object_get( ti_sysbios_knl_Semaphore_Instance_State* oarr, int i ) { return (ti_sysbios_knl_Semaphore_Handle)ti_sysbios_knl_Semaphore_Object__get__S(oarr, i); } static inline ti_sysbios_knl_Semaphore_Handle ti_sysbios_knl_Semaphore_Object_first( void ) { return (ti_sysbios_knl_Semaphore_Handle)ti_sysbios_knl_Semaphore_Object__first__S(); } static inline ti_sysbios_knl_Semaphore_Handle ti_sysbios_knl_Semaphore_Object_next( ti_sysbios_knl_Semaphore_Object* obj ) { return (ti_sysbios_knl_Semaphore_Handle)ti_sysbios_knl_Semaphore_Object__next__S(obj); } static inline xdc_runtime_Types_Label* ti_sysbios_knl_Semaphore_Handle_label( ti_sysbios_knl_Semaphore_Handle inst, xdc_runtime_Types_Label* lab ) { return ti_sysbios_knl_Semaphore_Handle__label__S(inst, lab); } static inline String ti_sysbios_knl_Semaphore_Handle_name( ti_sysbios_knl_Semaphore_Handle inst ) { xdc_runtime_Types_Label lab; return ti_sysbios_knl_Semaphore_Handle__label__S(inst, &lab)->iname; } static inline ti_sysbios_knl_Semaphore_Handle ti_sysbios_knl_Semaphore_create( xdc_Int count, const ti_sysbios_knl_Semaphore_Params* __prms, xdc_runtime_Error_Block* __eb ) { ti_sysbios_knl_Semaphore_Args__create __args; __args.count = count; return (ti_sysbios_knl_Semaphore_Handle)ti_sysbios_knl_Semaphore_Object__create__S(0, 0, &__args, (const xdc_UChar*)__prms, sizeof(ti_sysbios_knl_Semaphore_Params), __eb); } static inline void ti_sysbios_knl_Semaphore_construct( ti_sysbios_knl_Semaphore_Struct* __obj, xdc_Int count, const ti_sysbios_knl_Semaphore_Params* __prms ) { ti_sysbios_knl_Semaphore_Args__create __args; __args.count = count; ti_sysbios_knl_Semaphore_Object__create__S(__obj, sizeof (ti_sysbios_knl_Semaphore_Struct), &__args, (const xdc_UChar*)__prms, sizeof(ti_sysbios_knl_Semaphore_Params), 0); } static inline void ti_sysbios_knl_Semaphore_delete( ti_sysbios_knl_Semaphore_Handle* instp ) { ti_sysbios_knl_Semaphore_Object__delete__S(instp); } static inline void ti_sysbios_knl_Semaphore_destruct( ti_sysbios_knl_Semaphore_Struct* obj ) { ti_sysbios_knl_Semaphore_Object__destruct__S(obj); } static inline ti_sysbios_knl_Semaphore_Handle ti_sysbios_knl_Semaphore_handle( ti_sysbios_knl_Semaphore_Struct* str ) { return (ti_sysbios_knl_Semaphore_Handle)str; } static inline ti_sysbios_knl_Semaphore_Struct* ti_sysbios_knl_Semaphore_struct( ti_sysbios_knl_Semaphore_Handle inst ) { return (ti_sysbios_knl_Semaphore_Struct*)inst; } extern "C" { typedef int32_t EDMA3_RM_Result; typedef int32_t EDMA3_DRV_Result; typedef void *EDMA3_RM_Handle; typedef void *EDMA3_DRV_Handle; typedef void *EDMA3_OS_Sem_Handle; extern void lisrEdma3ComplHandler0 (uint32_t arg); extern void lisrEdma3CCErrHandler0 (uint32_t arg); extern void lisrEdma3TC0ErrHandler0(uint32_t arg); extern void lisrEdma3TC1ErrHandler0(uint32_t arg); extern void lisrEdma3TC2ErrHandler0(uint32_t arg); extern void lisrEdma3TC3ErrHandler0(uint32_t arg); extern void lisrEdma3TC4ErrHandler0(uint32_t arg); extern void lisrEdma3TC5ErrHandler0(uint32_t arg); extern void lisrEdma3TC6ErrHandler0(uint32_t arg); extern void lisrEdma3TC7ErrHandler0(uint32_t arg); extern void edma3OsProtectEntry (uint32_t edma3InstanceId, int32_t level, uint32_t *intState); extern void edma3OsProtectExit (uint32_t edma3InstanceId, int32_t level, uint32_t intState); extern EDMA3_DRV_Result edma3OsSemTake (EDMA3_OS_Sem_Handle hSem, int32_t mSecTimeout); extern EDMA3_DRV_Result edma3OsSemGive(EDMA3_OS_Sem_Handle hSem); } extern "C" { typedef enum { EDMA3_RM_XFER_COMPLETE = 1, EDMA3_RM_E_CC_DMA_EVT_MISS = 2, EDMA3_RM_E_CC_QDMA_EVT_MISS = 3 } EDMA3_RM_TccStatus; typedef enum { EDMA3_RM_E_CC_QUE_THRES_EXCEED = 1, EDMA3_RM_E_CC_TCC = 2, EDMA3_RM_E_TC_MEM_LOCATION_READ_ERROR = 3, EDMA3_RM_E_TC_MEM_LOCATION_WRITE_ERROR = 4, EDMA3_RM_E_TC_INVALID_ADDR = 5, EDMA3_RM_E_TC_TR_ERROR = 6 } EDMA3_RM_GlobalError; typedef void (* EDMA3_RM_GblErrCallback)(EDMA3_RM_GlobalError deviceStatus, uint32_t instanceId, void *gblerrData); typedef struct { EDMA3_RM_GblErrCallback gblerrCb; void *gblerrData; } EDMA3_RM_GblErrCallbackParams; typedef void (* EDMA3_RM_TccCallback)(uint32_t tcc, EDMA3_RM_TccStatus status, void *appData); typedef enum { EDMA3_RM_RES_DMA_CHANNEL = 1, EDMA3_RM_RES_QDMA_CHANNEL = 2, EDMA3_RM_RES_TCC = 3, EDMA3_RM_RES_PARAM_SET = 4 } EDMA3_RM_ResType; typedef struct { uint32_t resId; EDMA3_RM_ResType type; } EDMA3_RM_ResDesc; EDMA3_RM_Result EDMA3_RM_registerTccCb(EDMA3_RM_Handle hEdmaResMgr, const EDMA3_RM_ResDesc *channelObj, uint32_t tcc, EDMA3_RM_TccCallback tccCb, void *cbData); EDMA3_RM_Result EDMA3_RM_unregisterTccCb(EDMA3_RM_Handle hEdmaResMgr, const EDMA3_RM_ResDesc *channelObj); typedef uint32_t EDMA3_RM_RegionId; typedef uint32_t EDMA3_RM_EventQueue; typedef struct { uint32_t numDmaChannels; uint32_t numQdmaChannels; uint32_t numTccs; uint32_t numPaRAMSets; uint32_t numEvtQueue; uint32_t numTcs; uint32_t numRegions; uint32_t dmaChPaRAMMapExists; uint32_t memProtectionExists; void *globalRegs; void *tcRegs[(8u)]; uint32_t xferCompleteInt; uint32_t ccError; uint32_t tcError[(8u)]; uint32_t evtQPri [(8u)]; uint32_t evtQueueWaterMarkLvl [(8u)]; uint32_t tcDefaultBurstSize[(8u)]; uint32_t dmaChannelPaRAMMap [(64u)]; uint32_t dmaChannelTccMap [(64u)]; uint32_t dmaChannelHwEvtMap [((64u) / 32u)]; } EDMA3_RM_GblConfigParams; typedef struct { uint32_t ownPaRAMSets[((512u) / 32u)]; uint32_t ownDmaChannels[((64u) / 32u)]; uint32_t ownQdmaChannels[(1u)]; uint32_t ownTccs[((64u) / 32u)]; uint32_t resvdPaRAMSets[((512u) / 32u)]; uint32_t resvdDmaChannels[((64u) / 32u)]; uint32_t resvdQdmaChannels[(1u)]; uint32_t resvdTccs[((64u) / 32u)]; }EDMA3_RM_InstanceInitConfig; typedef struct { EDMA3_RM_RegionId regionId; uint32_t isMaster; EDMA3_RM_InstanceInitConfig *rmInstInitConfig; void *rmSemHandle; uint32_t regionInitEnable; EDMA3_RM_GblErrCallbackParams gblerrCbParams; } EDMA3_RM_Param; typedef struct { uint16_t isSlave; uint16_t param; }EDMA3_RM_MiscParam; EDMA3_RM_Result EDMA3_RM_create (uint32_t phyCtrllerInstId, const EDMA3_RM_GblConfigParams *gblCfgParams, const void *miscParam); EDMA3_RM_Result EDMA3_RM_delete (uint32_t phyCtrllerInstId, const void *param); EDMA3_RM_Handle EDMA3_RM_open (uint32_t phyCtrllerInstId, const EDMA3_RM_Param *initParam, EDMA3_RM_Result *errorCode); EDMA3_RM_Result EDMA3_RM_close (EDMA3_RM_Handle hEdmaResMgr, const void *param); EDMA3_RM_Result EDMA3_RM_allocResource (EDMA3_RM_Handle hEdmaResMgr, EDMA3_RM_ResDesc *resObj); EDMA3_RM_Result EDMA3_RM_freeResource(EDMA3_RM_Handle hEdmaResMgr, const EDMA3_RM_ResDesc *resObj); EDMA3_RM_Result EDMA3_RM_allocContiguousResource(EDMA3_RM_Handle hEdmaResMgr, EDMA3_RM_ResDesc *firstResIdObj, uint32_t numResources); EDMA3_RM_Result EDMA3_RM_freeContiguousResource(EDMA3_RM_Handle hEdmaResMgr, EDMA3_RM_ResDesc *firstResIdObj, uint32_t numResources); typedef enum { EDMA3_RM_HW_CHANNEL_EVENT_0 = 0, EDMA3_RM_HW_CHANNEL_EVENT_1, EDMA3_RM_HW_CHANNEL_EVENT_2, EDMA3_RM_HW_CHANNEL_EVENT_3, EDMA3_RM_HW_CHANNEL_EVENT_4, EDMA3_RM_HW_CHANNEL_EVENT_5, EDMA3_RM_HW_CHANNEL_EVENT_6, EDMA3_RM_HW_CHANNEL_EVENT_7, EDMA3_RM_HW_CHANNEL_EVENT_8, EDMA3_RM_HW_CHANNEL_EVENT_9, EDMA3_RM_HW_CHANNEL_EVENT_10, EDMA3_RM_HW_CHANNEL_EVENT_11, EDMA3_RM_HW_CHANNEL_EVENT_12, EDMA3_RM_HW_CHANNEL_EVENT_13, EDMA3_RM_HW_CHANNEL_EVENT_14, EDMA3_RM_HW_CHANNEL_EVENT_15, EDMA3_RM_HW_CHANNEL_EVENT_16, EDMA3_RM_HW_CHANNEL_EVENT_17, EDMA3_RM_HW_CHANNEL_EVENT_18, EDMA3_RM_HW_CHANNEL_EVENT_19, EDMA3_RM_HW_CHANNEL_EVENT_20, EDMA3_RM_HW_CHANNEL_EVENT_21, EDMA3_RM_HW_CHANNEL_EVENT_22, EDMA3_RM_HW_CHANNEL_EVENT_23, EDMA3_RM_HW_CHANNEL_EVENT_24, EDMA3_RM_HW_CHANNEL_EVENT_25, EDMA3_RM_HW_CHANNEL_EVENT_26, EDMA3_RM_HW_CHANNEL_EVENT_27, EDMA3_RM_HW_CHANNEL_EVENT_28, EDMA3_RM_HW_CHANNEL_EVENT_29, EDMA3_RM_HW_CHANNEL_EVENT_30, EDMA3_RM_HW_CHANNEL_EVENT_31, EDMA3_RM_HW_CHANNEL_EVENT_32, EDMA3_RM_HW_CHANNEL_EVENT_33, EDMA3_RM_HW_CHANNEL_EVENT_34, EDMA3_RM_HW_CHANNEL_EVENT_35, EDMA3_RM_HW_CHANNEL_EVENT_36, EDMA3_RM_HW_CHANNEL_EVENT_37, EDMA3_RM_HW_CHANNEL_EVENT_38, EDMA3_RM_HW_CHANNEL_EVENT_39, EDMA3_RM_HW_CHANNEL_EVENT_40, EDMA3_RM_HW_CHANNEL_EVENT_41, EDMA3_RM_HW_CHANNEL_EVENT_42, EDMA3_RM_HW_CHANNEL_EVENT_43, EDMA3_RM_HW_CHANNEL_EVENT_44, EDMA3_RM_HW_CHANNEL_EVENT_45, EDMA3_RM_HW_CHANNEL_EVENT_46, EDMA3_RM_HW_CHANNEL_EVENT_47, EDMA3_RM_HW_CHANNEL_EVENT_48, EDMA3_RM_HW_CHANNEL_EVENT_49, EDMA3_RM_HW_CHANNEL_EVENT_50, EDMA3_RM_HW_CHANNEL_EVENT_51, EDMA3_RM_HW_CHANNEL_EVENT_52, EDMA3_RM_HW_CHANNEL_EVENT_53, EDMA3_RM_HW_CHANNEL_EVENT_54, EDMA3_RM_HW_CHANNEL_EVENT_55, EDMA3_RM_HW_CHANNEL_EVENT_56, EDMA3_RM_HW_CHANNEL_EVENT_57, EDMA3_RM_HW_CHANNEL_EVENT_58, EDMA3_RM_HW_CHANNEL_EVENT_59, EDMA3_RM_HW_CHANNEL_EVENT_60, EDMA3_RM_HW_CHANNEL_EVENT_61, EDMA3_RM_HW_CHANNEL_EVENT_62, EDMA3_RM_HW_CHANNEL_EVENT_63 } EDMA3_RM_HW_CHANNEL_EVENT; EDMA3_RM_Result EDMA3_RM_allocLogicalChannel(EDMA3_RM_Handle hEdmaResMgr, EDMA3_RM_ResDesc *lChObj, uint32_t *pParam, uint32_t *pTcc); EDMA3_RM_Result EDMA3_RM_freeLogicalChannel (EDMA3_RM_Handle hEdmaResMgr, EDMA3_RM_ResDesc *lChObj); typedef struct { volatile uint32_t OPT; volatile uint32_t SRC; volatile uint32_t A_B_CNT; volatile uint32_t DST; volatile uint32_t SRC_DST_BIDX; volatile uint32_t LINK_BCNTRLD; volatile uint32_t SRC_DST_CIDX; volatile uint32_t CCNT; } EDMA3_RM_ParamentryRegs; typedef struct { volatile uint32_t opt; volatile uint32_t srcAddr; volatile uint16_t aCnt; volatile uint16_t bCnt; volatile uint32_t destAddr; volatile int16_t srcBIdx; volatile int16_t destBIdx; volatile uint16_t linkAddr; volatile uint16_t bCntReload; volatile int16_t srcCIdx; volatile int16_t destCIdx; volatile uint16_t cCnt; volatile int16_t reserved; } EDMA3_RM_PaRAMRegs; typedef enum { EDMA3_RM_QDMA_TRIG_OPT = 0, EDMA3_RM_QDMA_TRIG_SRC = 1, EDMA3_RM_QDMA_TRIG_ACNT_BCNT = 2, EDMA3_RM_QDMA_TRIG_DST = 3, EDMA3_RM_QDMA_TRIG_SRC_DST_BIDX = 4, EDMA3_RM_QDMA_TRIG_LINK_BCNTRLD = 5, EDMA3_RM_QDMA_TRIG_SRC_DST_CIDX = 6, EDMA3_RM_QDMA_TRIG_CCNT = 7, EDMA3_RM_QDMA_TRIG_DEFAULT = 7 } EDMA3_RM_QdmaTrigWord; typedef enum { EDMA3_RM_CC_PHY_ADDR = 0, EDMA3_RM_TC0_PHY_ADDR, EDMA3_RM_TC1_PHY_ADDR, EDMA3_RM_TC2_PHY_ADDR, EDMA3_RM_TC3_PHY_ADDR, EDMA3_RM_TC4_PHY_ADDR, EDMA3_RM_TC5_PHY_ADDR, EDMA3_RM_TC6_PHY_ADDR, EDMA3_RM_TC7_PHY_ADDR }EDMA3_RM_Cntrlr_PhyAddr; EDMA3_RM_Result EDMA3_RM_mapEdmaChannel (EDMA3_RM_Handle hEdmaResMgr, uint32_t channelId, uint32_t paRAMId); EDMA3_RM_Result EDMA3_RM_mapQdmaChannel (EDMA3_RM_Handle hEdmaResMgr, uint32_t channelId, uint32_t paRAMId, EDMA3_RM_QdmaTrigWord trigWord); EDMA3_RM_Result EDMA3_RM_setCCRegister (EDMA3_RM_Handle hEdmaResMgr, uint32_t regOffset, uint32_t newRegValue); EDMA3_RM_Result EDMA3_RM_getCCRegister (EDMA3_RM_Handle hEdmaResMgr, uint32_t regOffset, uint32_t *regValue); EDMA3_RM_Result EDMA3_RM_waitAndClearTcc (EDMA3_RM_Handle hEdmaResMgr, uint32_t tccNo); EDMA3_RM_Result EDMA3_RM_checkAndClearTcc (EDMA3_RM_Handle hEdmaResMgr, uint32_t tccNo, uint16_t *tccStatus); EDMA3_RM_Result EDMA3_RM_setPaRAM (EDMA3_RM_Handle hEdmaResMgr, EDMA3_RM_ResDesc *lChObj, const EDMA3_RM_PaRAMRegs *newPaRAM); EDMA3_RM_Result EDMA3_RM_getPaRAM (EDMA3_RM_Handle hEdmaResMgr, EDMA3_RM_ResDesc *lChObj, EDMA3_RM_PaRAMRegs *currPaRAM); EDMA3_RM_Result EDMA3_RM_getPaRAMPhyAddr(EDMA3_RM_Handle hEdmaResMgr, EDMA3_RM_ResDesc *lChObj, uint32_t *paramPhyAddr); EDMA3_RM_Result EDMA3_RM_getBaseAddress (EDMA3_RM_Handle hEdmaResMgr, EDMA3_RM_Cntrlr_PhyAddr controllerId, uint32_t *phyAddress); EDMA3_RM_Result EDMA3_RM_getGblConfigParams (uint32_t phyCtrllerInstId, EDMA3_RM_GblConfigParams *gblCfgParams); EDMA3_RM_Result EDMA3_RM_getInstanceInitCfg (EDMA3_RM_Handle hEdmaResMgr, EDMA3_RM_InstanceInitConfig *instanceInitConfig); typedef enum { EDMA3_RM_IOCTL_MIN_IOCTL = 0, EDMA3_RM_IOCTL_SET_PARAM_CLEAR_OPTION, EDMA3_RM_IOCTL_GET_PARAM_CLEAR_OPTION, EDMA3_RM_IOCTL_SET_GBL_REG_MODIFY_OPTION, EDMA3_RM_IOCTL_GET_GBL_REG_MODIFY_OPTION, EDMA3_RM_IOCTL_MAX_IOCTL } EDMA3_RM_IoctlCmd; EDMA3_RM_Result EDMA3_RM_Ioctl( EDMA3_RM_Handle hEdmaResMgr, EDMA3_RM_IoctlCmd cmd, void *cmdArg, void *param ); typedef struct { int32_t dmaMapXbarToChan [(31u)]; } EDMA3_RM_GblXbarToChanConfigParams; typedef EDMA3_RM_Result (*EDMA3_RM_mapXbarEvtToChan) (uint32_t eventNum, uint32_t *chanNum, const EDMA3_RM_GblXbarToChanConfigParams * edmaGblXbarConfig); typedef EDMA3_RM_Result (*EDMA3_RM_xbarConfigScr) (uint32_t eventNum, uint32_t chanNum); EDMA3_RM_Result EDMA3_RM_initXbarEventMap (EDMA3_RM_Handle hEdma, const EDMA3_RM_GblXbarToChanConfigParams * edmaGblXbarConfig, EDMA3_RM_mapXbarEvtToChan mapXbarEvtFunc, EDMA3_RM_xbarConfigScr configXbarScr); } extern "C" { typedef struct { uint32_t numDmaChannels; uint32_t numQdmaChannels; uint32_t numTccs; uint32_t numPaRAMSets; uint32_t numEvtQueue; uint32_t numTcs; uint32_t numRegions; uint32_t dmaChPaRAMMapExists; uint32_t memProtectionExists; void *globalRegs; void *tcRegs[(8u)]; uint32_t xferCompleteInt; uint32_t ccError; uint32_t tcError[(8u)]; uint32_t evtQPri [(8u)]; uint32_t evtQueueWaterMarkLvl [(8u)]; uint32_t tcDefaultBurstSize[(8u)]; uint32_t dmaChannelPaRAMMap [(64u)]; uint32_t dmaChannelTccMap [(64u)]; uint32_t dmaChannelHwEvtMap [((64u) / 32u)]; } EDMA3_DRV_GblConfigParams; typedef struct { uint32_t ownPaRAMSets[((512u) / 32u)]; uint32_t ownDmaChannels[((64u) / 32u)]; uint32_t ownQdmaChannels[(1u)]; uint32_t ownTccs[((64u) / 32u)]; uint32_t resvdPaRAMSets[((512u) / 32u)]; uint32_t resvdDmaChannels[((64u) / 32u)]; uint32_t resvdQdmaChannels[(1u)]; uint32_t resvdTccs[((64u) / 32u)]; }EDMA3_DRV_InstanceInitConfig; typedef struct { EDMA3_RM_RegionId regionId; uint32_t isMaster; EDMA3_DRV_InstanceInitConfig *drvInstInitConfig; void *drvSemHandle; EDMA3_RM_GblErrCallback gblerrCb; void *gblerrData; } EDMA3_DRV_InitConfig; typedef struct { uint16_t isSlave; uint16_t param; }EDMA3_DRV_MiscParam; EDMA3_DRV_Result EDMA3_DRV_create (uint32_t phyCtrllerInstId, const EDMA3_DRV_GblConfigParams *gblCfgParams, const void *miscParam); EDMA3_DRV_Result EDMA3_DRV_delete (uint32_t phyCtrllerInstId, const void *param); EDMA3_DRV_Handle EDMA3_DRV_open (uint32_t phyCtrllerInstId, const EDMA3_DRV_InitConfig *initCfg, EDMA3_DRV_Result *errorCode); EDMA3_DRV_Result EDMA3_DRV_close (EDMA3_DRV_Handle hEdma, const void *param); typedef enum { EDMA3_DRV_HW_CHANNEL_EVENT_0 = 0, EDMA3_DRV_HW_CHANNEL_EVENT_1, EDMA3_DRV_HW_CHANNEL_EVENT_2, EDMA3_DRV_HW_CHANNEL_EVENT_3, EDMA3_DRV_HW_CHANNEL_EVENT_4, EDMA3_DRV_HW_CHANNEL_EVENT_5, EDMA3_DRV_HW_CHANNEL_EVENT_6, EDMA3_DRV_HW_CHANNEL_EVENT_7, EDMA3_DRV_HW_CHANNEL_EVENT_8, EDMA3_DRV_HW_CHANNEL_EVENT_9, EDMA3_DRV_HW_CHANNEL_EVENT_10, EDMA3_DRV_HW_CHANNEL_EVENT_11, EDMA3_DRV_HW_CHANNEL_EVENT_12, EDMA3_DRV_HW_CHANNEL_EVENT_13, EDMA3_DRV_HW_CHANNEL_EVENT_14, EDMA3_DRV_HW_CHANNEL_EVENT_15, EDMA3_DRV_HW_CHANNEL_EVENT_16, EDMA3_DRV_HW_CHANNEL_EVENT_17, EDMA3_DRV_HW_CHANNEL_EVENT_18, EDMA3_DRV_HW_CHANNEL_EVENT_19, EDMA3_DRV_HW_CHANNEL_EVENT_20, EDMA3_DRV_HW_CHANNEL_EVENT_21, EDMA3_DRV_HW_CHANNEL_EVENT_22, EDMA3_DRV_HW_CHANNEL_EVENT_23, EDMA3_DRV_HW_CHANNEL_EVENT_24, EDMA3_DRV_HW_CHANNEL_EVENT_25, EDMA3_DRV_HW_CHANNEL_EVENT_26, EDMA3_DRV_HW_CHANNEL_EVENT_27, EDMA3_DRV_HW_CHANNEL_EVENT_28, EDMA3_DRV_HW_CHANNEL_EVENT_29, EDMA3_DRV_HW_CHANNEL_EVENT_30, EDMA3_DRV_HW_CHANNEL_EVENT_31, EDMA3_DRV_HW_CHANNEL_EVENT_32, EDMA3_DRV_HW_CHANNEL_EVENT_33, EDMA3_DRV_HW_CHANNEL_EVENT_34, EDMA3_DRV_HW_CHANNEL_EVENT_35, EDMA3_DRV_HW_CHANNEL_EVENT_36, EDMA3_DRV_HW_CHANNEL_EVENT_37, EDMA3_DRV_HW_CHANNEL_EVENT_38, EDMA3_DRV_HW_CHANNEL_EVENT_39, EDMA3_DRV_HW_CHANNEL_EVENT_40, EDMA3_DRV_HW_CHANNEL_EVENT_41, EDMA3_DRV_HW_CHANNEL_EVENT_42, EDMA3_DRV_HW_CHANNEL_EVENT_43, EDMA3_DRV_HW_CHANNEL_EVENT_44, EDMA3_DRV_HW_CHANNEL_EVENT_45, EDMA3_DRV_HW_CHANNEL_EVENT_46, EDMA3_DRV_HW_CHANNEL_EVENT_47, EDMA3_DRV_HW_CHANNEL_EVENT_48, EDMA3_DRV_HW_CHANNEL_EVENT_49, EDMA3_DRV_HW_CHANNEL_EVENT_50, EDMA3_DRV_HW_CHANNEL_EVENT_51, EDMA3_DRV_HW_CHANNEL_EVENT_52, EDMA3_DRV_HW_CHANNEL_EVENT_53, EDMA3_DRV_HW_CHANNEL_EVENT_54, EDMA3_DRV_HW_CHANNEL_EVENT_55, EDMA3_DRV_HW_CHANNEL_EVENT_56, EDMA3_DRV_HW_CHANNEL_EVENT_57, EDMA3_DRV_HW_CHANNEL_EVENT_58, EDMA3_DRV_HW_CHANNEL_EVENT_59, EDMA3_DRV_HW_CHANNEL_EVENT_60, EDMA3_DRV_HW_CHANNEL_EVENT_61, EDMA3_DRV_HW_CHANNEL_EVENT_62, EDMA3_DRV_HW_CHANNEL_EVENT_63 } EDMA3_DRV_HW_CHANNEL_EVENT; EDMA3_DRV_Result EDMA3_DRV_requestChannel (EDMA3_DRV_Handle hEdma, uint32_t *pLCh, uint32_t *pTcc, EDMA3_RM_EventQueue evtQueue, EDMA3_RM_TccCallback tccCb, void *cbData); EDMA3_DRV_Result EDMA3_DRV_freeChannel (EDMA3_DRV_Handle hEdma, uint32_t channelId); EDMA3_DRV_Result EDMA3_DRV_clearErrorBits (EDMA3_DRV_Handle hEdma, uint32_t channelId); EDMA3_DRV_Result EDMA3_DRV_linkChannel ( EDMA3_DRV_Handle hEdma, uint32_t lCh1, uint32_t lCh2); EDMA3_DRV_Result EDMA3_DRV_unlinkChannel (EDMA3_DRV_Handle hEdma, uint32_t lCh); typedef enum { EDMA3_DRV_OPT_FIELD_SAM = 0, EDMA3_DRV_OPT_FIELD_DAM = 1, EDMA3_DRV_OPT_FIELD_SYNCDIM = 2, EDMA3_DRV_OPT_FIELD_STATIC = 3, EDMA3_DRV_OPT_FIELD_FWID = 4, EDMA3_DRV_OPT_FIELD_TCCMODE = 5, EDMA3_DRV_OPT_FIELD_TCC = 6, EDMA3_DRV_OPT_FIELD_TCINTEN = 7, EDMA3_DRV_OPT_FIELD_ITCINTEN = 8, EDMA3_DRV_OPT_FIELD_TCCHEN = 9, EDMA3_DRV_OPT_FIELD_ITCCHEN = 10 } EDMA3_DRV_OptField; typedef enum { EDMA3_DRV_ADDR_MODE_INCR = 0, EDMA3_DRV_ADDR_MODE_FIFO = 1 } EDMA3_DRV_AddrMode; typedef enum { EDMA3_DRV_SYNC_A = 0 , EDMA3_DRV_SYNC_AB = 1 } EDMA3_DRV_SyncType; typedef enum { EDMA3_DRV_STATIC_DIS = 0, EDMA3_DRV_STATIC_EN = 1 } EDMA3_DRV_StaticMode; typedef enum { EDMA3_DRV_W8BIT = 0, EDMA3_DRV_W16BIT = 1, EDMA3_DRV_W32BIT = 2, EDMA3_DRV_W64BIT = 3, EDMA3_DRV_W128BIT = 4, EDMA3_DRV_W256BIT = 5 } EDMA3_DRV_FifoWidth; typedef enum { EDMA3_DRV_TCCMODE_NORMAL = 0, EDMA3_DRV_TCCMODE_EARLY = 1 } EDMA3_DRV_TccMode; typedef enum { EDMA3_DRV_TCINTEN_DIS = 0, EDMA3_DRV_TCINTEN_EN = 1 } EDMA3_DRV_TcintEn; typedef enum { EDMA3_DRV_ITCINTEN_DIS = 0, EDMA3_DRV_ITCINTEN_EN = 1 } EDMA3_DRV_ItcintEn; typedef enum { EDMA3_DRV_TCCHEN_DIS = 0, EDMA3_DRV_TCCHEN_EN = 1 } EDMA3_DRV_TcchEn; typedef enum { EDMA3_DRV_ITCCHEN_DIS = 0, EDMA3_DRV_ITCCHEN_EN = 1 } EDMA3_DRV_ItcchEn; typedef struct { EDMA3_DRV_TcchEn tcchEn; EDMA3_DRV_ItcchEn itcchEn; EDMA3_DRV_TcintEn tcintEn; EDMA3_DRV_ItcintEn itcintEn; } EDMA3_DRV_ChainOptions; EDMA3_DRV_Result EDMA3_DRV_setOptField (EDMA3_DRV_Handle hEdma, uint32_t lCh, EDMA3_DRV_OptField optField, uint32_t newOptFieldVal); EDMA3_DRV_Result EDMA3_DRV_getOptField (EDMA3_DRV_Handle hEdma, uint32_t lCh, EDMA3_DRV_OptField optField, uint32_t *optFieldVal); EDMA3_DRV_Result EDMA3_DRV_setSrcParams ( EDMA3_DRV_Handle hEdma, uint32_t lCh, uint32_t srcAddr, EDMA3_DRV_AddrMode addrMode, EDMA3_DRV_FifoWidth fifoWidth); EDMA3_DRV_Result EDMA3_DRV_setDestParams ( EDMA3_DRV_Handle hEdma, uint32_t lCh, uint32_t destAddr, EDMA3_DRV_AddrMode addrMode, EDMA3_DRV_FifoWidth fifoWidth ); EDMA3_DRV_Result EDMA3_DRV_setSrcIndex ( EDMA3_DRV_Handle hEdma, uint32_t lCh, int32_t srcBIdx, int32_t srcCIdx ); EDMA3_DRV_Result EDMA3_DRV_setDestIndex (EDMA3_DRV_Handle hEdma, uint32_t lCh, int32_t destBIdx, int32_t destCIdx); EDMA3_DRV_Result EDMA3_DRV_setTransferParams ( EDMA3_DRV_Handle hEdma, uint32_t lCh, uint32_t aCnt, uint32_t bCnt, uint32_t cCnt, uint32_t bCntReload, EDMA3_DRV_SyncType syncType); EDMA3_DRV_Result EDMA3_DRV_chainChannel (EDMA3_DRV_Handle hEdma, uint32_t lCh1, uint32_t lCh2, const EDMA3_DRV_ChainOptions *chainOptions); EDMA3_DRV_Result EDMA3_DRV_unchainChannel (EDMA3_DRV_Handle hEdma, uint32_t lCh); typedef enum { EDMA3_DRV_TRIG_MODE_MANUAL = 0, EDMA3_DRV_TRIG_MODE_QDMA = 1, EDMA3_DRV_TRIG_MODE_EVENT = 2, EDMA3_DRV_TRIG_MODE_NONE = 3 } EDMA3_DRV_TrigMode; uint32_t EDMA3_DRV_getVersion (void); const char* EDMA3_DRV_getVersionStr (void); EDMA3_DRV_Result EDMA3_DRV_enableTransfer (EDMA3_DRV_Handle hEdma, uint32_t lCh, EDMA3_DRV_TrigMode trigMode); EDMA3_DRV_Result EDMA3_DRV_disableTransfer (EDMA3_DRV_Handle hEdma, uint32_t lCh, EDMA3_DRV_TrigMode trigMode); EDMA3_DRV_Result EDMA3_DRV_disableLogicalChannel ( EDMA3_DRV_Handle hEdma, uint32_t lCh, EDMA3_DRV_TrigMode trigMode); typedef enum { EDMA3_DRV_PARAM_ENTRY_OPT = 0, EDMA3_DRV_PARAM_ENTRY_SRC = 1, EDMA3_DRV_PARAM_ENTRY_ACNT_BCNT = 2, EDMA3_DRV_PARAM_ENTRY_DST = 3, EDMA3_DRV_PARAM_ENTRY_SRC_DST_BIDX = 4, EDMA3_DRV_PARAM_ENTRY_LINK_BCNTRLD = 5, EDMA3_DRV_PARAM_ENTRY_SRC_DST_CIDX = 6, EDMA3_DRV_PARAM_ENTRY_CCNT = 7 } EDMA3_DRV_PaRAMEntry; typedef enum { EDMA3_DRV_PARAM_FIELD_OPT = 0, EDMA3_DRV_PARAM_FIELD_SRCADDR = 1, EDMA3_DRV_PARAM_FIELD_ACNT = 2, EDMA3_DRV_PARAM_FIELD_BCNT = 3, EDMA3_DRV_PARAM_FIELD_DESTADDR = 4, EDMA3_DRV_PARAM_FIELD_SRCBIDX = 5, EDMA3_DRV_PARAM_FIELD_DESTBIDX = 6, EDMA3_DRV_PARAM_FIELD_LINKADDR = 7, EDMA3_DRV_PARAM_FIELD_BCNTRELOAD = 8, EDMA3_DRV_PARAM_FIELD_SRCCIDX = 9, EDMA3_DRV_PARAM_FIELD_DESTCIDX = 10, EDMA3_DRV_PARAM_FIELD_CCNT = 11 } EDMA3_DRV_PaRAMField; typedef struct { volatile uint32_t OPT; volatile uint32_t SRC; volatile uint32_t A_B_CNT; volatile uint32_t DST; volatile uint32_t SRC_DST_BIDX; volatile uint32_t LINK_BCNTRLD; volatile uint32_t SRC_DST_CIDX; volatile uint32_t CCNT; } EDMA3_DRV_ParamentryRegs; typedef struct { volatile uint32_t opt; volatile uint32_t srcAddr; volatile uint16_t aCnt; volatile uint16_t bCnt; volatile uint32_t destAddr; volatile int16_t srcBIdx; volatile int16_t destBIdx; volatile uint16_t linkAddr; volatile uint16_t bCntReload; volatile int16_t srcCIdx; volatile int16_t destCIdx; volatile uint16_t cCnt; volatile int16_t reserved; } EDMA3_DRV_PaRAMRegs; typedef struct { uint32_t evtQPri[(8u)]; }EDMA3_DRV_EvtQuePriority; EDMA3_DRV_Result EDMA3_DRV_setQdmaTrigWord (EDMA3_DRV_Handle hEdma, uint32_t lCh, EDMA3_RM_QdmaTrigWord trigWord); EDMA3_DRV_Result EDMA3_DRV_setPaRAM ( EDMA3_DRV_Handle hEdma, uint32_t lCh, const EDMA3_DRV_PaRAMRegs *newPaRAM); EDMA3_DRV_Result EDMA3_DRV_getPaRAM (EDMA3_DRV_Handle hEdma, uint32_t lCh, EDMA3_DRV_PaRAMRegs *currPaRAM); EDMA3_DRV_Result EDMA3_DRV_setPaRAMEntry (EDMA3_DRV_Handle hEdma, uint32_t lCh, EDMA3_DRV_PaRAMEntry paRAMEntry, uint32_t newPaRAMEntryVal); EDMA3_DRV_Result EDMA3_DRV_getPaRAMEntry (EDMA3_DRV_Handle hEdma, uint32_t lCh, EDMA3_DRV_PaRAMEntry paRAMEntry, uint32_t *paRAMEntryVal); EDMA3_DRV_Result EDMA3_DRV_setPaRAMField (EDMA3_DRV_Handle hEdma, uint32_t lCh, EDMA3_DRV_PaRAMField paRAMField, uint32_t newPaRAMFieldVal); EDMA3_DRV_Result EDMA3_DRV_getPaRAMField (EDMA3_DRV_Handle hEdma, uint32_t lCh, EDMA3_DRV_PaRAMField paRAMField, uint32_t *currPaRAMFieldVal); EDMA3_DRV_Result EDMA3_DRV_setEvtQPriority (EDMA3_DRV_Handle hEdma, const EDMA3_DRV_EvtQuePriority *evtQPriObj); EDMA3_DRV_Result EDMA3_DRV_mapChToEvtQ (EDMA3_DRV_Handle hEdma, uint32_t channelId, EDMA3_RM_EventQueue eventQ); EDMA3_DRV_Result EDMA3_DRV_getMapChToEvtQ (EDMA3_DRV_Handle hEdma, uint32_t channelId, uint32_t *mappedEvtQ); EDMA3_DRV_Result EDMA3_DRV_setCCRegister (EDMA3_DRV_Handle hEdma, uint32_t regOffset, uint32_t newRegValue); EDMA3_DRV_Result EDMA3_DRV_getCCRegister (EDMA3_DRV_Handle hEdma, uint32_t regOffset, uint32_t *regValue); EDMA3_DRV_Result EDMA3_DRV_waitAndClearTcc (EDMA3_DRV_Handle hEdma, uint32_t tccNo); EDMA3_DRV_Result EDMA3_DRV_checkAndClearTcc (EDMA3_DRV_Handle hEdma, uint32_t tccNo, uint16_t *tccStatus); EDMA3_DRV_Result EDMA3_DRV_getPaRAMPhyAddr(EDMA3_DRV_Handle hEdma, uint32_t lCh, uint32_t *paramPhyAddr); typedef enum { EDMA3_DRV_IOCTL_MIN_IOCTL = 0, EDMA3_DRV_IOCTL_SET_PARAM_CLEAR_OPTION, EDMA3_DRV_IOCTL_GET_PARAM_CLEAR_OPTION, EDMA3_DRV_IOCTL_MAX_IOCTL } EDMA3_DRV_IoctlCmd; EDMA3_DRV_Result EDMA3_DRV_Ioctl( EDMA3_DRV_Handle hEdma, EDMA3_DRV_IoctlCmd cmd, void *cmdArg, void *param ); EDMA3_DRV_Handle EDMA3_DRV_getInstHandle(uint32_t phyCtrllerInstId, EDMA3_RM_RegionId regionId, EDMA3_DRV_Result *errorCode); EDMA3_DRV_Result EDMA3_DRV_registerTccCb(EDMA3_DRV_Handle hEdma, const uint32_t channelId, EDMA3_RM_TccCallback tccCb, void *cbData); EDMA3_DRV_Result EDMA3_DRV_unregisterTccCb(EDMA3_DRV_Handle hEdma, const uint32_t channelId); typedef enum { EDMA3_DRV_TC_ERR_BUSERR_DIS = 0, EDMA3_DRV_TC_ERR_BUSERR_EN, EDMA3_DRV_TC_ERR_TRERR_DIS, EDMA3_DRV_TC_ERR_TRERR_EN, EDMA3_DRV_TC_ERR_MMRAERR_DIS, EDMA3_DRV_TC_ERR_MMRAERR_EN, EDMA3_DRV_TC_ERR_DIS, EDMA3_DRV_TC_ERR_EN } EDMA3_DRV_Tc_Err; EDMA3_DRV_Result EDMA3_DRV_setTcErrorInt(uint32_t phyCtrllerInstId, uint32_t tcId, EDMA3_DRV_Tc_Err tcErr); EDMA3_DRV_Result EDMA3_DRV_getChannelStatus(EDMA3_DRV_Handle hEdma, uint32_t lCh, uint32_t *lchStatus); EDMA3_DRV_Result EDMA3_DRV_mapTccLinkCh (EDMA3_DRV_Handle hEdma, uint32_t linkCh, uint32_t tcc); typedef struct { int32_t dmaMapXbarToChan [(63u)]; } EDMA3_DRV_GblXbarToChanConfigParams; typedef EDMA3_DRV_Result (*EDMA3_DRV_mapXbarEvtToChan) (uint32_t eventNum, uint32_t *chanNum, const EDMA3_DRV_GblXbarToChanConfigParams * edmaGblXbarConfig); typedef EDMA3_DRV_Result (*EDMA3_DRV_xbarConfigScr) (uint32_t eventNum, uint32_t chanNum); EDMA3_DRV_Result EDMA3_DRV_initXbarEventMap (EDMA3_DRV_Handle hEdma, const EDMA3_DRV_GblXbarToChanConfigParams * edmaGblXbarConfig, EDMA3_DRV_mapXbarEvtToChan mapXbarEvtFunc, EDMA3_DRV_xbarConfigScr configXbarScr); } extern "C" { EDMA3_DRV_Handle edma3init (unsigned int edma3Id, EDMA3_DRV_Result *errorCode); EDMA3_DRV_Result edma3deinit (unsigned int edma3Id, EDMA3_DRV_Handle hEdma); EDMA3_DRV_Result Edma3_CacheInvalidate(unsigned int mem_start_ptr, unsigned int num_bytes); EDMA3_DRV_Result Edma3_CacheFlush(unsigned int mem_start_ptr, unsigned int num_bytes); EDMA3_DRV_Result edma3OsSemCreate(int initVal, const ti_sysbios_knl_Semaphore_Params *semParams, EDMA3_OS_Sem_Handle *hSem); EDMA3_DRV_Result edma3OsSemDelete(EDMA3_OS_Sem_Handle hSem); } namespace PGM { class QDMA { public: explicit QDMA(uint16_t priority = 0); virtual ~QDMA(); EDMA3_DRV_Result Transfer(uint8_t *pSrc, uint8_t *pDest, unsigned int acnt, unsigned int bcnt = 1, unsigned int ccnt = 1, EDMA3_DRV_SyncType syncType = EDMA3_DRV_SYNC_A); protected: static void QdmaISR(uint32_t tcc, EDMA3_RM_TccStatus status, void *appData); static void swiQdma(uint32_t arg0, uint32_t arg1); private: volatile int16_t m_irqRaised; EDMA3_DRV_Handle m_hEdma; ti_sysbios_knl_Swi_Handle m_Swi; ti_sysbios_knl_Semaphore_Handle m_Sema; uint32_t m_qChId, m_qTcc; bool m_bInitialised; }; } namespace PGM { void QDMA::QdmaISR (uint32_t tcc, EDMA3_RM_TccStatus status, void *appData) { QDMA *pDma = reinterpret_cast(appData); switch (status) { case EDMA3_RM_XFER_COMPLETE: pDma->m_irqRaised = 1; break; case EDMA3_RM_E_CC_DMA_EVT_MISS: pDma->m_irqRaised = -1; break; case EDMA3_RM_E_CC_QDMA_EVT_MISS: pDma->m_irqRaised = -2; break; default: break; } ti_sysbios_knl_Swi_post__E(pDma->m_Swi); } void QDMA::swiQdma(UArg arg0, UArg arg1) { QDMA *pDma = reinterpret_cast(arg0); ti_sysbios_knl_Semaphore_post__E(pDma->m_Sema); } QDMA::QDMA(uint16_t priority) : m_irqRaised(0), m_Sema(0), m_Swi(0), m_bInitialised(false) { EDMA3_DRV_Result edmaResult = 0; m_hEdma = (EDMA3_DRV_Handle) edma3init(0, &edmaResult); try{ xdc_runtime_Error_Block eb; xdc_runtime_Error_init__E(&eb); ti_sysbios_knl_Swi_Params swiParams; ti_sysbios_knl_Swi_Params_init(&swiParams); swiParams.arg0 = (xdc_UArg) this; swiParams.arg1 = 0; swiParams.priority = priority; swiParams.trigger = 0; m_Swi = ti_sysbios_knl_Swi_create((ti_sysbios_knl_Swi_FuncPtr)swiQdma, &swiParams, &eb); if(m_Swi == 0) { throw "Error creating QDMA Swi"; } ti_sysbios_knl_Semaphore_Params para; ti_sysbios_knl_Semaphore_Params_init(¶); para.mode = ti_sysbios_knl_Semaphore_Mode_BINARY; xdc_runtime_Error_init__E(&eb); m_Sema = ti_sysbios_knl_Semaphore_create(0, ¶, &eb); if(m_Sema == 0) { throw "Error creating QDMA Semaphore"; } m_qChId = 1003u; m_qTcc = 1004u; int32_t result = EDMA3_DRV_requestChannel (m_hEdma, &m_qChId, &m_qTcc, (EDMA3_RM_EventQueue)0, &QdmaISR, this); if (result == (0u)) { result = EDMA3_DRV_setQdmaTrigWord (m_hEdma, m_qChId, EDMA3_RM_QDMA_TRIG_DST); } else { throw "Error requesting QDMA channel"; } m_bInitialised = true; } catch(const char *p) { xdc_runtime_System_printf__E((xdc_String)p);xdc_runtime_System_flush__E(); return; } } QDMA::~QDMA() { EDMA3_DRV_freeChannel (m_hEdma, m_qChId); ti_sysbios_knl_Semaphore_delete(&m_Sema); ti_sysbios_knl_Swi_delete(&m_Swi); } EDMA3_DRV_Result QDMA::Transfer(uint8_t *pSrc, uint8_t *pDest, uint32_t acnt, uint32_t bcnt, uint32_t ccnt, EDMA3_DRV_SyncType syncType) { if(!m_bInitialised) { return -1; } int32_t srcbidx = 0, desbidx = 0; int32_t srccidx = 0, descidx = 0; uint32_t numenabled = 0; uint8_t *tmpSrcBuff = pSrc; uint8_t *tmpDstBuff = pDest, m_irqRaised = 0; int32_t result = Edma3_CacheFlush((uint32_t)pSrc, (acnt*bcnt*ccnt)); if (result == (0u)) { result = Edma3_CacheInvalidate((uint32_t)pDest, (acnt*bcnt*ccnt)); } uint32_t BRCnt = bcnt; srcbidx = (int)acnt; desbidx = (int)acnt; if (syncType == EDMA3_DRV_SYNC_A) { srccidx = (int)acnt; descidx = (int)acnt; } else { srccidx = ((int)acnt * (int)bcnt); descidx = ((int)acnt * (int)bcnt); } result |= EDMA3_DRV_setSrcIndex (m_hEdma, m_qChId, srcbidx, srccidx); result |= EDMA3_DRV_setDestIndex (m_hEdma, m_qChId, desbidx, descidx); result |= EDMA3_DRV_setTransferParams (m_hEdma, m_qChId, acnt, bcnt, ccnt, BRCnt, syncType); result |= EDMA3_DRV_setOptField (m_hEdma, m_qChId, EDMA3_DRV_OPT_FIELD_TCINTEN, 1u); result |= EDMA3_DRV_setOptField (m_hEdma, m_qChId, EDMA3_DRV_OPT_FIELD_ITCINTEN, 1u); result |= EDMA3_DRV_setOptField (m_hEdma, m_qChId, EDMA3_DRV_OPT_FIELD_SAM, EDMA3_DRV_ADDR_MODE_INCR); result |= EDMA3_DRV_setOptField (m_hEdma, m_qChId, EDMA3_DRV_OPT_FIELD_DAM, EDMA3_DRV_ADDR_MODE_INCR); if (result == (0u)) { if (syncType == EDMA3_DRV_SYNC_A) { numenabled = bcnt * ccnt; } else { numenabled = ccnt; } for (uint32_t i = 0u; i < numenabled; i++) { m_irqRaised = 0; if (i == (numenabled-1u)) { result = EDMA3_DRV_setOptField (m_hEdma, m_qChId, EDMA3_DRV_OPT_FIELD_STATIC, 1u); } result = EDMA3_DRV_setSrcParams (m_hEdma, m_qChId, (uint32_t)(pSrc), EDMA3_DRV_ADDR_MODE_INCR, EDMA3_DRV_W8BIT); if (result == (0u)) { result = EDMA3_DRV_setPaRAMEntry (m_hEdma, m_qChId, EDMA3_DRV_PARAM_ENTRY_DST, (uint32_t)(pDest)); if (result != (0u)) { break; } } ti_sysbios_knl_Semaphore_pend__E(m_Sema, (~(0))); if (m_irqRaised < 0) { result = EDMA3_DRV_clearErrorBits (m_hEdma, m_qChId); break; } pSrc += srccidx; pDest += descidx; } } if (result == (0u)) { pSrc = tmpSrcBuff; pDest = tmpDstBuff; for (uint32_t i = 0u; i < (acnt*bcnt*ccnt); i++) { if (pSrc[i] != pDest[i]) { result = -1u; xdc_runtime_System_printf__E("qdma_test: Data write-read matching FAILED" " at i = %d\r\n", i); xdc_runtime_System_flush__E(); break; } } } return result; } }