/*
 *  Do not modify this file; it is automatically 
 *  generated and any modifications will be overwritten.
 *
 * @(#) xdc-y30
 */

/*
 * ======== GENERATED SECTIONS ========
 *     
 *     PROLOGUE
 *     INCLUDES
 *     
 *     CREATE ARGS
 *     INTERNAL DEFINITIONS
 *     MODULE-WIDE CONFIGS
 *     PER-INSTANCE TYPES
 *     VIRTUAL FUNCTIONS
 *     FUNCTION DECLARATIONS
 *     FUNCTION SELECTORS
 *     CONVERTORS
 *     SYSTEM FUNCTIONS
 *     
 *     EPILOGUE
 *     STATE STRUCTURES
 *     PREFIX ALIASES
 */


/*
 * ======== PROLOGUE ========
 */

#ifndef ti_transport_ipc_srio_transports_TransportSrio__include
#define ti_transport_ipc_srio_transports_TransportSrio__include

#ifndef __nested__
#define __nested__
#define ti_transport_ipc_srio_transports_TransportSrio__top__
#endif

#ifdef __cplusplus
#define __extern extern "C"
#else
#define __extern extern
#endif

#define ti_transport_ipc_srio_transports_TransportSrio___VERS 150


/*
 * ======== INCLUDES ========
 */

#include <xdc/std.h>

#include <xdc/runtime/xdc.h>
#include <xdc/runtime/Types.h>
#include <xdc/runtime/IInstance.h>
#include <ti/transport/ipc/srio/transports/package/package.defs.h>

#include <ti/sdo/ipc/interfaces/IMessageQTransport.h>
#include <ti/sdo/utils/MultiProc.h>
#include <xdc/runtime/Assert.h>


/*
 * ======== AUXILIARY DEFINITIONS ========
 */

/* Status */
typedef ti_sdo_ipc_interfaces_IMessageQTransport_Status ti_transport_ipc_srio_transports_TransportSrio_Status;

/* Reason */
typedef ti_sdo_ipc_interfaces_IMessageQTransport_Reason ti_transport_ipc_srio_transports_TransportSrio_Reason;

/* ErrFxn */
typedef ti_sdo_ipc_interfaces_IMessageQTransport_ErrFxn ti_transport_ipc_srio_transports_TransportSrio_ErrFxn;

/* S_SUCCESS */
#define ti_transport_ipc_srio_transports_TransportSrio_S_SUCCESS ti_sdo_ipc_interfaces_IMessageQTransport_S_SUCCESS

/* E_FAIL */
#define ti_transport_ipc_srio_transports_TransportSrio_E_FAIL ti_sdo_ipc_interfaces_IMessageQTransport_E_FAIL

/* E_ERROR */
#define ti_transport_ipc_srio_transports_TransportSrio_E_ERROR ti_sdo_ipc_interfaces_IMessageQTransport_E_ERROR

/* Reason_FAILEDPUT */
#define ti_transport_ipc_srio_transports_TransportSrio_Reason_FAILEDPUT ti_sdo_ipc_interfaces_IMessageQTransport_Reason_FAILEDPUT

/* Reason_INTERNALERR */
#define ti_transport_ipc_srio_transports_TransportSrio_Reason_INTERNALERR ti_sdo_ipc_interfaces_IMessageQTransport_Reason_INTERNALERR

/* Reason_PHYSICALERR */
#define ti_transport_ipc_srio_transports_TransportSrio_Reason_PHYSICALERR ti_sdo_ipc_interfaces_IMessageQTransport_Reason_PHYSICALERR

/* Reason_FAILEDALLOC */
#define ti_transport_ipc_srio_transports_TransportSrio_Reason_FAILEDALLOC ti_sdo_ipc_interfaces_IMessageQTransport_Reason_FAILEDALLOC


/*
 * ======== CREATE ARGS ========
 */

/* Args__create */
typedef struct ti_transport_ipc_srio_transports_TransportSrio_Args__create {
    xdc_UInt16 procId;
} ti_transport_ipc_srio_transports_TransportSrio_Args__create;


/*
 * ======== INTERNAL DEFINITIONS ========
 */


/*
 * ======== MODULE-WIDE CONFIGS ========
 */

/* Module__diagsEnabled */
typedef xdc_Bits32 CT__ti_transport_ipc_srio_transports_TransportSrio_Module__diagsEnabled;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_Module__diagsEnabled ti_transport_ipc_srio_transports_TransportSrio_Module__diagsEnabled__C;

/* Module__diagsIncluded */
typedef xdc_Bits32 CT__ti_transport_ipc_srio_transports_TransportSrio_Module__diagsIncluded;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_Module__diagsIncluded ti_transport_ipc_srio_transports_TransportSrio_Module__diagsIncluded__C;

/* Module__diagsMask */
typedef xdc_Bits16* CT__ti_transport_ipc_srio_transports_TransportSrio_Module__diagsMask;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_Module__diagsMask ti_transport_ipc_srio_transports_TransportSrio_Module__diagsMask__C;

/* Module__gateObj */
typedef xdc_Ptr CT__ti_transport_ipc_srio_transports_TransportSrio_Module__gateObj;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_Module__gateObj ti_transport_ipc_srio_transports_TransportSrio_Module__gateObj__C;

/* Module__gatePrms */
typedef xdc_Ptr CT__ti_transport_ipc_srio_transports_TransportSrio_Module__gatePrms;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_Module__gatePrms ti_transport_ipc_srio_transports_TransportSrio_Module__gatePrms__C;

/* Module__id */
typedef xdc_runtime_Types_ModuleId CT__ti_transport_ipc_srio_transports_TransportSrio_Module__id;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_Module__id ti_transport_ipc_srio_transports_TransportSrio_Module__id__C;

/* Module__loggerDefined */
typedef xdc_Bool CT__ti_transport_ipc_srio_transports_TransportSrio_Module__loggerDefined;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_Module__loggerDefined ti_transport_ipc_srio_transports_TransportSrio_Module__loggerDefined__C;

/* Module__loggerObj */
typedef xdc_Ptr CT__ti_transport_ipc_srio_transports_TransportSrio_Module__loggerObj;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_Module__loggerObj ti_transport_ipc_srio_transports_TransportSrio_Module__loggerObj__C;

/* Module__loggerFxn0 */
typedef xdc_runtime_Types_LoggerFxn0 CT__ti_transport_ipc_srio_transports_TransportSrio_Module__loggerFxn0;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_Module__loggerFxn0 ti_transport_ipc_srio_transports_TransportSrio_Module__loggerFxn0__C;

/* Module__loggerFxn1 */
typedef xdc_runtime_Types_LoggerFxn1 CT__ti_transport_ipc_srio_transports_TransportSrio_Module__loggerFxn1;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_Module__loggerFxn1 ti_transport_ipc_srio_transports_TransportSrio_Module__loggerFxn1__C;

/* Module__loggerFxn2 */
typedef xdc_runtime_Types_LoggerFxn2 CT__ti_transport_ipc_srio_transports_TransportSrio_Module__loggerFxn2;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_Module__loggerFxn2 ti_transport_ipc_srio_transports_TransportSrio_Module__loggerFxn2__C;

/* Module__loggerFxn4 */
typedef xdc_runtime_Types_LoggerFxn4 CT__ti_transport_ipc_srio_transports_TransportSrio_Module__loggerFxn4;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_Module__loggerFxn4 ti_transport_ipc_srio_transports_TransportSrio_Module__loggerFxn4__C;

/* Module__loggerFxn8 */
typedef xdc_runtime_Types_LoggerFxn8 CT__ti_transport_ipc_srio_transports_TransportSrio_Module__loggerFxn8;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_Module__loggerFxn8 ti_transport_ipc_srio_transports_TransportSrio_Module__loggerFxn8__C;

/* Module__startupDoneFxn */
typedef xdc_Bool (*CT__ti_transport_ipc_srio_transports_TransportSrio_Module__startupDoneFxn)(void);
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_Module__startupDoneFxn ti_transport_ipc_srio_transports_TransportSrio_Module__startupDoneFxn__C;

/* Object__count */
typedef xdc_Int CT__ti_transport_ipc_srio_transports_TransportSrio_Object__count;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_Object__count ti_transport_ipc_srio_transports_TransportSrio_Object__count__C;

/* Object__heap */
typedef xdc_runtime_IHeap_Handle CT__ti_transport_ipc_srio_transports_TransportSrio_Object__heap;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_Object__heap ti_transport_ipc_srio_transports_TransportSrio_Object__heap__C;

/* Object__sizeof */
typedef xdc_SizeT CT__ti_transport_ipc_srio_transports_TransportSrio_Object__sizeof;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_Object__sizeof ti_transport_ipc_srio_transports_TransportSrio_Object__sizeof__C;

/* Object__table */
typedef xdc_Ptr CT__ti_transport_ipc_srio_transports_TransportSrio_Object__table;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_Object__table ti_transport_ipc_srio_transports_TransportSrio_Object__table__C;

/* errFxn */
#define ti_transport_ipc_srio_transports_TransportSrio_errFxn (ti_transport_ipc_srio_transports_TransportSrio_errFxn__C)
typedef ti_sdo_ipc_interfaces_IMessageQTransport_ErrFxn CT__ti_transport_ipc_srio_transports_TransportSrio_errFxn;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_errFxn ti_transport_ipc_srio_transports_TransportSrio_errFxn__C;

/* A_srioProcIdInvalid */
#define ti_transport_ipc_srio_transports_TransportSrio_A_srioProcIdInvalid (ti_transport_ipc_srio_transports_TransportSrio_A_srioProcIdInvalid__C)
typedef xdc_runtime_Assert_Id CT__ti_transport_ipc_srio_transports_TransportSrio_A_srioProcIdInvalid;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_A_srioProcIdInvalid ti_transport_ipc_srio_transports_TransportSrio_A_srioProcIdInvalid__C;

/* A_srioRxCompQError */
#define ti_transport_ipc_srio_transports_TransportSrio_A_srioRxCompQError (ti_transport_ipc_srio_transports_TransportSrio_A_srioRxCompQError__C)
typedef xdc_runtime_Assert_Id CT__ti_transport_ipc_srio_transports_TransportSrio_A_srioRxCompQError;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_A_srioRxCompQError ti_transport_ipc_srio_transports_TransportSrio_A_srioRxCompQError__C;

/* A_srioAccumulatorListSize */
#define ti_transport_ipc_srio_transports_TransportSrio_A_srioAccumulatorListSize (ti_transport_ipc_srio_transports_TransportSrio_A_srioAccumulatorListSize__C)
typedef xdc_runtime_Assert_Id CT__ti_transport_ipc_srio_transports_TransportSrio_A_srioAccumulatorListSize;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_A_srioAccumulatorListSize ti_transport_ipc_srio_transports_TransportSrio_A_srioAccumulatorListSize__C;

/* A_srioAccumulatorListNULL */
#define ti_transport_ipc_srio_transports_TransportSrio_A_srioAccumulatorListNULL (ti_transport_ipc_srio_transports_TransportSrio_A_srioAccumulatorListNULL__C)
typedef xdc_runtime_Assert_Id CT__ti_transport_ipc_srio_transports_TransportSrio_A_srioAccumulatorListNULL;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_A_srioAccumulatorListNULL ti_transport_ipc_srio_transports_TransportSrio_A_srioAccumulatorListNULL__C;

/* A_srioDriverError */
#define ti_transport_ipc_srio_transports_TransportSrio_A_srioDriverError (ti_transport_ipc_srio_transports_TransportSrio_A_srioDriverError__C)
typedef xdc_runtime_Assert_Id CT__ti_transport_ipc_srio_transports_TransportSrio_A_srioDriverError;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_A_srioDriverError ti_transport_ipc_srio_transports_TransportSrio_A_srioDriverError__C;

/* A_srioSocketError */
#define ti_transport_ipc_srio_transports_TransportSrio_A_srioSocketError (ti_transport_ipc_srio_transports_TransportSrio_A_srioSocketError__C)
typedef xdc_runtime_Assert_Id CT__ti_transport_ipc_srio_transports_TransportSrio_A_srioSocketError;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_A_srioSocketError ti_transport_ipc_srio_transports_TransportSrio_A_srioSocketError__C;

/* A_srioSocketBindError */
#define ti_transport_ipc_srio_transports_TransportSrio_A_srioSocketBindError (ti_transport_ipc_srio_transports_TransportSrio_A_srioSocketBindError__C)
typedef xdc_runtime_Assert_Id CT__ti_transport_ipc_srio_transports_TransportSrio_A_srioSocketBindError;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_A_srioSocketBindError ti_transport_ipc_srio_transports_TransportSrio_A_srioSocketBindError__C;

/* A_srioSocketOptionError */
#define ti_transport_ipc_srio_transports_TransportSrio_A_srioSocketOptionError (ti_transport_ipc_srio_transports_TransportSrio_A_srioSocketOptionError__C)
typedef xdc_runtime_Assert_Id CT__ti_transport_ipc_srio_transports_TransportSrio_A_srioSocketOptionError;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_A_srioSocketOptionError ti_transport_ipc_srio_transports_TransportSrio_A_srioSocketOptionError__C;

/* A_srioSocketCloseError */
#define ti_transport_ipc_srio_transports_TransportSrio_A_srioSocketCloseError (ti_transport_ipc_srio_transports_TransportSrio_A_srioSocketCloseError__C)
typedef xdc_runtime_Assert_Id CT__ti_transport_ipc_srio_transports_TransportSrio_A_srioSocketCloseError;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_A_srioSocketCloseError ti_transport_ipc_srio_transports_TransportSrio_A_srioSocketCloseError__C;

/* A_srioQueueCloseError */
#define ti_transport_ipc_srio_transports_TransportSrio_A_srioQueueCloseError (ti_transport_ipc_srio_transports_TransportSrio_A_srioQueueCloseError__C)
typedef xdc_runtime_Assert_Id CT__ti_transport_ipc_srio_transports_TransportSrio_A_srioQueueCloseError;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_A_srioQueueCloseError ti_transport_ipc_srio_transports_TransportSrio_A_srioQueueCloseError__C;

/* A_srioAllocTxBufPtrError */
#define ti_transport_ipc_srio_transports_TransportSrio_A_srioAllocTxBufPtrError (ti_transport_ipc_srio_transports_TransportSrio_A_srioAllocTxBufPtrError__C)
typedef xdc_runtime_Assert_Id CT__ti_transport_ipc_srio_transports_TransportSrio_A_srioAllocTxBufPtrError;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_A_srioAllocTxBufPtrError ti_transport_ipc_srio_transports_TransportSrio_A_srioAllocTxBufPtrError__C;

/* A_srioAllocTxBufLenError */
#define ti_transport_ipc_srio_transports_TransportSrio_A_srioAllocTxBufLenError (ti_transport_ipc_srio_transports_TransportSrio_A_srioAllocTxBufLenError__C)
typedef xdc_runtime_Assert_Id CT__ti_transport_ipc_srio_transports_TransportSrio_A_srioAllocTxBufLenError;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_A_srioAllocTxBufLenError ti_transport_ipc_srio_transports_TransportSrio_A_srioAllocTxBufLenError__C;

/* A_srioMsgQFreeError */
#define ti_transport_ipc_srio_transports_TransportSrio_A_srioMsgQFreeError (ti_transport_ipc_srio_transports_TransportSrio_A_srioMsgQFreeError__C)
typedef xdc_runtime_Assert_Id CT__ti_transport_ipc_srio_transports_TransportSrio_A_srioMsgQFreeError;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_A_srioMsgQFreeError ti_transport_ipc_srio_transports_TransportSrio_A_srioMsgQFreeError__C;

/* A_srioSocketSendError */
#define ti_transport_ipc_srio_transports_TransportSrio_A_srioSocketSendError (ti_transport_ipc_srio_transports_TransportSrio_A_srioSocketSendError__C)
typedef xdc_runtime_Assert_Id CT__ti_transport_ipc_srio_transports_TransportSrio_A_srioSocketSendError;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_A_srioSocketSendError ti_transport_ipc_srio_transports_TransportSrio_A_srioSocketSendError__C;

/* A_srioDrvHandleError */
#define ti_transport_ipc_srio_transports_TransportSrio_A_srioDrvHandleError (ti_transport_ipc_srio_transports_TransportSrio_A_srioDrvHandleError__C)
typedef xdc_runtime_Assert_Id CT__ti_transport_ipc_srio_transports_TransportSrio_A_srioDrvHandleError;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_A_srioDrvHandleError ti_transport_ipc_srio_transports_TransportSrio_A_srioDrvHandleError__C;

/* intThreshold */
#ifdef ti_transport_ipc_srio_transports_TransportSrio_intThreshold__D
#define ti_transport_ipc_srio_transports_TransportSrio_intThreshold (ti_transport_ipc_srio_transports_TransportSrio_intThreshold__D)
#else
#define ti_transport_ipc_srio_transports_TransportSrio_intThreshold (ti_transport_ipc_srio_transports_TransportSrio_intThreshold__C)
typedef xdc_UInt CT__ti_transport_ipc_srio_transports_TransportSrio_intThreshold;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_intThreshold ti_transport_ipc_srio_transports_TransportSrio_intThreshold__C;
#endif

/* accuHiPriListSize */
#ifdef ti_transport_ipc_srio_transports_TransportSrio_accuHiPriListSize__D
#define ti_transport_ipc_srio_transports_TransportSrio_accuHiPriListSize (ti_transport_ipc_srio_transports_TransportSrio_accuHiPriListSize__D)
#else
#define ti_transport_ipc_srio_transports_TransportSrio_accuHiPriListSize (ti_transport_ipc_srio_transports_TransportSrio_accuHiPriListSize__C)
typedef xdc_UInt CT__ti_transport_ipc_srio_transports_TransportSrio_accuHiPriListSize;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_accuHiPriListSize ti_transport_ipc_srio_transports_TransportSrio_accuHiPriListSize__C;
#endif

/* pacingEnabled */
#ifdef ti_transport_ipc_srio_transports_TransportSrio_pacingEnabled__D
#define ti_transport_ipc_srio_transports_TransportSrio_pacingEnabled (ti_transport_ipc_srio_transports_TransportSrio_pacingEnabled__D)
#else
#define ti_transport_ipc_srio_transports_TransportSrio_pacingEnabled (ti_transport_ipc_srio_transports_TransportSrio_pacingEnabled__C)
typedef xdc_UInt CT__ti_transport_ipc_srio_transports_TransportSrio_pacingEnabled;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_pacingEnabled ti_transport_ipc_srio_transports_TransportSrio_pacingEnabled__C;
#endif

/* timerLoadCount */
#ifdef ti_transport_ipc_srio_transports_TransportSrio_timerLoadCount__D
#define ti_transport_ipc_srio_transports_TransportSrio_timerLoadCount (ti_transport_ipc_srio_transports_TransportSrio_timerLoadCount__D)
#else
#define ti_transport_ipc_srio_transports_TransportSrio_timerLoadCount (ti_transport_ipc_srio_transports_TransportSrio_timerLoadCount__C)
typedef xdc_UInt CT__ti_transport_ipc_srio_transports_TransportSrio_timerLoadCount;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_timerLoadCount ti_transport_ipc_srio_transports_TransportSrio_timerLoadCount__C;
#endif

/* srioMaxMtuSizeBytes */
#ifdef ti_transport_ipc_srio_transports_TransportSrio_srioMaxMtuSizeBytes__D
#define ti_transport_ipc_srio_transports_TransportSrio_srioMaxMtuSizeBytes (ti_transport_ipc_srio_transports_TransportSrio_srioMaxMtuSizeBytes__D)
#else
#define ti_transport_ipc_srio_transports_TransportSrio_srioMaxMtuSizeBytes (ti_transport_ipc_srio_transports_TransportSrio_srioMaxMtuSizeBytes__C)
typedef xdc_UInt32 CT__ti_transport_ipc_srio_transports_TransportSrio_srioMaxMtuSizeBytes;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_srioMaxMtuSizeBytes ti_transport_ipc_srio_transports_TransportSrio_srioMaxMtuSizeBytes__C;
#endif

/* srioNumTxDescriptors */
#ifdef ti_transport_ipc_srio_transports_TransportSrio_srioNumTxDescriptors__D
#define ti_transport_ipc_srio_transports_TransportSrio_srioNumTxDescriptors (ti_transport_ipc_srio_transports_TransportSrio_srioNumTxDescriptors__D)
#else
#define ti_transport_ipc_srio_transports_TransportSrio_srioNumTxDescriptors (ti_transport_ipc_srio_transports_TransportSrio_srioNumTxDescriptors__C)
typedef xdc_UInt32 CT__ti_transport_ipc_srio_transports_TransportSrio_srioNumTxDescriptors;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_srioNumTxDescriptors ti_transport_ipc_srio_transports_TransportSrio_srioNumTxDescriptors__C;
#endif

/* srioNumRxDescriptors */
#ifdef ti_transport_ipc_srio_transports_TransportSrio_srioNumRxDescriptors__D
#define ti_transport_ipc_srio_transports_TransportSrio_srioNumRxDescriptors (ti_transport_ipc_srio_transports_TransportSrio_srioNumRxDescriptors__D)
#else
#define ti_transport_ipc_srio_transports_TransportSrio_srioNumRxDescriptors (ti_transport_ipc_srio_transports_TransportSrio_srioNumRxDescriptors__C)
typedef xdc_UInt32 CT__ti_transport_ipc_srio_transports_TransportSrio_srioNumRxDescriptors;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_srioNumRxDescriptors ti_transport_ipc_srio_transports_TransportSrio_srioNumRxDescriptors__C;
#endif

/* numTxDescToCleanUp */
#ifdef ti_transport_ipc_srio_transports_TransportSrio_numTxDescToCleanUp__D
#define ti_transport_ipc_srio_transports_TransportSrio_numTxDescToCleanUp (ti_transport_ipc_srio_transports_TransportSrio_numTxDescToCleanUp__D)
#else
#define ti_transport_ipc_srio_transports_TransportSrio_numTxDescToCleanUp (ti_transport_ipc_srio_transports_TransportSrio_numTxDescToCleanUp__C)
typedef xdc_UInt32 CT__ti_transport_ipc_srio_transports_TransportSrio_numTxDescToCleanUp;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_numTxDescToCleanUp ti_transport_ipc_srio_transports_TransportSrio_numTxDescToCleanUp__C;
#endif

/* descriptorSize */
#ifdef ti_transport_ipc_srio_transports_TransportSrio_descriptorSize__D
#define ti_transport_ipc_srio_transports_TransportSrio_descriptorSize (ti_transport_ipc_srio_transports_TransportSrio_descriptorSize__D)
#else
#define ti_transport_ipc_srio_transports_TransportSrio_descriptorSize (ti_transport_ipc_srio_transports_TransportSrio_descriptorSize__C)
typedef xdc_UInt CT__ti_transport_ipc_srio_transports_TransportSrio_descriptorSize;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_descriptorSize ti_transport_ipc_srio_transports_TransportSrio_descriptorSize__C;
#endif

/* srioGarbageQ */
#ifdef ti_transport_ipc_srio_transports_TransportSrio_srioGarbageQ__D
#define ti_transport_ipc_srio_transports_TransportSrio_srioGarbageQ (ti_transport_ipc_srio_transports_TransportSrio_srioGarbageQ__D)
#else
#define ti_transport_ipc_srio_transports_TransportSrio_srioGarbageQ (ti_transport_ipc_srio_transports_TransportSrio_srioGarbageQ__C)
typedef xdc_UInt32 CT__ti_transport_ipc_srio_transports_TransportSrio_srioGarbageQ;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_srioGarbageQ ti_transport_ipc_srio_transports_TransportSrio_srioGarbageQ__C;
#endif

/* srioMaxNumSystemCores */
#ifdef ti_transport_ipc_srio_transports_TransportSrio_srioMaxNumSystemCores__D
#define ti_transport_ipc_srio_transports_TransportSrio_srioMaxNumSystemCores (ti_transport_ipc_srio_transports_TransportSrio_srioMaxNumSystemCores__D)
#else
#define ti_transport_ipc_srio_transports_TransportSrio_srioMaxNumSystemCores (ti_transport_ipc_srio_transports_TransportSrio_srioMaxNumSystemCores__C)
typedef xdc_UInt16 CT__ti_transport_ipc_srio_transports_TransportSrio_srioMaxNumSystemCores;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_srioMaxNumSystemCores ti_transport_ipc_srio_transports_TransportSrio_srioMaxNumSystemCores__C;
#endif

/* srioCoreTT */
#define ti_transport_ipc_srio_transports_TransportSrio_srioCoreTT (ti_transport_ipc_srio_transports_TransportSrio_srioCoreTT__C)
typedef xdc_UInt16 __T1_ti_transport_ipc_srio_transports_TransportSrio_srioCoreTT;
typedef xdc_UInt16 *__ARRAY1_ti_transport_ipc_srio_transports_TransportSrio_srioCoreTT;
typedef __ARRAY1_ti_transport_ipc_srio_transports_TransportSrio_srioCoreTT __TA_ti_transport_ipc_srio_transports_TransportSrio_srioCoreTT;
typedef __TA_ti_transport_ipc_srio_transports_TransportSrio_srioCoreTT CT__ti_transport_ipc_srio_transports_TransportSrio_srioCoreTT;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_srioCoreTT ti_transport_ipc_srio_transports_TransportSrio_srioCoreTT__C;

/* srioCoreDeviceId */
#define ti_transport_ipc_srio_transports_TransportSrio_srioCoreDeviceId (ti_transport_ipc_srio_transports_TransportSrio_srioCoreDeviceId__C)
typedef xdc_UInt16 __T1_ti_transport_ipc_srio_transports_TransportSrio_srioCoreDeviceId;
typedef xdc_UInt16 *__ARRAY1_ti_transport_ipc_srio_transports_TransportSrio_srioCoreDeviceId;
typedef __ARRAY1_ti_transport_ipc_srio_transports_TransportSrio_srioCoreDeviceId __TA_ti_transport_ipc_srio_transports_TransportSrio_srioCoreDeviceId;
typedef __TA_ti_transport_ipc_srio_transports_TransportSrio_srioCoreDeviceId CT__ti_transport_ipc_srio_transports_TransportSrio_srioCoreDeviceId;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_srioCoreDeviceId ti_transport_ipc_srio_transports_TransportSrio_srioCoreDeviceId__C;

/* srioCoreMailbox */
#define ti_transport_ipc_srio_transports_TransportSrio_srioCoreMailbox (ti_transport_ipc_srio_transports_TransportSrio_srioCoreMailbox__C)
typedef xdc_UInt16 __T1_ti_transport_ipc_srio_transports_TransportSrio_srioCoreMailbox;
typedef xdc_UInt16 *__ARRAY1_ti_transport_ipc_srio_transports_TransportSrio_srioCoreMailbox;
typedef __ARRAY1_ti_transport_ipc_srio_transports_TransportSrio_srioCoreMailbox __TA_ti_transport_ipc_srio_transports_TransportSrio_srioCoreMailbox;
typedef __TA_ti_transport_ipc_srio_transports_TransportSrio_srioCoreMailbox CT__ti_transport_ipc_srio_transports_TransportSrio_srioCoreMailbox;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_srioCoreMailbox ti_transport_ipc_srio_transports_TransportSrio_srioCoreMailbox__C;

/* srioCoreLetter */
#define ti_transport_ipc_srio_transports_TransportSrio_srioCoreLetter (ti_transport_ipc_srio_transports_TransportSrio_srioCoreLetter__C)
typedef xdc_UInt16 __T1_ti_transport_ipc_srio_transports_TransportSrio_srioCoreLetter;
typedef xdc_UInt16 *__ARRAY1_ti_transport_ipc_srio_transports_TransportSrio_srioCoreLetter;
typedef __ARRAY1_ti_transport_ipc_srio_transports_TransportSrio_srioCoreLetter __TA_ti_transport_ipc_srio_transports_TransportSrio_srioCoreLetter;
typedef __TA_ti_transport_ipc_srio_transports_TransportSrio_srioCoreLetter CT__ti_transport_ipc_srio_transports_TransportSrio_srioCoreLetter;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_srioCoreLetter ti_transport_ipc_srio_transports_TransportSrio_srioCoreLetter__C;

/* srioCoreSegMap */
#define ti_transport_ipc_srio_transports_TransportSrio_srioCoreSegMap (ti_transport_ipc_srio_transports_TransportSrio_srioCoreSegMap__C)
typedef xdc_UInt16 __T1_ti_transport_ipc_srio_transports_TransportSrio_srioCoreSegMap;
typedef xdc_UInt16 *__ARRAY1_ti_transport_ipc_srio_transports_TransportSrio_srioCoreSegMap;
typedef __ARRAY1_ti_transport_ipc_srio_transports_TransportSrio_srioCoreSegMap __TA_ti_transport_ipc_srio_transports_TransportSrio_srioCoreSegMap;
typedef __TA_ti_transport_ipc_srio_transports_TransportSrio_srioCoreSegMap CT__ti_transport_ipc_srio_transports_TransportSrio_srioCoreSegMap;
__extern __FAR__ const CT__ti_transport_ipc_srio_transports_TransportSrio_srioCoreSegMap ti_transport_ipc_srio_transports_TransportSrio_srioCoreSegMap__C;


/*
 * ======== PER-INSTANCE TYPES ========
 */

/* Params */
struct ti_transport_ipc_srio_transports_TransportSrio_Params {
    size_t __size;
    const void* __self;
    void* __fxns;
    xdc_runtime_IInstance_Params* instance;
    xdc_UInt priority;
    xdc_SizeT cacheLineSize;
    xdc_UInt16 remoteProcId;
    xdc_UInt intVectorId;
    xdc_UInt descMemRegion;
    xdc_UInt16 rxMessageQHeapId;
    xdc_runtime_IInstance_Params __iprms;
};

/* Struct */
struct ti_transport_ipc_srio_transports_TransportSrio_Struct {
    const ti_transport_ipc_srio_transports_TransportSrio_Fxns__* __fxns;
    xdc_UInt16 __f0;
    xdc_UInt16 __f1;
    xdc_UInt32 __f2;
    xdc_runtime_Types_CordAddr __name;
};


/*
 * ======== VIRTUAL FUNCTIONS ========
 */

/* Fxns__ */
struct ti_transport_ipc_srio_transports_TransportSrio_Fxns__ {
    xdc_runtime_Types_Base* __base;
    const xdc_runtime_Types_SysFxns2* __sysp;
    xdc_Void (*setErrFxn)(ti_sdo_ipc_interfaces_IMessageQTransport_ErrFxn);
    xdc_Int (*getStatus)(ti_transport_ipc_srio_transports_TransportSrio_Handle);
    xdc_Bool (*put)(ti_transport_ipc_srio_transports_TransportSrio_Handle, xdc_Ptr);
    xdc_Bool (*control)(ti_transport_ipc_srio_transports_TransportSrio_Handle, xdc_UInt, xdc_UArg);
    xdc_runtime_Types_SysFxns2 __sfxns;
};

/* Module__FXNS__C */
__extern const ti_transport_ipc_srio_transports_TransportSrio_Fxns__ ti_transport_ipc_srio_transports_TransportSrio_Module__FXNS__C;


/*
 * ======== FUNCTION DECLARATIONS ========
 */

/* Module_startup */
#define ti_transport_ipc_srio_transports_TransportSrio_Module_startup( state ) (-1)

/* Instance_init__F */
xdc__CODESECT(ti_transport_ipc_srio_transports_TransportSrio_Instance_init__F, "ti_transport_ipc_srio_transports_TransportSrio_Instance_init")
__extern int ti_transport_ipc_srio_transports_TransportSrio_Instance_init__F( ti_transport_ipc_srio_transports_TransportSrio_Object*, xdc_UInt16 procId, const ti_transport_ipc_srio_transports_TransportSrio_Params*, xdc_runtime_Error_Block* );

/* Instance_finalize__F */
xdc__CODESECT(ti_transport_ipc_srio_transports_TransportSrio_Instance_finalize__F, "ti_transport_ipc_srio_transports_TransportSrio_Instance_finalize")
__extern void ti_transport_ipc_srio_transports_TransportSrio_Instance_finalize__F( ti_transport_ipc_srio_transports_TransportSrio_Object* , int );

/* Instance_init__R */
xdc__CODESECT(ti_transport_ipc_srio_transports_TransportSrio_Instance_init__R, "ti_transport_ipc_srio_transports_TransportSrio_Instance_init")
__extern int ti_transport_ipc_srio_transports_TransportSrio_Instance_init__R( ti_transport_ipc_srio_transports_TransportSrio_Object*, xdc_UInt16 procId, const ti_transport_ipc_srio_transports_TransportSrio_Params*, xdc_runtime_Error_Block* );

/* Instance_finalize__R */
xdc__CODESECT(ti_transport_ipc_srio_transports_TransportSrio_Instance_finalize__R, "ti_transport_ipc_srio_transports_TransportSrio_Instance_finalize")
__extern void ti_transport_ipc_srio_transports_TransportSrio_Instance_finalize__R( ti_transport_ipc_srio_transports_TransportSrio_Object* , int );

/* Handle__label__S */
xdc__CODESECT(ti_transport_ipc_srio_transports_TransportSrio_Handle__label__S, "ti_transport_ipc_srio_transports_TransportSrio_Handle__label")
__extern xdc_runtime_Types_Label* ti_transport_ipc_srio_transports_TransportSrio_Handle__label__S( xdc_Ptr obj, xdc_runtime_Types_Label* lab );

/* Module__startupDone__S */
xdc__CODESECT(ti_transport_ipc_srio_transports_TransportSrio_Module__startupDone__S, "ti_transport_ipc_srio_transports_TransportSrio_Module__startupDone")
__extern xdc_Bool ti_transport_ipc_srio_transports_TransportSrio_Module__startupDone__S( void );

/* Object__create__S */
xdc__CODESECT(ti_transport_ipc_srio_transports_TransportSrio_Object__create__S, "ti_transport_ipc_srio_transports_TransportSrio_Object__create")
__extern xdc_Ptr ti_transport_ipc_srio_transports_TransportSrio_Object__create__S( xdc_Ptr __oa, xdc_SizeT __osz, xdc_Ptr __aa, const xdc_UChar* __pa, xdc_SizeT __psz, xdc_runtime_Error_Block* __eb );

/* Object__delete__S */
xdc__CODESECT(ti_transport_ipc_srio_transports_TransportSrio_Object__delete__S, "ti_transport_ipc_srio_transports_TransportSrio_Object__delete")
__extern xdc_Void ti_transport_ipc_srio_transports_TransportSrio_Object__delete__S( xdc_Ptr instp );

/* Object__destruct__S */
xdc__CODESECT(ti_transport_ipc_srio_transports_TransportSrio_Object__destruct__S, "ti_transport_ipc_srio_transports_TransportSrio_Object__destruct")
__extern xdc_Void ti_transport_ipc_srio_transports_TransportSrio_Object__destruct__S( xdc_Ptr objp );

/* Object__get__S */
xdc__CODESECT(ti_transport_ipc_srio_transports_TransportSrio_Object__get__S, "ti_transport_ipc_srio_transports_TransportSrio_Object__get")
__extern xdc_Ptr ti_transport_ipc_srio_transports_TransportSrio_Object__get__S( xdc_Ptr oarr, xdc_Int i );

/* Object__first__S */
xdc__CODESECT(ti_transport_ipc_srio_transports_TransportSrio_Object__first__S, "ti_transport_ipc_srio_transports_TransportSrio_Object__first")
__extern xdc_Ptr ti_transport_ipc_srio_transports_TransportSrio_Object__first__S( void );

/* Object__next__S */
xdc__CODESECT(ti_transport_ipc_srio_transports_TransportSrio_Object__next__S, "ti_transport_ipc_srio_transports_TransportSrio_Object__next")
__extern xdc_Ptr ti_transport_ipc_srio_transports_TransportSrio_Object__next__S( xdc_Ptr obj );

/* Params__init__S */
xdc__CODESECT(ti_transport_ipc_srio_transports_TransportSrio_Params__init__S, "ti_transport_ipc_srio_transports_TransportSrio_Params__init")
__extern xdc_Void ti_transport_ipc_srio_transports_TransportSrio_Params__init__S( xdc_Ptr dst, xdc_Ptr src, xdc_SizeT psz, xdc_SizeT isz );

/* setErrFxn__E */
#define ti_transport_ipc_srio_transports_TransportSrio_setErrFxn ti_transport_ipc_srio_transports_TransportSrio_setErrFxn__E
xdc__CODESECT(ti_transport_ipc_srio_transports_TransportSrio_setErrFxn__E, "ti_transport_ipc_srio_transports_TransportSrio_setErrFxn")
__extern xdc_Void ti_transport_ipc_srio_transports_TransportSrio_setErrFxn__E( ti_sdo_ipc_interfaces_IMessageQTransport_ErrFxn errFxn );
xdc__CODESECT(ti_transport_ipc_srio_transports_TransportSrio_setErrFxn__F, "ti_transport_ipc_srio_transports_TransportSrio_setErrFxn")
__extern xdc_Void ti_transport_ipc_srio_transports_TransportSrio_setErrFxn__F( ti_sdo_ipc_interfaces_IMessageQTransport_ErrFxn errFxn );
__extern xdc_Void ti_transport_ipc_srio_transports_TransportSrio_setErrFxn__R( ti_sdo_ipc_interfaces_IMessageQTransport_ErrFxn errFxn );

/* getStatus__E */
#define ti_transport_ipc_srio_transports_TransportSrio_getStatus ti_transport_ipc_srio_transports_TransportSrio_getStatus__E
xdc__CODESECT(ti_transport_ipc_srio_transports_TransportSrio_getStatus__E, "ti_transport_ipc_srio_transports_TransportSrio_getStatus")
__extern xdc_Int ti_transport_ipc_srio_transports_TransportSrio_getStatus__E( ti_transport_ipc_srio_transports_TransportSrio_Handle __inst );
xdc__CODESECT(ti_transport_ipc_srio_transports_TransportSrio_getStatus__F, "ti_transport_ipc_srio_transports_TransportSrio_getStatus")
__extern xdc_Int ti_transport_ipc_srio_transports_TransportSrio_getStatus__F( ti_transport_ipc_srio_transports_TransportSrio_Object* __inst );
__extern xdc_Int ti_transport_ipc_srio_transports_TransportSrio_getStatus__R( ti_transport_ipc_srio_transports_TransportSrio_Handle __inst );

/* put__E */
#define ti_transport_ipc_srio_transports_TransportSrio_put ti_transport_ipc_srio_transports_TransportSrio_put__E
xdc__CODESECT(ti_transport_ipc_srio_transports_TransportSrio_put__E, "ti_transport_ipc_srio_transports_TransportSrio_put")
__extern xdc_Bool ti_transport_ipc_srio_transports_TransportSrio_put__E( ti_transport_ipc_srio_transports_TransportSrio_Handle __inst, xdc_Ptr msg );
xdc__CODESECT(ti_transport_ipc_srio_transports_TransportSrio_put__F, "ti_transport_ipc_srio_transports_TransportSrio_put")
__extern xdc_Bool ti_transport_ipc_srio_transports_TransportSrio_put__F( ti_transport_ipc_srio_transports_TransportSrio_Object* __inst, xdc_Ptr msg );
__extern xdc_Bool ti_transport_ipc_srio_transports_TransportSrio_put__R( ti_transport_ipc_srio_transports_TransportSrio_Handle __inst, xdc_Ptr msg );

/* control__E */
#define ti_transport_ipc_srio_transports_TransportSrio_control ti_transport_ipc_srio_transports_TransportSrio_control__E
xdc__CODESECT(ti_transport_ipc_srio_transports_TransportSrio_control__E, "ti_transport_ipc_srio_transports_TransportSrio_control")
__extern xdc_Bool ti_transport_ipc_srio_transports_TransportSrio_control__E( ti_transport_ipc_srio_transports_TransportSrio_Handle __inst, xdc_UInt cmd, xdc_UArg cmdArg );
xdc__CODESECT(ti_transport_ipc_srio_transports_TransportSrio_control__F, "ti_transport_ipc_srio_transports_TransportSrio_control")
__extern xdc_Bool ti_transport_ipc_srio_transports_TransportSrio_control__F( ti_transport_ipc_srio_transports_TransportSrio_Object* __inst, xdc_UInt cmd, xdc_UArg cmdArg );
__extern xdc_Bool ti_transport_ipc_srio_transports_TransportSrio_control__R( ti_transport_ipc_srio_transports_TransportSrio_Handle __inst, xdc_UInt cmd, xdc_UArg cmdArg );

/* initRxDescBufs__E */
#define ti_transport_ipc_srio_transports_TransportSrio_initRxDescBufs ti_transport_ipc_srio_transports_TransportSrio_initRxDescBufs__E
xdc__CODESECT(ti_transport_ipc_srio_transports_TransportSrio_initRxDescBufs__E, "ti_transport_ipc_srio_transports_TransportSrio_initRxDescBufs")
__extern xdc_UInt32 ti_transport_ipc_srio_transports_TransportSrio_initRxDescBufs__E( void );
xdc__CODESECT(ti_transport_ipc_srio_transports_TransportSrio_initRxDescBufs__F, "ti_transport_ipc_srio_transports_TransportSrio_initRxDescBufs")
__extern xdc_UInt32 ti_transport_ipc_srio_transports_TransportSrio_initRxDescBufs__F( void );
__extern xdc_UInt32 ti_transport_ipc_srio_transports_TransportSrio_initRxDescBufs__R( void );

/* sharedMemReq__E */
#define ti_transport_ipc_srio_transports_TransportSrio_sharedMemReq ti_transport_ipc_srio_transports_TransportSrio_sharedMemReq__E
xdc__CODESECT(ti_transport_ipc_srio_transports_TransportSrio_sharedMemReq__E, "ti_transport_ipc_srio_transports_TransportSrio_sharedMemReq")
__extern xdc_SizeT ti_transport_ipc_srio_transports_TransportSrio_sharedMemReq__E( const ti_transport_ipc_srio_transports_TransportSrio_Params* params );
xdc__CODESECT(ti_transport_ipc_srio_transports_TransportSrio_sharedMemReq__F, "ti_transport_ipc_srio_transports_TransportSrio_sharedMemReq")
__extern xdc_SizeT ti_transport_ipc_srio_transports_TransportSrio_sharedMemReq__F( const ti_transport_ipc_srio_transports_TransportSrio_Params* params );
__extern xdc_SizeT ti_transport_ipc_srio_transports_TransportSrio_sharedMemReq__R( const ti_transport_ipc_srio_transports_TransportSrio_Params* params );

/* isr__I */
#define ti_transport_ipc_srio_transports_TransportSrio_isr ti_transport_ipc_srio_transports_TransportSrio_isr__I
xdc__CODESECT(ti_transport_ipc_srio_transports_TransportSrio_isr__I, "ti_transport_ipc_srio_transports_TransportSrio_isr")
__extern xdc_Void ti_transport_ipc_srio_transports_TransportSrio_isr__I( xdc_UArg arg );


/*
 * ======== FUNCTION SELECTORS ========
 */

/* getStatus_{FxnT,fxnP} */
typedef xdc_Int (*ti_transport_ipc_srio_transports_TransportSrio_getStatus_FxnT)(void*);
static inline ti_transport_ipc_srio_transports_TransportSrio_getStatus_FxnT ti_transport_ipc_srio_transports_TransportSrio_getStatus_fxnP( void )
{
    return (ti_transport_ipc_srio_transports_TransportSrio_getStatus_FxnT)ti_transport_ipc_srio_transports_TransportSrio_getStatus; 
}

/* put_{FxnT,fxnP} */
typedef xdc_Bool (*ti_transport_ipc_srio_transports_TransportSrio_put_FxnT)(void*, xdc_Ptr);
static inline ti_transport_ipc_srio_transports_TransportSrio_put_FxnT ti_transport_ipc_srio_transports_TransportSrio_put_fxnP( void )
{
    return (ti_transport_ipc_srio_transports_TransportSrio_put_FxnT)ti_transport_ipc_srio_transports_TransportSrio_put; 
}

/* control_{FxnT,fxnP} */
typedef xdc_Bool (*ti_transport_ipc_srio_transports_TransportSrio_control_FxnT)(void*, xdc_UInt, xdc_UArg);
static inline ti_transport_ipc_srio_transports_TransportSrio_control_FxnT ti_transport_ipc_srio_transports_TransportSrio_control_fxnP( void )
{
    return (ti_transport_ipc_srio_transports_TransportSrio_control_FxnT)ti_transport_ipc_srio_transports_TransportSrio_control; 
}


/*
 * ======== CONVERTORS ========
 */

/* Module_upCast */
static inline ti_sdo_ipc_interfaces_IMessageQTransport_Module ti_transport_ipc_srio_transports_TransportSrio_Module_upCast( void )
{
    return (ti_sdo_ipc_interfaces_IMessageQTransport_Module)&ti_transport_ipc_srio_transports_TransportSrio_Module__FXNS__C;
}

/* Module_to_ti_sdo_ipc_interfaces_IMessageQTransport */
#define ti_transport_ipc_srio_transports_TransportSrio_Module_to_ti_sdo_ipc_interfaces_IMessageQTransport ti_transport_ipc_srio_transports_TransportSrio_Module_upCast

/* Handle_upCast */
static inline ti_sdo_ipc_interfaces_IMessageQTransport_Handle ti_transport_ipc_srio_transports_TransportSrio_Handle_upCast( ti_transport_ipc_srio_transports_TransportSrio_Handle i )
{
    return (ti_sdo_ipc_interfaces_IMessageQTransport_Handle)i;
}

/* Handle_to_ti_sdo_ipc_interfaces_IMessageQTransport */
#define ti_transport_ipc_srio_transports_TransportSrio_Handle_to_ti_sdo_ipc_interfaces_IMessageQTransport ti_transport_ipc_srio_transports_TransportSrio_Handle_upCast

/* Handle_downCast */
static inline ti_transport_ipc_srio_transports_TransportSrio_Handle ti_transport_ipc_srio_transports_TransportSrio_Handle_downCast( ti_sdo_ipc_interfaces_IMessageQTransport_Handle i )
{
    ti_sdo_ipc_interfaces_IMessageQTransport_Handle i2 = (ti_sdo_ipc_interfaces_IMessageQTransport_Handle)i;
    return (void*)i2->__fxns == (void*)&ti_transport_ipc_srio_transports_TransportSrio_Module__FXNS__C ? (ti_transport_ipc_srio_transports_TransportSrio_Handle)i : 0;
}

/* Handle_from_ti_sdo_ipc_interfaces_IMessageQTransport */
#define ti_transport_ipc_srio_transports_TransportSrio_Handle_from_ti_sdo_ipc_interfaces_IMessageQTransport ti_transport_ipc_srio_transports_TransportSrio_Handle_downCast


/*
 * ======== SYSTEM FUNCTIONS ========
 */

/* Module_startupDone */
#define ti_transport_ipc_srio_transports_TransportSrio_Module_startupDone() ti_transport_ipc_srio_transports_TransportSrio_Module__startupDone__S()

/* Object_heap */
#define ti_transport_ipc_srio_transports_TransportSrio_Object_heap() ti_transport_ipc_srio_transports_TransportSrio_Object__heap__C

/* Module_heap */
#define ti_transport_ipc_srio_transports_TransportSrio_Module_heap() ti_transport_ipc_srio_transports_TransportSrio_Object__heap__C

/* Module_id */
static inline CT__ti_transport_ipc_srio_transports_TransportSrio_Module__id ti_transport_ipc_srio_transports_TransportSrio_Module_id( void ) 
{
    return ti_transport_ipc_srio_transports_TransportSrio_Module__id__C;
}

/* Module_hasMask */
static inline xdc_Bool ti_transport_ipc_srio_transports_TransportSrio_Module_hasMask( void ) 
{
    return ti_transport_ipc_srio_transports_TransportSrio_Module__diagsMask__C != NULL;
}

/* Module_getMask */
static inline xdc_Bits16 ti_transport_ipc_srio_transports_TransportSrio_Module_getMask( void ) 
{
    return ti_transport_ipc_srio_transports_TransportSrio_Module__diagsMask__C != NULL ? *ti_transport_ipc_srio_transports_TransportSrio_Module__diagsMask__C : 0;
}

/* Module_setMask */
static inline xdc_Void ti_transport_ipc_srio_transports_TransportSrio_Module_setMask( xdc_Bits16 mask ) 
{
    if (ti_transport_ipc_srio_transports_TransportSrio_Module__diagsMask__C != NULL) *ti_transport_ipc_srio_transports_TransportSrio_Module__diagsMask__C = mask;
}

/* Params_init */
static inline void ti_transport_ipc_srio_transports_TransportSrio_Params_init( ti_transport_ipc_srio_transports_TransportSrio_Params* prms ) 
{
    if (prms) {
        ti_transport_ipc_srio_transports_TransportSrio_Params__init__S(prms, 0, sizeof(ti_transport_ipc_srio_transports_TransportSrio_Params), sizeof(xdc_runtime_IInstance_Params));
    }
}

/* Params_copy */
static inline void ti_transport_ipc_srio_transports_TransportSrio_Params_copy( ti_transport_ipc_srio_transports_TransportSrio_Params* dst, const ti_transport_ipc_srio_transports_TransportSrio_Params* src ) 
{
    if (dst) {
        ti_transport_ipc_srio_transports_TransportSrio_Params__init__S(dst, (xdc_Ptr)src, sizeof(ti_transport_ipc_srio_transports_TransportSrio_Params), sizeof(xdc_runtime_IInstance_Params));
    }
}

/* Object_count */
#define ti_transport_ipc_srio_transports_TransportSrio_Object_count() ti_transport_ipc_srio_transports_TransportSrio_Object__count__C

/* Object_sizeof */
#define ti_transport_ipc_srio_transports_TransportSrio_Object_sizeof() ti_transport_ipc_srio_transports_TransportSrio_Object__sizeof__C

/* Object_get */
static inline ti_transport_ipc_srio_transports_TransportSrio_Handle ti_transport_ipc_srio_transports_TransportSrio_Object_get( ti_transport_ipc_srio_transports_TransportSrio_Instance_State* oarr, int i ) 
{
    return (ti_transport_ipc_srio_transports_TransportSrio_Handle)ti_transport_ipc_srio_transports_TransportSrio_Object__get__S(oarr, i);
}

/* Object_first */
static inline ti_transport_ipc_srio_transports_TransportSrio_Handle ti_transport_ipc_srio_transports_TransportSrio_Object_first( void )
{
    return (ti_transport_ipc_srio_transports_TransportSrio_Handle)ti_transport_ipc_srio_transports_TransportSrio_Object__first__S();
}

/* Object_next */
static inline ti_transport_ipc_srio_transports_TransportSrio_Handle ti_transport_ipc_srio_transports_TransportSrio_Object_next( ti_transport_ipc_srio_transports_TransportSrio_Object* obj )
{
    return (ti_transport_ipc_srio_transports_TransportSrio_Handle)ti_transport_ipc_srio_transports_TransportSrio_Object__next__S(obj);
}

/* Handle_label */
static inline xdc_runtime_Types_Label* ti_transport_ipc_srio_transports_TransportSrio_Handle_label( ti_transport_ipc_srio_transports_TransportSrio_Handle inst, xdc_runtime_Types_Label* lab )
{
    return ti_transport_ipc_srio_transports_TransportSrio_Handle__label__S(inst, lab);
}

/* Handle_name */
static inline String ti_transport_ipc_srio_transports_TransportSrio_Handle_name( ti_transport_ipc_srio_transports_TransportSrio_Handle inst )
{
    xdc_runtime_Types_Label lab;
    return ti_transport_ipc_srio_transports_TransportSrio_Handle__label__S(inst, &lab)->iname;
}

/* create */
static inline ti_transport_ipc_srio_transports_TransportSrio_Handle ti_transport_ipc_srio_transports_TransportSrio_create( xdc_UInt16 procId, const ti_transport_ipc_srio_transports_TransportSrio_Params* __prms, xdc_runtime_Error_Block* __eb )
{
    ti_transport_ipc_srio_transports_TransportSrio_Args__create __args;
    __args.procId = procId;
    return (ti_transport_ipc_srio_transports_TransportSrio_Handle)ti_transport_ipc_srio_transports_TransportSrio_Object__create__S(0, 0, &__args, (const xdc_UChar*)__prms, sizeof(ti_transport_ipc_srio_transports_TransportSrio_Params), __eb);
}

/* construct */
static inline void ti_transport_ipc_srio_transports_TransportSrio_construct( ti_transport_ipc_srio_transports_TransportSrio_Struct* __obj, xdc_UInt16 procId, const ti_transport_ipc_srio_transports_TransportSrio_Params* __prms, xdc_runtime_Error_Block* __eb )
{
    ti_transport_ipc_srio_transports_TransportSrio_Args__create __args;
    __args.procId = procId;
    ti_transport_ipc_srio_transports_TransportSrio_Object__create__S(__obj, sizeof (ti_transport_ipc_srio_transports_TransportSrio_Struct), &__args, (const xdc_UChar*)__prms, sizeof(ti_transport_ipc_srio_transports_TransportSrio_Params), __eb);
}

/* delete */
static inline void ti_transport_ipc_srio_transports_TransportSrio_delete( ti_transport_ipc_srio_transports_TransportSrio_Handle* instp )
{
    ti_transport_ipc_srio_transports_TransportSrio_Object__delete__S(instp);
}

/* destruct */
static inline void ti_transport_ipc_srio_transports_TransportSrio_destruct( ti_transport_ipc_srio_transports_TransportSrio_Struct* obj )
{
    ti_transport_ipc_srio_transports_TransportSrio_Object__destruct__S(obj);
}

/* handle */
static inline ti_transport_ipc_srio_transports_TransportSrio_Handle ti_transport_ipc_srio_transports_TransportSrio_handle( ti_transport_ipc_srio_transports_TransportSrio_Struct* str )
{
    return (ti_transport_ipc_srio_transports_TransportSrio_Handle)str;
}

/* struct */
static inline ti_transport_ipc_srio_transports_TransportSrio_Struct* ti_transport_ipc_srio_transports_TransportSrio_struct( ti_transport_ipc_srio_transports_TransportSrio_Handle inst )
{
    return (ti_transport_ipc_srio_transports_TransportSrio_Struct*)inst;
}


/*
 * ======== EPILOGUE ========
 */

#ifdef ti_transport_ipc_srio_transports_TransportSrio__top__
#undef __nested__
#endif

#endif /* ti_transport_ipc_srio_transports_TransportSrio__include */


/*
 * ======== STATE STRUCTURES ========
 */

#if defined(__config__) || (!defined(__nested__) && defined(ti_transport_ipc_srio_transports_TransportSrio__internalaccess))

#ifndef ti_transport_ipc_srio_transports_TransportSrio__include_state
#define ti_transport_ipc_srio_transports_TransportSrio__include_state

/* Module_State */
struct ti_transport_ipc_srio_transports_TransportSrio_Module_State {
    xdc_UInt32* hiPrioList;
    xdc_Void* srioDriverHandle;
    xdc_UInt32 srioDriverCreated;
    xdc_Void* srioSocketHandle;
    xdc_UInt32* srioTxCompQ;
    xdc_UInt32* srioTxFreeQ;
    xdc_UInt32* srioRxFreeQ;
    xdc_UInt32* srioRxQ;
    xdc_UInt16 rxMsgQHeapId;
};

/* Module__state__V */
extern struct ti_transport_ipc_srio_transports_TransportSrio_Module_State__ ti_transport_ipc_srio_transports_TransportSrio_Module__state__V;

/* Object */
struct ti_transport_ipc_srio_transports_TransportSrio_Object {
    const ti_transport_ipc_srio_transports_TransportSrio_Fxns__* __fxns;
    xdc_UInt16 remoteProcId;
    xdc_UInt16 priority;
    xdc_UInt32 intVectId;
};

#endif /* ti_transport_ipc_srio_transports_TransportSrio__include_state */

#endif


/*
 * ======== PREFIX ALIASES ========
 */

#if !defined(__nested__) && !defined(ti_transport_ipc_srio_transports_TransportSrio__nolocalnames)

#ifndef ti_transport_ipc_srio_transports_TransportSrio__localnames__done
#define ti_transport_ipc_srio_transports_TransportSrio__localnames__done

/* module prefix */
#define TransportSrio_Instance ti_transport_ipc_srio_transports_TransportSrio_Instance
#define TransportSrio_Handle ti_transport_ipc_srio_transports_TransportSrio_Handle
#define TransportSrio_Module ti_transport_ipc_srio_transports_TransportSrio_Module
#define TransportSrio_Object ti_transport_ipc_srio_transports_TransportSrio_Object
#define TransportSrio_Struct ti_transport_ipc_srio_transports_TransportSrio_Struct
#define TransportSrio_Status ti_transport_ipc_srio_transports_TransportSrio_Status
#define TransportSrio_Reason ti_transport_ipc_srio_transports_TransportSrio_Reason
#define TransportSrio_ErrFxn ti_transport_ipc_srio_transports_TransportSrio_ErrFxn
#define TransportSrio_Module_State ti_transport_ipc_srio_transports_TransportSrio_Module_State
#define TransportSrio_Instance_State ti_transport_ipc_srio_transports_TransportSrio_Instance_State
#define TransportSrio_S_SUCCESS ti_transport_ipc_srio_transports_TransportSrio_S_SUCCESS
#define TransportSrio_E_FAIL ti_transport_ipc_srio_transports_TransportSrio_E_FAIL
#define TransportSrio_E_ERROR ti_transport_ipc_srio_transports_TransportSrio_E_ERROR
#define TransportSrio_Reason_FAILEDPUT ti_transport_ipc_srio_transports_TransportSrio_Reason_FAILEDPUT
#define TransportSrio_Reason_INTERNALERR ti_transport_ipc_srio_transports_TransportSrio_Reason_INTERNALERR
#define TransportSrio_Reason_PHYSICALERR ti_transport_ipc_srio_transports_TransportSrio_Reason_PHYSICALERR
#define TransportSrio_Reason_FAILEDALLOC ti_transport_ipc_srio_transports_TransportSrio_Reason_FAILEDALLOC
#define TransportSrio_errFxn ti_transport_ipc_srio_transports_TransportSrio_errFxn
#define TransportSrio_A_srioProcIdInvalid ti_transport_ipc_srio_transports_TransportSrio_A_srioProcIdInvalid
#define TransportSrio_A_srioRxCompQError ti_transport_ipc_srio_transports_TransportSrio_A_srioRxCompQError
#define TransportSrio_A_srioAccumulatorListSize ti_transport_ipc_srio_transports_TransportSrio_A_srioAccumulatorListSize
#define TransportSrio_A_srioAccumulatorListNULL ti_transport_ipc_srio_transports_TransportSrio_A_srioAccumulatorListNULL
#define TransportSrio_A_srioDriverError ti_transport_ipc_srio_transports_TransportSrio_A_srioDriverError
#define TransportSrio_A_srioSocketError ti_transport_ipc_srio_transports_TransportSrio_A_srioSocketError
#define TransportSrio_A_srioSocketBindError ti_transport_ipc_srio_transports_TransportSrio_A_srioSocketBindError
#define TransportSrio_A_srioSocketOptionError ti_transport_ipc_srio_transports_TransportSrio_A_srioSocketOptionError
#define TransportSrio_A_srioSocketCloseError ti_transport_ipc_srio_transports_TransportSrio_A_srioSocketCloseError
#define TransportSrio_A_srioQueueCloseError ti_transport_ipc_srio_transports_TransportSrio_A_srioQueueCloseError
#define TransportSrio_A_srioAllocTxBufPtrError ti_transport_ipc_srio_transports_TransportSrio_A_srioAllocTxBufPtrError
#define TransportSrio_A_srioAllocTxBufLenError ti_transport_ipc_srio_transports_TransportSrio_A_srioAllocTxBufLenError
#define TransportSrio_A_srioMsgQFreeError ti_transport_ipc_srio_transports_TransportSrio_A_srioMsgQFreeError
#define TransportSrio_A_srioSocketSendError ti_transport_ipc_srio_transports_TransportSrio_A_srioSocketSendError
#define TransportSrio_A_srioDrvHandleError ti_transport_ipc_srio_transports_TransportSrio_A_srioDrvHandleError
#define TransportSrio_intThreshold ti_transport_ipc_srio_transports_TransportSrio_intThreshold
#define TransportSrio_accuHiPriListSize ti_transport_ipc_srio_transports_TransportSrio_accuHiPriListSize
#define TransportSrio_pacingEnabled ti_transport_ipc_srio_transports_TransportSrio_pacingEnabled
#define TransportSrio_timerLoadCount ti_transport_ipc_srio_transports_TransportSrio_timerLoadCount
#define TransportSrio_srioMaxMtuSizeBytes ti_transport_ipc_srio_transports_TransportSrio_srioMaxMtuSizeBytes
#define TransportSrio_srioNumTxDescriptors ti_transport_ipc_srio_transports_TransportSrio_srioNumTxDescriptors
#define TransportSrio_srioNumRxDescriptors ti_transport_ipc_srio_transports_TransportSrio_srioNumRxDescriptors
#define TransportSrio_numTxDescToCleanUp ti_transport_ipc_srio_transports_TransportSrio_numTxDescToCleanUp
#define TransportSrio_descriptorSize ti_transport_ipc_srio_transports_TransportSrio_descriptorSize
#define TransportSrio_srioGarbageQ ti_transport_ipc_srio_transports_TransportSrio_srioGarbageQ
#define TransportSrio_srioMaxNumSystemCores ti_transport_ipc_srio_transports_TransportSrio_srioMaxNumSystemCores
#define TransportSrio_srioCoreTT ti_transport_ipc_srio_transports_TransportSrio_srioCoreTT
#define TransportSrio_srioCoreDeviceId ti_transport_ipc_srio_transports_TransportSrio_srioCoreDeviceId
#define TransportSrio_srioCoreMailbox ti_transport_ipc_srio_transports_TransportSrio_srioCoreMailbox
#define TransportSrio_srioCoreLetter ti_transport_ipc_srio_transports_TransportSrio_srioCoreLetter
#define TransportSrio_srioCoreSegMap ti_transport_ipc_srio_transports_TransportSrio_srioCoreSegMap
#define TransportSrio_Params ti_transport_ipc_srio_transports_TransportSrio_Params
#define TransportSrio_setErrFxn ti_transport_ipc_srio_transports_TransportSrio_setErrFxn
#define TransportSrio_getStatus ti_transport_ipc_srio_transports_TransportSrio_getStatus
#define TransportSrio_getStatus_fxnP ti_transport_ipc_srio_transports_TransportSrio_getStatus_fxnP
#define TransportSrio_getStatus_FxnT ti_transport_ipc_srio_transports_TransportSrio_getStatus_FxnT
#define TransportSrio_put ti_transport_ipc_srio_transports_TransportSrio_put
#define TransportSrio_put_fxnP ti_transport_ipc_srio_transports_TransportSrio_put_fxnP
#define TransportSrio_put_FxnT ti_transport_ipc_srio_transports_TransportSrio_put_FxnT
#define TransportSrio_control ti_transport_ipc_srio_transports_TransportSrio_control
#define TransportSrio_control_fxnP ti_transport_ipc_srio_transports_TransportSrio_control_fxnP
#define TransportSrio_control_FxnT ti_transport_ipc_srio_transports_TransportSrio_control_FxnT
#define TransportSrio_initRxDescBufs ti_transport_ipc_srio_transports_TransportSrio_initRxDescBufs
#define TransportSrio_sharedMemReq ti_transport_ipc_srio_transports_TransportSrio_sharedMemReq
#define TransportSrio_Module_name ti_transport_ipc_srio_transports_TransportSrio_Module_name
#define TransportSrio_Module_id ti_transport_ipc_srio_transports_TransportSrio_Module_id
#define TransportSrio_Module_startup ti_transport_ipc_srio_transports_TransportSrio_Module_startup
#define TransportSrio_Module_startupDone ti_transport_ipc_srio_transports_TransportSrio_Module_startupDone
#define TransportSrio_Module_hasMask ti_transport_ipc_srio_transports_TransportSrio_Module_hasMask
#define TransportSrio_Module_getMask ti_transport_ipc_srio_transports_TransportSrio_Module_getMask
#define TransportSrio_Module_setMask ti_transport_ipc_srio_transports_TransportSrio_Module_setMask
#define TransportSrio_Object_heap ti_transport_ipc_srio_transports_TransportSrio_Object_heap
#define TransportSrio_Module_heap ti_transport_ipc_srio_transports_TransportSrio_Module_heap
#define TransportSrio_construct ti_transport_ipc_srio_transports_TransportSrio_construct
#define TransportSrio_create ti_transport_ipc_srio_transports_TransportSrio_create
#define TransportSrio_handle ti_transport_ipc_srio_transports_TransportSrio_handle
#define TransportSrio_struct ti_transport_ipc_srio_transports_TransportSrio_struct
#define TransportSrio_Handle_label ti_transport_ipc_srio_transports_TransportSrio_Handle_label
#define TransportSrio_Handle_name ti_transport_ipc_srio_transports_TransportSrio_Handle_name
#define TransportSrio_Instance_init ti_transport_ipc_srio_transports_TransportSrio_Instance_init
#define TransportSrio_Object_count ti_transport_ipc_srio_transports_TransportSrio_Object_count
#define TransportSrio_Object_get ti_transport_ipc_srio_transports_TransportSrio_Object_get
#define TransportSrio_Object_first ti_transport_ipc_srio_transports_TransportSrio_Object_first
#define TransportSrio_Object_next ti_transport_ipc_srio_transports_TransportSrio_Object_next
#define TransportSrio_Object_sizeof ti_transport_ipc_srio_transports_TransportSrio_Object_sizeof
#define TransportSrio_Params_copy ti_transport_ipc_srio_transports_TransportSrio_Params_copy
#define TransportSrio_Params_init ti_transport_ipc_srio_transports_TransportSrio_Params_init
#define TransportSrio_Instance_finalize ti_transport_ipc_srio_transports_TransportSrio_Instance_finalize
#define TransportSrio_delete ti_transport_ipc_srio_transports_TransportSrio_delete
#define TransportSrio_destruct ti_transport_ipc_srio_transports_TransportSrio_destruct
#define TransportSrio_Module_upCast ti_transport_ipc_srio_transports_TransportSrio_Module_upCast
#define TransportSrio_Module_to_ti_sdo_ipc_interfaces_IMessageQTransport ti_transport_ipc_srio_transports_TransportSrio_Module_to_ti_sdo_ipc_interfaces_IMessageQTransport
#define TransportSrio_Handle_upCast ti_transport_ipc_srio_transports_TransportSrio_Handle_upCast
#define TransportSrio_Handle_to_ti_sdo_ipc_interfaces_IMessageQTransport ti_transport_ipc_srio_transports_TransportSrio_Handle_to_ti_sdo_ipc_interfaces_IMessageQTransport
#define TransportSrio_Handle_downCast ti_transport_ipc_srio_transports_TransportSrio_Handle_downCast
#define TransportSrio_Handle_from_ti_sdo_ipc_interfaces_IMessageQTransport ti_transport_ipc_srio_transports_TransportSrio_Handle_from_ti_sdo_ipc_interfaces_IMessageQTransport

#endif /* ti_transport_ipc_srio_transports_TransportSrio__localnames__done */
#endif
