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

/*
 * ======== GENERATED SECTIONS ========
 *
 *     PROLOGUE
 *     INCLUDES
 *
 *     MODULE-WIDE CONFIGS
 *     VIRTUAL FUNCTIONS
 *     FUNCTION DECLARATIONS
 *     CONVERTORS
 *     SYSTEM FUNCTIONS
 *
 *     EPILOGUE
 *     PREFIX ALIASES
 */


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

#ifndef xdc_runtime_System_SupportProxy__include
#define xdc_runtime_System_SupportProxy__include

#ifndef __nested__
#define __nested__
#define xdc_runtime_System_SupportProxy__top__
#endif

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

#define xdc_runtime_System_SupportProxy___VERS 200


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

#include <xdc/std.h>

#include <xdc/runtime/xdc.h>
#include <xdc/runtime/Types.h>
#include <xdc/runtime/package/package.defs.h>

#include <xdc/runtime/ISystemSupport.h>


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


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

/* Module__diagsEnabled */
typedef xdc_Bits32 CT__xdc_runtime_System_SupportProxy_Module__diagsEnabled;
__extern __FAR__ const CT__xdc_runtime_System_SupportProxy_Module__diagsEnabled xdc_runtime_System_SupportProxy_Module__diagsEnabled__C;
#ifdef xdc_runtime_System_SupportProxy_Module__diagsEnabled__CR
#define xdc_runtime_System_SupportProxy_Module__diagsEnabled__C (*((CT__xdc_runtime_System_SupportProxy_Module__diagsEnabled*)(xdcRomConstPtr + xdc_runtime_System_SupportProxy_Module__diagsEnabled__C_offset)))
#else
#define xdc_runtime_System_SupportProxy_Module__diagsEnabled (xdc_runtime_System_SupportProxy_Module__diagsEnabled__C)
#endif

/* Module__diagsIncluded */
typedef xdc_Bits32 CT__xdc_runtime_System_SupportProxy_Module__diagsIncluded;
__extern __FAR__ const CT__xdc_runtime_System_SupportProxy_Module__diagsIncluded xdc_runtime_System_SupportProxy_Module__diagsIncluded__C;
#ifdef xdc_runtime_System_SupportProxy_Module__diagsIncluded__CR
#define xdc_runtime_System_SupportProxy_Module__diagsIncluded__C (*((CT__xdc_runtime_System_SupportProxy_Module__diagsIncluded*)(xdcRomConstPtr + xdc_runtime_System_SupportProxy_Module__diagsIncluded__C_offset)))
#else
#define xdc_runtime_System_SupportProxy_Module__diagsIncluded (xdc_runtime_System_SupportProxy_Module__diagsIncluded__C)
#endif

/* Module__diagsMask */
typedef xdc_Bits16 *CT__xdc_runtime_System_SupportProxy_Module__diagsMask;
__extern __FAR__ const CT__xdc_runtime_System_SupportProxy_Module__diagsMask xdc_runtime_System_SupportProxy_Module__diagsMask__C;
#ifdef xdc_runtime_System_SupportProxy_Module__diagsMask__CR
#define xdc_runtime_System_SupportProxy_Module__diagsMask__C (*((CT__xdc_runtime_System_SupportProxy_Module__diagsMask*)(xdcRomConstPtr + xdc_runtime_System_SupportProxy_Module__diagsMask__C_offset)))
#else
#define xdc_runtime_System_SupportProxy_Module__diagsMask (xdc_runtime_System_SupportProxy_Module__diagsMask__C)
#endif

/* Module__gateObj */
typedef xdc_Ptr CT__xdc_runtime_System_SupportProxy_Module__gateObj;
__extern __FAR__ const CT__xdc_runtime_System_SupportProxy_Module__gateObj xdc_runtime_System_SupportProxy_Module__gateObj__C;
#ifdef xdc_runtime_System_SupportProxy_Module__gateObj__CR
#define xdc_runtime_System_SupportProxy_Module__gateObj__C (*((CT__xdc_runtime_System_SupportProxy_Module__gateObj*)(xdcRomConstPtr + xdc_runtime_System_SupportProxy_Module__gateObj__C_offset)))
#else
#define xdc_runtime_System_SupportProxy_Module__gateObj (xdc_runtime_System_SupportProxy_Module__gateObj__C)
#endif

/* Module__gatePrms */
typedef xdc_Ptr CT__xdc_runtime_System_SupportProxy_Module__gatePrms;
__extern __FAR__ const CT__xdc_runtime_System_SupportProxy_Module__gatePrms xdc_runtime_System_SupportProxy_Module__gatePrms__C;
#ifdef xdc_runtime_System_SupportProxy_Module__gatePrms__CR
#define xdc_runtime_System_SupportProxy_Module__gatePrms__C (*((CT__xdc_runtime_System_SupportProxy_Module__gatePrms*)(xdcRomConstPtr + xdc_runtime_System_SupportProxy_Module__gatePrms__C_offset)))
#else
#define xdc_runtime_System_SupportProxy_Module__gatePrms (xdc_runtime_System_SupportProxy_Module__gatePrms__C)
#endif

/* Module__id */
typedef xdc_runtime_Types_ModuleId CT__xdc_runtime_System_SupportProxy_Module__id;
__extern __FAR__ const CT__xdc_runtime_System_SupportProxy_Module__id xdc_runtime_System_SupportProxy_Module__id__C;
#ifdef xdc_runtime_System_SupportProxy_Module__id__CR
#define xdc_runtime_System_SupportProxy_Module__id__C (*((CT__xdc_runtime_System_SupportProxy_Module__id*)(xdcRomConstPtr + xdc_runtime_System_SupportProxy_Module__id__C_offset)))
#else
#define xdc_runtime_System_SupportProxy_Module__id (xdc_runtime_System_SupportProxy_Module__id__C)
#endif

/* Module__loggerDefined */
typedef xdc_Bool CT__xdc_runtime_System_SupportProxy_Module__loggerDefined;
__extern __FAR__ const CT__xdc_runtime_System_SupportProxy_Module__loggerDefined xdc_runtime_System_SupportProxy_Module__loggerDefined__C;
#ifdef xdc_runtime_System_SupportProxy_Module__loggerDefined__CR
#define xdc_runtime_System_SupportProxy_Module__loggerDefined__C (*((CT__xdc_runtime_System_SupportProxy_Module__loggerDefined*)(xdcRomConstPtr + xdc_runtime_System_SupportProxy_Module__loggerDefined__C_offset)))
#else
#define xdc_runtime_System_SupportProxy_Module__loggerDefined (xdc_runtime_System_SupportProxy_Module__loggerDefined__C)
#endif

/* Module__loggerObj */
typedef xdc_Ptr CT__xdc_runtime_System_SupportProxy_Module__loggerObj;
__extern __FAR__ const CT__xdc_runtime_System_SupportProxy_Module__loggerObj xdc_runtime_System_SupportProxy_Module__loggerObj__C;
#ifdef xdc_runtime_System_SupportProxy_Module__loggerObj__CR
#define xdc_runtime_System_SupportProxy_Module__loggerObj__C (*((CT__xdc_runtime_System_SupportProxy_Module__loggerObj*)(xdcRomConstPtr + xdc_runtime_System_SupportProxy_Module__loggerObj__C_offset)))
#else
#define xdc_runtime_System_SupportProxy_Module__loggerObj (xdc_runtime_System_SupportProxy_Module__loggerObj__C)
#endif

/* Module__loggerFxn0 */
typedef xdc_runtime_Types_LoggerFxn0 CT__xdc_runtime_System_SupportProxy_Module__loggerFxn0;
__extern __FAR__ const CT__xdc_runtime_System_SupportProxy_Module__loggerFxn0 xdc_runtime_System_SupportProxy_Module__loggerFxn0__C;
#ifdef xdc_runtime_System_SupportProxy_Module__loggerFxn0__CR
#define xdc_runtime_System_SupportProxy_Module__loggerFxn0__C (*((CT__xdc_runtime_System_SupportProxy_Module__loggerFxn0*)(xdcRomConstPtr + xdc_runtime_System_SupportProxy_Module__loggerFxn0__C_offset)))
#else
#define xdc_runtime_System_SupportProxy_Module__loggerFxn0 (xdc_runtime_System_SupportProxy_Module__loggerFxn0__C)
#endif

/* Module__loggerFxn1 */
typedef xdc_runtime_Types_LoggerFxn1 CT__xdc_runtime_System_SupportProxy_Module__loggerFxn1;
__extern __FAR__ const CT__xdc_runtime_System_SupportProxy_Module__loggerFxn1 xdc_runtime_System_SupportProxy_Module__loggerFxn1__C;
#ifdef xdc_runtime_System_SupportProxy_Module__loggerFxn1__CR
#define xdc_runtime_System_SupportProxy_Module__loggerFxn1__C (*((CT__xdc_runtime_System_SupportProxy_Module__loggerFxn1*)(xdcRomConstPtr + xdc_runtime_System_SupportProxy_Module__loggerFxn1__C_offset)))
#else
#define xdc_runtime_System_SupportProxy_Module__loggerFxn1 (xdc_runtime_System_SupportProxy_Module__loggerFxn1__C)
#endif

/* Module__loggerFxn2 */
typedef xdc_runtime_Types_LoggerFxn2 CT__xdc_runtime_System_SupportProxy_Module__loggerFxn2;
__extern __FAR__ const CT__xdc_runtime_System_SupportProxy_Module__loggerFxn2 xdc_runtime_System_SupportProxy_Module__loggerFxn2__C;
#ifdef xdc_runtime_System_SupportProxy_Module__loggerFxn2__CR
#define xdc_runtime_System_SupportProxy_Module__loggerFxn2__C (*((CT__xdc_runtime_System_SupportProxy_Module__loggerFxn2*)(xdcRomConstPtr + xdc_runtime_System_SupportProxy_Module__loggerFxn2__C_offset)))
#else
#define xdc_runtime_System_SupportProxy_Module__loggerFxn2 (xdc_runtime_System_SupportProxy_Module__loggerFxn2__C)
#endif

/* Module__loggerFxn4 */
typedef xdc_runtime_Types_LoggerFxn4 CT__xdc_runtime_System_SupportProxy_Module__loggerFxn4;
__extern __FAR__ const CT__xdc_runtime_System_SupportProxy_Module__loggerFxn4 xdc_runtime_System_SupportProxy_Module__loggerFxn4__C;
#ifdef xdc_runtime_System_SupportProxy_Module__loggerFxn4__CR
#define xdc_runtime_System_SupportProxy_Module__loggerFxn4__C (*((CT__xdc_runtime_System_SupportProxy_Module__loggerFxn4*)(xdcRomConstPtr + xdc_runtime_System_SupportProxy_Module__loggerFxn4__C_offset)))
#else
#define xdc_runtime_System_SupportProxy_Module__loggerFxn4 (xdc_runtime_System_SupportProxy_Module__loggerFxn4__C)
#endif

/* Module__loggerFxn8 */
typedef xdc_runtime_Types_LoggerFxn8 CT__xdc_runtime_System_SupportProxy_Module__loggerFxn8;
__extern __FAR__ const CT__xdc_runtime_System_SupportProxy_Module__loggerFxn8 xdc_runtime_System_SupportProxy_Module__loggerFxn8__C;
#ifdef xdc_runtime_System_SupportProxy_Module__loggerFxn8__CR
#define xdc_runtime_System_SupportProxy_Module__loggerFxn8__C (*((CT__xdc_runtime_System_SupportProxy_Module__loggerFxn8*)(xdcRomConstPtr + xdc_runtime_System_SupportProxy_Module__loggerFxn8__C_offset)))
#else
#define xdc_runtime_System_SupportProxy_Module__loggerFxn8 (xdc_runtime_System_SupportProxy_Module__loggerFxn8__C)
#endif

/* Object__count */
typedef xdc_Int CT__xdc_runtime_System_SupportProxy_Object__count;
__extern __FAR__ const CT__xdc_runtime_System_SupportProxy_Object__count xdc_runtime_System_SupportProxy_Object__count__C;
#ifdef xdc_runtime_System_SupportProxy_Object__count__CR
#define xdc_runtime_System_SupportProxy_Object__count__C (*((CT__xdc_runtime_System_SupportProxy_Object__count*)(xdcRomConstPtr + xdc_runtime_System_SupportProxy_Object__count__C_offset)))
#else
#define xdc_runtime_System_SupportProxy_Object__count (xdc_runtime_System_SupportProxy_Object__count__C)
#endif

/* Object__heap */
typedef xdc_runtime_IHeap_Handle CT__xdc_runtime_System_SupportProxy_Object__heap;
__extern __FAR__ const CT__xdc_runtime_System_SupportProxy_Object__heap xdc_runtime_System_SupportProxy_Object__heap__C;
#ifdef xdc_runtime_System_SupportProxy_Object__heap__CR
#define xdc_runtime_System_SupportProxy_Object__heap__C (*((CT__xdc_runtime_System_SupportProxy_Object__heap*)(xdcRomConstPtr + xdc_runtime_System_SupportProxy_Object__heap__C_offset)))
#else
#define xdc_runtime_System_SupportProxy_Object__heap (xdc_runtime_System_SupportProxy_Object__heap__C)
#endif

/* Object__sizeof */
typedef xdc_SizeT CT__xdc_runtime_System_SupportProxy_Object__sizeof;
__extern __FAR__ const CT__xdc_runtime_System_SupportProxy_Object__sizeof xdc_runtime_System_SupportProxy_Object__sizeof__C;
#ifdef xdc_runtime_System_SupportProxy_Object__sizeof__CR
#define xdc_runtime_System_SupportProxy_Object__sizeof__C (*((CT__xdc_runtime_System_SupportProxy_Object__sizeof*)(xdcRomConstPtr + xdc_runtime_System_SupportProxy_Object__sizeof__C_offset)))
#else
#define xdc_runtime_System_SupportProxy_Object__sizeof (xdc_runtime_System_SupportProxy_Object__sizeof__C)
#endif

/* Object__table */
typedef xdc_Ptr CT__xdc_runtime_System_SupportProxy_Object__table;
__extern __FAR__ const CT__xdc_runtime_System_SupportProxy_Object__table xdc_runtime_System_SupportProxy_Object__table__C;
#ifdef xdc_runtime_System_SupportProxy_Object__table__CR
#define xdc_runtime_System_SupportProxy_Object__table__C (*((CT__xdc_runtime_System_SupportProxy_Object__table*)(xdcRomConstPtr + xdc_runtime_System_SupportProxy_Object__table__C_offset)))
#else
#define xdc_runtime_System_SupportProxy_Object__table (xdc_runtime_System_SupportProxy_Object__table__C)
#endif


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

/* Fxns__ */
struct xdc_runtime_System_SupportProxy_Fxns__ {
    const xdc_runtime_Types_Base* __base;
    const xdc_runtime_Types_SysFxns2* __sysp;
    xdc_Void (*abort)(xdc_CString str);
    xdc_Void (*exit)(xdc_Int stat);
    xdc_Void (*flush)(void);
    xdc_Void (*putch)(xdc_Char ch);
    xdc_Bool (*ready)(void);
    xdc_runtime_Types_SysFxns2 __sfxns;
};
#ifndef xdc_runtime_System_SupportProxy_Module__FXNS__CR

/* Module__FXNS__C */
__extern const xdc_runtime_System_SupportProxy_Fxns__ xdc_runtime_System_SupportProxy_Module__FXNS__C;
#else
#define xdc_runtime_System_SupportProxy_Module__FXNS__C (*(xdcRomConstPtr + xdc_runtime_System_SupportProxy_Module__FXNS__C_offset))
#endif


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

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

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

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

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

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

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

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

/* Proxy__abstract__S */
xdc__CODESECT(xdc_runtime_System_SupportProxy_Proxy__abstract__S, "xdc_runtime_System_SupportProxy_Proxy__abstract__S")
__extern xdc_Bool xdc_runtime_System_SupportProxy_Proxy__abstract__S( void );

/* Proxy__delegate__S */
xdc__CODESECT(xdc_runtime_System_SupportProxy_Proxy__delegate__S, "xdc_runtime_System_SupportProxy_Proxy__delegate__S")
__extern xdc_CPtr xdc_runtime_System_SupportProxy_Proxy__delegate__S( void );

/* abort__E */
#define xdc_runtime_System_SupportProxy_abort xdc_runtime_System_SupportProxy_abort__E
xdc__CODESECT(xdc_runtime_System_SupportProxy_abort__E, "xdc_runtime_System_SupportProxy_abort")
__extern xdc_Void xdc_runtime_System_SupportProxy_abort__E( xdc_CString str );

/* exit__E */
#define xdc_runtime_System_SupportProxy_exit xdc_runtime_System_SupportProxy_exit__E
xdc__CODESECT(xdc_runtime_System_SupportProxy_exit__E, "xdc_runtime_System_SupportProxy_exit")
__extern xdc_Void xdc_runtime_System_SupportProxy_exit__E( xdc_Int stat );

/* flush__E */
#define xdc_runtime_System_SupportProxy_flush xdc_runtime_System_SupportProxy_flush__E
xdc__CODESECT(xdc_runtime_System_SupportProxy_flush__E, "xdc_runtime_System_SupportProxy_flush")
__extern xdc_Void xdc_runtime_System_SupportProxy_flush__E( void );

/* putch__E */
#define xdc_runtime_System_SupportProxy_putch xdc_runtime_System_SupportProxy_putch__E
xdc__CODESECT(xdc_runtime_System_SupportProxy_putch__E, "xdc_runtime_System_SupportProxy_putch")
__extern xdc_Void xdc_runtime_System_SupportProxy_putch__E( xdc_Char ch );

/* ready__E */
#define xdc_runtime_System_SupportProxy_ready xdc_runtime_System_SupportProxy_ready__E
xdc__CODESECT(xdc_runtime_System_SupportProxy_ready__E, "xdc_runtime_System_SupportProxy_ready")
__extern xdc_Bool xdc_runtime_System_SupportProxy_ready__E( void );


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

/* Module_upCast */
static inline xdc_runtime_ISystemSupport_Module xdc_runtime_System_SupportProxy_Module_upCast(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();
}

/* Module_to_xdc_runtime_ISystemSupport */
#define xdc_runtime_System_SupportProxy_Module_to_xdc_runtime_ISystemSupport xdc_runtime_System_SupportProxy_Module_upCast


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

/* Module_startupDone */
#define xdc_runtime_System_SupportProxy_Module_startupDone() xdc_runtime_System_SupportProxy_Module__startupDone__S()

/* Object_heap */
#define xdc_runtime_System_SupportProxy_Object_heap() xdc_runtime_System_SupportProxy_Object__heap__C

/* Module_heap */
#define xdc_runtime_System_SupportProxy_Module_heap() xdc_runtime_System_SupportProxy_Object__heap__C

/* Module_id */
static inline CT__xdc_runtime_System_SupportProxy_Module__id xdc_runtime_System_SupportProxy_Module_id(void);
static inline CT__xdc_runtime_System_SupportProxy_Module__id xdc_runtime_System_SupportProxy_Module_id( void ) 
{
    return xdc_runtime_System_SupportProxy_Module__id__C;
}

/* Proxy_abstract */
#define xdc_runtime_System_SupportProxy_Proxy_abstract() xdc_runtime_System_SupportProxy_Proxy__abstract__S()

/* Proxy_delegate */
#define xdc_runtime_System_SupportProxy_Proxy_delegate() ((xdc_runtime_ISystemSupport_Module)xdc_runtime_System_SupportProxy_Proxy__delegate__S())


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

#ifdef xdc_runtime_System_SupportProxy__top__
#undef __nested__
#endif

#endif /* xdc_runtime_System_SupportProxy__include */


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

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

#ifndef xdc_runtime_System_SupportProxy__localnames__done
#define xdc_runtime_System_SupportProxy__localnames__done

/* module prefix */
#define System_SupportProxy_abort xdc_runtime_System_SupportProxy_abort
#define System_SupportProxy_exit xdc_runtime_System_SupportProxy_exit
#define System_SupportProxy_flush xdc_runtime_System_SupportProxy_flush
#define System_SupportProxy_putch xdc_runtime_System_SupportProxy_putch
#define System_SupportProxy_ready xdc_runtime_System_SupportProxy_ready
#define System_SupportProxy_Module_name xdc_runtime_System_SupportProxy_Module_name
#define System_SupportProxy_Module_id xdc_runtime_System_SupportProxy_Module_id
#define System_SupportProxy_Module_startup xdc_runtime_System_SupportProxy_Module_startup
#define System_SupportProxy_Module_startupDone xdc_runtime_System_SupportProxy_Module_startupDone
#define System_SupportProxy_Module_hasMask xdc_runtime_System_SupportProxy_Module_hasMask
#define System_SupportProxy_Module_getMask xdc_runtime_System_SupportProxy_Module_getMask
#define System_SupportProxy_Module_setMask xdc_runtime_System_SupportProxy_Module_setMask
#define System_SupportProxy_Object_heap xdc_runtime_System_SupportProxy_Object_heap
#define System_SupportProxy_Module_heap xdc_runtime_System_SupportProxy_Module_heap
#define System_SupportProxy_Proxy_abstract xdc_runtime_System_SupportProxy_Proxy_abstract
#define System_SupportProxy_Proxy_delegate xdc_runtime_System_SupportProxy_Proxy_delegate
#define System_SupportProxy_Module_upCast xdc_runtime_System_SupportProxy_Module_upCast
#define System_SupportProxy_Module_to_xdc_runtime_ISystemSupport xdc_runtime_System_SupportProxy_Module_to_xdc_runtime_ISystemSupport

#endif /* xdc_runtime_System_SupportProxy__localnames__done */
#endif
