/* * ======== main.c ======== */ /* * Copyright (c) 2008-2016 Texas Instruments. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License * v. 1.0 which accompanies this distribution. The Eclipse Public License is * available at http://www.eclipse.org/legal/epl-v10.html and the Eclipse * Distribution License is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * Contributors: * Texas Instruments - initial implementation * */ /*****************************************************************************/ /* stdarg.h v8.2.4 */ /* */ /* Copyright (c) 1993-2018 Texas Instruments Incorporated */ /* http://www.ti.com/ */ /* */ /* Redistribution and use in source and binary forms, with or without */ /* modification, are permitted provided that the following conditions */ /* are met: */ /* */ /* Redistributions of source code must retain the above copyright */ /* notice, this list of conditions and the following disclaimer. */ /* */ /* Redistributions in binary form must reproduce the above copyright */ /* notice, this list of conditions and the following disclaimer in */ /* the documentation and/or other materials provided with the */ /* distribution. */ /* */ /* Neither the name of Texas Instruments Incorporated nor the names */ /* of its contributors may be used to endorse or promote products */ /* derived from this software without specific prior written */ /* permission. */ /* */ /* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS */ /* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT */ /* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR */ /* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT */ /* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, */ /* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT */ /* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, */ /* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY */ /* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT */ /* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE */ /* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* */ /*****************************************************************************/ #pragma diag_push #pragma CHECK_MISRA("-20.1") /* standard headers must define standard names */ #pragma CHECK_MISRA("-20.2") /* standard headers must define standard names */ #pragma CHECK_MISRA("-19.7") /* macros required for implementation */ #pragma CHECK_MISRA("-19.10") /* need types as macro arguments */ typedef char *va_list; /*****************************************************************************/ /* LLVM VARARGS HANDLING - Use builtin operations. */ /*****************************************************************************/ /*****************************************************************************/ /* VA_END - Reclaim resources used by varargs handling. */ /* */ /* No action needed */ /*****************************************************************************/ /*****************************************************************************/ /* VA_COPY - Make a copy of the varargs. */ /*****************************************************************************/ /*****************************************************************************/ /* VA_START - Set up the va_list pointer. */ /*****************************************************************************/ /*---------------------------------------------------------------------------*/ /* ELF ABI convention: */ /* - va_list pointer points one byte beyond the last argument. */ /*---------------------------------------------------------------------------*/ /*****************************************************************************/ /* VA_ARG - Return the next argument, adjust va_list pointer */ /* */ /* Some arguments passed by value are turned into pass-by-reference by */ /* making a temporary object and passing a pointer to this temporary. For */ /* such an argument (indicated by __va_argref(_type)) the actual argument */ /* passed is a pointer, so it must be dealt with specially. */ /* */ /* When an argument is larger than the maximum alignment (8 bytes for double */ /* or long long), we only align to 8 bytes. */ /*****************************************************************************/ /*---------------------------------------------------------------------------*/ /* What happens on every va_arg(_ap, _type) call is: */ /* 1) Align the value of _ap (the va_list pointer) appropriately for _type */ /* (the requested type). */ /* 2) Increment _ap appropriately for _type. */ /* 3) Return the value desired by dereferencing _ap. */ /*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/ /* 1) Align _ap to satisfy alignment of _type. */ /* 2) Increment _ap by sizeof(_type) */ /* 3) return *(ap-sizeof(_type)) */ /*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/ /* The big- and little-endian variants are different only because we are */ /* trying to support the case of the user asking for "char" or "short", */ /* which is actually undefined behavior (See ISO/IEC 9899:1999 7.15.1.1), */ /* but we are trying to be friendly. */ /*---------------------------------------------------------------------------*/ #pragma diag_pop #pragma diag_push /* using declarations must occur outside header guard to support including both C and C++-wrapped version of header; see _CPP_STYLE_HEADER check */ /* this code is for C++ mode only and thus also not relevant for MISRA */ #pragma CHECK_MISRA("-19.15") #pragma diag_pop /*****************************************************************************/ /* stddef.h v8.2.4 */ /* */ /* Copyright (c) 1993-2018 Texas Instruments Incorporated */ /* http://www.ti.com/ */ /* */ /* Redistribution and use in source and binary forms, with or without */ /* modification, are permitted provided that the following conditions */ /* are met: */ /* */ /* Redistributions of source code must retain the above copyright */ /* notice, this list of conditions and the following disclaimer. */ /* */ /* Redistributions in binary form must reproduce the above copyright */ /* notice, this list of conditions and the following disclaimer in */ /* the documentation and/or other materials provided with the */ /* distribution. */ /* */ /* Neither the name of Texas Instruments Incorporated nor the names */ /* of its contributors may be used to endorse or promote products */ /* derived from this software without specific prior written */ /* permission. */ /* */ /* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS */ /* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT */ /* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR */ /* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT */ /* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, */ /* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT */ /* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, */ /* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY */ /* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT */ /* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE */ /* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* */ /*****************************************************************************/ #pragma diag_push #pragma CHECK_MISRA("-19.7") /* macros required for implementation */ #pragma CHECK_MISRA("-20.1") /* standard headers must define standard names */ #pragma CHECK_MISRA("-20.2") /* standard headers must define standard names */ typedef int ptrdiff_t; typedef unsigned size_t; typedef unsigned short wchar_t; #pragma diag_push #pragma CHECK_MISRA("-19.10") /* need types as macro arguments */ #pragma diag_pop #pragma diag_push #pragma CHECK_MISRA("-19.15") /* code outside guard; see below comment */ /*-----------------------------------------------------------------------*/ /* Define _win_t, for compiling GCC libraries with the TI compiler. */ /* GCC's library (newlib) expects wint_t to be defined here, in stddef.h,*/ /* which is arguably incorrect, but we go along for compatibility. */ /* This is outside the _STDDEF guard in case this file has already */ /* been included without __need_wint_t. */ /*-----------------------------------------------------------------------*/ #pragma diag_pop /* macros to simplify "stringification" and computed includes */ /* TitleCase standard types */ 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; /* Generic Extended Types */ typedef unsigned short xdc_Bool; /* boolean flag */ typedef void *xdc_Ptr; /* data pointer */ typedef const void *xdc_CPtr; /* data pointer */ typedef char *xdc_String; /* null terminated string */ typedef const char *xdc_CString; /* null terminated immutable string */ /* we intentionally omit arguments from Fxn to indicate that it can have * any (or none). Unfortunately this causes gcc to emit warnings when * -Wstrict-prototypes is used. Newer gcc's (4.6 or later) support a pragma * that works around this: * * #pragma GCC diagnostic ignored "-Wstrict-prototypes" */ typedef int (*xdc_Fxn)(); /* function pointer */ /* * Import the target-specific std.h */ /* * Copyright (c) 2008 Texas Instruments and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Texas Instruments - initial implementation * * */ /* * ======== ti/targets/elf/std.h ======== * Standard types for supported TI compilers for ELF */ /* Define target-specific "portable" macros * * The build command-line define xdc_target_name__ to be the value * of the target's name config parameter. We use this to include the * target-specific definitions for the required target-independent * xdc_target* macros. */ /* * Copyright 2018 by Texas Instruments Incorporated. * */ /* * ======== C674.h ======== * DO NOT MODIFY: This header is generated from stddef.xdt * * This header contains target-specific definitions of target-independent * macros required by the ITarget interface. These definitions allow C/C++ * sources to portably compile for multiple targets (using #ifdef ...). */ /* * ======== ti_targets_elf_C674 ======== * This macro identifies the specific target being used. This macro should * probably be avoided in portable sources. */ /* * ======== xdc_target__arraytype_VaList ======== * The following macro specifies whether or not a VaList is an * array type; e.g., struct __va_list_tag (*)[1] verses a simple char *. * This affects how va_list variables are passed to functions (by value * or by address). */ /* * ======== xdc_target__isaCompatible_* macros ======== * The following definitions enable clients to conditionally compile for any * compatible subset of the actual target ISA. */ /* * ======== xdc_target__isa_674 ======== * This macro identifies the specific target ISA for which we are being * compiled. */ /* * ======== xdc_target__{big|little}Endian ======== * The following macro enables clients to portably compile for big or little * endian targets. */ /* * ======== xdc_target__os_undefined ======== * The following macro enables clients to portably compile for target specific * OS; e.g., Linux, Solaris, Windows, undefined. */ /* * ======== xdc_target__sizeof_ ======== * The following macros enable clients to portably determine type sizes * within #ifdef blocks; sizeof() can't be used and the definitions in * stdint.h are not available to C++ clients (unless the special macro * __STDC_LIMIT_MACROS is defined). */ /* * ======== xdc_target__alignof_ ======== * The following macros enable clients to portably determine type alignment * within #ifdef blocks; even if provided by the compiler, alignof() can't * be used in pre-processor statements. */ /* * ======== xdc_target__bitsPerChar ======== * The number of bits in a char. This macro allow one to determine the * precise number of bits in any of the standard types (whose sizes are * expressed as a number of chars). */ /* * @(#) ti.targets.elf; 1, 0, 0,0; 7-20-2018 13:59:15; /db/ztree/library/trees/xdctargets/xdctargets-r09/src/ xlibrary */ /* "inherit" (i.e., include) all ti.targets standard types */ /* * Copyright (c) 2008-2017 Texas Instruments Incorporated * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Texas Instruments - initial implementation * * */ /* * ======== ti/targets/std.h ======== * Standard types for supported TI compilers * */ /* allow _TI_STD_TYPES like 'Uns' and 'Uint8' */ /* include target-specific "portable" macros */ /*****************************************************************************/ /* STDINT.H v8.2.4 */ /* */ /* Copyright (c) 2002-2018 Texas Instruments Incorporated */ /* http://www.ti.com/ */ /* */ /* Redistribution and use in source and binary forms, with or without */ /* modification, are permitted provided that the following conditions */ /* are met: */ /* */ /* Redistributions of source code must retain the above copyright */ /* notice, this list of conditions and the following disclaimer. */ /* */ /* Redistributions in binary form must reproduce the above copyright */ /* notice, this list of conditions and the following disclaimer in */ /* the documentation and/or other materials provided with the */ /* distribution. */ /* */ /* Neither the name of Texas Instruments Incorporated nor the names */ /* of its contributors may be used to endorse or promote products */ /* derived from this software without specific prior written */ /* permission. */ /* */ /* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS */ /* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT */ /* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR */ /* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT */ /* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, */ /* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT */ /* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, */ /* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY */ /* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT */ /* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE */ /* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* */ /*****************************************************************************/ /* 7.18.1.1 Exact-width integer types */ 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; /* 7.18.1.2 Minimum-width integer types */ 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; /* 7.18.1.3 Fastest minimum-width integer types */ 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; /* 7.18.1.4 Integer types capable of holding object pointers */ typedef int intptr_t; typedef unsigned int uintptr_t; /* 7.18.1.5 Greatest-width integer types */ typedef long long intmax_t; typedef unsigned long long uintmax_t; /* According to footnotes in the 1999 C standard, "C++ implementations should define these macros only when __STDC_LIMIT_MACROS is defined before is included." */ /* 7.18.2 Limits of specified width integer types */ /* 7.18.3 Limits of other integer types */ /* 7.18.4.1 Macros for minimum-width integer constants */ /* There is a defect report filed against the C99 standard concerning how the (U)INTN_C macros should be implemented. Please refer to -- http://wwwold.dkuug.dk/JTC1/SC22/WG14/www/docs/dr_209.htm for more information. These macros are implemented according to the suggestion given at this web site. */ /* 7.18.4.2 Macros for greatest-width integer constants */ typedef int xdc_Arg; /* deprecated, but compatible with BIOS 5.x */ /* * xdc__LONGLONG__ indicates if compiler supports 'long long' type * xdc__BITS __ indicates if compiler supports 'uint_t' type */ /* * ======== [U]Int ======== */ 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; /* the following unqualified names are here because 40-bit types are not * supported by xdc/std.h */ typedef xdc_Int40 Int40; typedef xdc_UInt40 UInt40; /* * ======== Bits ======== */ typedef uint8_t xdc_Bits8; typedef uint16_t xdc_Bits16; typedef uint32_t xdc_Bits32; typedef uint64_t xdc_Bits64; /* * ======== [UI]Arg ======== */ typedef intptr_t xdc_IArg; typedef uintptr_t xdc_UArg; /* * ======== restrict ======== */ /* * ======== ti_targets_mkPragma ======== */ /* * ======== xdc__META ======== */ /* * ======== __ti__ ======== * These symbols are used by RTSC tools to indicate presence/absence of * assorted #pragma options in TI compiler. */ /* * @(#) ti.targets; 1, 0, 3,0; 7-20-2018 13:58:59; /db/ztree/library/trees/xdctargets/xdctargets-r09/src/ xlibrary */ /* * @(#) ti.targets.elf; 1, 0, 0,0; 7-20-2018 13:59:15; /db/ztree/library/trees/xdctargets/xdctargets-r09/src/ xlibrary */ /* Each modules' internal header file defines 'module' as * xdc__MODOBJADDR__(Module__state__V), where Module__state__V is the actual * object where the module state is kept. For most targets, the default macro * given here results in the construct '(&Module__state__V)->field', when the * expression 'module->field' is used. Compilers then generate the code that * doesn't dereference a pointer, but puts the address of the field in the * code. * The targets that need to do something different can define * xdc__MODOBJADDR__ in std.h for their target package. */ /* Long Long Types */ typedef long long xdc_LLong; typedef unsigned long long xdc_ULLong; /* Arg to Ptr and Fxn conversion operators * * Individual targets may override these definitions in the event * that compilers issue warnings about shortening of an Arg to a pointer, * for example. */ static xdc_Ptr xdc_iargToPtr(xdc_IArg a); static xdc_Ptr xdc_uargToPtr(xdc_UArg a); 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 xdc_Fxn xdc_iargToFxn(xdc_IArg a); static xdc_Fxn xdc_uargToFxn(xdc_UArg 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); } /* * functions to efficiently convert a single precision float to an IArg * and vice-versa while maintaining client type safety * * Here the assumption is that sizeof(Float) <= sizeof(IArg); */ typedef union { xdc_Float f; xdc_IArg a; } xdc_FloatData; static xdc_IArg xdc_floatToArg(xdc_Float f); static inline xdc_IArg xdc_floatToArg(xdc_Float f) { xdc_FloatData u; u.f = f; return (u.a); } static xdc_Float xdc_argToFloat(xdc_IArg a); static inline xdc_Float xdc_argToFloat(xdc_IArg a) { xdc_FloatData u; u.a = a; return (u.f); } /* restrict keyword */ /* Unprefixed Aliases */ 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_CPtr CPtr; typedef xdc_String String; typedef xdc_CString CString; typedef xdc_UInt8 UInt8; typedef xdc_UInt16 UInt16; typedef xdc_UInt32 UInt32; /* DEPRECATED Aliases */ /* xdc_Arg is defined only in ti/targets/std.h; use IArg and UArg instead */ typedef xdc_Arg Arg; typedef xdc_UInt8 Uint8; typedef xdc_UInt16 Uint16; typedef xdc_UInt32 Uint32; typedef xdc_UInt Uns; /* * ======== optional types ======== * The following types are not always defined for all targets */ typedef xdc_Int64 Int64; typedef xdc_UInt64 UInt64; /* The following exact size types are not required by C99 and may not be * supported by some compiler/processor environments. For greater * portability, use the IntN or UIntN types above. */ typedef xdc_Bits8 Bits8; typedef xdc_Bits16 Bits16; typedef xdc_Bits32 Bits32; typedef xdc_Bits64 Bits64; /* Standard Constants */ /* NULL must be 0 for C++ and is set to 0 in C to allow legacy code to * compile without warnings. * * If xdc__strict is defined, NULL is defined to be a pointer to allow * maximal type checking in "modern" C sources */ /* Declaration Qualifiers */ /* * ======== xdc__CODESECT ======== * Code-Section Directive * * Targets can optionally #define xdc__CODESECT in their specific * std.h files. This directive is placed in front of all * "extern" function declarations, and specifies a section-name in * which to place this function. This approach * provides more control on combining/organizing groups of * related functions into a single named sub-section (e.g., * "init-code") If this macro is not defined by the target, an * empty definition is used instead. */ /* * ======== xdc__META ======== * Embed unreferenced string in the current file * * Strings emebdded via xdc__META can be placed in a section that is * _not_ loaded on the target but are, nevertheless, part of the * executable and available to loaders. * * Different targets may define this macro in a way that places these * strings in an output section that is not loaded (and therefore does * not takeup space on the target). Unless the target provides a * definition of xdc__META, the definition below simply defines * as string constant in the current file. */ /* * @(#) xdc; 1, 1, 1,0; 7-31-2018 11:48:19; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== INCLUDES ======== */ /* * Copyright (c) 2008-2018 Texas Instruments Incorporated * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License * v. 1.0 which accompanies this distribution. The Eclipse Public License is * available at http://www.eclipse.org/legal/epl-v10.html and the Eclipse * Distribution License is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * Contributors: * Texas Instruments - initial implementation * */ /* * ======== xdc.h ======== * All generated public module headers include this file */ /* * ======== __CONC__ ======== * Concatenate the specified tokens to create a new single token */ /* * ======== __STR__ ======== * Stringify the specified arguement */ /* * ======== xdc_FILE__ ======== * Alternative to __FILE__ which defaults to NULL * * We define our own symbol in lieu of the standard __FILE__ * so we can avoid embedding lots of static strings in applications * that use Error and Assert. * * Both Error and Assert use xdc_FILE__ and ALL module internal headers * redefine xdc_FILE__ to be NULL, unless xdc_FILE is defined. If xdc_FILE * is defined, xdc-FILE__ has the same value assigned to xdc_FILE. So, by * default, Error and Asserts in modules do *not* provide a file name. * * Since this header is included in all module public headers, "non-module" * clients of Error and Assert *will*, by default, provide a file name * string. To eliminate these embedded strings, add the following line * before all module headers: * #define xdc_FILE NULL * * Module creators may opt to define xdc_FILE as the string to use in * Error and Assert messages. For example, adding the following line * to a module's implementation (before the inclusion of the module's * internal header) will cause the standard __FILE__ to be * used in lieu of NULL in Error and Assert calls: * #define xdc_FILE __FILE__ * */ /* * ======== xdc_LINE ======== * Standard file-line-number string for identifying a call site */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== INCLUDES ======== */ /* * Copyright (c) 2008-2017 Texas Instruments Incorporated * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License * v. 1.0 which accompanies this distribution. The Eclipse Public License is * available at http://www.eclipse.org/legal/epl-v10.html and the Eclipse * Distribution License is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * Contributors: * Texas Instruments - initial implementation * */ /* * ======== Types__prologue.h ======== * Hand crafted definitions for Types.xdc */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== interface xdc.runtime.IModule ======== */ typedef struct xdc_runtime_IModule_Fxns__ xdc_runtime_IModule_Fxns__; typedef const struct xdc_runtime_IModule_Fxns__* xdc_runtime_IModule_Module; /* * ======== module xdc.runtime.Assert ======== */ /* * ======== module xdc.runtime.Core ======== */ typedef struct xdc_runtime_Core_ObjDesc xdc_runtime_Core_ObjDesc; /* * ======== module xdc.runtime.Defaults ======== */ /* * ======== module xdc.runtime.Diags ======== */ typedef struct xdc_runtime_Diags_DictElem xdc_runtime_Diags_DictElem; /* * ======== module xdc.runtime.Error ======== */ 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; /* * ======== module xdc.runtime.Gate ======== */ /* * ======== interface xdc.runtime.IGateProvider ======== */ typedef struct xdc_runtime_IGateProvider_Fxns__ xdc_runtime_IGateProvider_Fxns__; typedef const struct 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; /* * ======== module xdc.runtime.GateNull ======== */ typedef struct xdc_runtime_GateNull_Fxns__ xdc_runtime_GateNull_Fxns__; typedef const struct 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; /* * ======== module xdc.runtime.Log ======== */ typedef struct xdc_runtime_Log_EventRec xdc_runtime_Log_EventRec; /* * ======== interface xdc.runtime.ILogger ======== */ typedef struct xdc_runtime_ILogger_Fxns__ xdc_runtime_ILogger_Fxns__; typedef const struct 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; /* * ======== interface xdc.runtime.IFilterLogger ======== */ typedef struct xdc_runtime_IFilterLogger_Fxns__ xdc_runtime_IFilterLogger_Fxns__; typedef const struct 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; /* * ======== module xdc.runtime.LoggerBuf ======== */ 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 struct 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; /* * ======== module xdc.runtime.LoggerCallback ======== */ typedef struct xdc_runtime_LoggerCallback_Fxns__ xdc_runtime_LoggerCallback_Fxns__; typedef const struct xdc_runtime_LoggerCallback_Fxns__* xdc_runtime_LoggerCallback_Module; typedef struct xdc_runtime_LoggerCallback_Params xdc_runtime_LoggerCallback_Params; typedef struct xdc_runtime_LoggerCallback_Object xdc_runtime_LoggerCallback_Object; typedef struct xdc_runtime_LoggerCallback_Struct xdc_runtime_LoggerCallback_Struct; typedef xdc_runtime_LoggerCallback_Object* xdc_runtime_LoggerCallback_Handle; typedef struct xdc_runtime_LoggerCallback_Object__ xdc_runtime_LoggerCallback_Instance_State; typedef xdc_runtime_LoggerCallback_Object* xdc_runtime_LoggerCallback_Instance; /* * ======== module xdc.runtime.LoggerSys ======== */ typedef struct xdc_runtime_LoggerSys_Fxns__ xdc_runtime_LoggerSys_Fxns__; typedef const struct 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; /* * ======== module xdc.runtime.Main ======== */ /* * ======== module xdc.runtime.Memory ======== */ typedef struct xdc_runtime_Memory_Stats xdc_runtime_Memory_Stats; typedef struct xdc_runtime_Memory_Module_State xdc_runtime_Memory_Module_State; /* * ======== interface xdc.runtime.IHeap ======== */ typedef struct xdc_runtime_IHeap_Fxns__ xdc_runtime_IHeap_Fxns__; typedef const struct 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; /* * ======== module xdc.runtime.HeapMin ======== */ typedef struct xdc_runtime_HeapMin_Fxns__ xdc_runtime_HeapMin_Fxns__; typedef const struct 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; /* * ======== module xdc.runtime.HeapStd ======== */ typedef struct xdc_runtime_HeapStd_Module_State xdc_runtime_HeapStd_Module_State; typedef struct xdc_runtime_HeapStd_Fxns__ xdc_runtime_HeapStd_Fxns__; typedef const struct 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; /* * ======== module xdc.runtime.Registry ======== */ typedef struct xdc_runtime_Registry_Module_State xdc_runtime_Registry_Module_State; /* * ======== module xdc.runtime.Rta ======== */ typedef struct xdc_runtime_Rta_CommandPacket xdc_runtime_Rta_CommandPacket; typedef struct xdc_runtime_Rta_ResponsePacket xdc_runtime_Rta_ResponsePacket; /* * ======== module xdc.runtime.Startup ======== */ typedef struct xdc_runtime_Startup_IdMap xdc_runtime_Startup_IdMap; typedef struct xdc_runtime_Startup_Module_State xdc_runtime_Startup_Module_State; /* * ======== module xdc.runtime.System ======== */ typedef struct xdc_runtime_System_ParseData xdc_runtime_System_ParseData; typedef struct xdc_runtime_System_Module_State xdc_runtime_System_Module_State; /* * ======== interface xdc.runtime.ISystemSupport ======== */ typedef struct xdc_runtime_ISystemSupport_Fxns__ xdc_runtime_ISystemSupport_Fxns__; typedef const struct xdc_runtime_ISystemSupport_Fxns__* xdc_runtime_ISystemSupport_Module; /* * ======== module xdc.runtime.SysCallback ======== */ typedef struct xdc_runtime_SysCallback_Fxns__ xdc_runtime_SysCallback_Fxns__; typedef const struct xdc_runtime_SysCallback_Fxns__* xdc_runtime_SysCallback_Module; /* * ======== module xdc.runtime.SysMin ======== */ typedef struct xdc_runtime_SysMin_Module_State xdc_runtime_SysMin_Module_State; typedef struct xdc_runtime_SysMin_Fxns__ xdc_runtime_SysMin_Fxns__; typedef const struct xdc_runtime_SysMin_Fxns__* xdc_runtime_SysMin_Module; /* * ======== module xdc.runtime.SysStd ======== */ typedef struct xdc_runtime_SysStd_Fxns__ xdc_runtime_SysStd_Fxns__; typedef const struct xdc_runtime_SysStd_Fxns__* xdc_runtime_SysStd_Module; /* * ======== module xdc.runtime.Text ======== */ 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; /* * ======== interface xdc.runtime.ITimestampClient ======== */ typedef struct xdc_runtime_ITimestampClient_Fxns__ xdc_runtime_ITimestampClient_Fxns__; typedef const struct xdc_runtime_ITimestampClient_Fxns__* xdc_runtime_ITimestampClient_Module; /* * ======== module xdc.runtime.Timestamp ======== */ typedef struct xdc_runtime_Timestamp_Fxns__ xdc_runtime_Timestamp_Fxns__; typedef const struct xdc_runtime_Timestamp_Fxns__* xdc_runtime_Timestamp_Module; /* * ======== interface xdc.runtime.ITimestampProvider ======== */ typedef struct xdc_runtime_ITimestampProvider_Fxns__ xdc_runtime_ITimestampProvider_Fxns__; typedef const struct xdc_runtime_ITimestampProvider_Fxns__* xdc_runtime_ITimestampProvider_Module; /* * ======== module xdc.runtime.TimestampNull ======== */ typedef struct xdc_runtime_TimestampNull_Fxns__ xdc_runtime_TimestampNull_Fxns__; typedef const struct xdc_runtime_TimestampNull_Fxns__* xdc_runtime_TimestampNull_Module; /* * ======== module xdc.runtime.TimestampStd ======== */ typedef struct xdc_runtime_TimestampStd_Fxns__ xdc_runtime_TimestampStd_Fxns__; typedef const struct xdc_runtime_TimestampStd_Fxns__* xdc_runtime_TimestampStd_Module; /* * ======== module xdc.runtime.Types ======== */ 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_SysFxns2 xdc_runtime_Types_SysFxns2; /* * ======== interface xdc.runtime.IInstance ======== */ typedef struct xdc_runtime_IInstance_Fxns__ xdc_runtime_IInstance_Fxns__; typedef const struct 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; /* * ======== module xdc.runtime.LoggerBuf_TimestampProxy ======== */ typedef struct xdc_runtime_LoggerBuf_TimestampProxy_Fxns__ xdc_runtime_LoggerBuf_TimestampProxy_Fxns__; typedef const struct xdc_runtime_LoggerBuf_TimestampProxy_Fxns__* xdc_runtime_LoggerBuf_TimestampProxy_Module; /* * ======== module xdc.runtime.LoggerBuf_Module_GateProxy ======== */ typedef struct xdc_runtime_LoggerBuf_Module_GateProxy_Fxns__ xdc_runtime_LoggerBuf_Module_GateProxy_Fxns__; typedef const struct 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; /* * ======== module xdc.runtime.LoggerSys_TimestampProxy ======== */ typedef struct xdc_runtime_LoggerSys_TimestampProxy_Fxns__ xdc_runtime_LoggerSys_TimestampProxy_Fxns__; typedef const struct xdc_runtime_LoggerSys_TimestampProxy_Fxns__* xdc_runtime_LoggerSys_TimestampProxy_Module; /* * ======== module xdc.runtime.Main_Module_GateProxy ======== */ typedef struct xdc_runtime_Main_Module_GateProxy_Fxns__ xdc_runtime_Main_Module_GateProxy_Fxns__; typedef const struct 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; /* * ======== module xdc.runtime.Memory_HeapProxy ======== */ typedef struct xdc_runtime_Memory_HeapProxy_Fxns__ xdc_runtime_Memory_HeapProxy_Fxns__; typedef const struct 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; /* * ======== module xdc.runtime.System_SupportProxy ======== */ typedef struct xdc_runtime_System_SupportProxy_Fxns__ xdc_runtime_System_SupportProxy_Fxns__; typedef const struct xdc_runtime_System_SupportProxy_Fxns__* xdc_runtime_System_SupportProxy_Module; /* * ======== module xdc.runtime.System_Module_GateProxy ======== */ typedef struct xdc_runtime_System_Module_GateProxy_Fxns__ xdc_runtime_System_Module_GateProxy_Fxns__; typedef const struct 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; /* * ======== module xdc.runtime.Timestamp_SupportProxy ======== */ typedef struct xdc_runtime_Timestamp_SupportProxy_Fxns__ xdc_runtime_Timestamp_SupportProxy_Fxns__; typedef const struct xdc_runtime_Timestamp_SupportProxy_Fxns__* xdc_runtime_Timestamp_SupportProxy_Module; /* * ======== AUXILIARY DEFINITIONS ======== */ /* ModuleId */ typedef xdc_Bits16 xdc_runtime_Types_ModuleId; /* DiagsMask */ typedef xdc_Bits16 xdc_runtime_Types_DiagsMask; /* Event */ typedef xdc_Bits32 xdc_runtime_Types_Event; /* EventId */ typedef xdc_runtime_Types_Event xdc_runtime_Types_EventId; /* CordAddr__ */ struct xdc_runtime_Types_CordAddr__; /* CordAddr */ typedef xdc_runtime_Types_CordAddr__ *xdc_runtime_Types_CordAddr; /* GateRef__ */ struct xdc_runtime_Types_GateRef__; /* GateRef */ typedef xdc_runtime_Types_GateRef__ *xdc_runtime_Types_GateRef; /* RopeId */ typedef xdc_Bits16 xdc_runtime_Types_RopeId; /* CreatePolicy */ 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; /* OutputPolicy */ enum xdc_runtime_Types_OutputPolicy { xdc_runtime_Types_COMMON_FILE, xdc_runtime_Types_SEPARATE_FILE, xdc_runtime_Types_NO_FILE }; typedef enum xdc_runtime_Types_OutputPolicy xdc_runtime_Types_OutputPolicy; /* Label */ struct xdc_runtime_Types_Label { xdc_Ptr handle; xdc_runtime_Types_ModuleId modId; xdc_String iname; xdc_Bool named; }; /* Site */ struct xdc_runtime_Types_Site { xdc_runtime_Types_ModuleId mod; xdc_CString file; xdc_Int line; }; /* Timestamp64 */ struct xdc_runtime_Types_Timestamp64 { xdc_Bits32 hi; xdc_Bits32 lo; }; /* FreqHz */ struct xdc_runtime_Types_FreqHz { xdc_Bits32 hi; xdc_Bits32 lo; }; /* RegDesc */ struct xdc_runtime_Types_RegDesc { xdc_runtime_Types_RegDesc *next; xdc_CString modName; xdc_runtime_Types_ModuleId id; xdc_runtime_Types_DiagsMask mask; }; /* * ======== INTERNAL DEFINITIONS ======== */ /* LogEvent */ typedef xdc_Bits32 xdc_runtime_Types_LogEvent; /* LoggerFxn0 */ typedef void (*xdc_runtime_Types_LoggerFxn0)(xdc_Ptr arg1, xdc_runtime_Types_LogEvent arg2, xdc_runtime_Types_ModuleId arg3); /* LoggerFxn1 */ typedef void (*xdc_runtime_Types_LoggerFxn1)(xdc_Ptr arg1, xdc_runtime_Types_LogEvent arg2, xdc_runtime_Types_ModuleId arg3, xdc_IArg arg4); /* LoggerFxn2 */ typedef void (*xdc_runtime_Types_LoggerFxn2)(xdc_Ptr arg1, xdc_runtime_Types_LogEvent arg2, xdc_runtime_Types_ModuleId arg3, xdc_IArg arg4, xdc_IArg arg5); /* LoggerFxn4 */ typedef void (*xdc_runtime_Types_LoggerFxn4)(xdc_Ptr arg1, xdc_runtime_Types_LogEvent arg2, xdc_runtime_Types_ModuleId arg3, xdc_IArg arg4, xdc_IArg arg5, xdc_IArg arg6, xdc_IArg arg7); /* LoggerFxn8 */ typedef void (*xdc_runtime_Types_LoggerFxn8)(xdc_Ptr arg1, xdc_runtime_Types_LogEvent arg2, xdc_runtime_Types_ModuleId arg3, xdc_IArg arg4, xdc_IArg arg5, xdc_IArg arg6, xdc_IArg arg7, xdc_IArg arg8, xdc_IArg arg9, xdc_IArg arg10, xdc_IArg arg11); /* Vec */ struct xdc_runtime_Types_Vec { xdc_Int len; xdc_Ptr arr; }; /* Link */ struct xdc_runtime_Types_Link { xdc_runtime_Types_Link *next; xdc_runtime_Types_Link *prev; }; /* InstHdr */ struct xdc_runtime_Types_InstHdr { xdc_runtime_Types_Link link; }; /* PrmsHdr */ struct xdc_runtime_Types_PrmsHdr { xdc_SizeT size; xdc_Ptr self; xdc_Ptr modFxns; xdc_Ptr instPrms; }; /* Base */ struct xdc_runtime_Types_Base { const xdc_runtime_Types_Base *base; }; /* SysFxns2 */ struct xdc_runtime_Types_SysFxns2 { xdc_Ptr (*__create)(xdc_CPtr arg1, const xdc_UChar* arg2, xdc_SizeT arg3, xdc_runtime_Error_Block* arg4); void (*__delete)(xdc_Ptr arg1); xdc_runtime_Types_Label *(*__label)(xdc_Ptr arg1, xdc_runtime_Types_Label* arg2); xdc_runtime_Types_ModuleId __mid; }; /* * ======== MODULE-WIDE CONFIGS ======== */ /* Module__diagsEnabled */ typedef xdc_Bits32 CT__xdc_runtime_Types_Module__diagsEnabled; extern far const CT__xdc_runtime_Types_Module__diagsEnabled xdc_runtime_Types_Module__diagsEnabled__C; /* Module__diagsIncluded */ typedef xdc_Bits32 CT__xdc_runtime_Types_Module__diagsIncluded; extern far const CT__xdc_runtime_Types_Module__diagsIncluded xdc_runtime_Types_Module__diagsIncluded__C; /* Module__diagsMask */ typedef xdc_Bits16 *CT__xdc_runtime_Types_Module__diagsMask; extern far const CT__xdc_runtime_Types_Module__diagsMask xdc_runtime_Types_Module__diagsMask__C; /* Module__gateObj */ typedef xdc_Ptr CT__xdc_runtime_Types_Module__gateObj; extern far const CT__xdc_runtime_Types_Module__gateObj xdc_runtime_Types_Module__gateObj__C; /* Module__gatePrms */ typedef xdc_Ptr CT__xdc_runtime_Types_Module__gatePrms; extern far const CT__xdc_runtime_Types_Module__gatePrms xdc_runtime_Types_Module__gatePrms__C; /* Module__id */ typedef xdc_runtime_Types_ModuleId CT__xdc_runtime_Types_Module__id; extern far const CT__xdc_runtime_Types_Module__id xdc_runtime_Types_Module__id__C; /* Module__loggerDefined */ typedef xdc_Bool CT__xdc_runtime_Types_Module__loggerDefined; extern far const CT__xdc_runtime_Types_Module__loggerDefined xdc_runtime_Types_Module__loggerDefined__C; /* Module__loggerObj */ typedef xdc_Ptr CT__xdc_runtime_Types_Module__loggerObj; extern far const CT__xdc_runtime_Types_Module__loggerObj xdc_runtime_Types_Module__loggerObj__C; /* Module__loggerFxn0 */ typedef xdc_runtime_Types_LoggerFxn0 CT__xdc_runtime_Types_Module__loggerFxn0; extern far const CT__xdc_runtime_Types_Module__loggerFxn0 xdc_runtime_Types_Module__loggerFxn0__C; /* Module__loggerFxn1 */ typedef xdc_runtime_Types_LoggerFxn1 CT__xdc_runtime_Types_Module__loggerFxn1; extern far const CT__xdc_runtime_Types_Module__loggerFxn1 xdc_runtime_Types_Module__loggerFxn1__C; /* Module__loggerFxn2 */ typedef xdc_runtime_Types_LoggerFxn2 CT__xdc_runtime_Types_Module__loggerFxn2; extern far const CT__xdc_runtime_Types_Module__loggerFxn2 xdc_runtime_Types_Module__loggerFxn2__C; /* Module__loggerFxn4 */ typedef xdc_runtime_Types_LoggerFxn4 CT__xdc_runtime_Types_Module__loggerFxn4; extern far const CT__xdc_runtime_Types_Module__loggerFxn4 xdc_runtime_Types_Module__loggerFxn4__C; /* Module__loggerFxn8 */ typedef xdc_runtime_Types_LoggerFxn8 CT__xdc_runtime_Types_Module__loggerFxn8; extern far const CT__xdc_runtime_Types_Module__loggerFxn8 xdc_runtime_Types_Module__loggerFxn8__C; /* Object__count */ typedef xdc_Int CT__xdc_runtime_Types_Object__count; extern far const CT__xdc_runtime_Types_Object__count xdc_runtime_Types_Object__count__C; /* Object__heap */ typedef xdc_runtime_IHeap_Handle CT__xdc_runtime_Types_Object__heap; extern far const CT__xdc_runtime_Types_Object__heap xdc_runtime_Types_Object__heap__C; /* Object__sizeof */ typedef xdc_SizeT CT__xdc_runtime_Types_Object__sizeof; extern far const CT__xdc_runtime_Types_Object__sizeof xdc_runtime_Types_Object__sizeof__C; /* Object__table */ typedef xdc_Ptr CT__xdc_runtime_Types_Object__table; extern far const CT__xdc_runtime_Types_Object__table xdc_runtime_Types_Object__table__C; /* * ======== FUNCTION DECLARATIONS ======== */ /* Module_startup */ /* Module__startupDone__S */ extern xdc_Bool xdc_runtime_Types_Module__startupDone__S( void ); /* * ======== SYSTEM FUNCTIONS ======== */ /* Module_startupDone */ /* Object_heap */ /* Module_heap */ /* Module_id */ static inline CT__xdc_runtime_Types_Module__id xdc_runtime_Types_Module_id(void); static inline CT__xdc_runtime_Types_Module__id xdc_runtime_Types_Module_id( void ) { return xdc_runtime_Types_Module__id__C; } /* Module_hasMask */ static inline xdc_Bool xdc_runtime_Types_Module_hasMask(void); static inline xdc_Bool xdc_runtime_Types_Module_hasMask(void) { return (xdc_Bool)(xdc_runtime_Types_Module__diagsMask__C != (CT__xdc_runtime_Types_Module__diagsMask)0); } /* Module_getMask */ static inline xdc_Bits16 xdc_runtime_Types_Module_getMask(void); static inline xdc_Bits16 xdc_runtime_Types_Module_getMask(void) { return (xdc_runtime_Types_Module__diagsMask__C != (CT__xdc_runtime_Types_Module__diagsMask)0) ? *xdc_runtime_Types_Module__diagsMask__C : (xdc_Bits16)0; } /* Module_setMask */ static inline void xdc_runtime_Types_Module_setMask(xdc_Bits16 mask); static inline void xdc_runtime_Types_Module_setMask(xdc_Bits16 mask) { if (xdc_runtime_Types_Module__diagsMask__C != (CT__xdc_runtime_Types_Module__diagsMask)0) { *xdc_runtime_Types_Module__diagsMask__C = mask; } } /* * ======== EPILOGUE ======== */ /* * Copyright (c) 2008-2017 Texas Instruments Incorporated * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License * v. 1.0 which accompanies this distribution. The Eclipse Public License is * available at http://www.eclipse.org/legal/epl-v10.html and the Eclipse * Distribution License is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * Contributors: * Texas Instruments - initial implementation * */ /* * ======== Types__epilogue.h ======== * Hand crafted macros for Types.xdc */ /* * ======== xdc_runtime_Types_getEventId ======== */ /* * ======== xdc_runtime_Types_makeEvent ======== */ /* * ======== xdc_runtime_Types_getModuleId ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Copyright (c) 2008-2017 Texas Instruments Incorporated * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License * v. 1.0 which accompanies this distribution. The Eclipse Public License is * available at http://www.eclipse.org/legal/epl-v10.html and the Eclipse * Distribution License is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * Contributors: * Texas Instruments - initial implementation * */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== INCLUDES ======== */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== INCLUDES ======== */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * PER-INSTANCE TYPES * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== INCLUDES ======== */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * PER-INSTANCE TYPES * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== INCLUDES ======== */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * ======== AUXILIARY DEFINITIONS ======== */ /* * ======== PER-INSTANCE TYPES ======== */ /* Params */ struct xdc_runtime_IInstance_Params { size_t __size; xdc_CString name; }; /* * ======== VIRTUAL FUNCTIONS ======== */ /* Fxns__ */ struct xdc_runtime_IInstance_Fxns__ { const xdc_runtime_Types_Base* __base; const xdc_runtime_Types_SysFxns2* __sysp; xdc_runtime_Types_SysFxns2 __sfxns; }; /* Interface__BASE__C */ extern const xdc_runtime_Types_Base xdc_runtime_IInstance_Interface__BASE__C; /* * ======== FUNCTION STUBS ======== */ /* create */ extern xdc_runtime_IInstance_Handle xdc_runtime_IInstance_create(xdc_runtime_IInstance_Module mod, const xdc_runtime_IInstance_Params *prms, xdc_runtime_Error_Block *eb); /* delete */ extern void xdc_runtime_IInstance_delete(xdc_runtime_IInstance_Handle *inst); /* Handle_to_Module */ static inline xdc_runtime_IInstance_Module xdc_runtime_IInstance_Handle_to_Module(xdc_runtime_IInstance_Handle inst); static inline xdc_runtime_IInstance_Module xdc_runtime_IInstance_Handle_to_Module(xdc_runtime_IInstance_Handle inst) { return inst->__fxns; } /* Handle_label */ static inline xdc_runtime_Types_Label *xdc_runtime_IInstance_Handle_label(xdc_runtime_IInstance_Handle inst, xdc_runtime_Types_Label *lab); 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); } /* Module_id */ static inline xdc_runtime_Types_ModuleId xdc_runtime_IInstance_Module_id(xdc_runtime_IInstance_Module mod); static inline xdc_runtime_Types_ModuleId xdc_runtime_IInstance_Module_id(xdc_runtime_IInstance_Module mod) { return mod->__sysp->__mid; } /* * ======== FUNCTION SELECTORS ======== */ /* * ======== EPILOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== INCLUDES ======== */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * PER-INSTANCE TYPES * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * MODULE-WIDE CONFIGS * PER-INSTANCE TYPES * VIRTUAL FUNCTIONS * FUNCTION DECLARATIONS * CONVERTORS * SYSTEM FUNCTIONS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== INCLUDES ======== */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * PER-INSTANCE TYPES * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * PER-INSTANCE TYPES * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * ======== AUXILIARY DEFINITIONS ======== */ /* * ======== MODULE-WIDE CONFIGS ======== */ /* Module__diagsEnabled */ typedef xdc_Bits32 CT__xdc_runtime_Memory_HeapProxy_Module__diagsEnabled; extern far const CT__xdc_runtime_Memory_HeapProxy_Module__diagsEnabled xdc_runtime_Memory_HeapProxy_Module__diagsEnabled__C; /* Module__diagsIncluded */ typedef xdc_Bits32 CT__xdc_runtime_Memory_HeapProxy_Module__diagsIncluded; extern far const CT__xdc_runtime_Memory_HeapProxy_Module__diagsIncluded xdc_runtime_Memory_HeapProxy_Module__diagsIncluded__C; /* Module__diagsMask */ typedef xdc_Bits16 *CT__xdc_runtime_Memory_HeapProxy_Module__diagsMask; extern far const CT__xdc_runtime_Memory_HeapProxy_Module__diagsMask xdc_runtime_Memory_HeapProxy_Module__diagsMask__C; /* Module__gateObj */ typedef xdc_Ptr CT__xdc_runtime_Memory_HeapProxy_Module__gateObj; extern far const CT__xdc_runtime_Memory_HeapProxy_Module__gateObj xdc_runtime_Memory_HeapProxy_Module__gateObj__C; /* Module__gatePrms */ typedef xdc_Ptr CT__xdc_runtime_Memory_HeapProxy_Module__gatePrms; extern far const CT__xdc_runtime_Memory_HeapProxy_Module__gatePrms xdc_runtime_Memory_HeapProxy_Module__gatePrms__C; /* Module__id */ typedef xdc_runtime_Types_ModuleId CT__xdc_runtime_Memory_HeapProxy_Module__id; extern far const CT__xdc_runtime_Memory_HeapProxy_Module__id xdc_runtime_Memory_HeapProxy_Module__id__C; /* Module__loggerDefined */ typedef xdc_Bool CT__xdc_runtime_Memory_HeapProxy_Module__loggerDefined; extern far const CT__xdc_runtime_Memory_HeapProxy_Module__loggerDefined xdc_runtime_Memory_HeapProxy_Module__loggerDefined__C; /* Module__loggerObj */ typedef xdc_Ptr CT__xdc_runtime_Memory_HeapProxy_Module__loggerObj; extern far const CT__xdc_runtime_Memory_HeapProxy_Module__loggerObj xdc_runtime_Memory_HeapProxy_Module__loggerObj__C; /* Module__loggerFxn0 */ typedef xdc_runtime_Types_LoggerFxn0 CT__xdc_runtime_Memory_HeapProxy_Module__loggerFxn0; extern far const CT__xdc_runtime_Memory_HeapProxy_Module__loggerFxn0 xdc_runtime_Memory_HeapProxy_Module__loggerFxn0__C; /* Module__loggerFxn1 */ typedef xdc_runtime_Types_LoggerFxn1 CT__xdc_runtime_Memory_HeapProxy_Module__loggerFxn1; extern far const CT__xdc_runtime_Memory_HeapProxy_Module__loggerFxn1 xdc_runtime_Memory_HeapProxy_Module__loggerFxn1__C; /* Module__loggerFxn2 */ typedef xdc_runtime_Types_LoggerFxn2 CT__xdc_runtime_Memory_HeapProxy_Module__loggerFxn2; extern far const CT__xdc_runtime_Memory_HeapProxy_Module__loggerFxn2 xdc_runtime_Memory_HeapProxy_Module__loggerFxn2__C; /* Module__loggerFxn4 */ typedef xdc_runtime_Types_LoggerFxn4 CT__xdc_runtime_Memory_HeapProxy_Module__loggerFxn4; extern far const CT__xdc_runtime_Memory_HeapProxy_Module__loggerFxn4 xdc_runtime_Memory_HeapProxy_Module__loggerFxn4__C; /* Module__loggerFxn8 */ typedef xdc_runtime_Types_LoggerFxn8 CT__xdc_runtime_Memory_HeapProxy_Module__loggerFxn8; extern far const CT__xdc_runtime_Memory_HeapProxy_Module__loggerFxn8 xdc_runtime_Memory_HeapProxy_Module__loggerFxn8__C; /* Object__count */ typedef xdc_Int CT__xdc_runtime_Memory_HeapProxy_Object__count; extern far const CT__xdc_runtime_Memory_HeapProxy_Object__count xdc_runtime_Memory_HeapProxy_Object__count__C; /* Object__heap */ typedef xdc_runtime_IHeap_Handle CT__xdc_runtime_Memory_HeapProxy_Object__heap; extern far const CT__xdc_runtime_Memory_HeapProxy_Object__heap xdc_runtime_Memory_HeapProxy_Object__heap__C; /* Object__sizeof */ typedef xdc_SizeT CT__xdc_runtime_Memory_HeapProxy_Object__sizeof; extern far const CT__xdc_runtime_Memory_HeapProxy_Object__sizeof xdc_runtime_Memory_HeapProxy_Object__sizeof__C; /* Object__table */ typedef xdc_Ptr CT__xdc_runtime_Memory_HeapProxy_Object__table; extern far const CT__xdc_runtime_Memory_HeapProxy_Object__table xdc_runtime_Memory_HeapProxy_Object__table__C; /* * ======== PER-INSTANCE TYPES ======== */ /* Params */ 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 */ struct xdc_runtime_Memory_HeapProxy_Struct { const xdc_runtime_Memory_HeapProxy_Fxns__ *__fxns; xdc_runtime_Types_CordAddr __name; }; /* * ======== VIRTUAL FUNCTIONS ======== */ /* Fxns__ */ struct xdc_runtime_Memory_HeapProxy_Fxns__ { const xdc_runtime_Types_Base* __base; const xdc_runtime_Types_SysFxns2* __sysp; xdc_Ptr (*alloc)(xdc_runtime_Memory_HeapProxy_Handle inst, xdc_SizeT size, xdc_SizeT align, xdc_runtime_Error_Block* eb); void (*free)(xdc_runtime_Memory_HeapProxy_Handle inst, xdc_Ptr block, xdc_SizeT size); xdc_Bool (*isBlocking)(xdc_runtime_Memory_HeapProxy_Handle inst); void (*getStats)(xdc_runtime_Memory_HeapProxy_Handle inst, xdc_runtime_Memory_Stats* stats); xdc_runtime_Types_SysFxns2 __sfxns; }; /* Module__FXNS__C */ extern const xdc_runtime_Memory_HeapProxy_Fxns__ xdc_runtime_Memory_HeapProxy_Module__FXNS__C; /* * ======== FUNCTION DECLARATIONS ======== */ /* Module_startup */ /* create */ extern xdc_runtime_Memory_HeapProxy_Handle xdc_runtime_Memory_HeapProxy_create( const xdc_runtime_Memory_HeapProxy_Params *prms, xdc_runtime_Error_Block *eb); /* delete */ extern void xdc_runtime_Memory_HeapProxy_delete(xdc_runtime_Memory_HeapProxy_Handle *instp); /* Handle__label__S */ extern xdc_runtime_Types_Label *xdc_runtime_Memory_HeapProxy_Handle__label__S( xdc_Ptr obj, xdc_runtime_Types_Label *lab ); /* Module__startupDone__S */ extern xdc_Bool xdc_runtime_Memory_HeapProxy_Module__startupDone__S( void ); /* Object__get__S */ extern xdc_Ptr xdc_runtime_Memory_HeapProxy_Object__get__S( xdc_Ptr oarr, xdc_Int i ); /* Object__first__S */ extern xdc_Ptr xdc_runtime_Memory_HeapProxy_Object__first__S( void ); /* Object__next__S */ extern xdc_Ptr xdc_runtime_Memory_HeapProxy_Object__next__S( xdc_Ptr obj ); /* Params__init__S */ extern void xdc_runtime_Memory_HeapProxy_Params__init__S( xdc_Ptr dst, const void *src, xdc_SizeT psz, xdc_SizeT isz ); /* Proxy__abstract__S */ extern xdc_Bool xdc_runtime_Memory_HeapProxy_Proxy__abstract__S( void ); /* Proxy__delegate__S */ extern xdc_CPtr xdc_runtime_Memory_HeapProxy_Proxy__delegate__S( void ); /* alloc__E */ extern 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 ); /* free__E */ extern void xdc_runtime_Memory_HeapProxy_free__E( xdc_runtime_Memory_HeapProxy_Handle __inst, xdc_Ptr block, xdc_SizeT size ); /* isBlocking__E */ extern xdc_Bool xdc_runtime_Memory_HeapProxy_isBlocking__E( xdc_runtime_Memory_HeapProxy_Handle __inst ); /* getStats__E */ extern void xdc_runtime_Memory_HeapProxy_getStats__E( xdc_runtime_Memory_HeapProxy_Handle __inst, xdc_runtime_Memory_Stats *stats ); /* * ======== CONVERTORS ======== */ /* Module_upCast */ static inline xdc_runtime_IHeap_Module xdc_runtime_Memory_HeapProxy_Module_upCast(void); 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(); } /* Module_to_xdc_runtime_IHeap */ /* Handle_upCast */ static inline xdc_runtime_IHeap_Handle xdc_runtime_Memory_HeapProxy_Handle_upCast(xdc_runtime_Memory_HeapProxy_Handle i); static inline xdc_runtime_IHeap_Handle xdc_runtime_Memory_HeapProxy_Handle_upCast(xdc_runtime_Memory_HeapProxy_Handle i) { return (xdc_runtime_IHeap_Handle)i; } /* Handle_to_xdc_runtime_IHeap */ /* Handle_downCast */ static inline xdc_runtime_Memory_HeapProxy_Handle xdc_runtime_Memory_HeapProxy_Handle_downCast(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 ((const void*)i2->__fxns == (const void*)xdc_runtime_Memory_HeapProxy_Proxy__delegate__S()) ? (xdc_runtime_Memory_HeapProxy_Handle)i : (xdc_runtime_Memory_HeapProxy_Handle)0; } /* Handle_from_xdc_runtime_IHeap */ /* * ======== SYSTEM FUNCTIONS ======== */ /* Module_startupDone */ /* Object_heap */ /* Module_heap */ /* Module_id */ static inline CT__xdc_runtime_Memory_HeapProxy_Module__id xdc_runtime_Memory_HeapProxy_Module_id(void); static inline CT__xdc_runtime_Memory_HeapProxy_Module__id xdc_runtime_Memory_HeapProxy_Module_id( void ) { return xdc_runtime_Memory_HeapProxy_Module__id__C; } /* Proxy_abstract */ /* Proxy_delegate */ /* Params_init */ static inline void xdc_runtime_Memory_HeapProxy_Params_init(xdc_runtime_Memory_HeapProxy_Params *prms); static inline void xdc_runtime_Memory_HeapProxy_Params_init( xdc_runtime_Memory_HeapProxy_Params *prms ) { if (prms != 0) { xdc_runtime_Memory_HeapProxy_Params__init__S(prms, 0, sizeof(xdc_runtime_Memory_HeapProxy_Params), sizeof(xdc_runtime_IInstance_Params)); } } /* Params_copy */ static inline void xdc_runtime_Memory_HeapProxy_Params_copy(xdc_runtime_Memory_HeapProxy_Params *dst, const xdc_runtime_Memory_HeapProxy_Params *src); static inline void xdc_runtime_Memory_HeapProxy_Params_copy(xdc_runtime_Memory_HeapProxy_Params *dst, const xdc_runtime_Memory_HeapProxy_Params *src) { if (dst != 0) { xdc_runtime_Memory_HeapProxy_Params__init__S(dst, (const void *)src, sizeof(xdc_runtime_Memory_HeapProxy_Params), sizeof(xdc_runtime_IInstance_Params)); } } /* * ======== EPILOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * ======== AUXILIARY DEFINITIONS ======== */ /* Q_BLOCKING */ /* Size */ typedef xdc_UArg xdc_runtime_Memory_Size; /* Stats */ struct xdc_runtime_Memory_Stats { xdc_runtime_Memory_Size totalSize; xdc_runtime_Memory_Size totalFreeSize; xdc_runtime_Memory_Size largestFreeSize; }; /* * ======== INTERNAL DEFINITIONS ======== */ /* * ======== MODULE-WIDE CONFIGS ======== */ /* Module__diagsEnabled */ typedef xdc_Bits32 CT__xdc_runtime_Memory_Module__diagsEnabled; extern far const CT__xdc_runtime_Memory_Module__diagsEnabled xdc_runtime_Memory_Module__diagsEnabled__C; /* Module__diagsIncluded */ typedef xdc_Bits32 CT__xdc_runtime_Memory_Module__diagsIncluded; extern far const CT__xdc_runtime_Memory_Module__diagsIncluded xdc_runtime_Memory_Module__diagsIncluded__C; /* Module__diagsMask */ typedef xdc_Bits16 *CT__xdc_runtime_Memory_Module__diagsMask; extern far const CT__xdc_runtime_Memory_Module__diagsMask xdc_runtime_Memory_Module__diagsMask__C; /* Module__gateObj */ typedef xdc_Ptr CT__xdc_runtime_Memory_Module__gateObj; extern far const CT__xdc_runtime_Memory_Module__gateObj xdc_runtime_Memory_Module__gateObj__C; /* Module__gatePrms */ typedef xdc_Ptr CT__xdc_runtime_Memory_Module__gatePrms; extern far const CT__xdc_runtime_Memory_Module__gatePrms xdc_runtime_Memory_Module__gatePrms__C; /* Module__id */ typedef xdc_runtime_Types_ModuleId CT__xdc_runtime_Memory_Module__id; extern far const CT__xdc_runtime_Memory_Module__id xdc_runtime_Memory_Module__id__C; /* Module__loggerDefined */ typedef xdc_Bool CT__xdc_runtime_Memory_Module__loggerDefined; extern far const CT__xdc_runtime_Memory_Module__loggerDefined xdc_runtime_Memory_Module__loggerDefined__C; /* Module__loggerObj */ typedef xdc_Ptr CT__xdc_runtime_Memory_Module__loggerObj; extern far const CT__xdc_runtime_Memory_Module__loggerObj xdc_runtime_Memory_Module__loggerObj__C; /* Module__loggerFxn0 */ typedef xdc_runtime_Types_LoggerFxn0 CT__xdc_runtime_Memory_Module__loggerFxn0; extern far const CT__xdc_runtime_Memory_Module__loggerFxn0 xdc_runtime_Memory_Module__loggerFxn0__C; /* Module__loggerFxn1 */ typedef xdc_runtime_Types_LoggerFxn1 CT__xdc_runtime_Memory_Module__loggerFxn1; extern far const CT__xdc_runtime_Memory_Module__loggerFxn1 xdc_runtime_Memory_Module__loggerFxn1__C; /* Module__loggerFxn2 */ typedef xdc_runtime_Types_LoggerFxn2 CT__xdc_runtime_Memory_Module__loggerFxn2; extern far const CT__xdc_runtime_Memory_Module__loggerFxn2 xdc_runtime_Memory_Module__loggerFxn2__C; /* Module__loggerFxn4 */ typedef xdc_runtime_Types_LoggerFxn4 CT__xdc_runtime_Memory_Module__loggerFxn4; extern far const CT__xdc_runtime_Memory_Module__loggerFxn4 xdc_runtime_Memory_Module__loggerFxn4__C; /* Module__loggerFxn8 */ typedef xdc_runtime_Types_LoggerFxn8 CT__xdc_runtime_Memory_Module__loggerFxn8; extern far const CT__xdc_runtime_Memory_Module__loggerFxn8 xdc_runtime_Memory_Module__loggerFxn8__C; /* Object__count */ typedef xdc_Int CT__xdc_runtime_Memory_Object__count; extern far const CT__xdc_runtime_Memory_Object__count xdc_runtime_Memory_Object__count__C; /* Object__heap */ typedef xdc_runtime_IHeap_Handle CT__xdc_runtime_Memory_Object__heap; extern far const CT__xdc_runtime_Memory_Object__heap xdc_runtime_Memory_Object__heap__C; /* Object__sizeof */ typedef xdc_SizeT CT__xdc_runtime_Memory_Object__sizeof; extern far const CT__xdc_runtime_Memory_Object__sizeof xdc_runtime_Memory_Object__sizeof__C; /* Object__table */ typedef xdc_Ptr CT__xdc_runtime_Memory_Object__table; extern far const CT__xdc_runtime_Memory_Object__table xdc_runtime_Memory_Object__table__C; /* defaultHeapInstance */ typedef xdc_runtime_IHeap_Handle CT__xdc_runtime_Memory_defaultHeapInstance; extern far const CT__xdc_runtime_Memory_defaultHeapInstance xdc_runtime_Memory_defaultHeapInstance__C; /* * ======== FUNCTION DECLARATIONS ======== */ /* Module_startup */ /* Module__startupDone__S */ extern xdc_Bool xdc_runtime_Memory_Module__startupDone__S( void ); /* alloc__E */ extern xdc_Ptr xdc_runtime_Memory_alloc__E( xdc_runtime_IHeap_Handle heap, xdc_SizeT size, xdc_SizeT align, xdc_runtime_Error_Block *eb ); /* calloc__E */ extern xdc_Ptr xdc_runtime_Memory_calloc__E( xdc_runtime_IHeap_Handle heap, xdc_SizeT size, xdc_SizeT align, xdc_runtime_Error_Block *eb ); /* free__E */ extern void xdc_runtime_Memory_free__E( xdc_runtime_IHeap_Handle heap, xdc_Ptr block, xdc_SizeT size ); /* getStats__E */ extern void xdc_runtime_Memory_getStats__E( xdc_runtime_IHeap_Handle heap, xdc_runtime_Memory_Stats *stats ); /* query__E */ extern xdc_Bool xdc_runtime_Memory_query__E( xdc_runtime_IHeap_Handle heap, xdc_Int qual ); /* getMaxDefaultTypeAlign__E */ extern xdc_SizeT xdc_runtime_Memory_getMaxDefaultTypeAlign__E( void ); /* valloc__E */ extern 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 ); /* * ======== SYSTEM FUNCTIONS ======== */ /* Module_startupDone */ /* Object_heap */ /* Module_heap */ /* Module_id */ static inline CT__xdc_runtime_Memory_Module__id xdc_runtime_Memory_Module_id(void); static inline CT__xdc_runtime_Memory_Module__id xdc_runtime_Memory_Module_id( void ) { return xdc_runtime_Memory_Module__id__C; } /* Module_hasMask */ static inline xdc_Bool xdc_runtime_Memory_Module_hasMask(void); static inline xdc_Bool xdc_runtime_Memory_Module_hasMask(void) { return (xdc_Bool)(xdc_runtime_Memory_Module__diagsMask__C != (CT__xdc_runtime_Memory_Module__diagsMask)0); } /* Module_getMask */ static inline xdc_Bits16 xdc_runtime_Memory_Module_getMask(void); static inline xdc_Bits16 xdc_runtime_Memory_Module_getMask(void) { return (xdc_runtime_Memory_Module__diagsMask__C != (CT__xdc_runtime_Memory_Module__diagsMask)0) ? *xdc_runtime_Memory_Module__diagsMask__C : (xdc_Bits16)0; } /* Module_setMask */ static inline void xdc_runtime_Memory_Module_setMask(xdc_Bits16 mask); static inline void xdc_runtime_Memory_Module_setMask(xdc_Bits16 mask) { if (xdc_runtime_Memory_Module__diagsMask__C != (CT__xdc_runtime_Memory_Module__diagsMask)0) { *xdc_runtime_Memory_Module__diagsMask__C = mask; } } /* * ======== EPILOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * ======== AUXILIARY DEFINITIONS ======== */ /* * ======== PER-INSTANCE TYPES ======== */ /* Params */ struct xdc_runtime_IHeap_Params { size_t __size; const void *__self; void *__fxns; xdc_runtime_IInstance_Params *instance; }; /* * ======== VIRTUAL FUNCTIONS ======== */ /* Fxns__ */ struct xdc_runtime_IHeap_Fxns__ { const xdc_runtime_Types_Base* __base; const xdc_runtime_Types_SysFxns2* __sysp; xdc_Ptr (*alloc)(void* inst, xdc_SizeT size, xdc_SizeT align, xdc_runtime_Error_Block* eb); void (*free)(void* inst, xdc_Ptr block, xdc_SizeT size); xdc_Bool (*isBlocking)(void* inst); void (*getStats)(void* inst, xdc_runtime_Memory_Stats* stats); xdc_runtime_Types_SysFxns2 __sfxns; }; /* Interface__BASE__C */ extern const xdc_runtime_Types_Base xdc_runtime_IHeap_Interface__BASE__C; /* * ======== FUNCTION STUBS ======== */ /* create */ extern xdc_runtime_IHeap_Handle xdc_runtime_IHeap_create(xdc_runtime_IHeap_Module mod, const xdc_runtime_IHeap_Params *prms, xdc_runtime_Error_Block *eb); /* delete */ extern void xdc_runtime_IHeap_delete(xdc_runtime_IHeap_Handle *inst); /* Handle_to_Module */ static inline xdc_runtime_IHeap_Module xdc_runtime_IHeap_Handle_to_Module(xdc_runtime_IHeap_Handle inst); static inline xdc_runtime_IHeap_Module xdc_runtime_IHeap_Handle_to_Module(xdc_runtime_IHeap_Handle inst) { return inst->__fxns; } /* Handle_label */ static inline xdc_runtime_Types_Label *xdc_runtime_IHeap_Handle_label(xdc_runtime_IHeap_Handle inst, xdc_runtime_Types_Label *lab); 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); } /* Module_id */ static inline xdc_runtime_Types_ModuleId xdc_runtime_IHeap_Module_id(xdc_runtime_IHeap_Module mod); static inline xdc_runtime_Types_ModuleId xdc_runtime_IHeap_Module_id(xdc_runtime_IHeap_Module mod) { return mod->__sysp->__mid; } /* alloc */ static inline xdc_Ptr xdc_runtime_IHeap_alloc(xdc_runtime_IHeap_Handle inst, xdc_SizeT size, xdc_SizeT align, xdc_runtime_Error_Block *eb); 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); } /* free */ static inline void xdc_runtime_IHeap_free(xdc_runtime_IHeap_Handle inst, xdc_Ptr block, xdc_SizeT size); 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); } /* isBlocking */ static inline xdc_Bool xdc_runtime_IHeap_isBlocking(xdc_runtime_IHeap_Handle inst); static inline xdc_Bool xdc_runtime_IHeap_isBlocking( xdc_runtime_IHeap_Handle inst ) { return inst->__fxns->isBlocking((void*)inst); } /* getStats */ static inline void xdc_runtime_IHeap_getStats(xdc_runtime_IHeap_Handle inst, xdc_runtime_Memory_Stats *stats); static inline void xdc_runtime_IHeap_getStats( xdc_runtime_IHeap_Handle inst, xdc_runtime_Memory_Stats *stats ) { inst->__fxns->getStats((void*)inst, stats); } /* * ======== FUNCTION SELECTORS ======== */ /* These functions return function pointers for module and instance functions. * The functions accept modules and instances declared as types defined in this * interface, but they return functions defined for the actual objects passed * as parameters. These functions are not invoked by any generated code or * XDCtools internal code. */ /* alloc_{FxnT,fxnP} */ typedef xdc_Ptr (*xdc_runtime_IHeap_alloc_FxnT)(void *inst, xdc_SizeT size, xdc_SizeT align, xdc_runtime_Error_Block* eb); static inline xdc_runtime_IHeap_alloc_FxnT xdc_runtime_IHeap_alloc_fxnP(xdc_runtime_IHeap_Handle inst); 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; } /* free_{FxnT,fxnP} */ typedef void (*xdc_runtime_IHeap_free_FxnT)(void *inst, xdc_Ptr block, xdc_SizeT size); static inline xdc_runtime_IHeap_free_FxnT xdc_runtime_IHeap_free_fxnP(xdc_runtime_IHeap_Handle inst); 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; } /* isBlocking_{FxnT,fxnP} */ typedef xdc_Bool (*xdc_runtime_IHeap_isBlocking_FxnT)(void *inst); static inline xdc_runtime_IHeap_isBlocking_FxnT xdc_runtime_IHeap_isBlocking_fxnP(xdc_runtime_IHeap_Handle inst); 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; } /* getStats_{FxnT,fxnP} */ typedef void (*xdc_runtime_IHeap_getStats_FxnT)(void *inst, xdc_runtime_Memory_Stats* stats); static inline xdc_runtime_IHeap_getStats_FxnT xdc_runtime_IHeap_getStats_fxnP(xdc_runtime_IHeap_Handle inst); 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; } /* * ======== EPILOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * ======== AUXILIARY DEFINITIONS ======== */ /* * ======== VIRTUAL FUNCTIONS ======== */ /* Fxns__ */ struct xdc_runtime_IModule_Fxns__ { const xdc_runtime_Types_Base* __base; const xdc_runtime_Types_SysFxns2* __sysp; xdc_runtime_Types_SysFxns2 __sfxns; }; /* Interface__BASE__C */ extern const xdc_runtime_Types_Base xdc_runtime_IModule_Interface__BASE__C; /* * ======== FUNCTION STUBS ======== */ /* Module_id */ static inline xdc_runtime_Types_ModuleId xdc_runtime_IModule_Module_id(xdc_runtime_IModule_Module mod); static inline xdc_runtime_Types_ModuleId xdc_runtime_IModule_Module_id(xdc_runtime_IModule_Module mod) { return mod->__sysp->__mid; } /* * ======== FUNCTION SELECTORS ======== */ /* * ======== EPILOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * PER-INSTANCE TYPES * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== INCLUDES ======== */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * PER-INSTANCE TYPES * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * ======== AUXILIARY DEFINITIONS ======== */ /* Q_BLOCKING */ /* Q_PREEMPTING */ /* * ======== PER-INSTANCE TYPES ======== */ /* Params */ struct xdc_runtime_IGateProvider_Params { size_t __size; const void *__self; void *__fxns; xdc_runtime_IInstance_Params *instance; }; /* * ======== VIRTUAL FUNCTIONS ======== */ /* Fxns__ */ struct xdc_runtime_IGateProvider_Fxns__ { const xdc_runtime_Types_Base* __base; const xdc_runtime_Types_SysFxns2* __sysp; xdc_Bool (*query)(xdc_Int qual); xdc_IArg (*enter)(void* inst); void (*leave)(void* inst, xdc_IArg key); xdc_runtime_Types_SysFxns2 __sfxns; }; /* Interface__BASE__C */ extern const xdc_runtime_Types_Base xdc_runtime_IGateProvider_Interface__BASE__C; /* * ======== FUNCTION STUBS ======== */ /* create */ extern xdc_runtime_IGateProvider_Handle xdc_runtime_IGateProvider_create(xdc_runtime_IGateProvider_Module mod, const xdc_runtime_IGateProvider_Params *prms, xdc_runtime_Error_Block *eb); /* delete */ extern void xdc_runtime_IGateProvider_delete(xdc_runtime_IGateProvider_Handle *inst); /* Handle_to_Module */ static inline xdc_runtime_IGateProvider_Module xdc_runtime_IGateProvider_Handle_to_Module(xdc_runtime_IGateProvider_Handle inst); static inline xdc_runtime_IGateProvider_Module xdc_runtime_IGateProvider_Handle_to_Module(xdc_runtime_IGateProvider_Handle inst) { return inst->__fxns; } /* Handle_label */ static inline xdc_runtime_Types_Label *xdc_runtime_IGateProvider_Handle_label(xdc_runtime_IGateProvider_Handle inst, xdc_runtime_Types_Label *lab); 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); } /* Module_id */ static inline xdc_runtime_Types_ModuleId xdc_runtime_IGateProvider_Module_id(xdc_runtime_IGateProvider_Module mod); static inline xdc_runtime_Types_ModuleId xdc_runtime_IGateProvider_Module_id(xdc_runtime_IGateProvider_Module mod) { return mod->__sysp->__mid; } /* query */ static inline xdc_Bool xdc_runtime_IGateProvider_query(xdc_runtime_IGateProvider_Module mod, xdc_Int qual); static inline xdc_Bool xdc_runtime_IGateProvider_query( xdc_runtime_IGateProvider_Module mod, xdc_Int qual ) { return mod->query(qual); } /* enter */ static inline xdc_IArg xdc_runtime_IGateProvider_enter(xdc_runtime_IGateProvider_Handle inst); static inline xdc_IArg xdc_runtime_IGateProvider_enter( xdc_runtime_IGateProvider_Handle inst ) { return inst->__fxns->enter((void*)inst); } /* leave */ static inline void xdc_runtime_IGateProvider_leave(xdc_runtime_IGateProvider_Handle inst, xdc_IArg key); static inline void xdc_runtime_IGateProvider_leave( xdc_runtime_IGateProvider_Handle inst, xdc_IArg key ) { inst->__fxns->leave((void*)inst, key); } /* * ======== FUNCTION SELECTORS ======== */ /* These functions return function pointers for module and instance functions. * The functions accept modules and instances declared as types defined in this * interface, but they return functions defined for the actual objects passed * as parameters. These functions are not invoked by any generated code or * XDCtools internal code. */ /* query_{FxnT,fxnP} */ typedef xdc_Bool (*xdc_runtime_IGateProvider_query_FxnT)(xdc_Int qual); static inline xdc_runtime_IGateProvider_query_FxnT xdc_runtime_IGateProvider_query_fxnP(xdc_runtime_IGateProvider_Module mod); static inline xdc_runtime_IGateProvider_query_FxnT xdc_runtime_IGateProvider_query_fxnP(xdc_runtime_IGateProvider_Module mod) { return (xdc_runtime_IGateProvider_query_FxnT)mod->query; } /* enter_{FxnT,fxnP} */ typedef xdc_IArg (*xdc_runtime_IGateProvider_enter_FxnT)(void *inst); static inline xdc_runtime_IGateProvider_enter_FxnT xdc_runtime_IGateProvider_enter_fxnP(xdc_runtime_IGateProvider_Handle inst); 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; } /* leave_{FxnT,fxnP} */ typedef void (*xdc_runtime_IGateProvider_leave_FxnT)(void *inst, xdc_IArg key); static inline xdc_runtime_IGateProvider_leave_FxnT xdc_runtime_IGateProvider_leave_fxnP(xdc_runtime_IGateProvider_Handle inst); 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; } /* * ======== EPILOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * MODULE-WIDE CONFIGS * PER-INSTANCE TYPES * VIRTUAL FUNCTIONS * FUNCTION DECLARATIONS * CONVERTORS * SYSTEM FUNCTIONS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== INCLUDES ======== */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * PER-INSTANCE TYPES * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * PER-INSTANCE TYPES * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * ======== AUXILIARY DEFINITIONS ======== */ /* Q_BLOCKING */ /* Q_PREEMPTING */ /* * ======== MODULE-WIDE CONFIGS ======== */ /* Module__diagsEnabled */ typedef xdc_Bits32 CT__xdc_runtime_Main_Module_GateProxy_Module__diagsEnabled; extern far const CT__xdc_runtime_Main_Module_GateProxy_Module__diagsEnabled xdc_runtime_Main_Module_GateProxy_Module__diagsEnabled__C; /* Module__diagsIncluded */ typedef xdc_Bits32 CT__xdc_runtime_Main_Module_GateProxy_Module__diagsIncluded; extern far const CT__xdc_runtime_Main_Module_GateProxy_Module__diagsIncluded xdc_runtime_Main_Module_GateProxy_Module__diagsIncluded__C; /* Module__diagsMask */ typedef xdc_Bits16 *CT__xdc_runtime_Main_Module_GateProxy_Module__diagsMask; extern far const CT__xdc_runtime_Main_Module_GateProxy_Module__diagsMask xdc_runtime_Main_Module_GateProxy_Module__diagsMask__C; /* Module__gateObj */ typedef xdc_Ptr CT__xdc_runtime_Main_Module_GateProxy_Module__gateObj; extern far const CT__xdc_runtime_Main_Module_GateProxy_Module__gateObj xdc_runtime_Main_Module_GateProxy_Module__gateObj__C; /* Module__gatePrms */ typedef xdc_Ptr CT__xdc_runtime_Main_Module_GateProxy_Module__gatePrms; extern far const CT__xdc_runtime_Main_Module_GateProxy_Module__gatePrms xdc_runtime_Main_Module_GateProxy_Module__gatePrms__C; /* Module__id */ typedef xdc_runtime_Types_ModuleId CT__xdc_runtime_Main_Module_GateProxy_Module__id; extern far const CT__xdc_runtime_Main_Module_GateProxy_Module__id xdc_runtime_Main_Module_GateProxy_Module__id__C; /* Module__loggerDefined */ typedef xdc_Bool CT__xdc_runtime_Main_Module_GateProxy_Module__loggerDefined; extern far const CT__xdc_runtime_Main_Module_GateProxy_Module__loggerDefined xdc_runtime_Main_Module_GateProxy_Module__loggerDefined__C; /* Module__loggerObj */ typedef xdc_Ptr CT__xdc_runtime_Main_Module_GateProxy_Module__loggerObj; extern far const CT__xdc_runtime_Main_Module_GateProxy_Module__loggerObj xdc_runtime_Main_Module_GateProxy_Module__loggerObj__C; /* Module__loggerFxn0 */ typedef xdc_runtime_Types_LoggerFxn0 CT__xdc_runtime_Main_Module_GateProxy_Module__loggerFxn0; extern far const CT__xdc_runtime_Main_Module_GateProxy_Module__loggerFxn0 xdc_runtime_Main_Module_GateProxy_Module__loggerFxn0__C; /* Module__loggerFxn1 */ typedef xdc_runtime_Types_LoggerFxn1 CT__xdc_runtime_Main_Module_GateProxy_Module__loggerFxn1; extern far const CT__xdc_runtime_Main_Module_GateProxy_Module__loggerFxn1 xdc_runtime_Main_Module_GateProxy_Module__loggerFxn1__C; /* Module__loggerFxn2 */ typedef xdc_runtime_Types_LoggerFxn2 CT__xdc_runtime_Main_Module_GateProxy_Module__loggerFxn2; extern far const CT__xdc_runtime_Main_Module_GateProxy_Module__loggerFxn2 xdc_runtime_Main_Module_GateProxy_Module__loggerFxn2__C; /* Module__loggerFxn4 */ typedef xdc_runtime_Types_LoggerFxn4 CT__xdc_runtime_Main_Module_GateProxy_Module__loggerFxn4; extern far const CT__xdc_runtime_Main_Module_GateProxy_Module__loggerFxn4 xdc_runtime_Main_Module_GateProxy_Module__loggerFxn4__C; /* Module__loggerFxn8 */ typedef xdc_runtime_Types_LoggerFxn8 CT__xdc_runtime_Main_Module_GateProxy_Module__loggerFxn8; extern far const CT__xdc_runtime_Main_Module_GateProxy_Module__loggerFxn8 xdc_runtime_Main_Module_GateProxy_Module__loggerFxn8__C; /* Object__count */ typedef xdc_Int CT__xdc_runtime_Main_Module_GateProxy_Object__count; extern far const CT__xdc_runtime_Main_Module_GateProxy_Object__count xdc_runtime_Main_Module_GateProxy_Object__count__C; /* Object__heap */ typedef xdc_runtime_IHeap_Handle CT__xdc_runtime_Main_Module_GateProxy_Object__heap; extern far const CT__xdc_runtime_Main_Module_GateProxy_Object__heap xdc_runtime_Main_Module_GateProxy_Object__heap__C; /* Object__sizeof */ typedef xdc_SizeT CT__xdc_runtime_Main_Module_GateProxy_Object__sizeof; extern far const CT__xdc_runtime_Main_Module_GateProxy_Object__sizeof xdc_runtime_Main_Module_GateProxy_Object__sizeof__C; /* Object__table */ typedef xdc_Ptr CT__xdc_runtime_Main_Module_GateProxy_Object__table; extern far const CT__xdc_runtime_Main_Module_GateProxy_Object__table xdc_runtime_Main_Module_GateProxy_Object__table__C; /* * ======== PER-INSTANCE TYPES ======== */ /* Params */ 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 */ struct xdc_runtime_Main_Module_GateProxy_Struct { const xdc_runtime_Main_Module_GateProxy_Fxns__ *__fxns; xdc_runtime_Types_CordAddr __name; }; /* * ======== VIRTUAL FUNCTIONS ======== */ /* Fxns__ */ struct xdc_runtime_Main_Module_GateProxy_Fxns__ { const xdc_runtime_Types_Base* __base; const xdc_runtime_Types_SysFxns2* __sysp; xdc_Bool (*query)(xdc_Int qual); xdc_IArg (*enter)(xdc_runtime_Main_Module_GateProxy_Handle inst); void (*leave)(xdc_runtime_Main_Module_GateProxy_Handle inst, xdc_IArg key); xdc_runtime_Types_SysFxns2 __sfxns; }; /* Module__FXNS__C */ extern const xdc_runtime_Main_Module_GateProxy_Fxns__ xdc_runtime_Main_Module_GateProxy_Module__FXNS__C; /* * ======== FUNCTION DECLARATIONS ======== */ /* Module_startup */ /* create */ extern 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); /* delete */ extern void xdc_runtime_Main_Module_GateProxy_delete(xdc_runtime_Main_Module_GateProxy_Handle *instp); /* Handle__label__S */ extern xdc_runtime_Types_Label *xdc_runtime_Main_Module_GateProxy_Handle__label__S( xdc_Ptr obj, xdc_runtime_Types_Label *lab ); /* Module__startupDone__S */ extern xdc_Bool xdc_runtime_Main_Module_GateProxy_Module__startupDone__S( void ); /* Object__get__S */ extern xdc_Ptr xdc_runtime_Main_Module_GateProxy_Object__get__S( xdc_Ptr oarr, xdc_Int i ); /* Object__first__S */ extern xdc_Ptr xdc_runtime_Main_Module_GateProxy_Object__first__S( void ); /* Object__next__S */ extern xdc_Ptr xdc_runtime_Main_Module_GateProxy_Object__next__S( xdc_Ptr obj ); /* Params__init__S */ extern void xdc_runtime_Main_Module_GateProxy_Params__init__S( xdc_Ptr dst, const void *src, xdc_SizeT psz, xdc_SizeT isz ); /* Proxy__abstract__S */ extern xdc_Bool xdc_runtime_Main_Module_GateProxy_Proxy__abstract__S( void ); /* Proxy__delegate__S */ extern xdc_CPtr xdc_runtime_Main_Module_GateProxy_Proxy__delegate__S( void ); /* query__E */ extern xdc_Bool xdc_runtime_Main_Module_GateProxy_query__E( xdc_Int qual ); /* enter__E */ extern xdc_IArg xdc_runtime_Main_Module_GateProxy_enter__E( xdc_runtime_Main_Module_GateProxy_Handle __inst ); /* leave__E */ extern void xdc_runtime_Main_Module_GateProxy_leave__E( xdc_runtime_Main_Module_GateProxy_Handle __inst, xdc_IArg key ); /* * ======== CONVERTORS ======== */ /* Module_upCast */ static inline xdc_runtime_IGateProvider_Module xdc_runtime_Main_Module_GateProxy_Module_upCast(void); 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(); } /* Module_to_xdc_runtime_IGateProvider */ /* Handle_upCast */ static inline xdc_runtime_IGateProvider_Handle xdc_runtime_Main_Module_GateProxy_Handle_upCast(xdc_runtime_Main_Module_GateProxy_Handle i); 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; } /* Handle_to_xdc_runtime_IGateProvider */ /* Handle_downCast */ static inline xdc_runtime_Main_Module_GateProxy_Handle xdc_runtime_Main_Module_GateProxy_Handle_downCast(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 ((const void*)i2->__fxns == (const void*)xdc_runtime_Main_Module_GateProxy_Proxy__delegate__S()) ? (xdc_runtime_Main_Module_GateProxy_Handle)i : (xdc_runtime_Main_Module_GateProxy_Handle)0; } /* Handle_from_xdc_runtime_IGateProvider */ /* * ======== SYSTEM FUNCTIONS ======== */ /* Module_startupDone */ /* Object_heap */ /* Module_heap */ /* Module_id */ static inline CT__xdc_runtime_Main_Module_GateProxy_Module__id xdc_runtime_Main_Module_GateProxy_Module_id(void); 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; } /* Proxy_abstract */ /* Proxy_delegate */ /* Params_init */ static inline void xdc_runtime_Main_Module_GateProxy_Params_init(xdc_runtime_Main_Module_GateProxy_Params *prms); static inline void xdc_runtime_Main_Module_GateProxy_Params_init( xdc_runtime_Main_Module_GateProxy_Params *prms ) { if (prms != 0) { xdc_runtime_Main_Module_GateProxy_Params__init__S(prms, 0, sizeof(xdc_runtime_Main_Module_GateProxy_Params), sizeof(xdc_runtime_IInstance_Params)); } } /* Params_copy */ 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); 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 != 0) { xdc_runtime_Main_Module_GateProxy_Params__init__S(dst, (const void *)src, sizeof(xdc_runtime_Main_Module_GateProxy_Params), sizeof(xdc_runtime_IInstance_Params)); } } /* * ======== EPILOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * ======== AUXILIARY DEFINITIONS ======== */ /* * ======== INTERNAL DEFINITIONS ======== */ /* * ======== MODULE-WIDE CONFIGS ======== */ /* Module__diagsEnabled */ typedef xdc_Bits32 CT__xdc_runtime_Main_Module__diagsEnabled; extern far const CT__xdc_runtime_Main_Module__diagsEnabled xdc_runtime_Main_Module__diagsEnabled__C; /* Module__diagsIncluded */ typedef xdc_Bits32 CT__xdc_runtime_Main_Module__diagsIncluded; extern far const CT__xdc_runtime_Main_Module__diagsIncluded xdc_runtime_Main_Module__diagsIncluded__C; /* Module__diagsMask */ typedef xdc_Bits16 *CT__xdc_runtime_Main_Module__diagsMask; extern far const CT__xdc_runtime_Main_Module__diagsMask xdc_runtime_Main_Module__diagsMask__C; /* Module__gateObj */ typedef xdc_Ptr CT__xdc_runtime_Main_Module__gateObj; extern far const CT__xdc_runtime_Main_Module__gateObj xdc_runtime_Main_Module__gateObj__C; /* Module__gatePrms */ typedef xdc_Ptr CT__xdc_runtime_Main_Module__gatePrms; extern far const CT__xdc_runtime_Main_Module__gatePrms xdc_runtime_Main_Module__gatePrms__C; /* Module__id */ typedef xdc_runtime_Types_ModuleId CT__xdc_runtime_Main_Module__id; extern far const CT__xdc_runtime_Main_Module__id xdc_runtime_Main_Module__id__C; /* Module__loggerDefined */ typedef xdc_Bool CT__xdc_runtime_Main_Module__loggerDefined; extern far const CT__xdc_runtime_Main_Module__loggerDefined xdc_runtime_Main_Module__loggerDefined__C; /* Module__loggerObj */ typedef xdc_Ptr CT__xdc_runtime_Main_Module__loggerObj; extern far const CT__xdc_runtime_Main_Module__loggerObj xdc_runtime_Main_Module__loggerObj__C; /* Module__loggerFxn0 */ typedef xdc_runtime_Types_LoggerFxn0 CT__xdc_runtime_Main_Module__loggerFxn0; extern far const CT__xdc_runtime_Main_Module__loggerFxn0 xdc_runtime_Main_Module__loggerFxn0__C; /* Module__loggerFxn1 */ typedef xdc_runtime_Types_LoggerFxn1 CT__xdc_runtime_Main_Module__loggerFxn1; extern far const CT__xdc_runtime_Main_Module__loggerFxn1 xdc_runtime_Main_Module__loggerFxn1__C; /* Module__loggerFxn2 */ typedef xdc_runtime_Types_LoggerFxn2 CT__xdc_runtime_Main_Module__loggerFxn2; extern far const CT__xdc_runtime_Main_Module__loggerFxn2 xdc_runtime_Main_Module__loggerFxn2__C; /* Module__loggerFxn4 */ typedef xdc_runtime_Types_LoggerFxn4 CT__xdc_runtime_Main_Module__loggerFxn4; extern far const CT__xdc_runtime_Main_Module__loggerFxn4 xdc_runtime_Main_Module__loggerFxn4__C; /* Module__loggerFxn8 */ typedef xdc_runtime_Types_LoggerFxn8 CT__xdc_runtime_Main_Module__loggerFxn8; extern far const CT__xdc_runtime_Main_Module__loggerFxn8 xdc_runtime_Main_Module__loggerFxn8__C; /* Object__count */ typedef xdc_Int CT__xdc_runtime_Main_Object__count; extern far const CT__xdc_runtime_Main_Object__count xdc_runtime_Main_Object__count__C; /* Object__heap */ typedef xdc_runtime_IHeap_Handle CT__xdc_runtime_Main_Object__heap; extern far const CT__xdc_runtime_Main_Object__heap xdc_runtime_Main_Object__heap__C; /* Object__sizeof */ typedef xdc_SizeT CT__xdc_runtime_Main_Object__sizeof; extern far const CT__xdc_runtime_Main_Object__sizeof xdc_runtime_Main_Object__sizeof__C; /* Object__table */ typedef xdc_Ptr CT__xdc_runtime_Main_Object__table; extern far const CT__xdc_runtime_Main_Object__table xdc_runtime_Main_Object__table__C; /* * ======== FUNCTION DECLARATIONS ======== */ /* Module_startup */ /* Module__startupDone__S */ extern xdc_Bool xdc_runtime_Main_Module__startupDone__S( void ); /* * ======== SYSTEM FUNCTIONS ======== */ /* Module_startupDone */ /* Object_heap */ /* Module_heap */ /* Module_id */ static inline CT__xdc_runtime_Main_Module__id xdc_runtime_Main_Module_id(void); static inline CT__xdc_runtime_Main_Module__id xdc_runtime_Main_Module_id( void ) { return xdc_runtime_Main_Module__id__C; } /* Module_hasMask */ static inline xdc_Bool xdc_runtime_Main_Module_hasMask(void); static inline xdc_Bool xdc_runtime_Main_Module_hasMask(void) { return (xdc_Bool)(xdc_runtime_Main_Module__diagsMask__C != (CT__xdc_runtime_Main_Module__diagsMask)0); } /* Module_getMask */ static inline xdc_Bits16 xdc_runtime_Main_Module_getMask(void); static inline xdc_Bits16 xdc_runtime_Main_Module_getMask(void) { return (xdc_runtime_Main_Module__diagsMask__C != (CT__xdc_runtime_Main_Module__diagsMask)0) ? *xdc_runtime_Main_Module__diagsMask__C : (xdc_Bits16)0; } /* Module_setMask */ static inline void xdc_runtime_Main_Module_setMask(xdc_Bits16 mask); static inline void xdc_runtime_Main_Module_setMask(xdc_Bits16 mask) { if (xdc_runtime_Main_Module__diagsMask__C != (CT__xdc_runtime_Main_Module__diagsMask)0) { *xdc_runtime_Main_Module__diagsMask__C = mask; } } /* * ======== EPILOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * ======== xdc_runtime_Error_Id ======== */ typedef xdc_Bits32 xdc_runtime_Error_Id; /* * ======== Module__MID ======== * This definition allows non-module code to * use the Error module. This symbol is normally defined in each * module internal header (i.e., package/internal/.xdc.h). * * Only do this if this file is not one that will be included in the Registry. * This check ensures that Registry.h (which similarly defines these Module__* * symbols) can be included in any order relative to other xdc.runtime * headers. */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * ======== AUXILIARY DEFINITIONS ======== */ /* Policy */ enum xdc_runtime_Error_Policy { xdc_runtime_Error_TERMINATE, xdc_runtime_Error_UNWIND }; typedef enum xdc_runtime_Error_Policy xdc_runtime_Error_Policy; /* HookFxn */ typedef void (*xdc_runtime_Error_HookFxn)(xdc_runtime_Error_Block* arg1); /* NUMARGS */ /* Data */ typedef xdc_IArg __T1_xdc_runtime_Error_Data__arg; typedef xdc_IArg ARRAY1_xdc_runtime_Error_Data__arg[2]; typedef xdc_IArg CARRAY1_xdc_runtime_Error_Data__arg[2]; typedef CARRAY1_xdc_runtime_Error_Data__arg __TA_xdc_runtime_Error_Data__arg; struct xdc_runtime_Error_Data { __TA_xdc_runtime_Error_Data__arg arg; }; /* Block */ struct xdc_runtime_Error_Block { xdc_UInt16 unused; xdc_runtime_Error_Data data; xdc_runtime_Error_Id id; xdc_CString msg; xdc_runtime_Types_Site site; }; /* IGNORE */ /* ABORT */ /* PolicyFxn */ typedef void (*xdc_runtime_Error_PolicyFxn)(xdc_runtime_Error_Block* arg1, xdc_runtime_Types_ModuleId arg2, xdc_CString arg3, xdc_Int arg4, xdc_runtime_Error_Id arg5, xdc_IArg arg6, xdc_IArg arg7); /* * ======== INTERNAL DEFINITIONS ======== */ /* * ======== MODULE-WIDE CONFIGS ======== */ /* Module__diagsEnabled */ typedef xdc_Bits32 CT__xdc_runtime_Error_Module__diagsEnabled; extern far const CT__xdc_runtime_Error_Module__diagsEnabled xdc_runtime_Error_Module__diagsEnabled__C; /* Module__diagsIncluded */ typedef xdc_Bits32 CT__xdc_runtime_Error_Module__diagsIncluded; extern far const CT__xdc_runtime_Error_Module__diagsIncluded xdc_runtime_Error_Module__diagsIncluded__C; /* Module__diagsMask */ typedef xdc_Bits16 *CT__xdc_runtime_Error_Module__diagsMask; extern far const CT__xdc_runtime_Error_Module__diagsMask xdc_runtime_Error_Module__diagsMask__C; /* Module__gateObj */ typedef xdc_Ptr CT__xdc_runtime_Error_Module__gateObj; extern far const CT__xdc_runtime_Error_Module__gateObj xdc_runtime_Error_Module__gateObj__C; /* Module__gatePrms */ typedef xdc_Ptr CT__xdc_runtime_Error_Module__gatePrms; extern far const CT__xdc_runtime_Error_Module__gatePrms xdc_runtime_Error_Module__gatePrms__C; /* Module__id */ typedef xdc_runtime_Types_ModuleId CT__xdc_runtime_Error_Module__id; extern far const CT__xdc_runtime_Error_Module__id xdc_runtime_Error_Module__id__C; /* Module__loggerDefined */ typedef xdc_Bool CT__xdc_runtime_Error_Module__loggerDefined; extern far const CT__xdc_runtime_Error_Module__loggerDefined xdc_runtime_Error_Module__loggerDefined__C; /* Module__loggerObj */ typedef xdc_Ptr CT__xdc_runtime_Error_Module__loggerObj; extern far const CT__xdc_runtime_Error_Module__loggerObj xdc_runtime_Error_Module__loggerObj__C; /* Module__loggerFxn0 */ typedef xdc_runtime_Types_LoggerFxn0 CT__xdc_runtime_Error_Module__loggerFxn0; extern far const CT__xdc_runtime_Error_Module__loggerFxn0 xdc_runtime_Error_Module__loggerFxn0__C; /* Module__loggerFxn1 */ typedef xdc_runtime_Types_LoggerFxn1 CT__xdc_runtime_Error_Module__loggerFxn1; extern far const CT__xdc_runtime_Error_Module__loggerFxn1 xdc_runtime_Error_Module__loggerFxn1__C; /* Module__loggerFxn2 */ typedef xdc_runtime_Types_LoggerFxn2 CT__xdc_runtime_Error_Module__loggerFxn2; extern far const CT__xdc_runtime_Error_Module__loggerFxn2 xdc_runtime_Error_Module__loggerFxn2__C; /* Module__loggerFxn4 */ typedef xdc_runtime_Types_LoggerFxn4 CT__xdc_runtime_Error_Module__loggerFxn4; extern far const CT__xdc_runtime_Error_Module__loggerFxn4 xdc_runtime_Error_Module__loggerFxn4__C; /* Module__loggerFxn8 */ typedef xdc_runtime_Types_LoggerFxn8 CT__xdc_runtime_Error_Module__loggerFxn8; extern far const CT__xdc_runtime_Error_Module__loggerFxn8 xdc_runtime_Error_Module__loggerFxn8__C; /* Object__count */ typedef xdc_Int CT__xdc_runtime_Error_Object__count; extern far const CT__xdc_runtime_Error_Object__count xdc_runtime_Error_Object__count__C; /* Object__heap */ typedef xdc_runtime_IHeap_Handle CT__xdc_runtime_Error_Object__heap; extern far const CT__xdc_runtime_Error_Object__heap xdc_runtime_Error_Object__heap__C; /* Object__sizeof */ typedef xdc_SizeT CT__xdc_runtime_Error_Object__sizeof; extern far const CT__xdc_runtime_Error_Object__sizeof xdc_runtime_Error_Object__sizeof__C; /* Object__table */ typedef xdc_Ptr CT__xdc_runtime_Error_Object__table; extern far const CT__xdc_runtime_Error_Object__table xdc_runtime_Error_Object__table__C; /* policyFxn */ typedef xdc_runtime_Error_PolicyFxn CT__xdc_runtime_Error_policyFxn; extern far const CT__xdc_runtime_Error_policyFxn xdc_runtime_Error_policyFxn__C; /* E_generic */ typedef xdc_runtime_Error_Id CT__xdc_runtime_Error_E_generic; extern far const CT__xdc_runtime_Error_E_generic xdc_runtime_Error_E_generic__C; /* E_memory */ typedef xdc_runtime_Error_Id CT__xdc_runtime_Error_E_memory; extern far const CT__xdc_runtime_Error_E_memory xdc_runtime_Error_E_memory__C; /* E_msgCode */ typedef xdc_runtime_Error_Id CT__xdc_runtime_Error_E_msgCode; extern far const CT__xdc_runtime_Error_E_msgCode xdc_runtime_Error_E_msgCode__C; /* policy */ typedef xdc_runtime_Error_Policy CT__xdc_runtime_Error_policy; extern far const CT__xdc_runtime_Error_policy xdc_runtime_Error_policy__C; /* raiseHook */ typedef xdc_runtime_Error_HookFxn CT__xdc_runtime_Error_raiseHook; extern far const CT__xdc_runtime_Error_raiseHook xdc_runtime_Error_raiseHook__C; /* maxDepth */ typedef xdc_UInt16 CT__xdc_runtime_Error_maxDepth; extern far const CT__xdc_runtime_Error_maxDepth xdc_runtime_Error_maxDepth__C; /* * ======== FUNCTION DECLARATIONS ======== */ /* Module_startup */ /* Module__startupDone__S */ extern xdc_Bool xdc_runtime_Error_Module__startupDone__S( void ); /* check__E */ extern xdc_Bool xdc_runtime_Error_check__E( xdc_runtime_Error_Block *eb ); /* getData__E */ extern xdc_runtime_Error_Data *xdc_runtime_Error_getData__E( xdc_runtime_Error_Block *eb ); /* getCode__E */ extern xdc_UInt16 xdc_runtime_Error_getCode__E( xdc_runtime_Error_Block *eb ); /* getId__E */ extern xdc_runtime_Error_Id xdc_runtime_Error_getId__E( xdc_runtime_Error_Block *eb ); /* getMsg__E */ extern xdc_CString xdc_runtime_Error_getMsg__E( xdc_runtime_Error_Block *eb ); /* getSite__E */ extern xdc_runtime_Types_Site *xdc_runtime_Error_getSite__E( xdc_runtime_Error_Block *eb ); /* init__E */ extern void xdc_runtime_Error_init__E( xdc_runtime_Error_Block *eb ); /* print__E */ extern void xdc_runtime_Error_print__E( xdc_runtime_Error_Block *eb ); /* policyDefault__E */ extern void xdc_runtime_Error_policyDefault__E( xdc_runtime_Error_Block *eb, xdc_runtime_Types_ModuleId mod, xdc_CString file, xdc_Int line, xdc_runtime_Error_Id id, xdc_IArg arg1, xdc_IArg arg2 ); /* policyMin__E */ extern void xdc_runtime_Error_policyMin__E( xdc_runtime_Error_Block *eb, xdc_runtime_Types_ModuleId mod, xdc_CString file, xdc_Int line, xdc_runtime_Error_Id id, xdc_IArg arg1, xdc_IArg arg2 ); /* policySpin__E */ extern void xdc_runtime_Error_policySpin__E( xdc_runtime_Error_Block *eb, xdc_runtime_Types_ModuleId mod, xdc_CString file, xdc_Int line, xdc_runtime_Error_Id id, xdc_IArg arg1, xdc_IArg arg2 ); /* raiseX__E */ extern void xdc_runtime_Error_raiseX__E( xdc_runtime_Error_Block *eb, xdc_runtime_Types_ModuleId mod, xdc_CString file, xdc_Int line, xdc_runtime_Error_Id id, xdc_IArg arg1, xdc_IArg arg2 ); /* setX__E */ extern void xdc_runtime_Error_setX__E( xdc_runtime_Error_Block *eb, xdc_runtime_Types_ModuleId mod, xdc_CString file, xdc_Int line, xdc_runtime_Error_Id id, xdc_IArg arg1, xdc_IArg arg2 ); /* * ======== SYSTEM FUNCTIONS ======== */ /* Module_startupDone */ /* Object_heap */ /* Module_heap */ /* Module_id */ static inline CT__xdc_runtime_Error_Module__id xdc_runtime_Error_Module_id(void); static inline CT__xdc_runtime_Error_Module__id xdc_runtime_Error_Module_id( void ) { return xdc_runtime_Error_Module__id__C; } /* Module_hasMask */ static inline xdc_Bool xdc_runtime_Error_Module_hasMask(void); static inline xdc_Bool xdc_runtime_Error_Module_hasMask(void) { return (xdc_Bool)(xdc_runtime_Error_Module__diagsMask__C != (CT__xdc_runtime_Error_Module__diagsMask)0); } /* Module_getMask */ static inline xdc_Bits16 xdc_runtime_Error_Module_getMask(void); static inline xdc_Bits16 xdc_runtime_Error_Module_getMask(void) { return (xdc_runtime_Error_Module__diagsMask__C != (CT__xdc_runtime_Error_Module__diagsMask)0) ? *xdc_runtime_Error_Module__diagsMask__C : (xdc_Bits16)0; } /* Module_setMask */ static inline void xdc_runtime_Error_Module_setMask(xdc_Bits16 mask); static inline void xdc_runtime_Error_Module_setMask(xdc_Bits16 mask) { if (xdc_runtime_Error_Module__diagsMask__C != (CT__xdc_runtime_Error_Module__diagsMask)0) { *xdc_runtime_Error_Module__diagsMask__C = mask; } } /* * ======== EPILOGUE ======== */ /* * Copyright (c) 2008-2017 Texas Instruments Incorporated * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License * v. 1.0 which accompanies this distribution. The Eclipse Public License is * available at http://www.eclipse.org/legal/epl-v10.html and the Eclipse * Distribution License is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * Contributors: * Texas Instruments - initial implementation * */ /* * ======== xdc_runtime_Error_raise ======== * Call underlying error handler with current module ID, file name, and * line number. * * Note use of xdc_FILE__ in lieu of __FILE__; this is done * to prevent accumulation of file name strings in the application. See * xdc.h for details. */ /* * ======== xdc_runtime_Error_idToCode ======== */ /* * ======== xdc_runtime_Error_idToUid ======== */ extern xdc_runtime_Error_Block xdc_runtime_Error_IgnoreBlock; /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* module prefix */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== INCLUDES ======== */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== INCLUDES ======== */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Copyright (c) 2008-2017 Texas Instruments Incorporated * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License * v. 1.0 which accompanies this distribution. The Eclipse Public License is * available at http://www.eclipse.org/legal/epl-v10.html and the Eclipse * Distribution License is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * Contributors: * Texas Instruments - initial implementation * */ /* * ======== Assert__prologue.h ======== */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== INCLUDES ======== */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Copyright (c) 2008-2017 Texas Instruments Incorporated * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License * v. 1.0 which accompanies this distribution. The Eclipse Public License is * available at http://www.eclipse.org/legal/epl-v10.html and the Eclipse * Distribution License is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * Contributors: * Texas Instruments - initial implementation * */ /* * ======== Diags__prologue.h ======== * * This header defines Module__* symbols for every Module__* value used * by the Diags module's headers. This allows non-module code to * use the Diags module. These symbols are normally defined in * module internal headers (i.e., package/internal/.xdc.h) and they * define a "current module context". */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Only define these symbols for xdc.runtime.Main if this file is not one that * will be included in the Registry. This check ensures that Registry.h (which * similarly defines these Module__* symbols) can be included in any order * relative to other xdc.runtime headers. */ /* * ======== Module__DGSINCL ======== * The set of diags categories that are runtime controllable _or_ always on * * This costant is computed at config time and enables us to eliminate * expensive runtime time checks and unnecessary data (the module's diags * mask) when whole program optimization is used. */ /* * ======== Module__DGSENAB ======== * The set of diags categories that are _always_ enabled * * This costant is computed at config time and enables us to eliminate * expensive runtime time checks and unnecessary data (the module's diags * mask) when whole program optimization is used. */ /* * ======== Module__DGSMASK ======== * Pointer to the set of diags categories that are runtime controllable */ /* * ======== Module__MID ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * ======== AUXILIARY DEFINITIONS ======== */ /* Mask */ typedef xdc_runtime_Types_DiagsMask xdc_runtime_Diags_Mask; /* ENTRY */ /* EXIT */ /* LIFECYCLE */ /* INTERNAL */ /* ASSERT */ /* STATUS */ /* LEVEL */ /* USER1 */ /* USER2 */ /* USER3 */ /* USER4 */ /* USER5 */ /* USER6 */ /* USER7 */ /* INFO */ /* USER8 */ /* ANALYSIS */ /* ALL */ /* ALL_LOGGING */ /* EventLevel */ 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; /* EMERGENCY */ /* CRITICAL */ /* ERROR */ /* WARNING */ /* * ======== INTERNAL DEFINITIONS ======== */ /* DictElem */ struct xdc_runtime_Diags_DictElem { xdc_runtime_Types_ModuleId modId; xdc_runtime_Diags_Mask *maskAddr; }; /* * ======== MODULE-WIDE CONFIGS ======== */ /* Module__diagsEnabled */ typedef xdc_Bits32 CT__xdc_runtime_Diags_Module__diagsEnabled; extern far const CT__xdc_runtime_Diags_Module__diagsEnabled xdc_runtime_Diags_Module__diagsEnabled__C; /* Module__diagsIncluded */ typedef xdc_Bits32 CT__xdc_runtime_Diags_Module__diagsIncluded; extern far const CT__xdc_runtime_Diags_Module__diagsIncluded xdc_runtime_Diags_Module__diagsIncluded__C; /* Module__diagsMask */ typedef xdc_Bits16 *CT__xdc_runtime_Diags_Module__diagsMask; extern far const CT__xdc_runtime_Diags_Module__diagsMask xdc_runtime_Diags_Module__diagsMask__C; /* Module__gateObj */ typedef xdc_Ptr CT__xdc_runtime_Diags_Module__gateObj; extern far const CT__xdc_runtime_Diags_Module__gateObj xdc_runtime_Diags_Module__gateObj__C; /* Module__gatePrms */ typedef xdc_Ptr CT__xdc_runtime_Diags_Module__gatePrms; extern far const CT__xdc_runtime_Diags_Module__gatePrms xdc_runtime_Diags_Module__gatePrms__C; /* Module__id */ typedef xdc_runtime_Types_ModuleId CT__xdc_runtime_Diags_Module__id; extern far const CT__xdc_runtime_Diags_Module__id xdc_runtime_Diags_Module__id__C; /* Module__loggerDefined */ typedef xdc_Bool CT__xdc_runtime_Diags_Module__loggerDefined; extern far const CT__xdc_runtime_Diags_Module__loggerDefined xdc_runtime_Diags_Module__loggerDefined__C; /* Module__loggerObj */ typedef xdc_Ptr CT__xdc_runtime_Diags_Module__loggerObj; extern far const CT__xdc_runtime_Diags_Module__loggerObj xdc_runtime_Diags_Module__loggerObj__C; /* Module__loggerFxn0 */ typedef xdc_runtime_Types_LoggerFxn0 CT__xdc_runtime_Diags_Module__loggerFxn0; extern far const CT__xdc_runtime_Diags_Module__loggerFxn0 xdc_runtime_Diags_Module__loggerFxn0__C; /* Module__loggerFxn1 */ typedef xdc_runtime_Types_LoggerFxn1 CT__xdc_runtime_Diags_Module__loggerFxn1; extern far const CT__xdc_runtime_Diags_Module__loggerFxn1 xdc_runtime_Diags_Module__loggerFxn1__C; /* Module__loggerFxn2 */ typedef xdc_runtime_Types_LoggerFxn2 CT__xdc_runtime_Diags_Module__loggerFxn2; extern far const CT__xdc_runtime_Diags_Module__loggerFxn2 xdc_runtime_Diags_Module__loggerFxn2__C; /* Module__loggerFxn4 */ typedef xdc_runtime_Types_LoggerFxn4 CT__xdc_runtime_Diags_Module__loggerFxn4; extern far const CT__xdc_runtime_Diags_Module__loggerFxn4 xdc_runtime_Diags_Module__loggerFxn4__C; /* Module__loggerFxn8 */ typedef xdc_runtime_Types_LoggerFxn8 CT__xdc_runtime_Diags_Module__loggerFxn8; extern far const CT__xdc_runtime_Diags_Module__loggerFxn8 xdc_runtime_Diags_Module__loggerFxn8__C; /* Object__count */ typedef xdc_Int CT__xdc_runtime_Diags_Object__count; extern far const CT__xdc_runtime_Diags_Object__count xdc_runtime_Diags_Object__count__C; /* Object__heap */ typedef xdc_runtime_IHeap_Handle CT__xdc_runtime_Diags_Object__heap; extern far const CT__xdc_runtime_Diags_Object__heap xdc_runtime_Diags_Object__heap__C; /* Object__sizeof */ typedef xdc_SizeT CT__xdc_runtime_Diags_Object__sizeof; extern far const CT__xdc_runtime_Diags_Object__sizeof xdc_runtime_Diags_Object__sizeof__C; /* Object__table */ typedef xdc_Ptr CT__xdc_runtime_Diags_Object__table; extern far const CT__xdc_runtime_Diags_Object__table xdc_runtime_Diags_Object__table__C; /* setMaskEnabled */ typedef xdc_Bool CT__xdc_runtime_Diags_setMaskEnabled; extern far const CT__xdc_runtime_Diags_setMaskEnabled xdc_runtime_Diags_setMaskEnabled__C; /* dictBase */ typedef xdc_runtime_Diags_DictElem *CT__xdc_runtime_Diags_dictBase; extern far const CT__xdc_runtime_Diags_dictBase xdc_runtime_Diags_dictBase__C; /* * ======== FUNCTION DECLARATIONS ======== */ /* Module_startup */ /* Module__startupDone__S */ extern xdc_Bool xdc_runtime_Diags_Module__startupDone__S( void ); /* setMask__E */ extern void xdc_runtime_Diags_setMask__E( xdc_CString control ); /* * ======== SYSTEM FUNCTIONS ======== */ /* Module_startupDone */ /* Object_heap */ /* Module_heap */ /* Module_id */ static inline CT__xdc_runtime_Diags_Module__id xdc_runtime_Diags_Module_id(void); static inline CT__xdc_runtime_Diags_Module__id xdc_runtime_Diags_Module_id( void ) { return xdc_runtime_Diags_Module__id__C; } /* Module_hasMask */ static inline xdc_Bool xdc_runtime_Diags_Module_hasMask(void); static inline xdc_Bool xdc_runtime_Diags_Module_hasMask(void) { return (xdc_Bool)(xdc_runtime_Diags_Module__diagsMask__C != (CT__xdc_runtime_Diags_Module__diagsMask)0); } /* Module_getMask */ static inline xdc_Bits16 xdc_runtime_Diags_Module_getMask(void); static inline xdc_Bits16 xdc_runtime_Diags_Module_getMask(void) { return (xdc_runtime_Diags_Module__diagsMask__C != (CT__xdc_runtime_Diags_Module__diagsMask)0) ? *xdc_runtime_Diags_Module__diagsMask__C : (xdc_Bits16)0; } /* Module_setMask */ static inline void xdc_runtime_Diags_Module_setMask(xdc_Bits16 mask); static inline void xdc_runtime_Diags_Module_setMask(xdc_Bits16 mask) { if (xdc_runtime_Diags_Module__diagsMask__C != (CT__xdc_runtime_Diags_Module__diagsMask)0) { *xdc_runtime_Diags_Module__diagsMask__C = mask; } } /* * ======== EPILOGUE ======== */ /* * Copyright (c) 2008-2017 Texas Instruments Incorporated * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License * v. 1.0 which accompanies this distribution. The Eclipse Public License is * available at http://www.eclipse.org/legal/epl-v10.html and the Eclipse * Distribution License is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * Contributors: * Texas Instruments - initial implementation * */ /* * ======== xdc_runtime_Diags_query ======== * Returns true iff: * 1. the current module's included diags intersect evt's mask, and * 2. either the permanently enabled diags intersect evt's mask or * the runtime controllable diags intersect evt's mask. * * This macro relies on three "internal" macros which are defined in each * module's internal header (e.g., package/internal/System.xdc.h): * Module__DGSINCL - a const bit mask of bits that are _not_ ALWAYS_OFF * Module__DGSENAB - a const bit mask of bits that are ALWAYS_ON * Module__DGSMASK - a const pointer to a bit mask of currently enabled * diagnostics * These macros reference module-specific variables generated at config * time, when we know the value of these constants. * */ /* * ======== xdc_runtime_Diags_getLevel ======== * Returns the event level set in the given diags mask. The level is a value * stored using two bits of the diags mask. */ /* * ======== xdc_runtime_Diags_compareLevels ======== * The definition of the diags levels assigns the value '0' to the highest * priority events and '3' to the lowest, so the comparison is done backwards. * For example, for (LEVEL4 (0), LEVEL1 (3)) this must return false. */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * ======== xdc_runtime_Assert_Id ======== */ typedef xdc_Bits32 xdc_runtime_Assert_Id; /* * ======== Module__MID ======== * This definition allows non-module code to * use the Assert module. This symbol is normally defined in each * module internal header (i.e., package/internal/.xdc.h). * * Only do this if this file is not one that will be included in the Registry. * This check ensures that Registry.h (which similarly defines these Module__* * symbols) can be included in any order relative to other xdc.runtime * headers. */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * ======== AUXILIARY DEFINITIONS ======== */ /* * ======== INTERNAL DEFINITIONS ======== */ /* * ======== MODULE-WIDE CONFIGS ======== */ /* Module__diagsEnabled */ typedef xdc_Bits32 CT__xdc_runtime_Assert_Module__diagsEnabled; extern far const CT__xdc_runtime_Assert_Module__diagsEnabled xdc_runtime_Assert_Module__diagsEnabled__C; /* Module__diagsIncluded */ typedef xdc_Bits32 CT__xdc_runtime_Assert_Module__diagsIncluded; extern far const CT__xdc_runtime_Assert_Module__diagsIncluded xdc_runtime_Assert_Module__diagsIncluded__C; /* Module__diagsMask */ typedef xdc_Bits16 *CT__xdc_runtime_Assert_Module__diagsMask; extern far const CT__xdc_runtime_Assert_Module__diagsMask xdc_runtime_Assert_Module__diagsMask__C; /* Module__gateObj */ typedef xdc_Ptr CT__xdc_runtime_Assert_Module__gateObj; extern far const CT__xdc_runtime_Assert_Module__gateObj xdc_runtime_Assert_Module__gateObj__C; /* Module__gatePrms */ typedef xdc_Ptr CT__xdc_runtime_Assert_Module__gatePrms; extern far const CT__xdc_runtime_Assert_Module__gatePrms xdc_runtime_Assert_Module__gatePrms__C; /* Module__id */ typedef xdc_runtime_Types_ModuleId CT__xdc_runtime_Assert_Module__id; extern far const CT__xdc_runtime_Assert_Module__id xdc_runtime_Assert_Module__id__C; /* Module__loggerDefined */ typedef xdc_Bool CT__xdc_runtime_Assert_Module__loggerDefined; extern far const CT__xdc_runtime_Assert_Module__loggerDefined xdc_runtime_Assert_Module__loggerDefined__C; /* Module__loggerObj */ typedef xdc_Ptr CT__xdc_runtime_Assert_Module__loggerObj; extern far const CT__xdc_runtime_Assert_Module__loggerObj xdc_runtime_Assert_Module__loggerObj__C; /* Module__loggerFxn0 */ typedef xdc_runtime_Types_LoggerFxn0 CT__xdc_runtime_Assert_Module__loggerFxn0; extern far const CT__xdc_runtime_Assert_Module__loggerFxn0 xdc_runtime_Assert_Module__loggerFxn0__C; /* Module__loggerFxn1 */ typedef xdc_runtime_Types_LoggerFxn1 CT__xdc_runtime_Assert_Module__loggerFxn1; extern far const CT__xdc_runtime_Assert_Module__loggerFxn1 xdc_runtime_Assert_Module__loggerFxn1__C; /* Module__loggerFxn2 */ typedef xdc_runtime_Types_LoggerFxn2 CT__xdc_runtime_Assert_Module__loggerFxn2; extern far const CT__xdc_runtime_Assert_Module__loggerFxn2 xdc_runtime_Assert_Module__loggerFxn2__C; /* Module__loggerFxn4 */ typedef xdc_runtime_Types_LoggerFxn4 CT__xdc_runtime_Assert_Module__loggerFxn4; extern far const CT__xdc_runtime_Assert_Module__loggerFxn4 xdc_runtime_Assert_Module__loggerFxn4__C; /* Module__loggerFxn8 */ typedef xdc_runtime_Types_LoggerFxn8 CT__xdc_runtime_Assert_Module__loggerFxn8; extern far const CT__xdc_runtime_Assert_Module__loggerFxn8 xdc_runtime_Assert_Module__loggerFxn8__C; /* Object__count */ typedef xdc_Int CT__xdc_runtime_Assert_Object__count; extern far const CT__xdc_runtime_Assert_Object__count xdc_runtime_Assert_Object__count__C; /* Object__heap */ typedef xdc_runtime_IHeap_Handle CT__xdc_runtime_Assert_Object__heap; extern far const CT__xdc_runtime_Assert_Object__heap xdc_runtime_Assert_Object__heap__C; /* Object__sizeof */ typedef xdc_SizeT CT__xdc_runtime_Assert_Object__sizeof; extern far const CT__xdc_runtime_Assert_Object__sizeof xdc_runtime_Assert_Object__sizeof__C; /* Object__table */ typedef xdc_Ptr CT__xdc_runtime_Assert_Object__table; extern far const CT__xdc_runtime_Assert_Object__table xdc_runtime_Assert_Object__table__C; /* E_assertFailed */ typedef xdc_runtime_Error_Id CT__xdc_runtime_Assert_E_assertFailed; extern far const CT__xdc_runtime_Assert_E_assertFailed xdc_runtime_Assert_E_assertFailed__C; /* * ======== FUNCTION DECLARATIONS ======== */ /* Module_startup */ /* Module__startupDone__S */ extern xdc_Bool xdc_runtime_Assert_Module__startupDone__S( void ); /* raise__I */ extern void xdc_runtime_Assert_raise__I( xdc_runtime_Types_ModuleId mod, xdc_CString file, xdc_Int line, xdc_runtime_Assert_Id id ); /* * ======== SYSTEM FUNCTIONS ======== */ /* Module_startupDone */ /* Object_heap */ /* Module_heap */ /* Module_id */ static inline CT__xdc_runtime_Assert_Module__id xdc_runtime_Assert_Module_id(void); static inline CT__xdc_runtime_Assert_Module__id xdc_runtime_Assert_Module_id( void ) { return xdc_runtime_Assert_Module__id__C; } /* Module_hasMask */ static inline xdc_Bool xdc_runtime_Assert_Module_hasMask(void); static inline xdc_Bool xdc_runtime_Assert_Module_hasMask(void) { return (xdc_Bool)(xdc_runtime_Assert_Module__diagsMask__C != (CT__xdc_runtime_Assert_Module__diagsMask)0); } /* Module_getMask */ static inline xdc_Bits16 xdc_runtime_Assert_Module_getMask(void); static inline xdc_Bits16 xdc_runtime_Assert_Module_getMask(void) { return (xdc_runtime_Assert_Module__diagsMask__C != (CT__xdc_runtime_Assert_Module__diagsMask)0) ? *xdc_runtime_Assert_Module__diagsMask__C : (xdc_Bits16)0; } /* Module_setMask */ static inline void xdc_runtime_Assert_Module_setMask(xdc_Bits16 mask); static inline void xdc_runtime_Assert_Module_setMask(xdc_Bits16 mask) { if (xdc_runtime_Assert_Module__diagsMask__C != (CT__xdc_runtime_Assert_Module__diagsMask)0) { *xdc_runtime_Assert_Module__diagsMask__C = mask; } } /* * ======== EPILOGUE ======== */ /* * Copyright (c) 2008-2017 Texas Instruments Incorporated * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License * v. 1.0 which accompanies this distribution. The Eclipse Public License is * available at http://www.eclipse.org/legal/epl-v10.html and the Eclipse * Distribution License is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * Contributors: * Texas Instruments - initial implementation * */ /* * ======== xdc_runtime_Assert_getMask ======== * Convert an id into a mask */ /* * ======== xdc_runtime_Assert_isTrue ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== INCLUDES ======== */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * ======== AUXILIARY DEFINITIONS ======== */ /* * ======== VIRTUAL FUNCTIONS ======== */ /* Fxns__ */ struct xdc_runtime_ISystemSupport_Fxns__ { const xdc_runtime_Types_Base* __base; const xdc_runtime_Types_SysFxns2* __sysp; void (*abort)(xdc_CString str); void (*exit)(xdc_Int stat); void (*flush)(void); void (*putch)(xdc_Char ch); xdc_Bool (*ready)(void); xdc_runtime_Types_SysFxns2 __sfxns; }; /* Interface__BASE__C */ extern const xdc_runtime_Types_Base xdc_runtime_ISystemSupport_Interface__BASE__C; /* * ======== FUNCTION STUBS ======== */ /* Module_id */ static inline xdc_runtime_Types_ModuleId xdc_runtime_ISystemSupport_Module_id(xdc_runtime_ISystemSupport_Module mod); static inline xdc_runtime_Types_ModuleId xdc_runtime_ISystemSupport_Module_id(xdc_runtime_ISystemSupport_Module mod) { return mod->__sysp->__mid; } /* abort */ static inline void xdc_runtime_ISystemSupport_abort(xdc_runtime_ISystemSupport_Module mod, xdc_CString str); static inline void xdc_runtime_ISystemSupport_abort( xdc_runtime_ISystemSupport_Module mod, xdc_CString str ) { mod->abort(str); } /* exit */ static inline void xdc_runtime_ISystemSupport_exit(xdc_runtime_ISystemSupport_Module mod, xdc_Int stat); static inline void xdc_runtime_ISystemSupport_exit( xdc_runtime_ISystemSupport_Module mod, xdc_Int stat ) { mod->exit(stat); } /* flush */ static inline void xdc_runtime_ISystemSupport_flush(xdc_runtime_ISystemSupport_Module mod); static inline void xdc_runtime_ISystemSupport_flush( xdc_runtime_ISystemSupport_Module mod ) { mod->flush(); } /* putch */ static inline void xdc_runtime_ISystemSupport_putch(xdc_runtime_ISystemSupport_Module mod, xdc_Char ch); static inline void xdc_runtime_ISystemSupport_putch( xdc_runtime_ISystemSupport_Module mod, xdc_Char ch ) { mod->putch(ch); } /* ready */ static inline xdc_Bool xdc_runtime_ISystemSupport_ready(xdc_runtime_ISystemSupport_Module mod); static inline xdc_Bool xdc_runtime_ISystemSupport_ready( xdc_runtime_ISystemSupport_Module mod ) { return mod->ready(); } /* * ======== FUNCTION SELECTORS ======== */ /* These functions return function pointers for module and instance functions. * The functions accept modules and instances declared as types defined in this * interface, but they return functions defined for the actual objects passed * as parameters. These functions are not invoked by any generated code or * XDCtools internal code. */ /* abort_{FxnT,fxnP} */ typedef void (*xdc_runtime_ISystemSupport_abort_FxnT)(xdc_CString str); static inline xdc_runtime_ISystemSupport_abort_FxnT xdc_runtime_ISystemSupport_abort_fxnP(xdc_runtime_ISystemSupport_Module mod); static inline xdc_runtime_ISystemSupport_abort_FxnT xdc_runtime_ISystemSupport_abort_fxnP(xdc_runtime_ISystemSupport_Module mod) { return (xdc_runtime_ISystemSupport_abort_FxnT)mod->abort; } /* exit_{FxnT,fxnP} */ typedef void (*xdc_runtime_ISystemSupport_exit_FxnT)(xdc_Int stat); static inline xdc_runtime_ISystemSupport_exit_FxnT xdc_runtime_ISystemSupport_exit_fxnP(xdc_runtime_ISystemSupport_Module mod); static inline xdc_runtime_ISystemSupport_exit_FxnT xdc_runtime_ISystemSupport_exit_fxnP(xdc_runtime_ISystemSupport_Module mod) { return (xdc_runtime_ISystemSupport_exit_FxnT)mod->exit; } /* flush_{FxnT,fxnP} */ typedef void (*xdc_runtime_ISystemSupport_flush_FxnT)(void); static inline xdc_runtime_ISystemSupport_flush_FxnT xdc_runtime_ISystemSupport_flush_fxnP(xdc_runtime_ISystemSupport_Module mod); static inline xdc_runtime_ISystemSupport_flush_FxnT xdc_runtime_ISystemSupport_flush_fxnP(xdc_runtime_ISystemSupport_Module mod) { return (xdc_runtime_ISystemSupport_flush_FxnT)mod->flush; } /* putch_{FxnT,fxnP} */ typedef void (*xdc_runtime_ISystemSupport_putch_FxnT)(xdc_Char ch); static inline xdc_runtime_ISystemSupport_putch_FxnT xdc_runtime_ISystemSupport_putch_fxnP(xdc_runtime_ISystemSupport_Module mod); static inline xdc_runtime_ISystemSupport_putch_FxnT xdc_runtime_ISystemSupport_putch_fxnP(xdc_runtime_ISystemSupport_Module mod) { return (xdc_runtime_ISystemSupport_putch_FxnT)mod->putch; } /* ready_{FxnT,fxnP} */ 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 mod); static inline xdc_runtime_ISystemSupport_ready_FxnT xdc_runtime_ISystemSupport_ready_fxnP(xdc_runtime_ISystemSupport_Module mod) { return (xdc_runtime_ISystemSupport_ready_FxnT)mod->ready; } /* * ======== EPILOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * PER-INSTANCE TYPES * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * MODULE-WIDE CONFIGS * VIRTUAL FUNCTIONS * FUNCTION DECLARATIONS * CONVERTORS * SYSTEM FUNCTIONS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== INCLUDES ======== */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * ======== 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; /* 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; /* 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; /* 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; /* 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; /* 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; /* 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; /* 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; /* 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; /* 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; /* 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; /* 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; /* 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; /* 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; /* 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; /* 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; /* 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; /* * ======== VIRTUAL FUNCTIONS ======== */ /* Fxns__ */ struct xdc_runtime_System_SupportProxy_Fxns__ { const xdc_runtime_Types_Base* __base; const xdc_runtime_Types_SysFxns2* __sysp; void (*abort)(xdc_CString str); void (*exit)(xdc_Int stat); void (*flush)(void); void (*putch)(xdc_Char ch); xdc_Bool (*ready)(void); xdc_runtime_Types_SysFxns2 __sfxns; }; /* Module__FXNS__C */ extern const xdc_runtime_System_SupportProxy_Fxns__ xdc_runtime_System_SupportProxy_Module__FXNS__C; /* * ======== FUNCTION DECLARATIONS ======== */ /* Module_startup */ /* 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 */ extern xdc_Bool xdc_runtime_System_SupportProxy_Module__startupDone__S( void ); /* Object__get__S */ extern xdc_Ptr xdc_runtime_System_SupportProxy_Object__get__S( xdc_Ptr oarr, xdc_Int i ); /* Object__first__S */ extern xdc_Ptr xdc_runtime_System_SupportProxy_Object__first__S( void ); /* Object__next__S */ extern xdc_Ptr xdc_runtime_System_SupportProxy_Object__next__S( xdc_Ptr obj ); /* Params__init__S */ extern void xdc_runtime_System_SupportProxy_Params__init__S( xdc_Ptr dst, const void *src, xdc_SizeT psz, xdc_SizeT isz ); /* Proxy__abstract__S */ extern xdc_Bool xdc_runtime_System_SupportProxy_Proxy__abstract__S( void ); /* Proxy__delegate__S */ extern xdc_CPtr xdc_runtime_System_SupportProxy_Proxy__delegate__S( void ); /* abort__E */ extern void xdc_runtime_System_SupportProxy_abort__E( xdc_CString str ); /* exit__E */ extern void xdc_runtime_System_SupportProxy_exit__E( xdc_Int stat ); /* flush__E */ extern void xdc_runtime_System_SupportProxy_flush__E( void ); /* putch__E */ extern void xdc_runtime_System_SupportProxy_putch__E( xdc_Char ch ); /* ready__E */ 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 */ /* * ======== SYSTEM FUNCTIONS ======== */ /* Module_startupDone */ /* Object_heap */ /* Module_heap */ /* 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 */ /* Proxy_delegate */ /* * ======== EPILOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * MODULE-WIDE CONFIGS * PER-INSTANCE TYPES * VIRTUAL FUNCTIONS * FUNCTION DECLARATIONS * CONVERTORS * SYSTEM FUNCTIONS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== INCLUDES ======== */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * PER-INSTANCE TYPES * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * PER-INSTANCE TYPES * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * ======== AUXILIARY DEFINITIONS ======== */ /* Q_BLOCKING */ /* Q_PREEMPTING */ /* * ======== MODULE-WIDE CONFIGS ======== */ /* Module__diagsEnabled */ typedef xdc_Bits32 CT__xdc_runtime_System_Module_GateProxy_Module__diagsEnabled; extern far const CT__xdc_runtime_System_Module_GateProxy_Module__diagsEnabled xdc_runtime_System_Module_GateProxy_Module__diagsEnabled__C; /* Module__diagsIncluded */ typedef xdc_Bits32 CT__xdc_runtime_System_Module_GateProxy_Module__diagsIncluded; extern far const CT__xdc_runtime_System_Module_GateProxy_Module__diagsIncluded xdc_runtime_System_Module_GateProxy_Module__diagsIncluded__C; /* Module__diagsMask */ typedef xdc_Bits16 *CT__xdc_runtime_System_Module_GateProxy_Module__diagsMask; extern far const CT__xdc_runtime_System_Module_GateProxy_Module__diagsMask xdc_runtime_System_Module_GateProxy_Module__diagsMask__C; /* Module__gateObj */ typedef xdc_Ptr CT__xdc_runtime_System_Module_GateProxy_Module__gateObj; extern far const CT__xdc_runtime_System_Module_GateProxy_Module__gateObj xdc_runtime_System_Module_GateProxy_Module__gateObj__C; /* Module__gatePrms */ typedef xdc_Ptr CT__xdc_runtime_System_Module_GateProxy_Module__gatePrms; extern far const CT__xdc_runtime_System_Module_GateProxy_Module__gatePrms xdc_runtime_System_Module_GateProxy_Module__gatePrms__C; /* Module__id */ typedef xdc_runtime_Types_ModuleId CT__xdc_runtime_System_Module_GateProxy_Module__id; extern far const CT__xdc_runtime_System_Module_GateProxy_Module__id xdc_runtime_System_Module_GateProxy_Module__id__C; /* Module__loggerDefined */ typedef xdc_Bool CT__xdc_runtime_System_Module_GateProxy_Module__loggerDefined; extern far const CT__xdc_runtime_System_Module_GateProxy_Module__loggerDefined xdc_runtime_System_Module_GateProxy_Module__loggerDefined__C; /* Module__loggerObj */ typedef xdc_Ptr CT__xdc_runtime_System_Module_GateProxy_Module__loggerObj; extern far const CT__xdc_runtime_System_Module_GateProxy_Module__loggerObj xdc_runtime_System_Module_GateProxy_Module__loggerObj__C; /* Module__loggerFxn0 */ typedef xdc_runtime_Types_LoggerFxn0 CT__xdc_runtime_System_Module_GateProxy_Module__loggerFxn0; extern far const CT__xdc_runtime_System_Module_GateProxy_Module__loggerFxn0 xdc_runtime_System_Module_GateProxy_Module__loggerFxn0__C; /* Module__loggerFxn1 */ typedef xdc_runtime_Types_LoggerFxn1 CT__xdc_runtime_System_Module_GateProxy_Module__loggerFxn1; extern far const CT__xdc_runtime_System_Module_GateProxy_Module__loggerFxn1 xdc_runtime_System_Module_GateProxy_Module__loggerFxn1__C; /* Module__loggerFxn2 */ typedef xdc_runtime_Types_LoggerFxn2 CT__xdc_runtime_System_Module_GateProxy_Module__loggerFxn2; extern far const CT__xdc_runtime_System_Module_GateProxy_Module__loggerFxn2 xdc_runtime_System_Module_GateProxy_Module__loggerFxn2__C; /* Module__loggerFxn4 */ typedef xdc_runtime_Types_LoggerFxn4 CT__xdc_runtime_System_Module_GateProxy_Module__loggerFxn4; extern far const CT__xdc_runtime_System_Module_GateProxy_Module__loggerFxn4 xdc_runtime_System_Module_GateProxy_Module__loggerFxn4__C; /* Module__loggerFxn8 */ typedef xdc_runtime_Types_LoggerFxn8 CT__xdc_runtime_System_Module_GateProxy_Module__loggerFxn8; extern far const CT__xdc_runtime_System_Module_GateProxy_Module__loggerFxn8 xdc_runtime_System_Module_GateProxy_Module__loggerFxn8__C; /* Object__count */ typedef xdc_Int CT__xdc_runtime_System_Module_GateProxy_Object__count; extern far const CT__xdc_runtime_System_Module_GateProxy_Object__count xdc_runtime_System_Module_GateProxy_Object__count__C; /* Object__heap */ typedef xdc_runtime_IHeap_Handle CT__xdc_runtime_System_Module_GateProxy_Object__heap; extern far const CT__xdc_runtime_System_Module_GateProxy_Object__heap xdc_runtime_System_Module_GateProxy_Object__heap__C; /* Object__sizeof */ typedef xdc_SizeT CT__xdc_runtime_System_Module_GateProxy_Object__sizeof; extern far const CT__xdc_runtime_System_Module_GateProxy_Object__sizeof xdc_runtime_System_Module_GateProxy_Object__sizeof__C; /* Object__table */ typedef xdc_Ptr CT__xdc_runtime_System_Module_GateProxy_Object__table; extern far const CT__xdc_runtime_System_Module_GateProxy_Object__table xdc_runtime_System_Module_GateProxy_Object__table__C; /* * ======== PER-INSTANCE TYPES ======== */ /* Params */ 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 */ struct xdc_runtime_System_Module_GateProxy_Struct { const xdc_runtime_System_Module_GateProxy_Fxns__ *__fxns; xdc_runtime_Types_CordAddr __name; }; /* * ======== VIRTUAL FUNCTIONS ======== */ /* Fxns__ */ struct xdc_runtime_System_Module_GateProxy_Fxns__ { const xdc_runtime_Types_Base* __base; const xdc_runtime_Types_SysFxns2* __sysp; xdc_Bool (*query)(xdc_Int qual); xdc_IArg (*enter)(xdc_runtime_System_Module_GateProxy_Handle inst); void (*leave)(xdc_runtime_System_Module_GateProxy_Handle inst, xdc_IArg key); xdc_runtime_Types_SysFxns2 __sfxns; }; /* Module__FXNS__C */ extern const xdc_runtime_System_Module_GateProxy_Fxns__ xdc_runtime_System_Module_GateProxy_Module__FXNS__C; /* * ======== FUNCTION DECLARATIONS ======== */ /* Module_startup */ /* create */ extern 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); /* delete */ extern void xdc_runtime_System_Module_GateProxy_delete(xdc_runtime_System_Module_GateProxy_Handle *instp); /* Handle__label__S */ extern xdc_runtime_Types_Label *xdc_runtime_System_Module_GateProxy_Handle__label__S( xdc_Ptr obj, xdc_runtime_Types_Label *lab ); /* Module__startupDone__S */ extern xdc_Bool xdc_runtime_System_Module_GateProxy_Module__startupDone__S( void ); /* Object__get__S */ extern xdc_Ptr xdc_runtime_System_Module_GateProxy_Object__get__S( xdc_Ptr oarr, xdc_Int i ); /* Object__first__S */ extern xdc_Ptr xdc_runtime_System_Module_GateProxy_Object__first__S( void ); /* Object__next__S */ extern xdc_Ptr xdc_runtime_System_Module_GateProxy_Object__next__S( xdc_Ptr obj ); /* Params__init__S */ extern void xdc_runtime_System_Module_GateProxy_Params__init__S( xdc_Ptr dst, const void *src, xdc_SizeT psz, xdc_SizeT isz ); /* Proxy__abstract__S */ extern xdc_Bool xdc_runtime_System_Module_GateProxy_Proxy__abstract__S( void ); /* Proxy__delegate__S */ extern xdc_CPtr xdc_runtime_System_Module_GateProxy_Proxy__delegate__S( void ); /* query__E */ extern xdc_Bool xdc_runtime_System_Module_GateProxy_query__E( xdc_Int qual ); /* enter__E */ extern xdc_IArg xdc_runtime_System_Module_GateProxy_enter__E( xdc_runtime_System_Module_GateProxy_Handle __inst ); /* leave__E */ extern void xdc_runtime_System_Module_GateProxy_leave__E( xdc_runtime_System_Module_GateProxy_Handle __inst, xdc_IArg key ); /* * ======== CONVERTORS ======== */ /* Module_upCast */ static inline xdc_runtime_IGateProvider_Module xdc_runtime_System_Module_GateProxy_Module_upCast(void); 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(); } /* Module_to_xdc_runtime_IGateProvider */ /* Handle_upCast */ static inline xdc_runtime_IGateProvider_Handle xdc_runtime_System_Module_GateProxy_Handle_upCast(xdc_runtime_System_Module_GateProxy_Handle i); 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; } /* Handle_to_xdc_runtime_IGateProvider */ /* Handle_downCast */ static inline xdc_runtime_System_Module_GateProxy_Handle xdc_runtime_System_Module_GateProxy_Handle_downCast(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 ((const void*)i2->__fxns == (const void*)xdc_runtime_System_Module_GateProxy_Proxy__delegate__S()) ? (xdc_runtime_System_Module_GateProxy_Handle)i : (xdc_runtime_System_Module_GateProxy_Handle)0; } /* Handle_from_xdc_runtime_IGateProvider */ /* * ======== SYSTEM FUNCTIONS ======== */ /* Module_startupDone */ /* Object_heap */ /* Module_heap */ /* Module_id */ static inline CT__xdc_runtime_System_Module_GateProxy_Module__id xdc_runtime_System_Module_GateProxy_Module_id(void); 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; } /* Proxy_abstract */ /* Proxy_delegate */ /* Params_init */ static inline void xdc_runtime_System_Module_GateProxy_Params_init(xdc_runtime_System_Module_GateProxy_Params *prms); static inline void xdc_runtime_System_Module_GateProxy_Params_init( xdc_runtime_System_Module_GateProxy_Params *prms ) { if (prms != 0) { xdc_runtime_System_Module_GateProxy_Params__init__S(prms, 0, sizeof(xdc_runtime_System_Module_GateProxy_Params), sizeof(xdc_runtime_IInstance_Params)); } } /* Params_copy */ 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); 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 != 0) { xdc_runtime_System_Module_GateProxy_Params__init__S(dst, (const void *)src, sizeof(xdc_runtime_System_Module_GateProxy_Params), sizeof(xdc_runtime_IInstance_Params)); } } /* * ======== EPILOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * ======== AUXILIARY DEFINITIONS ======== */ /* AtexitHandler */ typedef void (*xdc_runtime_System_AtexitHandler)(xdc_Int arg1); /* STATUS_UNKNOWN */ /* AbortFxn */ typedef void (*xdc_runtime_System_AbortFxn)(void); /* ExitFxn */ typedef void (*xdc_runtime_System_ExitFxn)(xdc_Int arg1); /* * ======== INTERNAL DEFINITIONS ======== */ /* ParseData */ struct xdc_runtime_System_ParseData { xdc_Int width; xdc_Bool lFlag; xdc_Bool lJust; xdc_Int precis; xdc_UInt len; xdc_Int zpad; xdc_Char *end; xdc_Bool aFlag; xdc_Char *ptr; }; /* ExtendFxn */ typedef xdc_Int (*xdc_runtime_System_ExtendFxn)(xdc_Char** arg1, xdc_CString* arg2, xdc_VaList* arg3, xdc_runtime_System_ParseData* arg4); /* Module_State */ 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 const xdc_runtime_System_AtexitHandler *CARRAY1_xdc_runtime_System_Module_State__atexitHandlers; typedef ARRAY1_xdc_runtime_System_Module_State__atexitHandlers __TA_xdc_runtime_System_Module_State__atexitHandlers; /* * ======== MODULE-WIDE CONFIGS ======== */ /* Module__diagsEnabled */ typedef xdc_Bits32 CT__xdc_runtime_System_Module__diagsEnabled; extern far const CT__xdc_runtime_System_Module__diagsEnabled xdc_runtime_System_Module__diagsEnabled__C; /* Module__diagsIncluded */ typedef xdc_Bits32 CT__xdc_runtime_System_Module__diagsIncluded; extern far const CT__xdc_runtime_System_Module__diagsIncluded xdc_runtime_System_Module__diagsIncluded__C; /* Module__diagsMask */ typedef xdc_Bits16 *CT__xdc_runtime_System_Module__diagsMask; extern far const CT__xdc_runtime_System_Module__diagsMask xdc_runtime_System_Module__diagsMask__C; /* Module__gateObj */ typedef xdc_Ptr CT__xdc_runtime_System_Module__gateObj; extern far const CT__xdc_runtime_System_Module__gateObj xdc_runtime_System_Module__gateObj__C; /* Module__gatePrms */ typedef xdc_Ptr CT__xdc_runtime_System_Module__gatePrms; extern far const CT__xdc_runtime_System_Module__gatePrms xdc_runtime_System_Module__gatePrms__C; /* Module__id */ typedef xdc_runtime_Types_ModuleId CT__xdc_runtime_System_Module__id; extern far const CT__xdc_runtime_System_Module__id xdc_runtime_System_Module__id__C; /* Module__loggerDefined */ typedef xdc_Bool CT__xdc_runtime_System_Module__loggerDefined; extern far const CT__xdc_runtime_System_Module__loggerDefined xdc_runtime_System_Module__loggerDefined__C; /* Module__loggerObj */ typedef xdc_Ptr CT__xdc_runtime_System_Module__loggerObj; extern far const CT__xdc_runtime_System_Module__loggerObj xdc_runtime_System_Module__loggerObj__C; /* Module__loggerFxn0 */ typedef xdc_runtime_Types_LoggerFxn0 CT__xdc_runtime_System_Module__loggerFxn0; extern far const CT__xdc_runtime_System_Module__loggerFxn0 xdc_runtime_System_Module__loggerFxn0__C; /* Module__loggerFxn1 */ typedef xdc_runtime_Types_LoggerFxn1 CT__xdc_runtime_System_Module__loggerFxn1; extern far const CT__xdc_runtime_System_Module__loggerFxn1 xdc_runtime_System_Module__loggerFxn1__C; /* Module__loggerFxn2 */ typedef xdc_runtime_Types_LoggerFxn2 CT__xdc_runtime_System_Module__loggerFxn2; extern far const CT__xdc_runtime_System_Module__loggerFxn2 xdc_runtime_System_Module__loggerFxn2__C; /* Module__loggerFxn4 */ typedef xdc_runtime_Types_LoggerFxn4 CT__xdc_runtime_System_Module__loggerFxn4; extern far const CT__xdc_runtime_System_Module__loggerFxn4 xdc_runtime_System_Module__loggerFxn4__C; /* Module__loggerFxn8 */ typedef xdc_runtime_Types_LoggerFxn8 CT__xdc_runtime_System_Module__loggerFxn8; extern far const CT__xdc_runtime_System_Module__loggerFxn8 xdc_runtime_System_Module__loggerFxn8__C; /* Object__count */ typedef xdc_Int CT__xdc_runtime_System_Object__count; extern far const CT__xdc_runtime_System_Object__count xdc_runtime_System_Object__count__C; /* Object__heap */ typedef xdc_runtime_IHeap_Handle CT__xdc_runtime_System_Object__heap; extern far const CT__xdc_runtime_System_Object__heap xdc_runtime_System_Object__heap__C; /* Object__sizeof */ typedef xdc_SizeT CT__xdc_runtime_System_Object__sizeof; extern far const CT__xdc_runtime_System_Object__sizeof xdc_runtime_System_Object__sizeof__C; /* Object__table */ typedef xdc_Ptr CT__xdc_runtime_System_Object__table; extern far const CT__xdc_runtime_System_Object__table xdc_runtime_System_Object__table__C; /* A_cannotFitIntoArg */ typedef xdc_runtime_Assert_Id CT__xdc_runtime_System_A_cannotFitIntoArg; extern far const CT__xdc_runtime_System_A_cannotFitIntoArg xdc_runtime_System_A_cannotFitIntoArg__C; /* maxAtexitHandlers */ typedef xdc_Int CT__xdc_runtime_System_maxAtexitHandlers; extern far const CT__xdc_runtime_System_maxAtexitHandlers xdc_runtime_System_maxAtexitHandlers__C; /* abortFxn */ typedef xdc_runtime_System_AbortFxn CT__xdc_runtime_System_abortFxn; extern far const CT__xdc_runtime_System_abortFxn xdc_runtime_System_abortFxn__C; /* exitFxn */ typedef xdc_runtime_System_ExitFxn CT__xdc_runtime_System_exitFxn; extern far const CT__xdc_runtime_System_exitFxn xdc_runtime_System_exitFxn__C; /* extendFxn */ typedef xdc_runtime_System_ExtendFxn CT__xdc_runtime_System_extendFxn; extern far const CT__xdc_runtime_System_extendFxn xdc_runtime_System_extendFxn__C; /* * ======== FUNCTION DECLARATIONS ======== */ /* Module_startup */ extern xdc_Int xdc_runtime_System_Module_startup__E( xdc_Int state ); extern xdc_Int xdc_runtime_System_Module_startup__F( xdc_Int state ); /* Module__startupDone__S */ extern xdc_Bool xdc_runtime_System_Module__startupDone__S( void ); /* abort__E */ extern void xdc_runtime_System_abort__E( xdc_CString str ); /* abortStd__E */ extern void xdc_runtime_System_abortStd__E( void ); /* abortSpin__E */ extern void xdc_runtime_System_abortSpin__E( void ); /* atexit__E */ extern xdc_Bool xdc_runtime_System_atexit__E( xdc_runtime_System_AtexitHandler handler ); /* exit__E */ extern void xdc_runtime_System_exit__E( xdc_Int stat ); /* exitStd__E */ extern void xdc_runtime_System_exitStd__E( xdc_Int stat ); /* exitSpin__E */ extern void xdc_runtime_System_exitSpin__E( xdc_Int stat ); /* processAtExit__E */ extern void xdc_runtime_System_processAtExit__E( xdc_Int stat ); /* putch__E */ extern void xdc_runtime_System_putch__E( xdc_Char ch ); /* flush__E */ extern void xdc_runtime_System_flush__E( void ); /* printf__E */ extern xdc_Int xdc_runtime_System_printf__E( xdc_CString fmt, ... ); extern xdc_Int xdc_runtime_System_printf_va__E( xdc_CString fmt, va_list _va ); extern xdc_Int xdc_runtime_System_printf_va__F( xdc_CString fmt, va_list _va ); /* aprintf__E */ extern xdc_Int xdc_runtime_System_aprintf__E( xdc_CString fmt, ... ); extern xdc_Int xdc_runtime_System_aprintf_va__E( xdc_CString fmt, va_list _va ); extern xdc_Int xdc_runtime_System_aprintf_va__F( xdc_CString fmt, va_list _va ); /* sprintf__E */ extern xdc_Int xdc_runtime_System_sprintf__E( xdc_Char buf[], xdc_CString fmt, ... ); extern xdc_Int xdc_runtime_System_sprintf_va__E( xdc_Char buf[], xdc_CString fmt, va_list _va ); extern xdc_Int xdc_runtime_System_sprintf_va__F( xdc_Char buf[], xdc_CString fmt, va_list _va ); /* asprintf__E */ extern xdc_Int xdc_runtime_System_asprintf__E( xdc_Char buf[], xdc_CString fmt, ... ); extern xdc_Int xdc_runtime_System_asprintf_va__E( xdc_Char buf[], xdc_CString fmt, va_list _va ); extern xdc_Int xdc_runtime_System_asprintf_va__F( xdc_Char buf[], xdc_CString fmt, va_list _va ); /* vprintf__E */ extern xdc_Int xdc_runtime_System_vprintf__E( xdc_CString fmt, xdc_VaList va ); /* avprintf__E */ extern xdc_Int xdc_runtime_System_avprintf__E( xdc_CString fmt, xdc_VaList va ); /* vsprintf__E */ extern xdc_Int xdc_runtime_System_vsprintf__E( xdc_Char buf[], xdc_CString fmt, xdc_VaList va ); /* avsprintf__E */ extern xdc_Int xdc_runtime_System_avsprintf__E( xdc_Char buf[], xdc_CString fmt, xdc_VaList va ); /* snprintf__E */ extern xdc_Int xdc_runtime_System_snprintf__E( xdc_Char buf[], xdc_SizeT n, xdc_CString fmt, ... ); extern xdc_Int xdc_runtime_System_snprintf_va__E( xdc_Char buf[], xdc_SizeT n, xdc_CString fmt, va_list _va ); extern xdc_Int xdc_runtime_System_snprintf_va__F( xdc_Char buf[], xdc_SizeT n, xdc_CString fmt, va_list _va ); /* vsnprintf__E */ extern xdc_Int xdc_runtime_System_vsnprintf__E( xdc_Char buf[], xdc_SizeT n, xdc_CString fmt, xdc_VaList va ); /* printfExtend__I */ extern xdc_Int xdc_runtime_System_printfExtend__I( xdc_Char **bufp, xdc_CString *fmt, xdc_VaList *va, xdc_runtime_System_ParseData *parse ); /* doPrint__I */ extern xdc_Int xdc_runtime_System_doPrint__I( xdc_Char buf[], xdc_SizeT n, xdc_CString fmt, xdc_VaList *pva, xdc_Bool aFlag ); /* lastFxn__I */ extern void xdc_runtime_System_lastFxn__I( void ); /* putchar__I */ extern void xdc_runtime_System_putchar__I( xdc_Char **bufp, xdc_Char ch, xdc_SizeT *n ); /* rtsExit__I */ extern void xdc_runtime_System_rtsExit__I( void ); /* atexitDone__I */ extern xdc_Bool xdc_runtime_System_atexitDone__I( void ); /* * ======== SYSTEM FUNCTIONS ======== */ /* Module_startupDone */ /* Object_heap */ /* Module_heap */ /* Module_id */ static inline CT__xdc_runtime_System_Module__id xdc_runtime_System_Module_id(void); static inline CT__xdc_runtime_System_Module__id xdc_runtime_System_Module_id( void ) { return xdc_runtime_System_Module__id__C; } /* Module_hasMask */ static inline xdc_Bool xdc_runtime_System_Module_hasMask(void); static inline xdc_Bool xdc_runtime_System_Module_hasMask(void) { return (xdc_Bool)(xdc_runtime_System_Module__diagsMask__C != (CT__xdc_runtime_System_Module__diagsMask)0); } /* Module_getMask */ static inline xdc_Bits16 xdc_runtime_System_Module_getMask(void); static inline xdc_Bits16 xdc_runtime_System_Module_getMask(void) { return (xdc_runtime_System_Module__diagsMask__C != (CT__xdc_runtime_System_Module__diagsMask)0) ? *xdc_runtime_System_Module__diagsMask__C : (xdc_Bits16)0; } /* Module_setMask */ static inline void xdc_runtime_System_Module_setMask(xdc_Bits16 mask); static inline void xdc_runtime_System_Module_setMask(xdc_Bits16 mask) { if (xdc_runtime_System_Module__diagsMask__C != (CT__xdc_runtime_System_Module__diagsMask)0) { *xdc_runtime_System_Module__diagsMask__C = mask; } } /* * ======== EPILOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* module prefix */ /* proxies */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * MODULE-WIDE CONFIGS * VIRTUAL FUNCTIONS * FUNCTION DECLARATIONS * CONVERTORS * SYSTEM FUNCTIONS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* module prefix */ /* proxies */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * MODULE-WIDE CONFIGS * PER-INSTANCE TYPES * VIRTUAL FUNCTIONS * FUNCTION DECLARATIONS * CONVERTORS * SYSTEM FUNCTIONS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* module prefix */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E00 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== INCLUDES ======== */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Copyright (c) 2012-2017, Texas Instruments Incorporated * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * * Neither the name of Texas Instruments Incorporated nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E00 */ /* * ======== module ti.sysbios.BIOS ======== */ typedef struct ti_sysbios_BIOS_intSize ti_sysbios_BIOS_intSize; typedef struct ti_sysbios_BIOS_Module_State ti_sysbios_BIOS_Module_State; /* * ======== module ti.sysbios.BIOS_RtsGateProxy ======== */ typedef struct ti_sysbios_BIOS_RtsGateProxy_Fxns__ ti_sysbios_BIOS_RtsGateProxy_Fxns__; typedef const struct 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; /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * PER-INSTANCE TYPES * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * PER-INSTANCE TYPES * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E00 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * MODULE-WIDE CONFIGS * PER-INSTANCE TYPES * VIRTUAL FUNCTIONS * FUNCTION DECLARATIONS * CONVERTORS * SYSTEM FUNCTIONS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== INCLUDES ======== */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * PER-INSTANCE TYPES * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * PER-INSTANCE TYPES * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * ======== AUXILIARY DEFINITIONS ======== */ /* Q_BLOCKING */ /* Q_PREEMPTING */ /* * ======== MODULE-WIDE CONFIGS ======== */ /* Module__diagsEnabled */ typedef xdc_Bits32 CT__ti_sysbios_BIOS_RtsGateProxy_Module__diagsEnabled; extern far const CT__ti_sysbios_BIOS_RtsGateProxy_Module__diagsEnabled ti_sysbios_BIOS_RtsGateProxy_Module__diagsEnabled__C; /* Module__diagsIncluded */ typedef xdc_Bits32 CT__ti_sysbios_BIOS_RtsGateProxy_Module__diagsIncluded; extern far const CT__ti_sysbios_BIOS_RtsGateProxy_Module__diagsIncluded ti_sysbios_BIOS_RtsGateProxy_Module__diagsIncluded__C; /* Module__diagsMask */ typedef xdc_Bits16 *CT__ti_sysbios_BIOS_RtsGateProxy_Module__diagsMask; extern far const CT__ti_sysbios_BIOS_RtsGateProxy_Module__diagsMask ti_sysbios_BIOS_RtsGateProxy_Module__diagsMask__C; /* Module__gateObj */ typedef xdc_Ptr CT__ti_sysbios_BIOS_RtsGateProxy_Module__gateObj; extern far const CT__ti_sysbios_BIOS_RtsGateProxy_Module__gateObj ti_sysbios_BIOS_RtsGateProxy_Module__gateObj__C; /* Module__gatePrms */ typedef xdc_Ptr CT__ti_sysbios_BIOS_RtsGateProxy_Module__gatePrms; extern far const CT__ti_sysbios_BIOS_RtsGateProxy_Module__gatePrms ti_sysbios_BIOS_RtsGateProxy_Module__gatePrms__C; /* Module__id */ typedef xdc_runtime_Types_ModuleId CT__ti_sysbios_BIOS_RtsGateProxy_Module__id; extern far const CT__ti_sysbios_BIOS_RtsGateProxy_Module__id ti_sysbios_BIOS_RtsGateProxy_Module__id__C; /* Module__loggerDefined */ typedef xdc_Bool CT__ti_sysbios_BIOS_RtsGateProxy_Module__loggerDefined; extern far const CT__ti_sysbios_BIOS_RtsGateProxy_Module__loggerDefined ti_sysbios_BIOS_RtsGateProxy_Module__loggerDefined__C; /* Module__loggerObj */ typedef xdc_Ptr CT__ti_sysbios_BIOS_RtsGateProxy_Module__loggerObj; extern far const CT__ti_sysbios_BIOS_RtsGateProxy_Module__loggerObj ti_sysbios_BIOS_RtsGateProxy_Module__loggerObj__C; /* Module__loggerFxn0 */ typedef xdc_runtime_Types_LoggerFxn0 CT__ti_sysbios_BIOS_RtsGateProxy_Module__loggerFxn0; extern far const CT__ti_sysbios_BIOS_RtsGateProxy_Module__loggerFxn0 ti_sysbios_BIOS_RtsGateProxy_Module__loggerFxn0__C; /* Module__loggerFxn1 */ typedef xdc_runtime_Types_LoggerFxn1 CT__ti_sysbios_BIOS_RtsGateProxy_Module__loggerFxn1; extern far const CT__ti_sysbios_BIOS_RtsGateProxy_Module__loggerFxn1 ti_sysbios_BIOS_RtsGateProxy_Module__loggerFxn1__C; /* Module__loggerFxn2 */ typedef xdc_runtime_Types_LoggerFxn2 CT__ti_sysbios_BIOS_RtsGateProxy_Module__loggerFxn2; extern far const CT__ti_sysbios_BIOS_RtsGateProxy_Module__loggerFxn2 ti_sysbios_BIOS_RtsGateProxy_Module__loggerFxn2__C; /* Module__loggerFxn4 */ typedef xdc_runtime_Types_LoggerFxn4 CT__ti_sysbios_BIOS_RtsGateProxy_Module__loggerFxn4; extern far const CT__ti_sysbios_BIOS_RtsGateProxy_Module__loggerFxn4 ti_sysbios_BIOS_RtsGateProxy_Module__loggerFxn4__C; /* Module__loggerFxn8 */ typedef xdc_runtime_Types_LoggerFxn8 CT__ti_sysbios_BIOS_RtsGateProxy_Module__loggerFxn8; extern far const CT__ti_sysbios_BIOS_RtsGateProxy_Module__loggerFxn8 ti_sysbios_BIOS_RtsGateProxy_Module__loggerFxn8__C; /* Object__count */ typedef xdc_Int CT__ti_sysbios_BIOS_RtsGateProxy_Object__count; extern far const CT__ti_sysbios_BIOS_RtsGateProxy_Object__count ti_sysbios_BIOS_RtsGateProxy_Object__count__C; /* Object__heap */ typedef xdc_runtime_IHeap_Handle CT__ti_sysbios_BIOS_RtsGateProxy_Object__heap; extern far const CT__ti_sysbios_BIOS_RtsGateProxy_Object__heap ti_sysbios_BIOS_RtsGateProxy_Object__heap__C; /* Object__sizeof */ typedef xdc_SizeT CT__ti_sysbios_BIOS_RtsGateProxy_Object__sizeof; extern far const CT__ti_sysbios_BIOS_RtsGateProxy_Object__sizeof ti_sysbios_BIOS_RtsGateProxy_Object__sizeof__C; /* Object__table */ typedef xdc_Ptr CT__ti_sysbios_BIOS_RtsGateProxy_Object__table; extern far const CT__ti_sysbios_BIOS_RtsGateProxy_Object__table ti_sysbios_BIOS_RtsGateProxy_Object__table__C; /* * ======== PER-INSTANCE TYPES ======== */ /* Params */ 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 */ struct ti_sysbios_BIOS_RtsGateProxy_Struct { const ti_sysbios_BIOS_RtsGateProxy_Fxns__ *__fxns; xdc_runtime_Types_CordAddr __name; }; /* * ======== VIRTUAL FUNCTIONS ======== */ /* Fxns__ */ struct ti_sysbios_BIOS_RtsGateProxy_Fxns__ { const xdc_runtime_Types_Base* __base; const xdc_runtime_Types_SysFxns2* __sysp; xdc_Bool (*query)(xdc_Int qual); xdc_IArg (*enter)(ti_sysbios_BIOS_RtsGateProxy_Handle inst); void (*leave)(ti_sysbios_BIOS_RtsGateProxy_Handle inst, xdc_IArg key); xdc_runtime_Types_SysFxns2 __sfxns; }; /* Module__FXNS__C */ extern const ti_sysbios_BIOS_RtsGateProxy_Fxns__ ti_sysbios_BIOS_RtsGateProxy_Module__FXNS__C; /* * ======== FUNCTION DECLARATIONS ======== */ /* Module_startup */ /* create */ extern ti_sysbios_BIOS_RtsGateProxy_Handle ti_sysbios_BIOS_RtsGateProxy_create( const ti_sysbios_BIOS_RtsGateProxy_Params *prms, xdc_runtime_Error_Block *eb); /* delete */ extern void ti_sysbios_BIOS_RtsGateProxy_delete(ti_sysbios_BIOS_RtsGateProxy_Handle *instp); /* Handle__label__S */ extern xdc_runtime_Types_Label *ti_sysbios_BIOS_RtsGateProxy_Handle__label__S( xdc_Ptr obj, xdc_runtime_Types_Label *lab ); /* Module__startupDone__S */ extern xdc_Bool ti_sysbios_BIOS_RtsGateProxy_Module__startupDone__S( void ); /* Object__get__S */ extern xdc_Ptr ti_sysbios_BIOS_RtsGateProxy_Object__get__S( xdc_Ptr oarr, xdc_Int i ); /* Object__first__S */ extern xdc_Ptr ti_sysbios_BIOS_RtsGateProxy_Object__first__S( void ); /* Object__next__S */ extern xdc_Ptr ti_sysbios_BIOS_RtsGateProxy_Object__next__S( xdc_Ptr obj ); /* Params__init__S */ extern void ti_sysbios_BIOS_RtsGateProxy_Params__init__S( xdc_Ptr dst, const void *src, xdc_SizeT psz, xdc_SizeT isz ); /* Proxy__abstract__S */ extern xdc_Bool ti_sysbios_BIOS_RtsGateProxy_Proxy__abstract__S( void ); /* Proxy__delegate__S */ extern xdc_CPtr ti_sysbios_BIOS_RtsGateProxy_Proxy__delegate__S( void ); /* query__E */ extern xdc_Bool ti_sysbios_BIOS_RtsGateProxy_query__E( xdc_Int qual ); /* enter__E */ extern xdc_IArg ti_sysbios_BIOS_RtsGateProxy_enter__E( ti_sysbios_BIOS_RtsGateProxy_Handle __inst ); /* leave__E */ extern void ti_sysbios_BIOS_RtsGateProxy_leave__E( ti_sysbios_BIOS_RtsGateProxy_Handle __inst, xdc_IArg key ); /* * ======== CONVERTORS ======== */ /* Module_upCast */ static inline xdc_runtime_IGateProvider_Module ti_sysbios_BIOS_RtsGateProxy_Module_upCast(void); 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(); } /* Module_to_xdc_runtime_IGateProvider */ /* Handle_upCast */ static inline xdc_runtime_IGateProvider_Handle ti_sysbios_BIOS_RtsGateProxy_Handle_upCast(ti_sysbios_BIOS_RtsGateProxy_Handle i); static inline xdc_runtime_IGateProvider_Handle ti_sysbios_BIOS_RtsGateProxy_Handle_upCast(ti_sysbios_BIOS_RtsGateProxy_Handle i) { return (xdc_runtime_IGateProvider_Handle)i; } /* Handle_to_xdc_runtime_IGateProvider */ /* Handle_downCast */ static inline ti_sysbios_BIOS_RtsGateProxy_Handle ti_sysbios_BIOS_RtsGateProxy_Handle_downCast(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 ((const void*)i2->__fxns == (const void*)ti_sysbios_BIOS_RtsGateProxy_Proxy__delegate__S()) ? (ti_sysbios_BIOS_RtsGateProxy_Handle)i : (ti_sysbios_BIOS_RtsGateProxy_Handle)0; } /* Handle_from_xdc_runtime_IGateProvider */ /* * ======== SYSTEM FUNCTIONS ======== */ /* Module_startupDone */ /* Object_heap */ /* Module_heap */ /* Module_id */ static inline CT__ti_sysbios_BIOS_RtsGateProxy_Module__id ti_sysbios_BIOS_RtsGateProxy_Module_id(void); static inline CT__ti_sysbios_BIOS_RtsGateProxy_Module__id ti_sysbios_BIOS_RtsGateProxy_Module_id( void ) { return ti_sysbios_BIOS_RtsGateProxy_Module__id__C; } /* Proxy_abstract */ /* Proxy_delegate */ /* Params_init */ static inline void ti_sysbios_BIOS_RtsGateProxy_Params_init(ti_sysbios_BIOS_RtsGateProxy_Params *prms); static inline void ti_sysbios_BIOS_RtsGateProxy_Params_init( ti_sysbios_BIOS_RtsGateProxy_Params *prms ) { if (prms != 0) { ti_sysbios_BIOS_RtsGateProxy_Params__init__S(prms, 0, sizeof(ti_sysbios_BIOS_RtsGateProxy_Params), sizeof(xdc_runtime_IInstance_Params)); } } /* Params_copy */ static inline void ti_sysbios_BIOS_RtsGateProxy_Params_copy(ti_sysbios_BIOS_RtsGateProxy_Params *dst, const ti_sysbios_BIOS_RtsGateProxy_Params *src); static inline void ti_sysbios_BIOS_RtsGateProxy_Params_copy(ti_sysbios_BIOS_RtsGateProxy_Params *dst, const ti_sysbios_BIOS_RtsGateProxy_Params *src) { if (dst != 0) { ti_sysbios_BIOS_RtsGateProxy_Params__init__S(dst, (const void *)src, sizeof(ti_sysbios_BIOS_RtsGateProxy_Params), sizeof(xdc_runtime_IInstance_Params)); } } /* * ======== EPILOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * ======== AUXILIARY DEFINITIONS ======== */ /* ThreadType */ 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; /* RtsLockType */ 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; /* LibType */ 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; /* WAIT_FOREVER */ /* NO_WAIT */ /* StartupFuncPtr */ typedef void (*ti_sysbios_BIOS_StartupFuncPtr)(void ); /* version */ /* * ======== INTERNAL DEFINITIONS ======== */ /* intSize */ struct ti_sysbios_BIOS_intSize { xdc_Int intSize; }; /* StartFuncPtr */ typedef void (*ti_sysbios_BIOS_StartFuncPtr)(void ); /* ExitFuncPtr */ typedef void (*ti_sysbios_BIOS_ExitFuncPtr)(xdc_Int arg1); /* Module_State */ typedef ti_sysbios_BIOS_ThreadType __T1_ti_sysbios_BIOS_Module_State__smpThreadType; typedef ti_sysbios_BIOS_ThreadType *ARRAY1_ti_sysbios_BIOS_Module_State__smpThreadType; typedef const ti_sysbios_BIOS_ThreadType *CARRAY1_ti_sysbios_BIOS_Module_State__smpThreadType; typedef ARRAY1_ti_sysbios_BIOS_Module_State__smpThreadType __TA_ti_sysbios_BIOS_Module_State__smpThreadType; /* * ======== MODULE-WIDE CONFIGS ======== */ /* Module__diagsEnabled */ typedef xdc_Bits32 CT__ti_sysbios_BIOS_Module__diagsEnabled; extern far const CT__ti_sysbios_BIOS_Module__diagsEnabled ti_sysbios_BIOS_Module__diagsEnabled__C; /* Module__diagsIncluded */ typedef xdc_Bits32 CT__ti_sysbios_BIOS_Module__diagsIncluded; extern far const CT__ti_sysbios_BIOS_Module__diagsIncluded ti_sysbios_BIOS_Module__diagsIncluded__C; /* Module__diagsMask */ typedef xdc_Bits16 *CT__ti_sysbios_BIOS_Module__diagsMask; extern far const CT__ti_sysbios_BIOS_Module__diagsMask ti_sysbios_BIOS_Module__diagsMask__C; /* Module__gateObj */ typedef xdc_Ptr CT__ti_sysbios_BIOS_Module__gateObj; extern far const CT__ti_sysbios_BIOS_Module__gateObj ti_sysbios_BIOS_Module__gateObj__C; /* Module__gatePrms */ typedef xdc_Ptr CT__ti_sysbios_BIOS_Module__gatePrms; extern far const CT__ti_sysbios_BIOS_Module__gatePrms ti_sysbios_BIOS_Module__gatePrms__C; /* Module__id */ typedef xdc_runtime_Types_ModuleId CT__ti_sysbios_BIOS_Module__id; extern far const CT__ti_sysbios_BIOS_Module__id ti_sysbios_BIOS_Module__id__C; /* Module__loggerDefined */ typedef xdc_Bool CT__ti_sysbios_BIOS_Module__loggerDefined; extern far const CT__ti_sysbios_BIOS_Module__loggerDefined ti_sysbios_BIOS_Module__loggerDefined__C; /* Module__loggerObj */ typedef xdc_Ptr CT__ti_sysbios_BIOS_Module__loggerObj; extern far const CT__ti_sysbios_BIOS_Module__loggerObj ti_sysbios_BIOS_Module__loggerObj__C; /* Module__loggerFxn0 */ typedef xdc_runtime_Types_LoggerFxn0 CT__ti_sysbios_BIOS_Module__loggerFxn0; extern far const CT__ti_sysbios_BIOS_Module__loggerFxn0 ti_sysbios_BIOS_Module__loggerFxn0__C; /* Module__loggerFxn1 */ typedef xdc_runtime_Types_LoggerFxn1 CT__ti_sysbios_BIOS_Module__loggerFxn1; extern far const CT__ti_sysbios_BIOS_Module__loggerFxn1 ti_sysbios_BIOS_Module__loggerFxn1__C; /* Module__loggerFxn2 */ typedef xdc_runtime_Types_LoggerFxn2 CT__ti_sysbios_BIOS_Module__loggerFxn2; extern far const CT__ti_sysbios_BIOS_Module__loggerFxn2 ti_sysbios_BIOS_Module__loggerFxn2__C; /* Module__loggerFxn4 */ typedef xdc_runtime_Types_LoggerFxn4 CT__ti_sysbios_BIOS_Module__loggerFxn4; extern far const CT__ti_sysbios_BIOS_Module__loggerFxn4 ti_sysbios_BIOS_Module__loggerFxn4__C; /* Module__loggerFxn8 */ typedef xdc_runtime_Types_LoggerFxn8 CT__ti_sysbios_BIOS_Module__loggerFxn8; extern far const CT__ti_sysbios_BIOS_Module__loggerFxn8 ti_sysbios_BIOS_Module__loggerFxn8__C; /* Object__count */ typedef xdc_Int CT__ti_sysbios_BIOS_Object__count; extern far const CT__ti_sysbios_BIOS_Object__count ti_sysbios_BIOS_Object__count__C; /* Object__heap */ typedef xdc_runtime_IHeap_Handle CT__ti_sysbios_BIOS_Object__heap; extern far const CT__ti_sysbios_BIOS_Object__heap ti_sysbios_BIOS_Object__heap__C; /* Object__sizeof */ typedef xdc_SizeT CT__ti_sysbios_BIOS_Object__sizeof; extern far const CT__ti_sysbios_BIOS_Object__sizeof ti_sysbios_BIOS_Object__sizeof__C; /* Object__table */ typedef xdc_Ptr CT__ti_sysbios_BIOS_Object__table; extern far const CT__ti_sysbios_BIOS_Object__table ti_sysbios_BIOS_Object__table__C; /* smpEnabled */ typedef xdc_Bool CT__ti_sysbios_BIOS_smpEnabled; extern far const CT__ti_sysbios_BIOS_smpEnabled ti_sysbios_BIOS_smpEnabled__C; /* mpeEnabled */ typedef xdc_Bool CT__ti_sysbios_BIOS_mpeEnabled; extern far const CT__ti_sysbios_BIOS_mpeEnabled ti_sysbios_BIOS_mpeEnabled__C; /* cpuFreq */ typedef xdc_runtime_Types_FreqHz CT__ti_sysbios_BIOS_cpuFreq; extern far const CT__ti_sysbios_BIOS_cpuFreq ti_sysbios_BIOS_cpuFreq__C; /* runtimeCreatesEnabled */ typedef xdc_Bool CT__ti_sysbios_BIOS_runtimeCreatesEnabled; extern far const CT__ti_sysbios_BIOS_runtimeCreatesEnabled ti_sysbios_BIOS_runtimeCreatesEnabled__C; /* taskEnabled */ typedef xdc_Bool CT__ti_sysbios_BIOS_taskEnabled; extern far const CT__ti_sysbios_BIOS_taskEnabled ti_sysbios_BIOS_taskEnabled__C; /* swiEnabled */ typedef xdc_Bool CT__ti_sysbios_BIOS_swiEnabled; extern far const CT__ti_sysbios_BIOS_swiEnabled ti_sysbios_BIOS_swiEnabled__C; /* clockEnabled */ typedef xdc_Bool CT__ti_sysbios_BIOS_clockEnabled; extern far const CT__ti_sysbios_BIOS_clockEnabled ti_sysbios_BIOS_clockEnabled__C; /* defaultKernelHeapInstance */ typedef xdc_runtime_IHeap_Handle CT__ti_sysbios_BIOS_defaultKernelHeapInstance; extern far const CT__ti_sysbios_BIOS_defaultKernelHeapInstance ti_sysbios_BIOS_defaultKernelHeapInstance__C; /* kernelHeapSize */ typedef xdc_SizeT CT__ti_sysbios_BIOS_kernelHeapSize; extern far const CT__ti_sysbios_BIOS_kernelHeapSize ti_sysbios_BIOS_kernelHeapSize__C; /* kernelHeapSection */ typedef xdc_String CT__ti_sysbios_BIOS_kernelHeapSection; extern far const CT__ti_sysbios_BIOS_kernelHeapSection ti_sysbios_BIOS_kernelHeapSection__C; /* heapSize */ typedef xdc_SizeT CT__ti_sysbios_BIOS_heapSize; extern far const CT__ti_sysbios_BIOS_heapSize ti_sysbios_BIOS_heapSize__C; /* heapSection */ typedef xdc_String CT__ti_sysbios_BIOS_heapSection; extern far const CT__ti_sysbios_BIOS_heapSection ti_sysbios_BIOS_heapSection__C; /* heapTrackEnabled */ typedef xdc_Bool CT__ti_sysbios_BIOS_heapTrackEnabled; extern far const CT__ti_sysbios_BIOS_heapTrackEnabled ti_sysbios_BIOS_heapTrackEnabled__C; /* setupSecureContext */ typedef xdc_Bool CT__ti_sysbios_BIOS_setupSecureContext; extern far const CT__ti_sysbios_BIOS_setupSecureContext ti_sysbios_BIOS_setupSecureContext__C; /* useSK */ typedef xdc_Bool CT__ti_sysbios_BIOS_useSK; extern far const CT__ti_sysbios_BIOS_useSK ti_sysbios_BIOS_useSK__C; /* installedErrorHook */ typedef void (*CT__ti_sysbios_BIOS_installedErrorHook)(xdc_runtime_Error_Block* arg1); extern far const CT__ti_sysbios_BIOS_installedErrorHook ti_sysbios_BIOS_installedErrorHook__C; /* * ======== FUNCTION DECLARATIONS ======== */ /* Module_startup */ /* Module__startupDone__S */ extern xdc_Bool ti_sysbios_BIOS_Module__startupDone__S( void ); /* linkedWithIncorrectBootLibrary__E */ extern void ti_sysbios_BIOS_linkedWithIncorrectBootLibrary__E( void ); /* start__E */ extern void ti_sysbios_BIOS_start__E( void ); /* exit__E */ extern void ti_sysbios_BIOS_exit__E( xdc_Int stat ); /* getThreadType__E */ extern ti_sysbios_BIOS_ThreadType ti_sysbios_BIOS_getThreadType__E( void ); /* setThreadType__E */ extern ti_sysbios_BIOS_ThreadType ti_sysbios_BIOS_setThreadType__E( ti_sysbios_BIOS_ThreadType ttype ); /* setCpuFreq__E */ extern void ti_sysbios_BIOS_setCpuFreq__E( xdc_runtime_Types_FreqHz *freq ); /* getCpuFreq__E */ extern void ti_sysbios_BIOS_getCpuFreq__E( xdc_runtime_Types_FreqHz *freq ); /* errorRaiseHook__I */ extern void ti_sysbios_BIOS_errorRaiseHook__I( xdc_runtime_Error_Block *eb ); /* startFunc__I */ extern void ti_sysbios_BIOS_startFunc__I( void ); /* atExitFunc__I */ extern void ti_sysbios_BIOS_atExitFunc__I( xdc_Int stat ); /* exitFunc__I */ extern void ti_sysbios_BIOS_exitFunc__I( xdc_Int stat ); /* registerRTSLock__I */ extern void ti_sysbios_BIOS_registerRTSLock__I( void ); /* removeRTSLock__I */ extern void ti_sysbios_BIOS_removeRTSLock__I( void ); /* rtsLock__I */ extern void ti_sysbios_BIOS_rtsLock__I( void ); /* rtsUnlock__I */ extern void ti_sysbios_BIOS_rtsUnlock__I( void ); /* nullFunc__I */ extern void ti_sysbios_BIOS_nullFunc__I( void ); /* * ======== SYSTEM FUNCTIONS ======== */ /* Module_startupDone */ /* Object_heap */ /* Module_heap */ /* Module_id */ static inline CT__ti_sysbios_BIOS_Module__id ti_sysbios_BIOS_Module_id(void); static inline CT__ti_sysbios_BIOS_Module__id ti_sysbios_BIOS_Module_id( void ) { return ti_sysbios_BIOS_Module__id__C; } /* Module_hasMask */ static inline xdc_Bool ti_sysbios_BIOS_Module_hasMask(void); static inline xdc_Bool ti_sysbios_BIOS_Module_hasMask(void) { return (xdc_Bool)(ti_sysbios_BIOS_Module__diagsMask__C != (CT__ti_sysbios_BIOS_Module__diagsMask)0); } /* Module_getMask */ static inline xdc_Bits16 ti_sysbios_BIOS_Module_getMask(void); static inline xdc_Bits16 ti_sysbios_BIOS_Module_getMask(void) { return (ti_sysbios_BIOS_Module__diagsMask__C != (CT__ti_sysbios_BIOS_Module__diagsMask)0) ? *ti_sysbios_BIOS_Module__diagsMask__C : (xdc_Bits16)0; } /* Module_setMask */ static inline void ti_sysbios_BIOS_Module_setMask(xdc_Bits16 mask); static inline void ti_sysbios_BIOS_Module_setMask(xdc_Bits16 mask) { if (ti_sysbios_BIOS_Module__diagsMask__C != (CT__ti_sysbios_BIOS_Module__diagsMask)0) { *ti_sysbios_BIOS_Module__diagsMask__C = mask; } } /* * ======== EPILOGUE ======== */ /* * Copyright (c) 2012-2017, Texas Instruments Incorporated * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * * Neither the name of Texas Instruments Incorporated nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* module prefix */ /* proxies */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E00 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * MODULE-WIDE CONFIGS * PER-INSTANCE TYPES * VIRTUAL FUNCTIONS * FUNCTION DECLARATIONS * CONVERTORS * SYSTEM FUNCTIONS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* module prefix */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E00 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * CREATE ARGS * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * PER-INSTANCE TYPES * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== INCLUDES ======== */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * PER-INSTANCE TYPES * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Copyright (c) 2012-2017, Texas Instruments Incorporated * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * * Neither the name of Texas Instruments Incorporated nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E00 */ /* * ======== module ti.sysbios.knl.Clock ======== */ 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; /* * ======== module ti.sysbios.knl.Idle ======== */ /* * ======== module ti.sysbios.knl.Intrinsics ======== */ typedef struct ti_sysbios_knl_Intrinsics_Fxns__ ti_sysbios_knl_Intrinsics_Fxns__; typedef const struct ti_sysbios_knl_Intrinsics_Fxns__* ti_sysbios_knl_Intrinsics_Module; /* * ======== module ti.sysbios.knl.Event ======== */ 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; /* * ======== module ti.sysbios.knl.Mailbox ======== */ 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; /* * ======== module ti.sysbios.knl.Queue ======== */ 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; /* * ======== module ti.sysbios.knl.Semaphore ======== */ 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; /* * ======== module ti.sysbios.knl.Swi ======== */ typedef struct ti_sysbios_knl_Swi_HookSet ti_sysbios_knl_Swi_HookSet; typedef struct ti_sysbios_knl_Swi_Struct2__ ti_sysbios_knl_Swi_Struct2__; 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; /* * ======== module ti.sysbios.knl.Task ======== */ 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_RunQEntry ti_sysbios_knl_Task_RunQEntry; typedef struct ti_sysbios_knl_Task_Module_StateSmp ti_sysbios_knl_Task_Module_StateSmp; 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; /* * ======== module ti.sysbios.knl.Clock_TimerProxy ======== */ typedef struct ti_sysbios_knl_Clock_TimerProxy_Fxns__ ti_sysbios_knl_Clock_TimerProxy_Fxns__; typedef const struct ti_sysbios_knl_Clock_TimerProxy_Fxns__* ti_sysbios_knl_Clock_TimerProxy_Module; typedef struct ti_sysbios_knl_Clock_TimerProxy_Params ti_sysbios_knl_Clock_TimerProxy_Params; typedef struct ti_sysbios_interfaces_ITimer___Object *ti_sysbios_knl_Clock_TimerProxy_Handle; /* * ======== module ti.sysbios.knl.Intrinsics_SupportProxy ======== */ typedef struct ti_sysbios_knl_Intrinsics_SupportProxy_Fxns__ ti_sysbios_knl_Intrinsics_SupportProxy_Fxns__; typedef const struct ti_sysbios_knl_Intrinsics_SupportProxy_Fxns__* ti_sysbios_knl_Intrinsics_SupportProxy_Module; /* * ======== module ti.sysbios.knl.Task_SupportProxy ======== */ typedef struct ti_sysbios_knl_Task_SupportProxy_Fxns__ ti_sysbios_knl_Task_SupportProxy_Fxns__; typedef const struct ti_sysbios_knl_Task_SupportProxy_Fxns__* ti_sysbios_knl_Task_SupportProxy_Module; /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== INCLUDES ======== */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Copyright (c) 2008-2017 Texas Instruments Incorporated * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License * v. 1.0 which accompanies this distribution. The Eclipse Public License is * available at http://www.eclipse.org/legal/epl-v10.html and the Eclipse * Distribution License is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * Contributors: * Texas Instruments - initial implementation * */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * ======== xdc_runtime_Log_Event ======== * Log_Event is an encoded type. Log Events are encoded on the target as * a 32-bit value: * * | format rope | module ID or mask | * | 31 ----- 16 | 15 ------------ 0 | * * The lower 16-bits contain either a mask or a module ID; when the event * is statically declared this field has a mask, when the event is passed * to an ILogger this field is the module ID of the module that generated * the event. * * The upper 16-bits are an ID (rope) that that identifies the format * string to use to render the event (and its arguments). */ typedef xdc_Bits32 xdc_runtime_Log_Event; /* * The following macros establish xdc.runtime.Main as the "default" * module for all sources files not part of a module. * * Module__MID - the module's ID (see Text.xs) * Module__LOGOBJ - the module's logger object * Module__LOGFXN0 - the module's logger's write0 function * Module__LOGFXN1 - the module's logger's write1 function * Module__LOGFXN2 - the module's logger's write2 function * Module__LOGFXN4 - the module's logger's write4 function * Module__LOGFXN8 - the module's logger's write8 function * Module__LOGDEF - 0 if the module has a logger, non-zero otherwise * * Only define these symbols for xdc.runtime.Main if this file is not one that * will be included in the Registry. This check ensures that Registry.h (which * similarly defines these Module__* symbols) can be included in any order * relative to other xdc.runtime headers. */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== INCLUDES ======== */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * ======== AUXILIARY DEFINITIONS ======== */ /* CordAddr */ typedef xdc_runtime_Types_CordAddr xdc_runtime_Text_CordAddr; /* Label */ typedef xdc_runtime_Types_Label xdc_runtime_Text_Label; /* RopeId */ typedef xdc_runtime_Types_RopeId xdc_runtime_Text_RopeId; /* * ======== INTERNAL DEFINITIONS ======== */ /* Node */ struct xdc_runtime_Text_Node { xdc_runtime_Types_RopeId left; xdc_runtime_Types_RopeId right; }; /* RopeVisitor */ typedef xdc_Bool (*xdc_runtime_Text_RopeVisitor)(xdc_Ptr arg1, xdc_CString arg2); /* MatchVisState */ struct xdc_runtime_Text_MatchVisState { xdc_CString pat; xdc_UShort *lenp; xdc_Int res; }; /* PrintVisState */ struct xdc_runtime_Text_PrintVisState { xdc_Char **bufp; xdc_UShort len; xdc_Int res; }; /* VisitRopeFxn */ typedef void (*xdc_runtime_Text_VisitRopeFxn)(xdc_runtime_Text_RopeId arg1, xdc_Fxn arg2, xdc_Ptr arg3); /* VisitRopeFxn2 */ typedef void (*xdc_runtime_Text_VisitRopeFxn2)(xdc_runtime_Text_RopeId arg1, xdc_Fxn arg2, xdc_Ptr arg3, xdc_CString arg4[]); /* * ======== MODULE-WIDE CONFIGS ======== */ /* Module__diagsEnabled */ typedef xdc_Bits32 CT__xdc_runtime_Text_Module__diagsEnabled; extern far const CT__xdc_runtime_Text_Module__diagsEnabled xdc_runtime_Text_Module__diagsEnabled__C; /* Module__diagsIncluded */ typedef xdc_Bits32 CT__xdc_runtime_Text_Module__diagsIncluded; extern far const CT__xdc_runtime_Text_Module__diagsIncluded xdc_runtime_Text_Module__diagsIncluded__C; /* Module__diagsMask */ typedef xdc_Bits16 *CT__xdc_runtime_Text_Module__diagsMask; extern far const CT__xdc_runtime_Text_Module__diagsMask xdc_runtime_Text_Module__diagsMask__C; /* Module__gateObj */ typedef xdc_Ptr CT__xdc_runtime_Text_Module__gateObj; extern far const CT__xdc_runtime_Text_Module__gateObj xdc_runtime_Text_Module__gateObj__C; /* Module__gatePrms */ typedef xdc_Ptr CT__xdc_runtime_Text_Module__gatePrms; extern far const CT__xdc_runtime_Text_Module__gatePrms xdc_runtime_Text_Module__gatePrms__C; /* Module__id */ typedef xdc_runtime_Types_ModuleId CT__xdc_runtime_Text_Module__id; extern far const CT__xdc_runtime_Text_Module__id xdc_runtime_Text_Module__id__C; /* Module__loggerDefined */ typedef xdc_Bool CT__xdc_runtime_Text_Module__loggerDefined; extern far const CT__xdc_runtime_Text_Module__loggerDefined xdc_runtime_Text_Module__loggerDefined__C; /* Module__loggerObj */ typedef xdc_Ptr CT__xdc_runtime_Text_Module__loggerObj; extern far const CT__xdc_runtime_Text_Module__loggerObj xdc_runtime_Text_Module__loggerObj__C; /* Module__loggerFxn0 */ typedef xdc_runtime_Types_LoggerFxn0 CT__xdc_runtime_Text_Module__loggerFxn0; extern far const CT__xdc_runtime_Text_Module__loggerFxn0 xdc_runtime_Text_Module__loggerFxn0__C; /* Module__loggerFxn1 */ typedef xdc_runtime_Types_LoggerFxn1 CT__xdc_runtime_Text_Module__loggerFxn1; extern far const CT__xdc_runtime_Text_Module__loggerFxn1 xdc_runtime_Text_Module__loggerFxn1__C; /* Module__loggerFxn2 */ typedef xdc_runtime_Types_LoggerFxn2 CT__xdc_runtime_Text_Module__loggerFxn2; extern far const CT__xdc_runtime_Text_Module__loggerFxn2 xdc_runtime_Text_Module__loggerFxn2__C; /* Module__loggerFxn4 */ typedef xdc_runtime_Types_LoggerFxn4 CT__xdc_runtime_Text_Module__loggerFxn4; extern far const CT__xdc_runtime_Text_Module__loggerFxn4 xdc_runtime_Text_Module__loggerFxn4__C; /* Module__loggerFxn8 */ typedef xdc_runtime_Types_LoggerFxn8 CT__xdc_runtime_Text_Module__loggerFxn8; extern far const CT__xdc_runtime_Text_Module__loggerFxn8 xdc_runtime_Text_Module__loggerFxn8__C; /* Object__count */ typedef xdc_Int CT__xdc_runtime_Text_Object__count; extern far const CT__xdc_runtime_Text_Object__count xdc_runtime_Text_Object__count__C; /* Object__heap */ typedef xdc_runtime_IHeap_Handle CT__xdc_runtime_Text_Object__heap; extern far const CT__xdc_runtime_Text_Object__heap xdc_runtime_Text_Object__heap__C; /* Object__sizeof */ typedef xdc_SizeT CT__xdc_runtime_Text_Object__sizeof; extern far const CT__xdc_runtime_Text_Object__sizeof xdc_runtime_Text_Object__sizeof__C; /* Object__table */ typedef xdc_Ptr CT__xdc_runtime_Text_Object__table; extern far const CT__xdc_runtime_Text_Object__table xdc_runtime_Text_Object__table__C; /* nameUnknown */ typedef xdc_String CT__xdc_runtime_Text_nameUnknown; extern far const CT__xdc_runtime_Text_nameUnknown xdc_runtime_Text_nameUnknown__C; /* nameEmpty */ typedef xdc_String CT__xdc_runtime_Text_nameEmpty; extern far const CT__xdc_runtime_Text_nameEmpty xdc_runtime_Text_nameEmpty__C; /* nameStatic */ typedef xdc_String CT__xdc_runtime_Text_nameStatic; extern far const CT__xdc_runtime_Text_nameStatic xdc_runtime_Text_nameStatic__C; /* isLoaded */ typedef xdc_Bool CT__xdc_runtime_Text_isLoaded; extern far const CT__xdc_runtime_Text_isLoaded xdc_runtime_Text_isLoaded__C; /* charTab */ typedef xdc_Char __T1_xdc_runtime_Text_charTab; typedef xdc_Char *ARRAY1_xdc_runtime_Text_charTab; typedef const xdc_Char *CARRAY1_xdc_runtime_Text_charTab; typedef CARRAY1_xdc_runtime_Text_charTab __TA_xdc_runtime_Text_charTab; typedef CARRAY1_xdc_runtime_Text_charTab CT__xdc_runtime_Text_charTab; extern far const CT__xdc_runtime_Text_charTab xdc_runtime_Text_charTab__C; /* nodeTab */ typedef xdc_runtime_Text_Node __T1_xdc_runtime_Text_nodeTab; typedef xdc_runtime_Text_Node *ARRAY1_xdc_runtime_Text_nodeTab; typedef const xdc_runtime_Text_Node *CARRAY1_xdc_runtime_Text_nodeTab; typedef CARRAY1_xdc_runtime_Text_nodeTab __TA_xdc_runtime_Text_nodeTab; typedef CARRAY1_xdc_runtime_Text_nodeTab CT__xdc_runtime_Text_nodeTab; extern far const CT__xdc_runtime_Text_nodeTab xdc_runtime_Text_nodeTab__C; /* charCnt */ typedef xdc_Int16 CT__xdc_runtime_Text_charCnt; extern far const CT__xdc_runtime_Text_charCnt xdc_runtime_Text_charCnt__C; /* nodeCnt */ typedef xdc_Int16 CT__xdc_runtime_Text_nodeCnt; extern far const CT__xdc_runtime_Text_nodeCnt xdc_runtime_Text_nodeCnt__C; /* unnamedModsLastId */ typedef xdc_UInt16 CT__xdc_runtime_Text_unnamedModsLastId; extern far const CT__xdc_runtime_Text_unnamedModsLastId xdc_runtime_Text_unnamedModsLastId__C; /* registryModsLastId */ typedef xdc_UInt16 CT__xdc_runtime_Text_registryModsLastId; extern far const CT__xdc_runtime_Text_registryModsLastId xdc_runtime_Text_registryModsLastId__C; /* visitRopeFxn */ typedef xdc_runtime_Text_VisitRopeFxn CT__xdc_runtime_Text_visitRopeFxn; extern far const CT__xdc_runtime_Text_visitRopeFxn xdc_runtime_Text_visitRopeFxn__C; /* visitRopeFxn2 */ typedef xdc_runtime_Text_VisitRopeFxn2 CT__xdc_runtime_Text_visitRopeFxn2; extern far const CT__xdc_runtime_Text_visitRopeFxn2 xdc_runtime_Text_visitRopeFxn2__C; /* * ======== FUNCTION DECLARATIONS ======== */ /* Module_startup */ /* Module__startupDone__S */ extern xdc_Bool xdc_runtime_Text_Module__startupDone__S( void ); /* cordText__E */ extern xdc_String xdc_runtime_Text_cordText__E( xdc_runtime_Text_CordAddr cord ); /* ropeText__E */ extern xdc_CString xdc_runtime_Text_ropeText__E( xdc_runtime_Text_RopeId rope ); /* matchRope__E */ extern xdc_Int xdc_runtime_Text_matchRope__E( xdc_runtime_Text_RopeId rope, xdc_CString pat, xdc_UShort *lenp ); /* putLab__E */ extern xdc_Int xdc_runtime_Text_putLab__E( xdc_runtime_Types_Label *lab, xdc_Char **bufp, xdc_Int len ); /* putMod__E */ extern xdc_Int xdc_runtime_Text_putMod__E( xdc_runtime_Types_ModuleId mid, xdc_Char **bufp, xdc_Int len ); /* putSite__E */ extern xdc_Int xdc_runtime_Text_putSite__E( xdc_runtime_Types_Site *site, xdc_Char **bufp, xdc_Int len ); /* matchVisFxn__I */ extern xdc_Bool xdc_runtime_Text_matchVisFxn__I( xdc_Ptr p, xdc_CString s ); /* printVisFxn__I */ extern xdc_Bool xdc_runtime_Text_printVisFxn__I( xdc_Ptr p, xdc_CString s ); /* visitRope__I */ extern void xdc_runtime_Text_visitRope__I( xdc_runtime_Text_RopeId rope, xdc_Fxn visFxn, xdc_Ptr visState ); /* visitRope2__I */ extern void xdc_runtime_Text_visitRope2__I( xdc_runtime_Text_RopeId rope, xdc_Fxn visFxn, xdc_Ptr visState, xdc_CString stack[] ); /* xprintf__I */ extern xdc_Int xdc_runtime_Text_xprintf__I( xdc_Char **bufp, xdc_SizeT len, xdc_CString fmt, ... ); /* * ======== SYSTEM FUNCTIONS ======== */ /* Module_startupDone */ /* Object_heap */ /* Module_heap */ /* Module_id */ static inline CT__xdc_runtime_Text_Module__id xdc_runtime_Text_Module_id(void); static inline CT__xdc_runtime_Text_Module__id xdc_runtime_Text_Module_id( void ) { return xdc_runtime_Text_Module__id__C; } /* Module_hasMask */ static inline xdc_Bool xdc_runtime_Text_Module_hasMask(void); static inline xdc_Bool xdc_runtime_Text_Module_hasMask(void) { return (xdc_Bool)(xdc_runtime_Text_Module__diagsMask__C != (CT__xdc_runtime_Text_Module__diagsMask)0); } /* Module_getMask */ static inline xdc_Bits16 xdc_runtime_Text_Module_getMask(void); static inline xdc_Bits16 xdc_runtime_Text_Module_getMask(void) { return (xdc_runtime_Text_Module__diagsMask__C != (CT__xdc_runtime_Text_Module__diagsMask)0) ? *xdc_runtime_Text_Module__diagsMask__C : (xdc_Bits16)0; } /* Module_setMask */ static inline void xdc_runtime_Text_Module_setMask(xdc_Bits16 mask); static inline void xdc_runtime_Text_Module_setMask(xdc_Bits16 mask) { if (xdc_runtime_Text_Module__diagsMask__C != (CT__xdc_runtime_Text_Module__diagsMask)0) { *xdc_runtime_Text_Module__diagsMask__C = mask; } } /* * ======== EPILOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * ======== AUXILIARY DEFINITIONS ======== */ /* NUMARGS */ /* PRINTFID */ /* EventRec */ typedef xdc_IArg __T1_xdc_runtime_Log_EventRec__arg; typedef xdc_IArg ARRAY1_xdc_runtime_Log_EventRec__arg[8]; typedef xdc_IArg CARRAY1_xdc_runtime_Log_EventRec__arg[8]; typedef CARRAY1_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; }; /* EventId */ typedef xdc_runtime_Types_RopeId xdc_runtime_Log_EventId; /* * ======== INTERNAL DEFINITIONS ======== */ /* * ======== MODULE-WIDE CONFIGS ======== */ /* Module__diagsEnabled */ typedef xdc_Bits32 CT__xdc_runtime_Log_Module__diagsEnabled; extern far const CT__xdc_runtime_Log_Module__diagsEnabled xdc_runtime_Log_Module__diagsEnabled__C; /* Module__diagsIncluded */ typedef xdc_Bits32 CT__xdc_runtime_Log_Module__diagsIncluded; extern far const CT__xdc_runtime_Log_Module__diagsIncluded xdc_runtime_Log_Module__diagsIncluded__C; /* Module__diagsMask */ typedef xdc_Bits16 *CT__xdc_runtime_Log_Module__diagsMask; extern far const CT__xdc_runtime_Log_Module__diagsMask xdc_runtime_Log_Module__diagsMask__C; /* Module__gateObj */ typedef xdc_Ptr CT__xdc_runtime_Log_Module__gateObj; extern far const CT__xdc_runtime_Log_Module__gateObj xdc_runtime_Log_Module__gateObj__C; /* Module__gatePrms */ typedef xdc_Ptr CT__xdc_runtime_Log_Module__gatePrms; extern far const CT__xdc_runtime_Log_Module__gatePrms xdc_runtime_Log_Module__gatePrms__C; /* Module__id */ typedef xdc_runtime_Types_ModuleId CT__xdc_runtime_Log_Module__id; extern far const CT__xdc_runtime_Log_Module__id xdc_runtime_Log_Module__id__C; /* Module__loggerDefined */ typedef xdc_Bool CT__xdc_runtime_Log_Module__loggerDefined; extern far const CT__xdc_runtime_Log_Module__loggerDefined xdc_runtime_Log_Module__loggerDefined__C; /* Module__loggerObj */ typedef xdc_Ptr CT__xdc_runtime_Log_Module__loggerObj; extern far const CT__xdc_runtime_Log_Module__loggerObj xdc_runtime_Log_Module__loggerObj__C; /* Module__loggerFxn0 */ typedef xdc_runtime_Types_LoggerFxn0 CT__xdc_runtime_Log_Module__loggerFxn0; extern far const CT__xdc_runtime_Log_Module__loggerFxn0 xdc_runtime_Log_Module__loggerFxn0__C; /* Module__loggerFxn1 */ typedef xdc_runtime_Types_LoggerFxn1 CT__xdc_runtime_Log_Module__loggerFxn1; extern far const CT__xdc_runtime_Log_Module__loggerFxn1 xdc_runtime_Log_Module__loggerFxn1__C; /* Module__loggerFxn2 */ typedef xdc_runtime_Types_LoggerFxn2 CT__xdc_runtime_Log_Module__loggerFxn2; extern far const CT__xdc_runtime_Log_Module__loggerFxn2 xdc_runtime_Log_Module__loggerFxn2__C; /* Module__loggerFxn4 */ typedef xdc_runtime_Types_LoggerFxn4 CT__xdc_runtime_Log_Module__loggerFxn4; extern far const CT__xdc_runtime_Log_Module__loggerFxn4 xdc_runtime_Log_Module__loggerFxn4__C; /* Module__loggerFxn8 */ typedef xdc_runtime_Types_LoggerFxn8 CT__xdc_runtime_Log_Module__loggerFxn8; extern far const CT__xdc_runtime_Log_Module__loggerFxn8 xdc_runtime_Log_Module__loggerFxn8__C; /* Object__count */ typedef xdc_Int CT__xdc_runtime_Log_Object__count; extern far const CT__xdc_runtime_Log_Object__count xdc_runtime_Log_Object__count__C; /* Object__heap */ typedef xdc_runtime_IHeap_Handle CT__xdc_runtime_Log_Object__heap; extern far const CT__xdc_runtime_Log_Object__heap xdc_runtime_Log_Object__heap__C; /* Object__sizeof */ typedef xdc_SizeT CT__xdc_runtime_Log_Object__sizeof; extern far const CT__xdc_runtime_Log_Object__sizeof xdc_runtime_Log_Object__sizeof__C; /* Object__table */ typedef xdc_Ptr CT__xdc_runtime_Log_Object__table; extern far const CT__xdc_runtime_Log_Object__table xdc_runtime_Log_Object__table__C; /* L_construct */ typedef xdc_runtime_Log_Event CT__xdc_runtime_Log_L_construct; extern far const CT__xdc_runtime_Log_L_construct xdc_runtime_Log_L_construct__C; /* L_create */ typedef xdc_runtime_Log_Event CT__xdc_runtime_Log_L_create; extern far const CT__xdc_runtime_Log_L_create xdc_runtime_Log_L_create__C; /* L_destruct */ typedef xdc_runtime_Log_Event CT__xdc_runtime_Log_L_destruct; extern far const CT__xdc_runtime_Log_L_destruct xdc_runtime_Log_L_destruct__C; /* L_delete */ typedef xdc_runtime_Log_Event CT__xdc_runtime_Log_L_delete; extern far const CT__xdc_runtime_Log_L_delete xdc_runtime_Log_L_delete__C; /* L_error */ typedef xdc_runtime_Log_Event CT__xdc_runtime_Log_L_error; extern far const CT__xdc_runtime_Log_L_error xdc_runtime_Log_L_error__C; /* L_warning */ typedef xdc_runtime_Log_Event CT__xdc_runtime_Log_L_warning; extern far const CT__xdc_runtime_Log_L_warning xdc_runtime_Log_L_warning__C; /* L_info */ typedef xdc_runtime_Log_Event CT__xdc_runtime_Log_L_info; extern far const CT__xdc_runtime_Log_L_info xdc_runtime_Log_L_info__C; /* L_start */ typedef xdc_runtime_Log_Event CT__xdc_runtime_Log_L_start; extern far const CT__xdc_runtime_Log_L_start xdc_runtime_Log_L_start__C; /* L_stop */ typedef xdc_runtime_Log_Event CT__xdc_runtime_Log_L_stop; extern far const CT__xdc_runtime_Log_L_stop xdc_runtime_Log_L_stop__C; /* L_startInstance */ typedef xdc_runtime_Log_Event CT__xdc_runtime_Log_L_startInstance; extern far const CT__xdc_runtime_Log_L_startInstance xdc_runtime_Log_L_startInstance__C; /* L_stopInstance */ typedef xdc_runtime_Log_Event CT__xdc_runtime_Log_L_stopInstance; extern far const CT__xdc_runtime_Log_L_stopInstance xdc_runtime_Log_L_stopInstance__C; /* * ======== FUNCTION DECLARATIONS ======== */ /* Module_startup */ /* Module__startupDone__S */ extern xdc_Bool xdc_runtime_Log_Module__startupDone__S( void ); /* doPrint__E */ extern void xdc_runtime_Log_doPrint__E( xdc_runtime_Log_EventRec *evRec ); /* * ======== SYSTEM FUNCTIONS ======== */ /* Module_startupDone */ /* Object_heap */ /* Module_heap */ /* Module_id */ static inline CT__xdc_runtime_Log_Module__id xdc_runtime_Log_Module_id(void); static inline CT__xdc_runtime_Log_Module__id xdc_runtime_Log_Module_id( void ) { return xdc_runtime_Log_Module__id__C; } /* Module_hasMask */ static inline xdc_Bool xdc_runtime_Log_Module_hasMask(void); static inline xdc_Bool xdc_runtime_Log_Module_hasMask(void) { return (xdc_Bool)(xdc_runtime_Log_Module__diagsMask__C != (CT__xdc_runtime_Log_Module__diagsMask)0); } /* Module_getMask */ static inline xdc_Bits16 xdc_runtime_Log_Module_getMask(void); static inline xdc_Bits16 xdc_runtime_Log_Module_getMask(void) { return (xdc_runtime_Log_Module__diagsMask__C != (CT__xdc_runtime_Log_Module__diagsMask)0) ? *xdc_runtime_Log_Module__diagsMask__C : (xdc_Bits16)0; } /* Module_setMask */ static inline void xdc_runtime_Log_Module_setMask(xdc_Bits16 mask); static inline void xdc_runtime_Log_Module_setMask(xdc_Bits16 mask) { if (xdc_runtime_Log_Module__diagsMask__C != (CT__xdc_runtime_Log_Module__diagsMask)0) { *xdc_runtime_Log_Module__diagsMask__C = mask; } } /* * ======== EPILOGUE ======== */ /* * Copyright (c) 2008-2017 Texas Instruments Incorporated * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License * v. 1.0 which accompanies this distribution. The Eclipse Public License is * available at http://www.eclipse.org/legal/epl-v10.html and the Eclipse * Distribution License is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * Contributors: * Texas Instruments - initial implementation * */ /* * ======== Log__epilogue.h ======== * Implementation of the Log_* macros * * The implementation below relies on eight symbols defined by every module * header. Each of these symbols is a reference to a constant defined in a * separate compilation unit. The values of these constants are as follows: * * Module__MID - the module's ID (see Text.xs) * Module__LOGOBJ - the module's logger instance object * Module__LOGFXN0 - the module's logger's write0 function * Module__LOGFXN1 - the module's logger's write1 function * Module__LOGFXN2 - the module's logger's write2 function * Module__LOGFXN4 - the module's logger's write4 function * Module__LOGFXN8 - the module's logger's write8 function * Module__LOGDEF - 0 if the module has a logger, non-zero otherwise */ /* * Define flags for compiling out all Log calls * * The intent of these flags is to allow users to completely optimize logging * out of their code even when not using whole program optimization. This is * implemented by controlling the definitions of the Log macros. This will * only affect code compiled with the flag(s) set, so it will not disable * logging in any precompiled libraries. * * The DISABLE_ALL flag will have the effect of disabling all Log put, write, * print, error, warning, and info log calls. The flag just has to be defined, * we give it a value of zero or one to use in the macros. * * There are additional flags which can be used to disable all log calls * "except for". We use the presence of the DISABLE_ALL flag and the presence * of any ENABLE_ERROR, ENABLE_INFO, or ENABLE_WARNING flags to compute the * value of ENABLE_ERROR, etc., as zero or one. * * We ensure that all of the flags are ultimately defined and given a zero or * one value. Then the macro definitions are conditional on the value of the * appropriate flag. */ /* * If DISABLE_ALL is defined, give it the value 1, and assign values to all * of the ENABLE flags based on whether they've been defined or not. */ /* * ======== xdc_runtime_Log_getMask ======== */ /* * ======== xdc_runtime_Log_getRope ======== */ /* * ======== xdc_runtime_Log_getEventId ======== */ /* * ======== xdc_runtime_Log_doPut* ======== * The 'doPut' macros are the real implementation of the Log_put* APIs. * The Log_put* macros are just stubs which point to these definitions. We do * this so that we can disable the Log_put* APIs but still leave their * functionality available for any other Log macros which use them. * * For example, if the flags DISABLE_ALL and ENABLE_ERROR are set, we want * to disable the Log_put* macros, but not the Log_error* macros which are * also built on top of these 'doPut' macros. */ /* * ======== xdc_runtime_Log_put* ======== * See Log_doPut* */ /* * ======== xdc_runtime_Log_doWrite* ======== * The real implementations of the Log_write* APIs. See Log_doPut* for an * explanation of why we stub-out the Log_put* and Log_write* APIs. */ /* * ======== xdc_runtime_Log_write* ======== * See Log_doWrite* */ /* * ======== xdc_runtime_Log_print* ======== * Since "print" events do not have a rope, we use 0 (an invalid rope value) * as the event Id and construct a Log_Event to pass to Log_put. This has the * benefit that the Log_Event is equal to just the mask: (0 | mask). For this * reason, we simply pass the 'mask' as the first argument to 'put'. * * Each print function is mapped to a call to appropriate 'put' function. * print0 -> put1 * print1 -> put2 * print2 -> print3 -> put4 * print3 -> put4 * print4 -> print6 -> put8 * print5 -> print6 -> put8 * print6 -> put8 */ /* * ======== xdc_runtime_Log_error* ======== * Log an error event */ /* * ======== xdc_runtime_Log_warning* ======== * Log a warning event */ /* * ======== xdc_runtime_Log_info* ======== * Log an informational event */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * PER-INSTANCE TYPES * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E00 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * PER-INSTANCE TYPES * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== INCLUDES ======== */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * PER-INSTANCE TYPES * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * ======== AUXILIARY DEFINITIONS ======== */ /* Elem */ struct ti_sysbios_knl_Queue_Elem { ti_sysbios_knl_Queue_Elem *volatile next; ti_sysbios_knl_Queue_Elem *volatile prev; }; /* * ======== INTERNAL DEFINITIONS ======== */ /* * ======== MODULE-WIDE CONFIGS ======== */ /* Module__diagsEnabled */ typedef xdc_Bits32 CT__ti_sysbios_knl_Queue_Module__diagsEnabled; extern far const CT__ti_sysbios_knl_Queue_Module__diagsEnabled ti_sysbios_knl_Queue_Module__diagsEnabled__C; /* Module__diagsIncluded */ typedef xdc_Bits32 CT__ti_sysbios_knl_Queue_Module__diagsIncluded; extern far const CT__ti_sysbios_knl_Queue_Module__diagsIncluded ti_sysbios_knl_Queue_Module__diagsIncluded__C; /* Module__diagsMask */ typedef xdc_Bits16 *CT__ti_sysbios_knl_Queue_Module__diagsMask; extern far const CT__ti_sysbios_knl_Queue_Module__diagsMask ti_sysbios_knl_Queue_Module__diagsMask__C; /* Module__gateObj */ typedef xdc_Ptr CT__ti_sysbios_knl_Queue_Module__gateObj; extern far const CT__ti_sysbios_knl_Queue_Module__gateObj ti_sysbios_knl_Queue_Module__gateObj__C; /* Module__gatePrms */ typedef xdc_Ptr CT__ti_sysbios_knl_Queue_Module__gatePrms; extern far const CT__ti_sysbios_knl_Queue_Module__gatePrms ti_sysbios_knl_Queue_Module__gatePrms__C; /* Module__id */ typedef xdc_runtime_Types_ModuleId CT__ti_sysbios_knl_Queue_Module__id; extern far const CT__ti_sysbios_knl_Queue_Module__id ti_sysbios_knl_Queue_Module__id__C; /* Module__loggerDefined */ typedef xdc_Bool CT__ti_sysbios_knl_Queue_Module__loggerDefined; extern far const CT__ti_sysbios_knl_Queue_Module__loggerDefined ti_sysbios_knl_Queue_Module__loggerDefined__C; /* Module__loggerObj */ typedef xdc_Ptr CT__ti_sysbios_knl_Queue_Module__loggerObj; extern far const CT__ti_sysbios_knl_Queue_Module__loggerObj ti_sysbios_knl_Queue_Module__loggerObj__C; /* Module__loggerFxn0 */ typedef xdc_runtime_Types_LoggerFxn0 CT__ti_sysbios_knl_Queue_Module__loggerFxn0; extern far const CT__ti_sysbios_knl_Queue_Module__loggerFxn0 ti_sysbios_knl_Queue_Module__loggerFxn0__C; /* Module__loggerFxn1 */ typedef xdc_runtime_Types_LoggerFxn1 CT__ti_sysbios_knl_Queue_Module__loggerFxn1; extern far const CT__ti_sysbios_knl_Queue_Module__loggerFxn1 ti_sysbios_knl_Queue_Module__loggerFxn1__C; /* Module__loggerFxn2 */ typedef xdc_runtime_Types_LoggerFxn2 CT__ti_sysbios_knl_Queue_Module__loggerFxn2; extern far const CT__ti_sysbios_knl_Queue_Module__loggerFxn2 ti_sysbios_knl_Queue_Module__loggerFxn2__C; /* Module__loggerFxn4 */ typedef xdc_runtime_Types_LoggerFxn4 CT__ti_sysbios_knl_Queue_Module__loggerFxn4; extern far const CT__ti_sysbios_knl_Queue_Module__loggerFxn4 ti_sysbios_knl_Queue_Module__loggerFxn4__C; /* Module__loggerFxn8 */ typedef xdc_runtime_Types_LoggerFxn8 CT__ti_sysbios_knl_Queue_Module__loggerFxn8; extern far const CT__ti_sysbios_knl_Queue_Module__loggerFxn8 ti_sysbios_knl_Queue_Module__loggerFxn8__C; /* Object__count */ typedef xdc_Int CT__ti_sysbios_knl_Queue_Object__count; extern far const CT__ti_sysbios_knl_Queue_Object__count ti_sysbios_knl_Queue_Object__count__C; /* Object__heap */ typedef xdc_runtime_IHeap_Handle CT__ti_sysbios_knl_Queue_Object__heap; extern far const CT__ti_sysbios_knl_Queue_Object__heap ti_sysbios_knl_Queue_Object__heap__C; /* Object__sizeof */ typedef xdc_SizeT CT__ti_sysbios_knl_Queue_Object__sizeof; extern far const CT__ti_sysbios_knl_Queue_Object__sizeof ti_sysbios_knl_Queue_Object__sizeof__C; /* Object__table */ typedef xdc_Ptr CT__ti_sysbios_knl_Queue_Object__table; extern far const CT__ti_sysbios_knl_Queue_Object__table ti_sysbios_knl_Queue_Object__table__C; /* * ======== PER-INSTANCE TYPES ======== */ /* Params */ 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 */ struct ti_sysbios_knl_Queue_Struct { ti_sysbios_knl_Queue_Elem f0; xdc_runtime_Types_CordAddr __name; }; /* * ======== FUNCTION DECLARATIONS ======== */ /* Module_startup */ /* Instance_init__E */ extern void ti_sysbios_knl_Queue_Instance_init__E(ti_sysbios_knl_Queue_Object *obj, const ti_sysbios_knl_Queue_Params *prms); /* create */ extern ti_sysbios_knl_Queue_Handle ti_sysbios_knl_Queue_create( const ti_sysbios_knl_Queue_Params *prms, xdc_runtime_Error_Block *eb); /* construct */ extern void ti_sysbios_knl_Queue_construct(ti_sysbios_knl_Queue_Struct *obj, const ti_sysbios_knl_Queue_Params *prms); /* delete */ extern void ti_sysbios_knl_Queue_delete(ti_sysbios_knl_Queue_Handle *instp); /* destruct */ extern void ti_sysbios_knl_Queue_destruct(ti_sysbios_knl_Queue_Struct *obj); /* Handle__label__S */ extern xdc_runtime_Types_Label *ti_sysbios_knl_Queue_Handle__label__S( xdc_Ptr obj, xdc_runtime_Types_Label *lab ); /* Module__startupDone__S */ extern xdc_Bool ti_sysbios_knl_Queue_Module__startupDone__S( void ); /* Object__create__S */ extern xdc_Ptr ti_sysbios_knl_Queue_Object__create__S( xdc_CPtr aa, const xdc_UChar *pa, xdc_SizeT psz, xdc_runtime_Error_Block *eb ); /* Object__delete__S */ extern void ti_sysbios_knl_Queue_Object__delete__S( xdc_Ptr instp ); /* Object__get__S */ extern xdc_Ptr ti_sysbios_knl_Queue_Object__get__S( xdc_Ptr oarr, xdc_Int i ); /* Object__first__S */ extern xdc_Ptr ti_sysbios_knl_Queue_Object__first__S( void ); /* Object__next__S */ extern xdc_Ptr ti_sysbios_knl_Queue_Object__next__S( xdc_Ptr obj ); /* Params__init__S */ extern void ti_sysbios_knl_Queue_Params__init__S( xdc_Ptr dst, const void *src, xdc_SizeT psz, xdc_SizeT isz ); /* elemClear__E */ extern void ti_sysbios_knl_Queue_elemClear__E( ti_sysbios_knl_Queue_Elem *qelem ); /* insert__E */ extern void ti_sysbios_knl_Queue_insert__E( ti_sysbios_knl_Queue_Elem *qelem, ti_sysbios_knl_Queue_Elem *elem ); /* next__E */ extern xdc_Ptr ti_sysbios_knl_Queue_next__E( ti_sysbios_knl_Queue_Elem *qelem ); /* prev__E */ extern xdc_Ptr ti_sysbios_knl_Queue_prev__E( ti_sysbios_knl_Queue_Elem *qelem ); /* remove__E */ extern void ti_sysbios_knl_Queue_remove__E( ti_sysbios_knl_Queue_Elem *qelem ); /* isQueued__E */ extern xdc_Bool ti_sysbios_knl_Queue_isQueued__E( ti_sysbios_knl_Queue_Elem *qelem ); /* dequeue__E */ extern xdc_Ptr ti_sysbios_knl_Queue_dequeue__E( ti_sysbios_knl_Queue_Handle __inst ); /* empty__E */ extern xdc_Bool ti_sysbios_knl_Queue_empty__E( ti_sysbios_knl_Queue_Handle __inst ); /* enqueue__E */ extern void ti_sysbios_knl_Queue_enqueue__E( ti_sysbios_knl_Queue_Handle __inst, ti_sysbios_knl_Queue_Elem *elem ); /* get__E */ extern xdc_Ptr ti_sysbios_knl_Queue_get__E( ti_sysbios_knl_Queue_Handle __inst ); /* getTail__E */ extern xdc_Ptr ti_sysbios_knl_Queue_getTail__E( ti_sysbios_knl_Queue_Handle __inst ); /* head__E */ extern xdc_Ptr ti_sysbios_knl_Queue_head__E( ti_sysbios_knl_Queue_Handle __inst ); /* put__E */ extern void ti_sysbios_knl_Queue_put__E( ti_sysbios_knl_Queue_Handle __inst, ti_sysbios_knl_Queue_Elem *elem ); /* putHead__E */ extern void ti_sysbios_knl_Queue_putHead__E( ti_sysbios_knl_Queue_Handle __inst, ti_sysbios_knl_Queue_Elem *elem ); /* * ======== SYSTEM FUNCTIONS ======== */ /* Module_startupDone */ /* Object_heap */ /* Module_heap */ /* Module_id */ static inline CT__ti_sysbios_knl_Queue_Module__id ti_sysbios_knl_Queue_Module_id(void); static inline CT__ti_sysbios_knl_Queue_Module__id ti_sysbios_knl_Queue_Module_id( void ) { return ti_sysbios_knl_Queue_Module__id__C; } /* Module_hasMask */ static inline xdc_Bool ti_sysbios_knl_Queue_Module_hasMask(void); static inline xdc_Bool ti_sysbios_knl_Queue_Module_hasMask(void) { return (xdc_Bool)(ti_sysbios_knl_Queue_Module__diagsMask__C != (CT__ti_sysbios_knl_Queue_Module__diagsMask)0); } /* Module_getMask */ static inline xdc_Bits16 ti_sysbios_knl_Queue_Module_getMask(void); static inline xdc_Bits16 ti_sysbios_knl_Queue_Module_getMask(void) { return (ti_sysbios_knl_Queue_Module__diagsMask__C != (CT__ti_sysbios_knl_Queue_Module__diagsMask)0) ? *ti_sysbios_knl_Queue_Module__diagsMask__C : (xdc_Bits16)0; } /* Module_setMask */ static inline void ti_sysbios_knl_Queue_Module_setMask(xdc_Bits16 mask); static inline void ti_sysbios_knl_Queue_Module_setMask(xdc_Bits16 mask) { if (ti_sysbios_knl_Queue_Module__diagsMask__C != (CT__ti_sysbios_knl_Queue_Module__diagsMask)0) { *ti_sysbios_knl_Queue_Module__diagsMask__C = mask; } } /* Params_init */ static inline void ti_sysbios_knl_Queue_Params_init(ti_sysbios_knl_Queue_Params *prms); static inline void ti_sysbios_knl_Queue_Params_init( ti_sysbios_knl_Queue_Params *prms ) { if (prms != 0) { ti_sysbios_knl_Queue_Params__init__S(prms, 0, sizeof(ti_sysbios_knl_Queue_Params), sizeof(xdc_runtime_IInstance_Params)); } } /* Params_copy */ static inline void ti_sysbios_knl_Queue_Params_copy(ti_sysbios_knl_Queue_Params *dst, const ti_sysbios_knl_Queue_Params *src); static inline void ti_sysbios_knl_Queue_Params_copy(ti_sysbios_knl_Queue_Params *dst, const ti_sysbios_knl_Queue_Params *src) { if (dst != 0) { ti_sysbios_knl_Queue_Params__init__S(dst, (const void *)src, sizeof(ti_sysbios_knl_Queue_Params), sizeof(xdc_runtime_IInstance_Params)); } } /* Object_count */ /* Object_sizeof */ /* Object_get */ static inline ti_sysbios_knl_Queue_Handle ti_sysbios_knl_Queue_Object_get(ti_sysbios_knl_Queue_Instance_State *oarr, int i); 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); } /* Object_first */ static inline ti_sysbios_knl_Queue_Handle ti_sysbios_knl_Queue_Object_first(void); 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(); } /* Object_next */ static inline ti_sysbios_knl_Queue_Handle ti_sysbios_knl_Queue_Object_next(ti_sysbios_knl_Queue_Object *obj); 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); } /* Handle_label */ static inline xdc_runtime_Types_Label *ti_sysbios_knl_Queue_Handle_label(ti_sysbios_knl_Queue_Handle inst, xdc_runtime_Types_Label *lab); 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); } /* Handle_name */ static inline xdc_String ti_sysbios_knl_Queue_Handle_name(ti_sysbios_knl_Queue_Handle inst); static inline xdc_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; } /* handle */ static inline ti_sysbios_knl_Queue_Handle ti_sysbios_knl_Queue_handle(ti_sysbios_knl_Queue_Struct *str); 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; } /* struct */ static inline ti_sysbios_knl_Queue_Struct *ti_sysbios_knl_Queue_struct(ti_sysbios_knl_Queue_Handle inst); 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; } /* * ======== EPILOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E00 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== INCLUDES ======== */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E00 */ /* * ======== interface ti.sysbios.interfaces.ICore ======== */ typedef struct ti_sysbios_interfaces_ICore_Fxns__ ti_sysbios_interfaces_ICore_Fxns__; typedef const struct ti_sysbios_interfaces_ICore_Fxns__* ti_sysbios_interfaces_ICore_Module; /* * ======== interface ti.sysbios.interfaces.IHwi ======== */ 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 struct 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; /* * ======== interface ti.sysbios.interfaces.ITaskSupport ======== */ typedef struct ti_sysbios_interfaces_ITaskSupport_Fxns__ ti_sysbios_interfaces_ITaskSupport_Fxns__; typedef const struct ti_sysbios_interfaces_ITaskSupport_Fxns__* ti_sysbios_interfaces_ITaskSupport_Module; /* * ======== interface ti.sysbios.interfaces.ITimer ======== */ typedef struct ti_sysbios_interfaces_ITimer_Fxns__ ti_sysbios_interfaces_ITimer_Fxns__; typedef const struct 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; /* * ======== interface ti.sysbios.interfaces.ITimerSupport ======== */ typedef struct ti_sysbios_interfaces_ITimerSupport_Fxns__ ti_sysbios_interfaces_ITimerSupport_Fxns__; typedef const struct ti_sysbios_interfaces_ITimerSupport_Fxns__* ti_sysbios_interfaces_ITimerSupport_Module; /* * ======== interface ti.sysbios.interfaces.ITimestamp ======== */ typedef struct ti_sysbios_interfaces_ITimestamp_Fxns__ ti_sysbios_interfaces_ITimestamp_Fxns__; typedef const struct ti_sysbios_interfaces_ITimestamp_Fxns__* ti_sysbios_interfaces_ITimestamp_Module; /* * ======== interface ti.sysbios.interfaces.IIntrinsicsSupport ======== */ typedef struct ti_sysbios_interfaces_IIntrinsicsSupport_Fxns__ ti_sysbios_interfaces_IIntrinsicsSupport_Fxns__; typedef const struct ti_sysbios_interfaces_IIntrinsicsSupport_Fxns__* ti_sysbios_interfaces_IIntrinsicsSupport_Module; /* * ======== interface ti.sysbios.interfaces.ICache ======== */ typedef struct ti_sysbios_interfaces_ICache_Fxns__ ti_sysbios_interfaces_ICache_Fxns__; typedef const struct ti_sysbios_interfaces_ICache_Fxns__* ti_sysbios_interfaces_ICache_Module; /* * ======== interface ti.sysbios.interfaces.IPower ======== */ typedef struct ti_sysbios_interfaces_IPower_Fxns__ ti_sysbios_interfaces_IPower_Fxns__; typedef const struct ti_sysbios_interfaces_IPower_Fxns__* ti_sysbios_interfaces_IPower_Module; /* * ======== interface ti.sysbios.interfaces.IRomDevice ======== */ typedef struct ti_sysbios_interfaces_IRomDevice_Fxns__ ti_sysbios_interfaces_IRomDevice_Fxns__; typedef const struct ti_sysbios_interfaces_IRomDevice_Fxns__* ti_sysbios_interfaces_IRomDevice_Module; /* * ======== interface ti.sysbios.interfaces.ISeconds ======== */ typedef struct ti_sysbios_interfaces_ISeconds_Time ti_sysbios_interfaces_ISeconds_Time; typedef struct ti_sysbios_interfaces_ISeconds_Fxns__ ti_sysbios_interfaces_ISeconds_Fxns__; typedef const struct ti_sysbios_interfaces_ISeconds_Fxns__* ti_sysbios_interfaces_ISeconds_Module; /* * ======== interface ti.sysbios.interfaces.ISysCall ======== */ typedef struct ti_sysbios_interfaces_ISysCall_Fxns__ ti_sysbios_interfaces_ISysCall_Fxns__; typedef const struct ti_sysbios_interfaces_ISysCall_Fxns__* ti_sysbios_interfaces_ISysCall_Module; /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * ======== AUXILIARY DEFINITIONS ======== */ /* FuncPtr */ typedef void (*ti_sysbios_interfaces_ITaskSupport_FuncPtr)(void); /* * ======== VIRTUAL FUNCTIONS ======== */ /* Fxns__ */ struct ti_sysbios_interfaces_ITaskSupport_Fxns__ { const xdc_runtime_Types_Base* __base; const xdc_runtime_Types_SysFxns2* __sysp; xdc_Ptr (*start)(xdc_Ptr curTask, ti_sysbios_interfaces_ITaskSupport_FuncPtr enterFxn, ti_sysbios_interfaces_ITaskSupport_FuncPtr exitFxn, xdc_runtime_Error_Block* eb); void (*swap)(xdc_Ptr* oldtskContext, xdc_Ptr* newtskContext); xdc_Bool (*checkStack)(xdc_Char* stack, xdc_SizeT size); xdc_SizeT (*stackUsed)(xdc_Char* stack, xdc_SizeT size); xdc_UInt (*getStackAlignment)(void); xdc_SizeT (*getDefaultStackSize)(void); xdc_runtime_Types_SysFxns2 __sfxns; }; /* Interface__BASE__C */ extern const xdc_runtime_Types_Base ti_sysbios_interfaces_ITaskSupport_Interface__BASE__C; /* * ======== FUNCTION STUBS ======== */ /* Module_id */ static inline xdc_runtime_Types_ModuleId ti_sysbios_interfaces_ITaskSupport_Module_id(ti_sysbios_interfaces_ITaskSupport_Module mod); static inline xdc_runtime_Types_ModuleId ti_sysbios_interfaces_ITaskSupport_Module_id(ti_sysbios_interfaces_ITaskSupport_Module mod) { return mod->__sysp->__mid; } /* start */ static inline xdc_Ptr ti_sysbios_interfaces_ITaskSupport_start(ti_sysbios_interfaces_ITaskSupport_Module mod, xdc_Ptr curTask, ti_sysbios_interfaces_ITaskSupport_FuncPtr enterFxn, ti_sysbios_interfaces_ITaskSupport_FuncPtr exitFxn, xdc_runtime_Error_Block *eb); static inline xdc_Ptr ti_sysbios_interfaces_ITaskSupport_start( ti_sysbios_interfaces_ITaskSupport_Module mod, xdc_Ptr curTask, ti_sysbios_interfaces_ITaskSupport_FuncPtr enterFxn, ti_sysbios_interfaces_ITaskSupport_FuncPtr exitFxn, xdc_runtime_Error_Block *eb ) { return mod->start(curTask, enterFxn, exitFxn, eb); } /* swap */ static inline void ti_sysbios_interfaces_ITaskSupport_swap(ti_sysbios_interfaces_ITaskSupport_Module mod, xdc_Ptr *oldtskContext, xdc_Ptr *newtskContext); static inline void ti_sysbios_interfaces_ITaskSupport_swap( ti_sysbios_interfaces_ITaskSupport_Module mod, xdc_Ptr *oldtskContext, xdc_Ptr *newtskContext ) { mod->swap(oldtskContext, newtskContext); } /* checkStack */ static inline xdc_Bool ti_sysbios_interfaces_ITaskSupport_checkStack(ti_sysbios_interfaces_ITaskSupport_Module mod, xdc_Char *stack, xdc_SizeT size); static inline xdc_Bool ti_sysbios_interfaces_ITaskSupport_checkStack( ti_sysbios_interfaces_ITaskSupport_Module mod, xdc_Char *stack, xdc_SizeT size ) { return mod->checkStack(stack, size); } /* stackUsed */ static inline xdc_SizeT ti_sysbios_interfaces_ITaskSupport_stackUsed(ti_sysbios_interfaces_ITaskSupport_Module mod, xdc_Char *stack, xdc_SizeT size); static inline xdc_SizeT ti_sysbios_interfaces_ITaskSupport_stackUsed( ti_sysbios_interfaces_ITaskSupport_Module mod, xdc_Char *stack, xdc_SizeT size ) { return mod->stackUsed(stack, size); } /* getStackAlignment */ static inline xdc_UInt ti_sysbios_interfaces_ITaskSupport_getStackAlignment(ti_sysbios_interfaces_ITaskSupport_Module mod); static inline xdc_UInt ti_sysbios_interfaces_ITaskSupport_getStackAlignment( ti_sysbios_interfaces_ITaskSupport_Module mod ) { return mod->getStackAlignment(); } /* getDefaultStackSize */ static inline xdc_SizeT ti_sysbios_interfaces_ITaskSupport_getDefaultStackSize(ti_sysbios_interfaces_ITaskSupport_Module mod); static inline xdc_SizeT ti_sysbios_interfaces_ITaskSupport_getDefaultStackSize( ti_sysbios_interfaces_ITaskSupport_Module mod ) { return mod->getDefaultStackSize(); } /* * ======== FUNCTION SELECTORS ======== */ /* These functions return function pointers for module and instance functions. * The functions accept modules and instances declared as types defined in this * interface, but they return functions defined for the actual objects passed * as parameters. These functions are not invoked by any generated code or * XDCtools internal code. */ /* start_{FxnT,fxnP} */ typedef xdc_Ptr (*ti_sysbios_interfaces_ITaskSupport_start_FxnT)(xdc_Ptr curTask, ti_sysbios_interfaces_ITaskSupport_FuncPtr enterFxn, ti_sysbios_interfaces_ITaskSupport_FuncPtr exitFxn, xdc_runtime_Error_Block* eb); static inline ti_sysbios_interfaces_ITaskSupport_start_FxnT ti_sysbios_interfaces_ITaskSupport_start_fxnP(ti_sysbios_interfaces_ITaskSupport_Module mod); static inline ti_sysbios_interfaces_ITaskSupport_start_FxnT ti_sysbios_interfaces_ITaskSupport_start_fxnP(ti_sysbios_interfaces_ITaskSupport_Module mod) { return (ti_sysbios_interfaces_ITaskSupport_start_FxnT)mod->start; } /* swap_{FxnT,fxnP} */ typedef void (*ti_sysbios_interfaces_ITaskSupport_swap_FxnT)(xdc_Ptr* oldtskContext, xdc_Ptr* newtskContext); static inline ti_sysbios_interfaces_ITaskSupport_swap_FxnT ti_sysbios_interfaces_ITaskSupport_swap_fxnP(ti_sysbios_interfaces_ITaskSupport_Module mod); static inline ti_sysbios_interfaces_ITaskSupport_swap_FxnT ti_sysbios_interfaces_ITaskSupport_swap_fxnP(ti_sysbios_interfaces_ITaskSupport_Module mod) { return (ti_sysbios_interfaces_ITaskSupport_swap_FxnT)mod->swap; } /* checkStack_{FxnT,fxnP} */ typedef xdc_Bool (*ti_sysbios_interfaces_ITaskSupport_checkStack_FxnT)(xdc_Char* stack, xdc_SizeT size); static inline ti_sysbios_interfaces_ITaskSupport_checkStack_FxnT ti_sysbios_interfaces_ITaskSupport_checkStack_fxnP(ti_sysbios_interfaces_ITaskSupport_Module mod); static inline ti_sysbios_interfaces_ITaskSupport_checkStack_FxnT ti_sysbios_interfaces_ITaskSupport_checkStack_fxnP(ti_sysbios_interfaces_ITaskSupport_Module mod) { return (ti_sysbios_interfaces_ITaskSupport_checkStack_FxnT)mod->checkStack; } /* stackUsed_{FxnT,fxnP} */ typedef xdc_SizeT (*ti_sysbios_interfaces_ITaskSupport_stackUsed_FxnT)(xdc_Char* stack, xdc_SizeT size); static inline ti_sysbios_interfaces_ITaskSupport_stackUsed_FxnT ti_sysbios_interfaces_ITaskSupport_stackUsed_fxnP(ti_sysbios_interfaces_ITaskSupport_Module mod); static inline ti_sysbios_interfaces_ITaskSupport_stackUsed_FxnT ti_sysbios_interfaces_ITaskSupport_stackUsed_fxnP(ti_sysbios_interfaces_ITaskSupport_Module mod) { return (ti_sysbios_interfaces_ITaskSupport_stackUsed_FxnT)mod->stackUsed; } /* getStackAlignment_{FxnT,fxnP} */ 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 mod); static inline ti_sysbios_interfaces_ITaskSupport_getStackAlignment_FxnT ti_sysbios_interfaces_ITaskSupport_getStackAlignment_fxnP(ti_sysbios_interfaces_ITaskSupport_Module mod) { return (ti_sysbios_interfaces_ITaskSupport_getStackAlignment_FxnT)mod->getStackAlignment; } /* getDefaultStackSize_{FxnT,fxnP} */ 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 mod); static inline ti_sysbios_interfaces_ITaskSupport_getDefaultStackSize_FxnT ti_sysbios_interfaces_ITaskSupport_getDefaultStackSize_fxnP(ti_sysbios_interfaces_ITaskSupport_Module mod) { return (ti_sysbios_interfaces_ITaskSupport_getDefaultStackSize_FxnT)mod->getDefaultStackSize; } /* * ======== EPILOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E00 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * CREATE ARGS * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * PER-INSTANCE TYPES * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== INCLUDES ======== */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * PER-INSTANCE TYPES * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E00 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * CREATE ARGS * PER-INSTANCE TYPES * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== INCLUDES ======== */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * PER-INSTANCE TYPES * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * ======== AUXILIARY DEFINITIONS ======== */ /* FuncPtr */ typedef void (*ti_sysbios_interfaces_ITimer_FuncPtr)(xdc_UArg arg1); /* ANY */ /* StartMode */ 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; /* RunMode */ 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; /* Status */ 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; /* PeriodType */ 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; /* * ======== CREATE ARGS ======== */ /* Args__create */ typedef struct ti_sysbios_interfaces_ITimer_Args__create { xdc_Int id; ti_sysbios_interfaces_ITimer_FuncPtr tickFxn; } ti_sysbios_interfaces_ITimer_Args__create; /* * ======== PER-INSTANCE TYPES ======== */ /* Params */ 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; }; /* * ======== VIRTUAL FUNCTIONS ======== */ /* Fxns__ */ struct ti_sysbios_interfaces_ITimer_Fxns__ { const xdc_runtime_Types_Base* __base; const xdc_runtime_Types_SysFxns2* __sysp; xdc_UInt (*getNumTimers)(void); ti_sysbios_interfaces_ITimer_Status (*getStatus)(xdc_UInt id); void (*startup)(void); xdc_UInt32 (*getMaxTicks)(void* inst); void (*setNextTick)(void* inst, xdc_UInt32 ticks); void (*start)(void* inst); void (*stop)(void* inst); void (*setPeriod)(void* inst, xdc_UInt32 period); xdc_Bool (*setPeriodMicroSecs)(void* inst, xdc_UInt32 microsecs); xdc_UInt32 (*getPeriod)(void* inst); xdc_UInt32 (*getCount)(void* inst); void (*getFreq)(void* inst, xdc_runtime_Types_FreqHz* freq); ti_sysbios_interfaces_ITimer_FuncPtr (*getFunc)(void* inst, xdc_UArg* arg); void (*setFunc)(void* inst, ti_sysbios_interfaces_ITimer_FuncPtr fxn, xdc_UArg arg); void (*trigger)(void* inst, xdc_UInt32 cycles); xdc_UInt32 (*getExpiredCounts)(void* inst); xdc_UInt32 (*getExpiredTicks)(void* inst, xdc_UInt32 tickPeriod); xdc_UInt32 (*getCurrentTick)(void* inst, xdc_Bool save); xdc_runtime_Types_SysFxns2 __sfxns; }; /* Interface__BASE__C */ extern const xdc_runtime_Types_Base ti_sysbios_interfaces_ITimer_Interface__BASE__C; /* * ======== FUNCTION STUBS ======== */ /* create */ extern 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); /* delete */ extern void ti_sysbios_interfaces_ITimer_delete(ti_sysbios_interfaces_ITimer_Handle *inst); /* Handle_to_Module */ static inline ti_sysbios_interfaces_ITimer_Module ti_sysbios_interfaces_ITimer_Handle_to_Module(ti_sysbios_interfaces_ITimer_Handle inst); static inline ti_sysbios_interfaces_ITimer_Module ti_sysbios_interfaces_ITimer_Handle_to_Module(ti_sysbios_interfaces_ITimer_Handle inst) { return inst->__fxns; } /* Handle_label */ static inline xdc_runtime_Types_Label *ti_sysbios_interfaces_ITimer_Handle_label(ti_sysbios_interfaces_ITimer_Handle inst, xdc_runtime_Types_Label *lab); 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); } /* Module_id */ static inline xdc_runtime_Types_ModuleId ti_sysbios_interfaces_ITimer_Module_id(ti_sysbios_interfaces_ITimer_Module mod); static inline xdc_runtime_Types_ModuleId ti_sysbios_interfaces_ITimer_Module_id(ti_sysbios_interfaces_ITimer_Module mod) { return mod->__sysp->__mid; } /* getNumTimers */ static inline xdc_UInt ti_sysbios_interfaces_ITimer_getNumTimers(ti_sysbios_interfaces_ITimer_Module mod); static inline xdc_UInt ti_sysbios_interfaces_ITimer_getNumTimers( ti_sysbios_interfaces_ITimer_Module mod ) { return mod->getNumTimers(); } /* getStatus */ static inline ti_sysbios_interfaces_ITimer_Status ti_sysbios_interfaces_ITimer_getStatus(ti_sysbios_interfaces_ITimer_Module mod, xdc_UInt id); static inline ti_sysbios_interfaces_ITimer_Status ti_sysbios_interfaces_ITimer_getStatus( ti_sysbios_interfaces_ITimer_Module mod, xdc_UInt id ) { return mod->getStatus(id); } /* startup */ static inline void ti_sysbios_interfaces_ITimer_startup(ti_sysbios_interfaces_ITimer_Module mod); static inline void ti_sysbios_interfaces_ITimer_startup( ti_sysbios_interfaces_ITimer_Module mod ) { mod->startup(); } /* getMaxTicks */ static inline xdc_UInt32 ti_sysbios_interfaces_ITimer_getMaxTicks(ti_sysbios_interfaces_ITimer_Handle inst); static inline xdc_UInt32 ti_sysbios_interfaces_ITimer_getMaxTicks( ti_sysbios_interfaces_ITimer_Handle inst ) { return inst->__fxns->getMaxTicks((void*)inst); } /* setNextTick */ static inline void ti_sysbios_interfaces_ITimer_setNextTick(ti_sysbios_interfaces_ITimer_Handle inst, xdc_UInt32 ticks); static inline void ti_sysbios_interfaces_ITimer_setNextTick( ti_sysbios_interfaces_ITimer_Handle inst, xdc_UInt32 ticks ) { inst->__fxns->setNextTick((void*)inst, ticks); } /* start */ static inline void ti_sysbios_interfaces_ITimer_start(ti_sysbios_interfaces_ITimer_Handle inst); static inline void ti_sysbios_interfaces_ITimer_start( ti_sysbios_interfaces_ITimer_Handle inst ) { inst->__fxns->start((void*)inst); } /* stop */ static inline void ti_sysbios_interfaces_ITimer_stop(ti_sysbios_interfaces_ITimer_Handle inst); static inline void ti_sysbios_interfaces_ITimer_stop( ti_sysbios_interfaces_ITimer_Handle inst ) { inst->__fxns->stop((void*)inst); } /* setPeriod */ static inline void ti_sysbios_interfaces_ITimer_setPeriod(ti_sysbios_interfaces_ITimer_Handle inst, xdc_UInt32 period); static inline void ti_sysbios_interfaces_ITimer_setPeriod( ti_sysbios_interfaces_ITimer_Handle inst, xdc_UInt32 period ) { inst->__fxns->setPeriod((void*)inst, period); } /* setPeriodMicroSecs */ static inline xdc_Bool ti_sysbios_interfaces_ITimer_setPeriodMicroSecs(ti_sysbios_interfaces_ITimer_Handle inst, xdc_UInt32 microsecs); 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); } /* getPeriod */ static inline xdc_UInt32 ti_sysbios_interfaces_ITimer_getPeriod(ti_sysbios_interfaces_ITimer_Handle inst); static inline xdc_UInt32 ti_sysbios_interfaces_ITimer_getPeriod( ti_sysbios_interfaces_ITimer_Handle inst ) { return inst->__fxns->getPeriod((void*)inst); } /* getCount */ static inline xdc_UInt32 ti_sysbios_interfaces_ITimer_getCount(ti_sysbios_interfaces_ITimer_Handle inst); static inline xdc_UInt32 ti_sysbios_interfaces_ITimer_getCount( ti_sysbios_interfaces_ITimer_Handle inst ) { return inst->__fxns->getCount((void*)inst); } /* getFreq */ static inline void ti_sysbios_interfaces_ITimer_getFreq(ti_sysbios_interfaces_ITimer_Handle inst, xdc_runtime_Types_FreqHz *freq); 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); } /* getFunc */ static inline ti_sysbios_interfaces_ITimer_FuncPtr ti_sysbios_interfaces_ITimer_getFunc(ti_sysbios_interfaces_ITimer_Handle inst, xdc_UArg *arg); 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); } /* setFunc */ static inline void ti_sysbios_interfaces_ITimer_setFunc(ti_sysbios_interfaces_ITimer_Handle inst, ti_sysbios_interfaces_ITimer_FuncPtr fxn, xdc_UArg 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); } /* trigger */ static inline void ti_sysbios_interfaces_ITimer_trigger(ti_sysbios_interfaces_ITimer_Handle inst, xdc_UInt32 cycles); static inline void ti_sysbios_interfaces_ITimer_trigger( ti_sysbios_interfaces_ITimer_Handle inst, xdc_UInt32 cycles ) { inst->__fxns->trigger((void*)inst, cycles); } /* getExpiredCounts */ static inline xdc_UInt32 ti_sysbios_interfaces_ITimer_getExpiredCounts(ti_sysbios_interfaces_ITimer_Handle inst); static inline xdc_UInt32 ti_sysbios_interfaces_ITimer_getExpiredCounts( ti_sysbios_interfaces_ITimer_Handle inst ) { return inst->__fxns->getExpiredCounts((void*)inst); } /* getExpiredTicks */ static inline xdc_UInt32 ti_sysbios_interfaces_ITimer_getExpiredTicks(ti_sysbios_interfaces_ITimer_Handle inst, xdc_UInt32 tickPeriod); static inline xdc_UInt32 ti_sysbios_interfaces_ITimer_getExpiredTicks( ti_sysbios_interfaces_ITimer_Handle inst, xdc_UInt32 tickPeriod ) { return inst->__fxns->getExpiredTicks((void*)inst, tickPeriod); } /* getCurrentTick */ static inline xdc_UInt32 ti_sysbios_interfaces_ITimer_getCurrentTick(ti_sysbios_interfaces_ITimer_Handle inst, xdc_Bool save); static inline xdc_UInt32 ti_sysbios_interfaces_ITimer_getCurrentTick( ti_sysbios_interfaces_ITimer_Handle inst, xdc_Bool save ) { return inst->__fxns->getCurrentTick((void*)inst, save); } /* * ======== FUNCTION SELECTORS ======== */ /* These functions return function pointers for module and instance functions. * The functions accept modules and instances declared as types defined in this * interface, but they return functions defined for the actual objects passed * as parameters. These functions are not invoked by any generated code or * XDCtools internal code. */ /* getNumTimers_{FxnT,fxnP} */ 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 mod); static inline ti_sysbios_interfaces_ITimer_getNumTimers_FxnT ti_sysbios_interfaces_ITimer_getNumTimers_fxnP(ti_sysbios_interfaces_ITimer_Module mod) { return (ti_sysbios_interfaces_ITimer_getNumTimers_FxnT)mod->getNumTimers; } /* getStatus_{FxnT,fxnP} */ typedef ti_sysbios_interfaces_ITimer_Status (*ti_sysbios_interfaces_ITimer_getStatus_FxnT)(xdc_UInt id); static inline ti_sysbios_interfaces_ITimer_getStatus_FxnT ti_sysbios_interfaces_ITimer_getStatus_fxnP(ti_sysbios_interfaces_ITimer_Module mod); static inline ti_sysbios_interfaces_ITimer_getStatus_FxnT ti_sysbios_interfaces_ITimer_getStatus_fxnP(ti_sysbios_interfaces_ITimer_Module mod) { return (ti_sysbios_interfaces_ITimer_getStatus_FxnT)mod->getStatus; } /* startup_{FxnT,fxnP} */ 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 mod); static inline ti_sysbios_interfaces_ITimer_startup_FxnT ti_sysbios_interfaces_ITimer_startup_fxnP(ti_sysbios_interfaces_ITimer_Module mod) { return (ti_sysbios_interfaces_ITimer_startup_FxnT)mod->startup; } /* getMaxTicks_{FxnT,fxnP} */ typedef xdc_UInt32 (*ti_sysbios_interfaces_ITimer_getMaxTicks_FxnT)(void *inst); static inline ti_sysbios_interfaces_ITimer_getMaxTicks_FxnT ti_sysbios_interfaces_ITimer_getMaxTicks_fxnP(ti_sysbios_interfaces_ITimer_Handle inst); 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; } /* setNextTick_{FxnT,fxnP} */ typedef void (*ti_sysbios_interfaces_ITimer_setNextTick_FxnT)(void *inst, xdc_UInt32 ticks); static inline ti_sysbios_interfaces_ITimer_setNextTick_FxnT ti_sysbios_interfaces_ITimer_setNextTick_fxnP(ti_sysbios_interfaces_ITimer_Handle inst); 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; } /* start_{FxnT,fxnP} */ typedef void (*ti_sysbios_interfaces_ITimer_start_FxnT)(void *inst); static inline ti_sysbios_interfaces_ITimer_start_FxnT ti_sysbios_interfaces_ITimer_start_fxnP(ti_sysbios_interfaces_ITimer_Handle inst); 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; } /* stop_{FxnT,fxnP} */ typedef void (*ti_sysbios_interfaces_ITimer_stop_FxnT)(void *inst); static inline ti_sysbios_interfaces_ITimer_stop_FxnT ti_sysbios_interfaces_ITimer_stop_fxnP(ti_sysbios_interfaces_ITimer_Handle inst); 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; } /* setPeriod_{FxnT,fxnP} */ typedef void (*ti_sysbios_interfaces_ITimer_setPeriod_FxnT)(void *inst, xdc_UInt32 period); static inline ti_sysbios_interfaces_ITimer_setPeriod_FxnT ti_sysbios_interfaces_ITimer_setPeriod_fxnP(ti_sysbios_interfaces_ITimer_Handle inst); 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; } /* setPeriodMicroSecs_{FxnT,fxnP} */ typedef xdc_Bool (*ti_sysbios_interfaces_ITimer_setPeriodMicroSecs_FxnT)(void *inst, xdc_UInt32 microsecs); static inline ti_sysbios_interfaces_ITimer_setPeriodMicroSecs_FxnT ti_sysbios_interfaces_ITimer_setPeriodMicroSecs_fxnP(ti_sysbios_interfaces_ITimer_Handle inst); 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; } /* getPeriod_{FxnT,fxnP} */ typedef xdc_UInt32 (*ti_sysbios_interfaces_ITimer_getPeriod_FxnT)(void *inst); static inline ti_sysbios_interfaces_ITimer_getPeriod_FxnT ti_sysbios_interfaces_ITimer_getPeriod_fxnP(ti_sysbios_interfaces_ITimer_Handle inst); 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; } /* getCount_{FxnT,fxnP} */ typedef xdc_UInt32 (*ti_sysbios_interfaces_ITimer_getCount_FxnT)(void *inst); static inline ti_sysbios_interfaces_ITimer_getCount_FxnT ti_sysbios_interfaces_ITimer_getCount_fxnP(ti_sysbios_interfaces_ITimer_Handle inst); 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; } /* getFreq_{FxnT,fxnP} */ typedef void (*ti_sysbios_interfaces_ITimer_getFreq_FxnT)(void *inst, xdc_runtime_Types_FreqHz* freq); static inline ti_sysbios_interfaces_ITimer_getFreq_FxnT ti_sysbios_interfaces_ITimer_getFreq_fxnP(ti_sysbios_interfaces_ITimer_Handle inst); 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; } /* getFunc_{FxnT,fxnP} */ typedef ti_sysbios_interfaces_ITimer_FuncPtr (*ti_sysbios_interfaces_ITimer_getFunc_FxnT)(void *inst, xdc_UArg* arg); static inline ti_sysbios_interfaces_ITimer_getFunc_FxnT ti_sysbios_interfaces_ITimer_getFunc_fxnP(ti_sysbios_interfaces_ITimer_Handle inst); 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; } /* setFunc_{FxnT,fxnP} */ typedef void (*ti_sysbios_interfaces_ITimer_setFunc_FxnT)(void *inst, ti_sysbios_interfaces_ITimer_FuncPtr fxn, xdc_UArg arg); static inline ti_sysbios_interfaces_ITimer_setFunc_FxnT ti_sysbios_interfaces_ITimer_setFunc_fxnP(ti_sysbios_interfaces_ITimer_Handle inst); 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; } /* trigger_{FxnT,fxnP} */ typedef void (*ti_sysbios_interfaces_ITimer_trigger_FxnT)(void *inst, xdc_UInt32 cycles); static inline ti_sysbios_interfaces_ITimer_trigger_FxnT ti_sysbios_interfaces_ITimer_trigger_fxnP(ti_sysbios_interfaces_ITimer_Handle inst); 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; } /* getExpiredCounts_{FxnT,fxnP} */ typedef xdc_UInt32 (*ti_sysbios_interfaces_ITimer_getExpiredCounts_FxnT)(void *inst); static inline ti_sysbios_interfaces_ITimer_getExpiredCounts_FxnT ti_sysbios_interfaces_ITimer_getExpiredCounts_fxnP(ti_sysbios_interfaces_ITimer_Handle inst); 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; } /* getExpiredTicks_{FxnT,fxnP} */ typedef xdc_UInt32 (*ti_sysbios_interfaces_ITimer_getExpiredTicks_FxnT)(void *inst, xdc_UInt32 tickPeriod); static inline ti_sysbios_interfaces_ITimer_getExpiredTicks_FxnT ti_sysbios_interfaces_ITimer_getExpiredTicks_fxnP(ti_sysbios_interfaces_ITimer_Handle inst); static inline ti_sysbios_interfaces_ITimer_getExpiredTicks_FxnT ti_sysbios_interfaces_ITimer_getExpiredTicks_fxnP(ti_sysbios_interfaces_ITimer_Handle inst) { return (ti_sysbios_interfaces_ITimer_getExpiredTicks_FxnT)inst->__fxns->getExpiredTicks; } /* getCurrentTick_{FxnT,fxnP} */ typedef xdc_UInt32 (*ti_sysbios_interfaces_ITimer_getCurrentTick_FxnT)(void *inst, xdc_Bool save); static inline ti_sysbios_interfaces_ITimer_getCurrentTick_FxnT ti_sysbios_interfaces_ITimer_getCurrentTick_fxnP(ti_sysbios_interfaces_ITimer_Handle inst); static inline ti_sysbios_interfaces_ITimer_getCurrentTick_FxnT ti_sysbios_interfaces_ITimer_getCurrentTick_fxnP(ti_sysbios_interfaces_ITimer_Handle inst) { return (ti_sysbios_interfaces_ITimer_getCurrentTick_FxnT)inst->__fxns->getCurrentTick; } /* * ======== EPILOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E00 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * PER-INSTANCE TYPES * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E00 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * CREATE ARGS * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * PER-INSTANCE TYPES * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== INCLUDES ======== */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * PER-INSTANCE TYPES * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E00 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * PER-INSTANCE TYPES * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * ======== AUXILIARY DEFINITIONS ======== */ /* FuncPtr */ typedef void (*ti_sysbios_knl_Swi_FuncPtr)(xdc_UArg arg1, xdc_UArg arg2); /* HookSet */ struct ti_sysbios_knl_Swi_HookSet { void (*registerFxn)(xdc_Int arg1); void (*createFxn)(ti_sysbios_knl_Swi_Handle arg1, xdc_runtime_Error_Block* arg2); void (*readyFxn)(ti_sysbios_knl_Swi_Handle arg1); void (*beginFxn)(ti_sysbios_knl_Swi_Handle arg1); void (*endFxn)(ti_sysbios_knl_Swi_Handle arg1); void (*deleteFxn)(ti_sysbios_knl_Swi_Handle arg1); }; /* Struct2__ */ typedef xdc_Ptr __T1_ti_sysbios_knl_Swi_Struct2____hookEnv; typedef xdc_Ptr *ARRAY1_ti_sysbios_knl_Swi_Struct2____hookEnv; typedef const xdc_Ptr *CARRAY1_ti_sysbios_knl_Swi_Struct2____hookEnv; typedef CARRAY1_ti_sysbios_knl_Swi_Struct2____hookEnv __TA_ti_sysbios_knl_Swi_Struct2____hookEnv; struct ti_sysbios_knl_Swi_Struct2__ { ti_sysbios_knl_Queue_Elem qElem; ti_sysbios_knl_Swi_FuncPtr fxn; xdc_UArg arg0; xdc_UArg arg1; xdc_UInt priority; xdc_UInt mask; xdc_Bool posted; xdc_UInt initTrigger; xdc_UInt trigger; ti_sysbios_knl_Queue_Handle readyQ; __TA_ti_sysbios_knl_Swi_Struct2____hookEnv hookEnv; xdc_runtime_Types_CordAddr name; }; /* Struct2 */ typedef ti_sysbios_knl_Swi_Struct2__ ti_sysbios_knl_Swi_Struct2; /* * ======== CREATE ARGS ======== */ /* Args__create */ typedef struct ti_sysbios_knl_Swi_Args__create { ti_sysbios_knl_Swi_FuncPtr swiFxn; } ti_sysbios_knl_Swi_Args__create; /* * ======== INTERNAL DEFINITIONS ======== */ /* Instance_State */ typedef xdc_Ptr __T1_ti_sysbios_knl_Swi_Instance_State__hookEnv; typedef xdc_Ptr *ARRAY1_ti_sysbios_knl_Swi_Instance_State__hookEnv; typedef const xdc_Ptr *CARRAY1_ti_sysbios_knl_Swi_Instance_State__hookEnv; typedef ARRAY1_ti_sysbios_knl_Swi_Instance_State__hookEnv __TA_ti_sysbios_knl_Swi_Instance_State__hookEnv; /* Module_State */ 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 const ti_sysbios_knl_Queue_Instance_State *CARRAY1_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 const ti_sysbios_knl_Swi_Handle *CARRAY1_ti_sysbios_knl_Swi_Module_State__constructedSwis; typedef ARRAY1_ti_sysbios_knl_Swi_Module_State__constructedSwis __TA_ti_sysbios_knl_Swi_Module_State__constructedSwis; /* * ======== MODULE-WIDE CONFIGS ======== */ /* Module__diagsEnabled */ typedef xdc_Bits32 CT__ti_sysbios_knl_Swi_Module__diagsEnabled; extern far const CT__ti_sysbios_knl_Swi_Module__diagsEnabled ti_sysbios_knl_Swi_Module__diagsEnabled__C; /* Module__diagsIncluded */ typedef xdc_Bits32 CT__ti_sysbios_knl_Swi_Module__diagsIncluded; extern far const CT__ti_sysbios_knl_Swi_Module__diagsIncluded ti_sysbios_knl_Swi_Module__diagsIncluded__C; /* Module__diagsMask */ typedef xdc_Bits16 *CT__ti_sysbios_knl_Swi_Module__diagsMask; extern far const CT__ti_sysbios_knl_Swi_Module__diagsMask ti_sysbios_knl_Swi_Module__diagsMask__C; /* Module__gateObj */ typedef xdc_Ptr CT__ti_sysbios_knl_Swi_Module__gateObj; extern far const CT__ti_sysbios_knl_Swi_Module__gateObj ti_sysbios_knl_Swi_Module__gateObj__C; /* Module__gatePrms */ typedef xdc_Ptr CT__ti_sysbios_knl_Swi_Module__gatePrms; extern far const CT__ti_sysbios_knl_Swi_Module__gatePrms ti_sysbios_knl_Swi_Module__gatePrms__C; /* Module__id */ typedef xdc_runtime_Types_ModuleId CT__ti_sysbios_knl_Swi_Module__id; extern far const CT__ti_sysbios_knl_Swi_Module__id ti_sysbios_knl_Swi_Module__id__C; /* Module__loggerDefined */ typedef xdc_Bool CT__ti_sysbios_knl_Swi_Module__loggerDefined; extern far const CT__ti_sysbios_knl_Swi_Module__loggerDefined ti_sysbios_knl_Swi_Module__loggerDefined__C; /* Module__loggerObj */ typedef xdc_Ptr CT__ti_sysbios_knl_Swi_Module__loggerObj; extern far const CT__ti_sysbios_knl_Swi_Module__loggerObj ti_sysbios_knl_Swi_Module__loggerObj__C; /* Module__loggerFxn0 */ typedef xdc_runtime_Types_LoggerFxn0 CT__ti_sysbios_knl_Swi_Module__loggerFxn0; extern far const CT__ti_sysbios_knl_Swi_Module__loggerFxn0 ti_sysbios_knl_Swi_Module__loggerFxn0__C; /* Module__loggerFxn1 */ typedef xdc_runtime_Types_LoggerFxn1 CT__ti_sysbios_knl_Swi_Module__loggerFxn1; extern far const CT__ti_sysbios_knl_Swi_Module__loggerFxn1 ti_sysbios_knl_Swi_Module__loggerFxn1__C; /* Module__loggerFxn2 */ typedef xdc_runtime_Types_LoggerFxn2 CT__ti_sysbios_knl_Swi_Module__loggerFxn2; extern far const CT__ti_sysbios_knl_Swi_Module__loggerFxn2 ti_sysbios_knl_Swi_Module__loggerFxn2__C; /* Module__loggerFxn4 */ typedef xdc_runtime_Types_LoggerFxn4 CT__ti_sysbios_knl_Swi_Module__loggerFxn4; extern far const CT__ti_sysbios_knl_Swi_Module__loggerFxn4 ti_sysbios_knl_Swi_Module__loggerFxn4__C; /* Module__loggerFxn8 */ typedef xdc_runtime_Types_LoggerFxn8 CT__ti_sysbios_knl_Swi_Module__loggerFxn8; extern far const CT__ti_sysbios_knl_Swi_Module__loggerFxn8 ti_sysbios_knl_Swi_Module__loggerFxn8__C; /* Object__count */ typedef xdc_Int CT__ti_sysbios_knl_Swi_Object__count; extern far const CT__ti_sysbios_knl_Swi_Object__count ti_sysbios_knl_Swi_Object__count__C; /* Object__heap */ typedef xdc_runtime_IHeap_Handle CT__ti_sysbios_knl_Swi_Object__heap; extern far const CT__ti_sysbios_knl_Swi_Object__heap ti_sysbios_knl_Swi_Object__heap__C; /* Object__sizeof */ typedef xdc_SizeT CT__ti_sysbios_knl_Swi_Object__sizeof; extern far const CT__ti_sysbios_knl_Swi_Object__sizeof ti_sysbios_knl_Swi_Object__sizeof__C; /* Object__table */ typedef xdc_Ptr CT__ti_sysbios_knl_Swi_Object__table; extern far const CT__ti_sysbios_knl_Swi_Object__table ti_sysbios_knl_Swi_Object__table__C; /* LM_begin */ typedef xdc_runtime_Log_Event CT__ti_sysbios_knl_Swi_LM_begin; extern far const CT__ti_sysbios_knl_Swi_LM_begin ti_sysbios_knl_Swi_LM_begin__C; /* LD_end */ typedef xdc_runtime_Log_Event CT__ti_sysbios_knl_Swi_LD_end; extern far const CT__ti_sysbios_knl_Swi_LD_end ti_sysbios_knl_Swi_LD_end__C; /* LM_post */ typedef xdc_runtime_Log_Event CT__ti_sysbios_knl_Swi_LM_post; extern far const CT__ti_sysbios_knl_Swi_LM_post ti_sysbios_knl_Swi_LM_post__C; /* A_swiDisabled */ typedef xdc_runtime_Assert_Id CT__ti_sysbios_knl_Swi_A_swiDisabled; extern far const CT__ti_sysbios_knl_Swi_A_swiDisabled ti_sysbios_knl_Swi_A_swiDisabled__C; /* A_badPriority */ typedef xdc_runtime_Assert_Id CT__ti_sysbios_knl_Swi_A_badPriority; extern far const CT__ti_sysbios_knl_Swi_A_badPriority ti_sysbios_knl_Swi_A_badPriority__C; /* numPriorities */ typedef xdc_UInt CT__ti_sysbios_knl_Swi_numPriorities; extern far const CT__ti_sysbios_knl_Swi_numPriorities ti_sysbios_knl_Swi_numPriorities__C; /* hooks */ 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 struct { int length; ti_sysbios_knl_Swi_HookSet const *elem; } CARRAY1_ti_sysbios_knl_Swi_hooks; typedef CARRAY1_ti_sysbios_knl_Swi_hooks __TA_ti_sysbios_knl_Swi_hooks; typedef CARRAY1_ti_sysbios_knl_Swi_hooks CT__ti_sysbios_knl_Swi_hooks; extern far const CT__ti_sysbios_knl_Swi_hooks ti_sysbios_knl_Swi_hooks__C; /* taskDisable */ typedef xdc_UInt (*CT__ti_sysbios_knl_Swi_taskDisable)(void); extern far const CT__ti_sysbios_knl_Swi_taskDisable ti_sysbios_knl_Swi_taskDisable__C; /* taskRestore */ typedef void (*CT__ti_sysbios_knl_Swi_taskRestore)(xdc_UInt arg1); extern far const CT__ti_sysbios_knl_Swi_taskRestore ti_sysbios_knl_Swi_taskRestore__C; /* numConstructedSwis */ typedef xdc_UInt CT__ti_sysbios_knl_Swi_numConstructedSwis; extern far const CT__ti_sysbios_knl_Swi_numConstructedSwis ti_sysbios_knl_Swi_numConstructedSwis__C; /* * ======== PER-INSTANCE TYPES ======== */ /* Params */ 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 */ 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; }; /* * ======== FUNCTION DECLARATIONS ======== */ /* Module_startup */ extern xdc_Int ti_sysbios_knl_Swi_Module_startup__E( xdc_Int state ); extern xdc_Int ti_sysbios_knl_Swi_Module_startup__F( xdc_Int state ); /* Instance_init__E */ extern xdc_Int ti_sysbios_knl_Swi_Instance_init__E(ti_sysbios_knl_Swi_Object *obj, ti_sysbios_knl_Swi_FuncPtr swiFxn, const ti_sysbios_knl_Swi_Params *prms, xdc_runtime_Error_Block *eb); /* Instance_finalize__E */ extern void ti_sysbios_knl_Swi_Instance_finalize__E(ti_sysbios_knl_Swi_Object *obj, int ec); /* create */ extern ti_sysbios_knl_Swi_Handle ti_sysbios_knl_Swi_create( ti_sysbios_knl_Swi_FuncPtr swiFxn, const ti_sysbios_knl_Swi_Params *prms, xdc_runtime_Error_Block *eb); /* construct */ extern void ti_sysbios_knl_Swi_construct(ti_sysbios_knl_Swi_Struct *obj, ti_sysbios_knl_Swi_FuncPtr swiFxn, const ti_sysbios_knl_Swi_Params *prms, xdc_runtime_Error_Block *eb); /* delete */ extern void ti_sysbios_knl_Swi_delete(ti_sysbios_knl_Swi_Handle *instp); /* destruct */ extern void ti_sysbios_knl_Swi_destruct(ti_sysbios_knl_Swi_Struct *obj); /* Handle__label__S */ extern xdc_runtime_Types_Label *ti_sysbios_knl_Swi_Handle__label__S( xdc_Ptr obj, xdc_runtime_Types_Label *lab ); /* Module__startupDone__S */ extern xdc_Bool ti_sysbios_knl_Swi_Module__startupDone__S( void ); /* Object__create__S */ extern xdc_Ptr ti_sysbios_knl_Swi_Object__create__S( xdc_CPtr aa, const xdc_UChar *pa, xdc_SizeT psz, xdc_runtime_Error_Block *eb ); /* Object__delete__S */ extern void ti_sysbios_knl_Swi_Object__delete__S( xdc_Ptr instp ); /* Object__get__S */ extern xdc_Ptr ti_sysbios_knl_Swi_Object__get__S( xdc_Ptr oarr, xdc_Int i ); /* Object__first__S */ extern xdc_Ptr ti_sysbios_knl_Swi_Object__first__S( void ); /* Object__next__S */ extern xdc_Ptr ti_sysbios_knl_Swi_Object__next__S( xdc_Ptr obj ); /* Params__init__S */ extern void ti_sysbios_knl_Swi_Params__init__S( xdc_Ptr dst, const void *src, xdc_SizeT psz, xdc_SizeT isz ); /* construct2__E */ extern ti_sysbios_knl_Swi_Handle ti_sysbios_knl_Swi_construct2__E( ti_sysbios_knl_Swi_Struct2 *swi, ti_sysbios_knl_Swi_FuncPtr swiFxn, const ti_sysbios_knl_Swi_Params *prms ); /* startup__E */ extern void ti_sysbios_knl_Swi_startup__E( void ); /* enabled__E */ extern xdc_Bool ti_sysbios_knl_Swi_enabled__E( void ); /* unlockSched__E */ extern void ti_sysbios_knl_Swi_unlockSched__E( void ); /* disable__E */ extern xdc_UInt ti_sysbios_knl_Swi_disable__E( void ); /* enable__E */ extern void ti_sysbios_knl_Swi_enable__E( void ); /* restore__E */ extern void ti_sysbios_knl_Swi_restore__E( xdc_UInt key ); /* restoreHwi__E */ extern void ti_sysbios_knl_Swi_restoreHwi__E( xdc_UInt key ); /* self__E */ extern ti_sysbios_knl_Swi_Handle ti_sysbios_knl_Swi_self__E( void ); /* getTrigger__E */ extern xdc_UInt ti_sysbios_knl_Swi_getTrigger__E( void ); /* raisePri__E */ extern xdc_UInt ti_sysbios_knl_Swi_raisePri__E( xdc_UInt priority ); /* restorePri__E */ extern void ti_sysbios_knl_Swi_restorePri__E( xdc_UInt key ); /* andn__E */ extern void ti_sysbios_knl_Swi_andn__E( ti_sysbios_knl_Swi_Handle __inst, xdc_UInt mask ); /* dec__E */ extern void ti_sysbios_knl_Swi_dec__E( ti_sysbios_knl_Swi_Handle __inst ); /* getHookContext__E */ extern xdc_Ptr ti_sysbios_knl_Swi_getHookContext__E( ti_sysbios_knl_Swi_Handle __inst, xdc_Int id ); /* setHookContext__E */ extern void ti_sysbios_knl_Swi_setHookContext__E( ti_sysbios_knl_Swi_Handle __inst, xdc_Int id, xdc_Ptr hookContext ); /* getPri__E */ extern xdc_UInt ti_sysbios_knl_Swi_getPri__E( ti_sysbios_knl_Swi_Handle __inst ); /* getFunc__E */ extern ti_sysbios_knl_Swi_FuncPtr ti_sysbios_knl_Swi_getFunc__E( ti_sysbios_knl_Swi_Handle __inst, xdc_UArg *arg0, xdc_UArg *arg1 ); /* getAttrs__E */ extern void ti_sysbios_knl_Swi_getAttrs__E( ti_sysbios_knl_Swi_Handle __inst, ti_sysbios_knl_Swi_FuncPtr *swiFxn, ti_sysbios_knl_Swi_Params *params ); /* setAttrs__E */ extern void ti_sysbios_knl_Swi_setAttrs__E( ti_sysbios_knl_Swi_Handle __inst, ti_sysbios_knl_Swi_FuncPtr swiFxn, ti_sysbios_knl_Swi_Params *params ); /* setPri__E */ extern void ti_sysbios_knl_Swi_setPri__E( ti_sysbios_knl_Swi_Handle __inst, xdc_UInt priority ); /* inc__E */ extern void ti_sysbios_knl_Swi_inc__E( ti_sysbios_knl_Swi_Handle __inst ); /* or__E */ extern void ti_sysbios_knl_Swi_or__E( ti_sysbios_knl_Swi_Handle __inst, xdc_UInt mask ); /* post__E */ extern void ti_sysbios_knl_Swi_post__E( ti_sysbios_knl_Swi_Handle __inst ); /* schedule__I */ extern void ti_sysbios_knl_Swi_schedule__I( void ); /* runLoop__I */ extern void ti_sysbios_knl_Swi_runLoop__I( void ); /* run__I */ extern void ti_sysbios_knl_Swi_run__I( ti_sysbios_knl_Swi_Object *swi ); /* postInit__I */ extern xdc_Int ti_sysbios_knl_Swi_postInit__I( ti_sysbios_knl_Swi_Object *swi, xdc_runtime_Error_Block *eb ); /* restoreSMP__I */ extern void ti_sysbios_knl_Swi_restoreSMP__I( void ); /* * ======== SYSTEM FUNCTIONS ======== */ /* Module_startupDone */ /* Object_heap */ /* Module_heap */ /* Module_id */ static inline CT__ti_sysbios_knl_Swi_Module__id ti_sysbios_knl_Swi_Module_id(void); static inline CT__ti_sysbios_knl_Swi_Module__id ti_sysbios_knl_Swi_Module_id( void ) { return ti_sysbios_knl_Swi_Module__id__C; } /* Module_hasMask */ static inline xdc_Bool ti_sysbios_knl_Swi_Module_hasMask(void); static inline xdc_Bool ti_sysbios_knl_Swi_Module_hasMask(void) { return (xdc_Bool)(ti_sysbios_knl_Swi_Module__diagsMask__C != (CT__ti_sysbios_knl_Swi_Module__diagsMask)0); } /* Module_getMask */ static inline xdc_Bits16 ti_sysbios_knl_Swi_Module_getMask(void); static inline xdc_Bits16 ti_sysbios_knl_Swi_Module_getMask(void) { return (ti_sysbios_knl_Swi_Module__diagsMask__C != (CT__ti_sysbios_knl_Swi_Module__diagsMask)0) ? *ti_sysbios_knl_Swi_Module__diagsMask__C : (xdc_Bits16)0; } /* Module_setMask */ static inline void ti_sysbios_knl_Swi_Module_setMask(xdc_Bits16 mask); static inline void ti_sysbios_knl_Swi_Module_setMask(xdc_Bits16 mask) { if (ti_sysbios_knl_Swi_Module__diagsMask__C != (CT__ti_sysbios_knl_Swi_Module__diagsMask)0) { *ti_sysbios_knl_Swi_Module__diagsMask__C = mask; } } /* Params_init */ static inline void ti_sysbios_knl_Swi_Params_init(ti_sysbios_knl_Swi_Params *prms); static inline void ti_sysbios_knl_Swi_Params_init( ti_sysbios_knl_Swi_Params *prms ) { if (prms != 0) { ti_sysbios_knl_Swi_Params__init__S(prms, 0, sizeof(ti_sysbios_knl_Swi_Params), sizeof(xdc_runtime_IInstance_Params)); } } /* Params_copy */ static inline void ti_sysbios_knl_Swi_Params_copy(ti_sysbios_knl_Swi_Params *dst, const ti_sysbios_knl_Swi_Params *src); static inline void ti_sysbios_knl_Swi_Params_copy(ti_sysbios_knl_Swi_Params *dst, const ti_sysbios_knl_Swi_Params *src) { if (dst != 0) { ti_sysbios_knl_Swi_Params__init__S(dst, (const void *)src, sizeof(ti_sysbios_knl_Swi_Params), sizeof(xdc_runtime_IInstance_Params)); } } /* Object_count */ /* Object_sizeof */ /* Object_get */ static inline ti_sysbios_knl_Swi_Handle ti_sysbios_knl_Swi_Object_get(ti_sysbios_knl_Swi_Instance_State *oarr, int i); 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); } /* Object_first */ static inline ti_sysbios_knl_Swi_Handle ti_sysbios_knl_Swi_Object_first(void); 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(); } /* Object_next */ static inline ti_sysbios_knl_Swi_Handle ti_sysbios_knl_Swi_Object_next(ti_sysbios_knl_Swi_Object *obj); 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); } /* Handle_label */ static inline xdc_runtime_Types_Label *ti_sysbios_knl_Swi_Handle_label(ti_sysbios_knl_Swi_Handle inst, xdc_runtime_Types_Label *lab); 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); } /* Handle_name */ static inline xdc_String ti_sysbios_knl_Swi_Handle_name(ti_sysbios_knl_Swi_Handle inst); static inline xdc_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; } /* handle */ static inline ti_sysbios_knl_Swi_Handle ti_sysbios_knl_Swi_handle(ti_sysbios_knl_Swi_Struct *str); 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; } /* struct */ static inline ti_sysbios_knl_Swi_Struct *ti_sysbios_knl_Swi_struct(ti_sysbios_knl_Swi_Handle inst); 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; } /* * ======== EPILOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E00 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * CREATE ARGS * MODULE-WIDE CONFIGS * PER-INSTANCE TYPES * VIRTUAL FUNCTIONS * FUNCTION DECLARATIONS * CONVERTORS * SYSTEM FUNCTIONS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== INCLUDES ======== */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * PER-INSTANCE TYPES * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:29; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E00 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * CREATE ARGS * PER-INSTANCE TYPES * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * ======== AUXILIARY DEFINITIONS ======== */ /* FuncPtr */ typedef ti_sysbios_interfaces_ITimer_FuncPtr ti_sysbios_knl_Clock_TimerProxy_FuncPtr; /* ANY */ /* StartMode */ typedef ti_sysbios_interfaces_ITimer_StartMode ti_sysbios_knl_Clock_TimerProxy_StartMode; /* RunMode */ typedef ti_sysbios_interfaces_ITimer_RunMode ti_sysbios_knl_Clock_TimerProxy_RunMode; /* Status */ typedef ti_sysbios_interfaces_ITimer_Status ti_sysbios_knl_Clock_TimerProxy_Status; /* PeriodType */ typedef ti_sysbios_interfaces_ITimer_PeriodType ti_sysbios_knl_Clock_TimerProxy_PeriodType; /* * ======== CREATE ARGS ======== */ /* Args__create */ typedef struct ti_sysbios_knl_Clock_TimerProxy_Args__create { xdc_Int id; ti_sysbios_interfaces_ITimer_FuncPtr tickFxn; } ti_sysbios_knl_Clock_TimerProxy_Args__create; /* * ======== MODULE-WIDE CONFIGS ======== */ /* Module__diagsEnabled */ typedef xdc_Bits32 CT__ti_sysbios_knl_Clock_TimerProxy_Module__diagsEnabled; extern far const CT__ti_sysbios_knl_Clock_TimerProxy_Module__diagsEnabled ti_sysbios_knl_Clock_TimerProxy_Module__diagsEnabled__C; /* Module__diagsIncluded */ typedef xdc_Bits32 CT__ti_sysbios_knl_Clock_TimerProxy_Module__diagsIncluded; extern far const CT__ti_sysbios_knl_Clock_TimerProxy_Module__diagsIncluded ti_sysbios_knl_Clock_TimerProxy_Module__diagsIncluded__C; /* Module__diagsMask */ typedef xdc_Bits16 *CT__ti_sysbios_knl_Clock_TimerProxy_Module__diagsMask; extern far const CT__ti_sysbios_knl_Clock_TimerProxy_Module__diagsMask ti_sysbios_knl_Clock_TimerProxy_Module__diagsMask__C; /* Module__gateObj */ typedef xdc_Ptr CT__ti_sysbios_knl_Clock_TimerProxy_Module__gateObj; extern far const CT__ti_sysbios_knl_Clock_TimerProxy_Module__gateObj ti_sysbios_knl_Clock_TimerProxy_Module__gateObj__C; /* Module__gatePrms */ typedef xdc_Ptr CT__ti_sysbios_knl_Clock_TimerProxy_Module__gatePrms; extern far const CT__ti_sysbios_knl_Clock_TimerProxy_Module__gatePrms ti_sysbios_knl_Clock_TimerProxy_Module__gatePrms__C; /* Module__id */ typedef xdc_runtime_Types_ModuleId CT__ti_sysbios_knl_Clock_TimerProxy_Module__id; extern far const CT__ti_sysbios_knl_Clock_TimerProxy_Module__id ti_sysbios_knl_Clock_TimerProxy_Module__id__C; /* Module__loggerDefined */ typedef xdc_Bool CT__ti_sysbios_knl_Clock_TimerProxy_Module__loggerDefined; extern far const CT__ti_sysbios_knl_Clock_TimerProxy_Module__loggerDefined ti_sysbios_knl_Clock_TimerProxy_Module__loggerDefined__C; /* Module__loggerObj */ typedef xdc_Ptr CT__ti_sysbios_knl_Clock_TimerProxy_Module__loggerObj; extern far const CT__ti_sysbios_knl_Clock_TimerProxy_Module__loggerObj ti_sysbios_knl_Clock_TimerProxy_Module__loggerObj__C; /* Module__loggerFxn0 */ typedef xdc_runtime_Types_LoggerFxn0 CT__ti_sysbios_knl_Clock_TimerProxy_Module__loggerFxn0; extern far const CT__ti_sysbios_knl_Clock_TimerProxy_Module__loggerFxn0 ti_sysbios_knl_Clock_TimerProxy_Module__loggerFxn0__C; /* Module__loggerFxn1 */ typedef xdc_runtime_Types_LoggerFxn1 CT__ti_sysbios_knl_Clock_TimerProxy_Module__loggerFxn1; extern far const CT__ti_sysbios_knl_Clock_TimerProxy_Module__loggerFxn1 ti_sysbios_knl_Clock_TimerProxy_Module__loggerFxn1__C; /* Module__loggerFxn2 */ typedef xdc_runtime_Types_LoggerFxn2 CT__ti_sysbios_knl_Clock_TimerProxy_Module__loggerFxn2; extern far const CT__ti_sysbios_knl_Clock_TimerProxy_Module__loggerFxn2 ti_sysbios_knl_Clock_TimerProxy_Module__loggerFxn2__C; /* Module__loggerFxn4 */ typedef xdc_runtime_Types_LoggerFxn4 CT__ti_sysbios_knl_Clock_TimerProxy_Module__loggerFxn4; extern far const CT__ti_sysbios_knl_Clock_TimerProxy_Module__loggerFxn4 ti_sysbios_knl_Clock_TimerProxy_Module__loggerFxn4__C; /* Module__loggerFxn8 */ typedef xdc_runtime_Types_LoggerFxn8 CT__ti_sysbios_knl_Clock_TimerProxy_Module__loggerFxn8; extern far const CT__ti_sysbios_knl_Clock_TimerProxy_Module__loggerFxn8 ti_sysbios_knl_Clock_TimerProxy_Module__loggerFxn8__C; /* Object__count */ typedef xdc_Int CT__ti_sysbios_knl_Clock_TimerProxy_Object__count; extern far const CT__ti_sysbios_knl_Clock_TimerProxy_Object__count ti_sysbios_knl_Clock_TimerProxy_Object__count__C; /* Object__heap */ typedef xdc_runtime_IHeap_Handle CT__ti_sysbios_knl_Clock_TimerProxy_Object__heap; extern far const CT__ti_sysbios_knl_Clock_TimerProxy_Object__heap ti_sysbios_knl_Clock_TimerProxy_Object__heap__C; /* Object__sizeof */ typedef xdc_SizeT CT__ti_sysbios_knl_Clock_TimerProxy_Object__sizeof; extern far const CT__ti_sysbios_knl_Clock_TimerProxy_Object__sizeof ti_sysbios_knl_Clock_TimerProxy_Object__sizeof__C; /* Object__table */ typedef xdc_Ptr CT__ti_sysbios_knl_Clock_TimerProxy_Object__table; extern far const CT__ti_sysbios_knl_Clock_TimerProxy_Object__table ti_sysbios_knl_Clock_TimerProxy_Object__table__C; /* * ======== PER-INSTANCE TYPES ======== */ /* Params */ struct ti_sysbios_knl_Clock_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 */ struct ti_sysbios_knl_Clock_TimerProxy_Struct { const ti_sysbios_knl_Clock_TimerProxy_Fxns__ *__fxns; xdc_runtime_Types_CordAddr __name; }; /* * ======== VIRTUAL FUNCTIONS ======== */ /* Fxns__ */ struct ti_sysbios_knl_Clock_TimerProxy_Fxns__ { const xdc_runtime_Types_Base* __base; const xdc_runtime_Types_SysFxns2* __sysp; xdc_UInt (*getNumTimers)(void); ti_sysbios_interfaces_ITimer_Status (*getStatus)(xdc_UInt id); void (*startup)(void); xdc_UInt32 (*getMaxTicks)(ti_sysbios_knl_Clock_TimerProxy_Handle inst); void (*setNextTick)(ti_sysbios_knl_Clock_TimerProxy_Handle inst, xdc_UInt32 ticks); void (*start)(ti_sysbios_knl_Clock_TimerProxy_Handle inst); void (*stop)(ti_sysbios_knl_Clock_TimerProxy_Handle inst); void (*setPeriod)(ti_sysbios_knl_Clock_TimerProxy_Handle inst, xdc_UInt32 period); xdc_Bool (*setPeriodMicroSecs)(ti_sysbios_knl_Clock_TimerProxy_Handle inst, xdc_UInt32 microsecs); xdc_UInt32 (*getPeriod)(ti_sysbios_knl_Clock_TimerProxy_Handle inst); xdc_UInt32 (*getCount)(ti_sysbios_knl_Clock_TimerProxy_Handle inst); void (*getFreq)(ti_sysbios_knl_Clock_TimerProxy_Handle inst, xdc_runtime_Types_FreqHz* freq); ti_sysbios_interfaces_ITimer_FuncPtr (*getFunc)(ti_sysbios_knl_Clock_TimerProxy_Handle inst, xdc_UArg* arg); void (*setFunc)(ti_sysbios_knl_Clock_TimerProxy_Handle inst, ti_sysbios_interfaces_ITimer_FuncPtr fxn, xdc_UArg arg); void (*trigger)(ti_sysbios_knl_Clock_TimerProxy_Handle inst, xdc_UInt32 cycles); xdc_UInt32 (*getExpiredCounts)(ti_sysbios_knl_Clock_TimerProxy_Handle inst); xdc_UInt32 (*getExpiredTicks)(ti_sysbios_knl_Clock_TimerProxy_Handle inst, xdc_UInt32 tickPeriod); xdc_UInt32 (*getCurrentTick)(ti_sysbios_knl_Clock_TimerProxy_Handle inst, xdc_Bool save); xdc_runtime_Types_SysFxns2 __sfxns; }; /* Module__FXNS__C */ extern const ti_sysbios_knl_Clock_TimerProxy_Fxns__ ti_sysbios_knl_Clock_TimerProxy_Module__FXNS__C; /* * ======== FUNCTION DECLARATIONS ======== */ /* Module_startup */ /* create */ extern ti_sysbios_knl_Clock_TimerProxy_Handle ti_sysbios_knl_Clock_TimerProxy_create( xdc_Int id, ti_sysbios_interfaces_ITimer_FuncPtr tickFxn, const ti_sysbios_knl_Clock_TimerProxy_Params *prms, xdc_runtime_Error_Block *eb); /* delete */ extern void ti_sysbios_knl_Clock_TimerProxy_delete(ti_sysbios_knl_Clock_TimerProxy_Handle *instp); /* Handle__label__S */ extern xdc_runtime_Types_Label *ti_sysbios_knl_Clock_TimerProxy_Handle__label__S( xdc_Ptr obj, xdc_runtime_Types_Label *lab ); /* Module__startupDone__S */ extern xdc_Bool ti_sysbios_knl_Clock_TimerProxy_Module__startupDone__S( void ); /* Object__get__S */ extern xdc_Ptr ti_sysbios_knl_Clock_TimerProxy_Object__get__S( xdc_Ptr oarr, xdc_Int i ); /* Object__first__S */ extern xdc_Ptr ti_sysbios_knl_Clock_TimerProxy_Object__first__S( void ); /* Object__next__S */ extern xdc_Ptr ti_sysbios_knl_Clock_TimerProxy_Object__next__S( xdc_Ptr obj ); /* Params__init__S */ extern void ti_sysbios_knl_Clock_TimerProxy_Params__init__S( xdc_Ptr dst, const void *src, xdc_SizeT psz, xdc_SizeT isz ); /* Proxy__abstract__S */ extern xdc_Bool ti_sysbios_knl_Clock_TimerProxy_Proxy__abstract__S( void ); /* Proxy__delegate__S */ extern xdc_CPtr ti_sysbios_knl_Clock_TimerProxy_Proxy__delegate__S( void ); /* getNumTimers__E */ extern xdc_UInt ti_sysbios_knl_Clock_TimerProxy_getNumTimers__E( void ); /* getStatus__E */ extern ti_sysbios_interfaces_ITimer_Status ti_sysbios_knl_Clock_TimerProxy_getStatus__E( xdc_UInt id ); /* startup__E */ extern void ti_sysbios_knl_Clock_TimerProxy_startup__E( void ); /* getMaxTicks__E */ extern xdc_UInt32 ti_sysbios_knl_Clock_TimerProxy_getMaxTicks__E( ti_sysbios_knl_Clock_TimerProxy_Handle __inst ); /* setNextTick__E */ extern void ti_sysbios_knl_Clock_TimerProxy_setNextTick__E( ti_sysbios_knl_Clock_TimerProxy_Handle __inst, xdc_UInt32 ticks ); /* start__E */ extern void ti_sysbios_knl_Clock_TimerProxy_start__E( ti_sysbios_knl_Clock_TimerProxy_Handle __inst ); /* stop__E */ extern void ti_sysbios_knl_Clock_TimerProxy_stop__E( ti_sysbios_knl_Clock_TimerProxy_Handle __inst ); /* setPeriod__E */ extern void ti_sysbios_knl_Clock_TimerProxy_setPeriod__E( ti_sysbios_knl_Clock_TimerProxy_Handle __inst, xdc_UInt32 period ); /* setPeriodMicroSecs__E */ extern xdc_Bool ti_sysbios_knl_Clock_TimerProxy_setPeriodMicroSecs__E( ti_sysbios_knl_Clock_TimerProxy_Handle __inst, xdc_UInt32 microsecs ); /* getPeriod__E */ extern xdc_UInt32 ti_sysbios_knl_Clock_TimerProxy_getPeriod__E( ti_sysbios_knl_Clock_TimerProxy_Handle __inst ); /* getCount__E */ extern xdc_UInt32 ti_sysbios_knl_Clock_TimerProxy_getCount__E( ti_sysbios_knl_Clock_TimerProxy_Handle __inst ); /* getFreq__E */ extern void ti_sysbios_knl_Clock_TimerProxy_getFreq__E( ti_sysbios_knl_Clock_TimerProxy_Handle __inst, xdc_runtime_Types_FreqHz *freq ); /* getFunc__E */ extern ti_sysbios_interfaces_ITimer_FuncPtr ti_sysbios_knl_Clock_TimerProxy_getFunc__E( ti_sysbios_knl_Clock_TimerProxy_Handle __inst, xdc_UArg *arg ); /* setFunc__E */ extern void ti_sysbios_knl_Clock_TimerProxy_setFunc__E( ti_sysbios_knl_Clock_TimerProxy_Handle __inst, ti_sysbios_interfaces_ITimer_FuncPtr fxn, xdc_UArg arg ); /* trigger__E */ extern void ti_sysbios_knl_Clock_TimerProxy_trigger__E( ti_sysbios_knl_Clock_TimerProxy_Handle __inst, xdc_UInt32 cycles ); /* getExpiredCounts__E */ extern xdc_UInt32 ti_sysbios_knl_Clock_TimerProxy_getExpiredCounts__E( ti_sysbios_knl_Clock_TimerProxy_Handle __inst ); /* getExpiredTicks__E */ extern xdc_UInt32 ti_sysbios_knl_Clock_TimerProxy_getExpiredTicks__E( ti_sysbios_knl_Clock_TimerProxy_Handle __inst, xdc_UInt32 tickPeriod ); /* getCurrentTick__E */ extern xdc_UInt32 ti_sysbios_knl_Clock_TimerProxy_getCurrentTick__E( ti_sysbios_knl_Clock_TimerProxy_Handle __inst, xdc_Bool save ); /* * ======== CONVERTORS ======== */ /* Module_upCast */ static inline ti_sysbios_interfaces_ITimer_Module ti_sysbios_knl_Clock_TimerProxy_Module_upCast(void); static inline ti_sysbios_interfaces_ITimer_Module ti_sysbios_knl_Clock_TimerProxy_Module_upCast(void) { return (ti_sysbios_interfaces_ITimer_Module)ti_sysbios_knl_Clock_TimerProxy_Proxy__delegate__S(); } /* Module_to_ti_sysbios_interfaces_ITimer */ /* Handle_upCast */ static inline ti_sysbios_interfaces_ITimer_Handle ti_sysbios_knl_Clock_TimerProxy_Handle_upCast(ti_sysbios_knl_Clock_TimerProxy_Handle i); static inline ti_sysbios_interfaces_ITimer_Handle ti_sysbios_knl_Clock_TimerProxy_Handle_upCast(ti_sysbios_knl_Clock_TimerProxy_Handle i) { return (ti_sysbios_interfaces_ITimer_Handle)i; } /* Handle_to_ti_sysbios_interfaces_ITimer */ /* Handle_downCast */ static inline ti_sysbios_knl_Clock_TimerProxy_Handle ti_sysbios_knl_Clock_TimerProxy_Handle_downCast(ti_sysbios_interfaces_ITimer_Handle i); static inline ti_sysbios_knl_Clock_TimerProxy_Handle ti_sysbios_knl_Clock_TimerProxy_Handle_downCast(ti_sysbios_interfaces_ITimer_Handle i) { ti_sysbios_interfaces_ITimer_Handle i2 = (ti_sysbios_interfaces_ITimer_Handle)i; if (ti_sysbios_knl_Clock_TimerProxy_Proxy__abstract__S()) { return (ti_sysbios_knl_Clock_TimerProxy_Handle)i; } return ((const void*)i2->__fxns == (const void*)ti_sysbios_knl_Clock_TimerProxy_Proxy__delegate__S()) ? (ti_sysbios_knl_Clock_TimerProxy_Handle)i : (ti_sysbios_knl_Clock_TimerProxy_Handle)0; } /* Handle_from_ti_sysbios_interfaces_ITimer */ /* * ======== SYSTEM FUNCTIONS ======== */ /* Module_startupDone */ /* Object_heap */ /* Module_heap */ /* Module_id */ static inline CT__ti_sysbios_knl_Clock_TimerProxy_Module__id ti_sysbios_knl_Clock_TimerProxy_Module_id(void); static inline CT__ti_sysbios_knl_Clock_TimerProxy_Module__id ti_sysbios_knl_Clock_TimerProxy_Module_id( void ) { return ti_sysbios_knl_Clock_TimerProxy_Module__id__C; } /* Proxy_abstract */ /* Proxy_delegate */ /* Params_init */ static inline void ti_sysbios_knl_Clock_TimerProxy_Params_init(ti_sysbios_knl_Clock_TimerProxy_Params *prms); static inline void ti_sysbios_knl_Clock_TimerProxy_Params_init( ti_sysbios_knl_Clock_TimerProxy_Params *prms ) { if (prms != 0) { ti_sysbios_knl_Clock_TimerProxy_Params__init__S(prms, 0, sizeof(ti_sysbios_knl_Clock_TimerProxy_Params), sizeof(xdc_runtime_IInstance_Params)); } } /* Params_copy */ static inline void ti_sysbios_knl_Clock_TimerProxy_Params_copy(ti_sysbios_knl_Clock_TimerProxy_Params *dst, const ti_sysbios_knl_Clock_TimerProxy_Params *src); static inline void ti_sysbios_knl_Clock_TimerProxy_Params_copy(ti_sysbios_knl_Clock_TimerProxy_Params *dst, const ti_sysbios_knl_Clock_TimerProxy_Params *src) { if (dst != 0) { ti_sysbios_knl_Clock_TimerProxy_Params__init__S(dst, (const void *)src, sizeof(ti_sysbios_knl_Clock_TimerProxy_Params), sizeof(xdc_runtime_IInstance_Params)); } } /* * ======== EPILOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * ======== AUXILIARY DEFINITIONS ======== */ /* TickSource */ 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; /* TickMode */ 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; /* FuncPtr */ typedef void (*ti_sysbios_knl_Clock_FuncPtr)(xdc_UArg arg1); /* * ======== CREATE ARGS ======== */ /* Args__create */ typedef struct ti_sysbios_knl_Clock_Args__create { ti_sysbios_knl_Clock_FuncPtr clockFxn; xdc_UInt timeout; } ti_sysbios_knl_Clock_Args__create; /* * ======== INTERNAL DEFINITIONS ======== */ /* * ======== MODULE-WIDE CONFIGS ======== */ /* Module__diagsEnabled */ typedef xdc_Bits32 CT__ti_sysbios_knl_Clock_Module__diagsEnabled; extern far const CT__ti_sysbios_knl_Clock_Module__diagsEnabled ti_sysbios_knl_Clock_Module__diagsEnabled__C; /* Module__diagsIncluded */ typedef xdc_Bits32 CT__ti_sysbios_knl_Clock_Module__diagsIncluded; extern far const CT__ti_sysbios_knl_Clock_Module__diagsIncluded ti_sysbios_knl_Clock_Module__diagsIncluded__C; /* Module__diagsMask */ typedef xdc_Bits16 *CT__ti_sysbios_knl_Clock_Module__diagsMask; extern far const CT__ti_sysbios_knl_Clock_Module__diagsMask ti_sysbios_knl_Clock_Module__diagsMask__C; /* Module__gateObj */ typedef xdc_Ptr CT__ti_sysbios_knl_Clock_Module__gateObj; extern far const CT__ti_sysbios_knl_Clock_Module__gateObj ti_sysbios_knl_Clock_Module__gateObj__C; /* Module__gatePrms */ typedef xdc_Ptr CT__ti_sysbios_knl_Clock_Module__gatePrms; extern far const CT__ti_sysbios_knl_Clock_Module__gatePrms ti_sysbios_knl_Clock_Module__gatePrms__C; /* Module__id */ typedef xdc_runtime_Types_ModuleId CT__ti_sysbios_knl_Clock_Module__id; extern far const CT__ti_sysbios_knl_Clock_Module__id ti_sysbios_knl_Clock_Module__id__C; /* Module__loggerDefined */ typedef xdc_Bool CT__ti_sysbios_knl_Clock_Module__loggerDefined; extern far const CT__ti_sysbios_knl_Clock_Module__loggerDefined ti_sysbios_knl_Clock_Module__loggerDefined__C; /* Module__loggerObj */ typedef xdc_Ptr CT__ti_sysbios_knl_Clock_Module__loggerObj; extern far const CT__ti_sysbios_knl_Clock_Module__loggerObj ti_sysbios_knl_Clock_Module__loggerObj__C; /* Module__loggerFxn0 */ typedef xdc_runtime_Types_LoggerFxn0 CT__ti_sysbios_knl_Clock_Module__loggerFxn0; extern far const CT__ti_sysbios_knl_Clock_Module__loggerFxn0 ti_sysbios_knl_Clock_Module__loggerFxn0__C; /* Module__loggerFxn1 */ typedef xdc_runtime_Types_LoggerFxn1 CT__ti_sysbios_knl_Clock_Module__loggerFxn1; extern far const CT__ti_sysbios_knl_Clock_Module__loggerFxn1 ti_sysbios_knl_Clock_Module__loggerFxn1__C; /* Module__loggerFxn2 */ typedef xdc_runtime_Types_LoggerFxn2 CT__ti_sysbios_knl_Clock_Module__loggerFxn2; extern far const CT__ti_sysbios_knl_Clock_Module__loggerFxn2 ti_sysbios_knl_Clock_Module__loggerFxn2__C; /* Module__loggerFxn4 */ typedef xdc_runtime_Types_LoggerFxn4 CT__ti_sysbios_knl_Clock_Module__loggerFxn4; extern far const CT__ti_sysbios_knl_Clock_Module__loggerFxn4 ti_sysbios_knl_Clock_Module__loggerFxn4__C; /* Module__loggerFxn8 */ typedef xdc_runtime_Types_LoggerFxn8 CT__ti_sysbios_knl_Clock_Module__loggerFxn8; extern far const CT__ti_sysbios_knl_Clock_Module__loggerFxn8 ti_sysbios_knl_Clock_Module__loggerFxn8__C; /* Object__count */ typedef xdc_Int CT__ti_sysbios_knl_Clock_Object__count; extern far const CT__ti_sysbios_knl_Clock_Object__count ti_sysbios_knl_Clock_Object__count__C; /* Object__heap */ typedef xdc_runtime_IHeap_Handle CT__ti_sysbios_knl_Clock_Object__heap; extern far const CT__ti_sysbios_knl_Clock_Object__heap ti_sysbios_knl_Clock_Object__heap__C; /* Object__sizeof */ typedef xdc_SizeT CT__ti_sysbios_knl_Clock_Object__sizeof; extern far const CT__ti_sysbios_knl_Clock_Object__sizeof ti_sysbios_knl_Clock_Object__sizeof__C; /* Object__table */ typedef xdc_Ptr CT__ti_sysbios_knl_Clock_Object__table; extern far const CT__ti_sysbios_knl_Clock_Object__table ti_sysbios_knl_Clock_Object__table__C; /* LW_delayed */ typedef xdc_runtime_Log_Event CT__ti_sysbios_knl_Clock_LW_delayed; extern far const CT__ti_sysbios_knl_Clock_LW_delayed ti_sysbios_knl_Clock_LW_delayed__C; /* LM_tick */ typedef xdc_runtime_Log_Event CT__ti_sysbios_knl_Clock_LM_tick; extern far const CT__ti_sysbios_knl_Clock_LM_tick ti_sysbios_knl_Clock_LM_tick__C; /* LM_begin */ typedef xdc_runtime_Log_Event CT__ti_sysbios_knl_Clock_LM_begin; extern far const CT__ti_sysbios_knl_Clock_LM_begin ti_sysbios_knl_Clock_LM_begin__C; /* A_clockDisabled */ typedef xdc_runtime_Assert_Id CT__ti_sysbios_knl_Clock_A_clockDisabled; extern far const CT__ti_sysbios_knl_Clock_A_clockDisabled ti_sysbios_knl_Clock_A_clockDisabled__C; /* A_badThreadType */ typedef xdc_runtime_Assert_Id CT__ti_sysbios_knl_Clock_A_badThreadType; extern far const CT__ti_sysbios_knl_Clock_A_badThreadType ti_sysbios_knl_Clock_A_badThreadType__C; /* serviceMargin */ typedef xdc_UInt32 CT__ti_sysbios_knl_Clock_serviceMargin; extern far const CT__ti_sysbios_knl_Clock_serviceMargin ti_sysbios_knl_Clock_serviceMargin__C; /* tickSource */ typedef ti_sysbios_knl_Clock_TickSource CT__ti_sysbios_knl_Clock_tickSource; extern far const CT__ti_sysbios_knl_Clock_tickSource ti_sysbios_knl_Clock_tickSource__C; /* tickMode */ typedef ti_sysbios_knl_Clock_TickMode CT__ti_sysbios_knl_Clock_tickMode; extern far const CT__ti_sysbios_knl_Clock_tickMode ti_sysbios_knl_Clock_tickMode__C; /* timerId */ typedef xdc_UInt CT__ti_sysbios_knl_Clock_timerId; extern far const CT__ti_sysbios_knl_Clock_timerId ti_sysbios_knl_Clock_timerId__C; /* tickPeriod */ typedef xdc_UInt32 CT__ti_sysbios_knl_Clock_tickPeriod; extern far const CT__ti_sysbios_knl_Clock_tickPeriod ti_sysbios_knl_Clock_tickPeriod__C; /* doTickFunc */ typedef void (*CT__ti_sysbios_knl_Clock_doTickFunc)(xdc_UArg arg1); extern far const CT__ti_sysbios_knl_Clock_doTickFunc ti_sysbios_knl_Clock_doTickFunc__C; /* triggerClock */ typedef ti_sysbios_knl_Clock_Handle CT__ti_sysbios_knl_Clock_triggerClock; extern far const CT__ti_sysbios_knl_Clock_triggerClock ti_sysbios_knl_Clock_triggerClock__C; /* * ======== PER-INSTANCE TYPES ======== */ /* Params */ struct ti_sysbios_knl_Clock_Params { size_t __size; const void *__self; void *__fxns; xdc_runtime_IInstance_Params *instance; xdc_Bool startFlag; xdc_UInt32 period; xdc_UArg arg; xdc_runtime_IInstance_Params __iprms; }; /* Struct */ 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; }; /* * ======== FUNCTION DECLARATIONS ======== */ /* Module_startup */ extern xdc_Int ti_sysbios_knl_Clock_Module_startup__E( xdc_Int state ); extern xdc_Int ti_sysbios_knl_Clock_Module_startup__F( xdc_Int state ); /* Instance_init__E */ extern void ti_sysbios_knl_Clock_Instance_init__E(ti_sysbios_knl_Clock_Object *obj, ti_sysbios_knl_Clock_FuncPtr clockFxn, xdc_UInt timeout, const ti_sysbios_knl_Clock_Params *prms); /* Instance_finalize__E */ extern void ti_sysbios_knl_Clock_Instance_finalize__E(ti_sysbios_knl_Clock_Object *obj); /* create */ extern 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); /* construct */ extern 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); /* delete */ extern void ti_sysbios_knl_Clock_delete(ti_sysbios_knl_Clock_Handle *instp); /* destruct */ extern void ti_sysbios_knl_Clock_destruct(ti_sysbios_knl_Clock_Struct *obj); /* Handle__label__S */ extern xdc_runtime_Types_Label *ti_sysbios_knl_Clock_Handle__label__S( xdc_Ptr obj, xdc_runtime_Types_Label *lab ); /* Module__startupDone__S */ extern xdc_Bool ti_sysbios_knl_Clock_Module__startupDone__S( void ); /* Object__create__S */ extern xdc_Ptr ti_sysbios_knl_Clock_Object__create__S( xdc_CPtr aa, const xdc_UChar *pa, xdc_SizeT psz, xdc_runtime_Error_Block *eb ); /* Object__delete__S */ extern void ti_sysbios_knl_Clock_Object__delete__S( xdc_Ptr instp ); /* Object__get__S */ extern xdc_Ptr ti_sysbios_knl_Clock_Object__get__S( xdc_Ptr oarr, xdc_Int i ); /* Object__first__S */ extern xdc_Ptr ti_sysbios_knl_Clock_Object__first__S( void ); /* Object__next__S */ extern xdc_Ptr ti_sysbios_knl_Clock_Object__next__S( xdc_Ptr obj ); /* Params__init__S */ extern void ti_sysbios_knl_Clock_Params__init__S( xdc_Ptr dst, const void *src, xdc_SizeT psz, xdc_SizeT isz ); /* getTicks__E */ extern xdc_UInt32 ti_sysbios_knl_Clock_getTicks__E( void ); /* getTimerHandle__E */ extern ti_sysbios_knl_Clock_TimerProxy_Handle ti_sysbios_knl_Clock_getTimerHandle__E( void ); /* setTicks__E */ extern void ti_sysbios_knl_Clock_setTicks__E( xdc_UInt32 ticks ); /* tickStop__E */ extern void ti_sysbios_knl_Clock_tickStop__E( void ); /* tickReconfig__E */ extern xdc_Bool ti_sysbios_knl_Clock_tickReconfig__E( void ); /* tickStart__E */ extern void ti_sysbios_knl_Clock_tickStart__E( void ); /* tick__E */ extern void ti_sysbios_knl_Clock_tick__E( void ); /* workFunc__E */ extern void ti_sysbios_knl_Clock_workFunc__E( xdc_UArg arg0, xdc_UArg arg1 ); /* workFuncDynamic__E */ extern void ti_sysbios_knl_Clock_workFuncDynamic__E( xdc_UArg arg0, xdc_UArg arg1 ); /* logTick__E */ extern void ti_sysbios_knl_Clock_logTick__E( void ); /* getCompletedTicks__E */ extern xdc_UInt32 ti_sysbios_knl_Clock_getCompletedTicks__E( void ); /* getTickPeriod__E */ extern xdc_UInt32 ti_sysbios_knl_Clock_getTickPeriod__E( void ); /* getTicksUntilInterrupt__E */ extern xdc_UInt32 ti_sysbios_knl_Clock_getTicksUntilInterrupt__E( void ); /* getTicksUntilTimeout__E */ extern xdc_UInt32 ti_sysbios_knl_Clock_getTicksUntilTimeout__E( void ); /* walkQueueDynamic__E */ extern xdc_UInt32 ti_sysbios_knl_Clock_walkQueueDynamic__E( xdc_Bool service, xdc_UInt32 tick ); /* walkQueuePeriodic__E */ extern xdc_UInt32 ti_sysbios_knl_Clock_walkQueuePeriodic__E( void ); /* scheduleNextTick__E */ extern void ti_sysbios_knl_Clock_scheduleNextTick__E( xdc_UInt32 deltaTicks, xdc_UInt32 absTick ); /* addI__E */ extern void ti_sysbios_knl_Clock_addI__E( ti_sysbios_knl_Clock_Handle __inst, ti_sysbios_knl_Clock_FuncPtr clockFxn, xdc_UInt32 timeout, xdc_UArg arg ); /* removeI__E */ extern void ti_sysbios_knl_Clock_removeI__E( ti_sysbios_knl_Clock_Handle __inst ); /* start__E */ extern void ti_sysbios_knl_Clock_start__E( ti_sysbios_knl_Clock_Handle __inst ); /* startI__E */ extern void ti_sysbios_knl_Clock_startI__E( ti_sysbios_knl_Clock_Handle __inst ); /* stop__E */ extern void ti_sysbios_knl_Clock_stop__E( ti_sysbios_knl_Clock_Handle __inst ); /* setPeriod__E */ extern void ti_sysbios_knl_Clock_setPeriod__E( ti_sysbios_knl_Clock_Handle __inst, xdc_UInt32 period ); /* setTimeout__E */ extern void ti_sysbios_knl_Clock_setTimeout__E( ti_sysbios_knl_Clock_Handle __inst, xdc_UInt32 timeout ); /* setFunc__E */ extern void ti_sysbios_knl_Clock_setFunc__E( ti_sysbios_knl_Clock_Handle __inst, ti_sysbios_knl_Clock_FuncPtr fxn, xdc_UArg arg ); /* getPeriod__E */ extern xdc_UInt32 ti_sysbios_knl_Clock_getPeriod__E( ti_sysbios_knl_Clock_Handle __inst ); /* getTimeout__E */ extern xdc_UInt32 ti_sysbios_knl_Clock_getTimeout__E( ti_sysbios_knl_Clock_Handle __inst ); /* isActive__E */ extern xdc_Bool ti_sysbios_knl_Clock_isActive__E( ti_sysbios_knl_Clock_Handle __inst ); /* doTick__I */ extern void ti_sysbios_knl_Clock_doTick__I( xdc_UArg arg ); /* triggerFunc__I */ extern void ti_sysbios_knl_Clock_triggerFunc__I( xdc_UArg arg ); /* * ======== SYSTEM FUNCTIONS ======== */ /* Module_startupDone */ /* Object_heap */ /* Module_heap */ /* Module_id */ static inline CT__ti_sysbios_knl_Clock_Module__id ti_sysbios_knl_Clock_Module_id(void); static inline CT__ti_sysbios_knl_Clock_Module__id ti_sysbios_knl_Clock_Module_id( void ) { return ti_sysbios_knl_Clock_Module__id__C; } /* Module_hasMask */ static inline xdc_Bool ti_sysbios_knl_Clock_Module_hasMask(void); static inline xdc_Bool ti_sysbios_knl_Clock_Module_hasMask(void) { return (xdc_Bool)(ti_sysbios_knl_Clock_Module__diagsMask__C != (CT__ti_sysbios_knl_Clock_Module__diagsMask)0); } /* Module_getMask */ static inline xdc_Bits16 ti_sysbios_knl_Clock_Module_getMask(void); static inline xdc_Bits16 ti_sysbios_knl_Clock_Module_getMask(void) { return (ti_sysbios_knl_Clock_Module__diagsMask__C != (CT__ti_sysbios_knl_Clock_Module__diagsMask)0) ? *ti_sysbios_knl_Clock_Module__diagsMask__C : (xdc_Bits16)0; } /* Module_setMask */ static inline void ti_sysbios_knl_Clock_Module_setMask(xdc_Bits16 mask); static inline void ti_sysbios_knl_Clock_Module_setMask(xdc_Bits16 mask) { if (ti_sysbios_knl_Clock_Module__diagsMask__C != (CT__ti_sysbios_knl_Clock_Module__diagsMask)0) { *ti_sysbios_knl_Clock_Module__diagsMask__C = mask; } } /* Params_init */ static inline void ti_sysbios_knl_Clock_Params_init(ti_sysbios_knl_Clock_Params *prms); static inline void ti_sysbios_knl_Clock_Params_init( ti_sysbios_knl_Clock_Params *prms ) { if (prms != 0) { ti_sysbios_knl_Clock_Params__init__S(prms, 0, sizeof(ti_sysbios_knl_Clock_Params), sizeof(xdc_runtime_IInstance_Params)); } } /* Params_copy */ static inline void ti_sysbios_knl_Clock_Params_copy(ti_sysbios_knl_Clock_Params *dst, const ti_sysbios_knl_Clock_Params *src); static inline void ti_sysbios_knl_Clock_Params_copy(ti_sysbios_knl_Clock_Params *dst, const ti_sysbios_knl_Clock_Params *src) { if (dst != 0) { ti_sysbios_knl_Clock_Params__init__S(dst, (const void *)src, sizeof(ti_sysbios_knl_Clock_Params), sizeof(xdc_runtime_IInstance_Params)); } } /* Object_count */ /* Object_sizeof */ /* Object_get */ static inline ti_sysbios_knl_Clock_Handle ti_sysbios_knl_Clock_Object_get(ti_sysbios_knl_Clock_Instance_State *oarr, int i); 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); } /* Object_first */ static inline ti_sysbios_knl_Clock_Handle ti_sysbios_knl_Clock_Object_first(void); 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(); } /* Object_next */ static inline ti_sysbios_knl_Clock_Handle ti_sysbios_knl_Clock_Object_next(ti_sysbios_knl_Clock_Object *obj); 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); } /* Handle_label */ static inline xdc_runtime_Types_Label *ti_sysbios_knl_Clock_Handle_label(ti_sysbios_knl_Clock_Handle inst, xdc_runtime_Types_Label *lab); 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); } /* Handle_name */ static inline xdc_String ti_sysbios_knl_Clock_Handle_name(ti_sysbios_knl_Clock_Handle inst); static inline xdc_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; } /* handle */ static inline ti_sysbios_knl_Clock_Handle ti_sysbios_knl_Clock_handle(ti_sysbios_knl_Clock_Struct *str); 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; } /* struct */ static inline ti_sysbios_knl_Clock_Struct *ti_sysbios_knl_Clock_struct(ti_sysbios_knl_Clock_Handle inst); 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; } /* * ======== EPILOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E00 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * MODULE-WIDE CONFIGS * VIRTUAL FUNCTIONS * FUNCTION DECLARATIONS * CONVERTORS * SYSTEM FUNCTIONS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== INCLUDES ======== */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E10 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* * @(#) xdc.runtime; 2, 1, 0,0; 7-31-2018 11:49:30; /db/ztree/library/trees/xdc/xdc-E10/src/packages/ */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E00 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * VIRTUAL FUNCTIONS * FUNCTION STUBS * FUNCTION SELECTORS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * ======== AUXILIARY DEFINITIONS ======== */ /* FuncPtr */ typedef ti_sysbios_interfaces_ITaskSupport_FuncPtr ti_sysbios_knl_Task_SupportProxy_FuncPtr; /* * ======== MODULE-WIDE CONFIGS ======== */ /* Module__diagsEnabled */ typedef xdc_Bits32 CT__ti_sysbios_knl_Task_SupportProxy_Module__diagsEnabled; extern far const CT__ti_sysbios_knl_Task_SupportProxy_Module__diagsEnabled ti_sysbios_knl_Task_SupportProxy_Module__diagsEnabled__C; /* Module__diagsIncluded */ typedef xdc_Bits32 CT__ti_sysbios_knl_Task_SupportProxy_Module__diagsIncluded; extern far const CT__ti_sysbios_knl_Task_SupportProxy_Module__diagsIncluded ti_sysbios_knl_Task_SupportProxy_Module__diagsIncluded__C; /* Module__diagsMask */ typedef xdc_Bits16 *CT__ti_sysbios_knl_Task_SupportProxy_Module__diagsMask; extern far const CT__ti_sysbios_knl_Task_SupportProxy_Module__diagsMask ti_sysbios_knl_Task_SupportProxy_Module__diagsMask__C; /* Module__gateObj */ typedef xdc_Ptr CT__ti_sysbios_knl_Task_SupportProxy_Module__gateObj; extern far const CT__ti_sysbios_knl_Task_SupportProxy_Module__gateObj ti_sysbios_knl_Task_SupportProxy_Module__gateObj__C; /* Module__gatePrms */ typedef xdc_Ptr CT__ti_sysbios_knl_Task_SupportProxy_Module__gatePrms; extern far const CT__ti_sysbios_knl_Task_SupportProxy_Module__gatePrms ti_sysbios_knl_Task_SupportProxy_Module__gatePrms__C; /* Module__id */ typedef xdc_runtime_Types_ModuleId CT__ti_sysbios_knl_Task_SupportProxy_Module__id; extern far const CT__ti_sysbios_knl_Task_SupportProxy_Module__id ti_sysbios_knl_Task_SupportProxy_Module__id__C; /* Module__loggerDefined */ typedef xdc_Bool CT__ti_sysbios_knl_Task_SupportProxy_Module__loggerDefined; extern far const CT__ti_sysbios_knl_Task_SupportProxy_Module__loggerDefined ti_sysbios_knl_Task_SupportProxy_Module__loggerDefined__C; /* Module__loggerObj */ typedef xdc_Ptr CT__ti_sysbios_knl_Task_SupportProxy_Module__loggerObj; extern far const CT__ti_sysbios_knl_Task_SupportProxy_Module__loggerObj ti_sysbios_knl_Task_SupportProxy_Module__loggerObj__C; /* Module__loggerFxn0 */ typedef xdc_runtime_Types_LoggerFxn0 CT__ti_sysbios_knl_Task_SupportProxy_Module__loggerFxn0; extern far const CT__ti_sysbios_knl_Task_SupportProxy_Module__loggerFxn0 ti_sysbios_knl_Task_SupportProxy_Module__loggerFxn0__C; /* Module__loggerFxn1 */ typedef xdc_runtime_Types_LoggerFxn1 CT__ti_sysbios_knl_Task_SupportProxy_Module__loggerFxn1; extern far const CT__ti_sysbios_knl_Task_SupportProxy_Module__loggerFxn1 ti_sysbios_knl_Task_SupportProxy_Module__loggerFxn1__C; /* Module__loggerFxn2 */ typedef xdc_runtime_Types_LoggerFxn2 CT__ti_sysbios_knl_Task_SupportProxy_Module__loggerFxn2; extern far const CT__ti_sysbios_knl_Task_SupportProxy_Module__loggerFxn2 ti_sysbios_knl_Task_SupportProxy_Module__loggerFxn2__C; /* Module__loggerFxn4 */ typedef xdc_runtime_Types_LoggerFxn4 CT__ti_sysbios_knl_Task_SupportProxy_Module__loggerFxn4; extern far const CT__ti_sysbios_knl_Task_SupportProxy_Module__loggerFxn4 ti_sysbios_knl_Task_SupportProxy_Module__loggerFxn4__C; /* Module__loggerFxn8 */ typedef xdc_runtime_Types_LoggerFxn8 CT__ti_sysbios_knl_Task_SupportProxy_Module__loggerFxn8; extern far const CT__ti_sysbios_knl_Task_SupportProxy_Module__loggerFxn8 ti_sysbios_knl_Task_SupportProxy_Module__loggerFxn8__C; /* Object__count */ typedef xdc_Int CT__ti_sysbios_knl_Task_SupportProxy_Object__count; extern far const CT__ti_sysbios_knl_Task_SupportProxy_Object__count ti_sysbios_knl_Task_SupportProxy_Object__count__C; /* Object__heap */ typedef xdc_runtime_IHeap_Handle CT__ti_sysbios_knl_Task_SupportProxy_Object__heap; extern far const CT__ti_sysbios_knl_Task_SupportProxy_Object__heap ti_sysbios_knl_Task_SupportProxy_Object__heap__C; /* Object__sizeof */ typedef xdc_SizeT CT__ti_sysbios_knl_Task_SupportProxy_Object__sizeof; extern far const CT__ti_sysbios_knl_Task_SupportProxy_Object__sizeof ti_sysbios_knl_Task_SupportProxy_Object__sizeof__C; /* Object__table */ typedef xdc_Ptr CT__ti_sysbios_knl_Task_SupportProxy_Object__table; extern far const CT__ti_sysbios_knl_Task_SupportProxy_Object__table ti_sysbios_knl_Task_SupportProxy_Object__table__C; /* defaultStackSize */ typedef xdc_SizeT CT__ti_sysbios_knl_Task_SupportProxy_defaultStackSize; extern far const CT__ti_sysbios_knl_Task_SupportProxy_defaultStackSize ti_sysbios_knl_Task_SupportProxy_defaultStackSize__C; /* stackAlignment */ typedef xdc_UInt CT__ti_sysbios_knl_Task_SupportProxy_stackAlignment; extern far const CT__ti_sysbios_knl_Task_SupportProxy_stackAlignment ti_sysbios_knl_Task_SupportProxy_stackAlignment__C; /* * ======== VIRTUAL FUNCTIONS ======== */ /* Fxns__ */ struct ti_sysbios_knl_Task_SupportProxy_Fxns__ { const xdc_runtime_Types_Base* __base; const xdc_runtime_Types_SysFxns2* __sysp; xdc_Ptr (*start)(xdc_Ptr curTask, ti_sysbios_interfaces_ITaskSupport_FuncPtr enterFxn, ti_sysbios_interfaces_ITaskSupport_FuncPtr exitFxn, xdc_runtime_Error_Block* eb); void (*swap)(xdc_Ptr* oldtskContext, xdc_Ptr* newtskContext); xdc_Bool (*checkStack)(xdc_Char* stack, xdc_SizeT size); xdc_SizeT (*stackUsed)(xdc_Char* stack, xdc_SizeT size); xdc_UInt (*getStackAlignment)(void); xdc_SizeT (*getDefaultStackSize)(void); xdc_runtime_Types_SysFxns2 __sfxns; }; /* Module__FXNS__C */ extern const ti_sysbios_knl_Task_SupportProxy_Fxns__ ti_sysbios_knl_Task_SupportProxy_Module__FXNS__C; /* * ======== FUNCTION DECLARATIONS ======== */ /* Module_startup */ /* Handle__label__S */ extern xdc_runtime_Types_Label *ti_sysbios_knl_Task_SupportProxy_Handle__label__S( xdc_Ptr obj, xdc_runtime_Types_Label *lab ); /* Module__startupDone__S */ extern xdc_Bool ti_sysbios_knl_Task_SupportProxy_Module__startupDone__S( void ); /* Object__get__S */ extern xdc_Ptr ti_sysbios_knl_Task_SupportProxy_Object__get__S( xdc_Ptr oarr, xdc_Int i ); /* Object__first__S */ extern xdc_Ptr ti_sysbios_knl_Task_SupportProxy_Object__first__S( void ); /* Object__next__S */ extern xdc_Ptr ti_sysbios_knl_Task_SupportProxy_Object__next__S( xdc_Ptr obj ); /* Params__init__S */ extern void ti_sysbios_knl_Task_SupportProxy_Params__init__S( xdc_Ptr dst, const void *src, xdc_SizeT psz, xdc_SizeT isz ); /* Proxy__abstract__S */ extern xdc_Bool ti_sysbios_knl_Task_SupportProxy_Proxy__abstract__S( void ); /* Proxy__delegate__S */ extern xdc_CPtr ti_sysbios_knl_Task_SupportProxy_Proxy__delegate__S( void ); /* start__E */ extern xdc_Ptr ti_sysbios_knl_Task_SupportProxy_start__E( xdc_Ptr curTask, ti_sysbios_interfaces_ITaskSupport_FuncPtr enterFxn, ti_sysbios_interfaces_ITaskSupport_FuncPtr exitFxn, xdc_runtime_Error_Block *eb ); /* swap__E */ extern void ti_sysbios_knl_Task_SupportProxy_swap__E( xdc_Ptr *oldtskContext, xdc_Ptr *newtskContext ); /* checkStack__E */ extern xdc_Bool ti_sysbios_knl_Task_SupportProxy_checkStack__E( xdc_Char *stack, xdc_SizeT size ); /* stackUsed__E */ extern xdc_SizeT ti_sysbios_knl_Task_SupportProxy_stackUsed__E( xdc_Char *stack, xdc_SizeT size ); /* getStackAlignment__E */ extern xdc_UInt ti_sysbios_knl_Task_SupportProxy_getStackAlignment__E( void ); /* getDefaultStackSize__E */ extern xdc_SizeT ti_sysbios_knl_Task_SupportProxy_getDefaultStackSize__E( void ); /* * ======== CONVERTORS ======== */ /* Module_upCast */ static inline ti_sysbios_interfaces_ITaskSupport_Module ti_sysbios_knl_Task_SupportProxy_Module_upCast(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(); } /* Module_to_ti_sysbios_interfaces_ITaskSupport */ /* * ======== SYSTEM FUNCTIONS ======== */ /* Module_startupDone */ /* Object_heap */ /* Module_heap */ /* Module_id */ static inline CT__ti_sysbios_knl_Task_SupportProxy_Module__id ti_sysbios_knl_Task_SupportProxy_Module_id(void); 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; } /* Proxy_abstract */ /* Proxy_delegate */ /* * ======== EPILOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* * ======== AUXILIARY DEFINITIONS ======== */ /* FuncPtr */ typedef void (*ti_sysbios_knl_Task_FuncPtr)(xdc_UArg arg1, xdc_UArg arg2); /* AllBlockedFuncPtr */ typedef void (*ti_sysbios_knl_Task_AllBlockedFuncPtr)(void ); /* ModStateCheckValueFuncPtr */ typedef xdc_UInt32 (*ti_sysbios_knl_Task_ModStateCheckValueFuncPtr)(ti_sysbios_knl_Task_Module_State* arg1); /* ModStateCheckFuncPtr */ typedef xdc_Int (*ti_sysbios_knl_Task_ModStateCheckFuncPtr)(ti_sysbios_knl_Task_Module_State* arg1, xdc_UInt32 arg2); /* ObjectCheckValueFuncPtr */ typedef xdc_UInt32 (*ti_sysbios_knl_Task_ObjectCheckValueFuncPtr)(ti_sysbios_knl_Task_Handle arg1); /* ObjectCheckFuncPtr */ typedef xdc_Int (*ti_sysbios_knl_Task_ObjectCheckFuncPtr)(ti_sysbios_knl_Task_Handle arg1, xdc_UInt32 arg2); /* Mode */ 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; /* Stat */ 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; }; /* HookSet */ struct ti_sysbios_knl_Task_HookSet { void (*registerFxn)(xdc_Int arg1); void (*createFxn)(ti_sysbios_knl_Task_Handle arg1, xdc_runtime_Error_Block* arg2); void (*readyFxn)(ti_sysbios_knl_Task_Handle arg1); void (*switchFxn)(ti_sysbios_knl_Task_Handle arg1, ti_sysbios_knl_Task_Handle arg2); void (*exitFxn)(ti_sysbios_knl_Task_Handle arg1); void (*deleteFxn)(ti_sysbios_knl_Task_Handle arg1); }; /* AFFINITY_NONE */ /* * ======== CREATE ARGS ======== */ /* Args__create */ typedef struct ti_sysbios_knl_Task_Args__create { ti_sysbios_knl_Task_FuncPtr fxn; } ti_sysbios_knl_Task_Args__create; /* * ======== INTERNAL DEFINITIONS ======== */ /* PendElem */ struct ti_sysbios_knl_Task_PendElem { ti_sysbios_knl_Queue_Elem qElem; ti_sysbios_knl_Task_Handle taskHandle; ti_sysbios_knl_Clock_Handle clockHandle; }; /* Instance_State */ typedef xdc_Char __T1_ti_sysbios_knl_Task_Instance_State__stack; typedef xdc_Char *ARRAY1_ti_sysbios_knl_Task_Instance_State__stack; typedef const xdc_Char *CARRAY1_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 const xdc_Ptr *CARRAY1_ti_sysbios_knl_Task_Instance_State__hookEnv; typedef ARRAY1_ti_sysbios_knl_Task_Instance_State__hookEnv __TA_ti_sysbios_knl_Task_Instance_State__hookEnv; /* Module_State */ 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 const ti_sysbios_knl_Queue_Instance_State *CARRAY1_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 volatile xdc_UInt __T1_ti_sysbios_knl_Task_Module_State__smpCurSet; typedef volatile xdc_UInt *ARRAY1_ti_sysbios_knl_Task_Module_State__smpCurSet; typedef const volatile xdc_UInt *CARRAY1_ti_sysbios_knl_Task_Module_State__smpCurSet; typedef ARRAY1_ti_sysbios_knl_Task_Module_State__smpCurSet __TA_ti_sysbios_knl_Task_Module_State__smpCurSet; typedef volatile xdc_UInt __T1_ti_sysbios_knl_Task_Module_State__smpCurMask; typedef volatile xdc_UInt *ARRAY1_ti_sysbios_knl_Task_Module_State__smpCurMask; typedef const volatile xdc_UInt *CARRAY1_ti_sysbios_knl_Task_Module_State__smpCurMask; typedef ARRAY1_ti_sysbios_knl_Task_Module_State__smpCurMask __TA_ti_sysbios_knl_Task_Module_State__smpCurMask; typedef ti_sysbios_knl_Task_Handle __T1_ti_sysbios_knl_Task_Module_State__smpCurTask; typedef ti_sysbios_knl_Task_Handle *ARRAY1_ti_sysbios_knl_Task_Module_State__smpCurTask; typedef const ti_sysbios_knl_Task_Handle *CARRAY1_ti_sysbios_knl_Task_Module_State__smpCurTask; typedef ARRAY1_ti_sysbios_knl_Task_Module_State__smpCurTask __TA_ti_sysbios_knl_Task_Module_State__smpCurTask; typedef ti_sysbios_knl_Queue_Handle __T1_ti_sysbios_knl_Task_Module_State__smpReadyQ; typedef ti_sysbios_knl_Queue_Handle *ARRAY1_ti_sysbios_knl_Task_Module_State__smpReadyQ; typedef const ti_sysbios_knl_Queue_Handle *CARRAY1_ti_sysbios_knl_Task_Module_State__smpReadyQ; typedef ARRAY1_ti_sysbios_knl_Task_Module_State__smpReadyQ __TA_ti_sysbios_knl_Task_Module_State__smpReadyQ; typedef ti_sysbios_knl_Task_Handle __T1_ti_sysbios_knl_Task_Module_State__idleTask; typedef ti_sysbios_knl_Task_Handle *ARRAY1_ti_sysbios_knl_Task_Module_State__idleTask; typedef const ti_sysbios_knl_Task_Handle *CARRAY1_ti_sysbios_knl_Task_Module_State__idleTask; typedef ARRAY1_ti_sysbios_knl_Task_Module_State__idleTask __TA_ti_sysbios_knl_Task_Module_State__idleTask; 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 const ti_sysbios_knl_Task_Handle *CARRAY1_ti_sysbios_knl_Task_Module_State__constructedTasks; typedef ARRAY1_ti_sysbios_knl_Task_Module_State__constructedTasks __TA_ti_sysbios_knl_Task_Module_State__constructedTasks; /* RunQEntry */ struct ti_sysbios_knl_Task_RunQEntry { ti_sysbios_knl_Queue_Elem elem; xdc_UInt coreId; xdc_Int priority; }; /* Module_StateSmp */ typedef volatile ti_sysbios_knl_Task_RunQEntry __T1_ti_sysbios_knl_Task_Module_StateSmp__smpRunQ; typedef volatile ti_sysbios_knl_Task_RunQEntry *ARRAY1_ti_sysbios_knl_Task_Module_StateSmp__smpRunQ; typedef const volatile ti_sysbios_knl_Task_RunQEntry *CARRAY1_ti_sysbios_knl_Task_Module_StateSmp__smpRunQ; typedef ARRAY1_ti_sysbios_knl_Task_Module_StateSmp__smpRunQ __TA_ti_sysbios_knl_Task_Module_StateSmp__smpRunQ; struct ti_sysbios_knl_Task_Module_StateSmp { ti_sysbios_knl_Queue_Object *sortedRunQ; __TA_ti_sysbios_knl_Task_Module_StateSmp__smpRunQ smpRunQ; }; /* * ======== MODULE-WIDE CONFIGS ======== */ /* Module__diagsEnabled */ typedef xdc_Bits32 CT__ti_sysbios_knl_Task_Module__diagsEnabled; extern far const CT__ti_sysbios_knl_Task_Module__diagsEnabled ti_sysbios_knl_Task_Module__diagsEnabled__C; /* Module__diagsIncluded */ typedef xdc_Bits32 CT__ti_sysbios_knl_Task_Module__diagsIncluded; extern far const CT__ti_sysbios_knl_Task_Module__diagsIncluded ti_sysbios_knl_Task_Module__diagsIncluded__C; /* Module__diagsMask */ typedef xdc_Bits16 *CT__ti_sysbios_knl_Task_Module__diagsMask; extern far const CT__ti_sysbios_knl_Task_Module__diagsMask ti_sysbios_knl_Task_Module__diagsMask__C; /* Module__gateObj */ typedef xdc_Ptr CT__ti_sysbios_knl_Task_Module__gateObj; extern far const CT__ti_sysbios_knl_Task_Module__gateObj ti_sysbios_knl_Task_Module__gateObj__C; /* Module__gatePrms */ typedef xdc_Ptr CT__ti_sysbios_knl_Task_Module__gatePrms; extern far const CT__ti_sysbios_knl_Task_Module__gatePrms ti_sysbios_knl_Task_Module__gatePrms__C; /* Module__id */ typedef xdc_runtime_Types_ModuleId CT__ti_sysbios_knl_Task_Module__id; extern far const CT__ti_sysbios_knl_Task_Module__id ti_sysbios_knl_Task_Module__id__C; /* Module__loggerDefined */ typedef xdc_Bool CT__ti_sysbios_knl_Task_Module__loggerDefined; extern far const CT__ti_sysbios_knl_Task_Module__loggerDefined ti_sysbios_knl_Task_Module__loggerDefined__C; /* Module__loggerObj */ typedef xdc_Ptr CT__ti_sysbios_knl_Task_Module__loggerObj; extern far const CT__ti_sysbios_knl_Task_Module__loggerObj ti_sysbios_knl_Task_Module__loggerObj__C; /* Module__loggerFxn0 */ typedef xdc_runtime_Types_LoggerFxn0 CT__ti_sysbios_knl_Task_Module__loggerFxn0; extern far const CT__ti_sysbios_knl_Task_Module__loggerFxn0 ti_sysbios_knl_Task_Module__loggerFxn0__C; /* Module__loggerFxn1 */ typedef xdc_runtime_Types_LoggerFxn1 CT__ti_sysbios_knl_Task_Module__loggerFxn1; extern far const CT__ti_sysbios_knl_Task_Module__loggerFxn1 ti_sysbios_knl_Task_Module__loggerFxn1__C; /* Module__loggerFxn2 */ typedef xdc_runtime_Types_LoggerFxn2 CT__ti_sysbios_knl_Task_Module__loggerFxn2; extern far const CT__ti_sysbios_knl_Task_Module__loggerFxn2 ti_sysbios_knl_Task_Module__loggerFxn2__C; /* Module__loggerFxn4 */ typedef xdc_runtime_Types_LoggerFxn4 CT__ti_sysbios_knl_Task_Module__loggerFxn4; extern far const CT__ti_sysbios_knl_Task_Module__loggerFxn4 ti_sysbios_knl_Task_Module__loggerFxn4__C; /* Module__loggerFxn8 */ typedef xdc_runtime_Types_LoggerFxn8 CT__ti_sysbios_knl_Task_Module__loggerFxn8; extern far const CT__ti_sysbios_knl_Task_Module__loggerFxn8 ti_sysbios_knl_Task_Module__loggerFxn8__C; /* Object__count */ typedef xdc_Int CT__ti_sysbios_knl_Task_Object__count; extern far const CT__ti_sysbios_knl_Task_Object__count ti_sysbios_knl_Task_Object__count__C; /* Object__heap */ typedef xdc_runtime_IHeap_Handle CT__ti_sysbios_knl_Task_Object__heap; extern far const CT__ti_sysbios_knl_Task_Object__heap ti_sysbios_knl_Task_Object__heap__C; /* Object__sizeof */ typedef xdc_SizeT CT__ti_sysbios_knl_Task_Object__sizeof; extern far const CT__ti_sysbios_knl_Task_Object__sizeof ti_sysbios_knl_Task_Object__sizeof__C; /* Object__table */ typedef xdc_Ptr CT__ti_sysbios_knl_Task_Object__table; extern far const CT__ti_sysbios_knl_Task_Object__table ti_sysbios_knl_Task_Object__table__C; /* LM_switch */ typedef xdc_runtime_Log_Event CT__ti_sysbios_knl_Task_LM_switch; extern far const CT__ti_sysbios_knl_Task_LM_switch ti_sysbios_knl_Task_LM_switch__C; /* LM_sleep */ typedef xdc_runtime_Log_Event CT__ti_sysbios_knl_Task_LM_sleep; extern far const CT__ti_sysbios_knl_Task_LM_sleep ti_sysbios_knl_Task_LM_sleep__C; /* LD_ready */ typedef xdc_runtime_Log_Event CT__ti_sysbios_knl_Task_LD_ready; extern far const CT__ti_sysbios_knl_Task_LD_ready ti_sysbios_knl_Task_LD_ready__C; /* LD_block */ typedef xdc_runtime_Log_Event CT__ti_sysbios_knl_Task_LD_block; extern far const CT__ti_sysbios_knl_Task_LD_block ti_sysbios_knl_Task_LD_block__C; /* LM_yield */ typedef xdc_runtime_Log_Event CT__ti_sysbios_knl_Task_LM_yield; extern far const CT__ti_sysbios_knl_Task_LM_yield ti_sysbios_knl_Task_LM_yield__C; /* LM_setPri */ typedef xdc_runtime_Log_Event CT__ti_sysbios_knl_Task_LM_setPri; extern far const CT__ti_sysbios_knl_Task_LM_setPri ti_sysbios_knl_Task_LM_setPri__C; /* LD_exit */ typedef xdc_runtime_Log_Event CT__ti_sysbios_knl_Task_LD_exit; extern far const CT__ti_sysbios_knl_Task_LD_exit ti_sysbios_knl_Task_LD_exit__C; /* LM_setAffinity */ typedef xdc_runtime_Log_Event CT__ti_sysbios_knl_Task_LM_setAffinity; extern far const CT__ti_sysbios_knl_Task_LM_setAffinity ti_sysbios_knl_Task_LM_setAffinity__C; /* LM_schedule */ typedef xdc_runtime_Log_Event CT__ti_sysbios_knl_Task_LM_schedule; extern far const CT__ti_sysbios_knl_Task_LM_schedule ti_sysbios_knl_Task_LM_schedule__C; /* LM_noWork */ typedef xdc_runtime_Log_Event CT__ti_sysbios_knl_Task_LM_noWork; extern far const CT__ti_sysbios_knl_Task_LM_noWork ti_sysbios_knl_Task_LM_noWork__C; /* E_stackOverflow */ typedef xdc_runtime_Error_Id CT__ti_sysbios_knl_Task_E_stackOverflow; extern far const CT__ti_sysbios_knl_Task_E_stackOverflow ti_sysbios_knl_Task_E_stackOverflow__C; /* E_spOutOfBounds */ typedef xdc_runtime_Error_Id CT__ti_sysbios_knl_Task_E_spOutOfBounds; extern far const CT__ti_sysbios_knl_Task_E_spOutOfBounds ti_sysbios_knl_Task_E_spOutOfBounds__C; /* E_deleteNotAllowed */ typedef xdc_runtime_Error_Id CT__ti_sysbios_knl_Task_E_deleteNotAllowed; extern far const CT__ti_sysbios_knl_Task_E_deleteNotAllowed ti_sysbios_knl_Task_E_deleteNotAllowed__C; /* E_moduleStateCheckFailed */ typedef xdc_runtime_Error_Id CT__ti_sysbios_knl_Task_E_moduleStateCheckFailed; extern far const CT__ti_sysbios_knl_Task_E_moduleStateCheckFailed ti_sysbios_knl_Task_E_moduleStateCheckFailed__C; /* E_objectCheckFailed */ typedef xdc_runtime_Error_Id CT__ti_sysbios_knl_Task_E_objectCheckFailed; extern far const CT__ti_sysbios_knl_Task_E_objectCheckFailed ti_sysbios_knl_Task_E_objectCheckFailed__C; /* E_objectNotInKernelSpace */ typedef xdc_runtime_Error_Id CT__ti_sysbios_knl_Task_E_objectNotInKernelSpace; extern far const CT__ti_sysbios_knl_Task_E_objectNotInKernelSpace ti_sysbios_knl_Task_E_objectNotInKernelSpace__C; /* A_badThreadType */ typedef xdc_runtime_Assert_Id CT__ti_sysbios_knl_Task_A_badThreadType; extern far const CT__ti_sysbios_knl_Task_A_badThreadType ti_sysbios_knl_Task_A_badThreadType__C; /* A_badTaskState */ typedef xdc_runtime_Assert_Id CT__ti_sysbios_knl_Task_A_badTaskState; extern far const CT__ti_sysbios_knl_Task_A_badTaskState ti_sysbios_knl_Task_A_badTaskState__C; /* A_noPendElem */ typedef xdc_runtime_Assert_Id CT__ti_sysbios_knl_Task_A_noPendElem; extern far const CT__ti_sysbios_knl_Task_A_noPendElem ti_sysbios_knl_Task_A_noPendElem__C; /* A_taskDisabled */ typedef xdc_runtime_Assert_Id CT__ti_sysbios_knl_Task_A_taskDisabled; extern far const CT__ti_sysbios_knl_Task_A_taskDisabled ti_sysbios_knl_Task_A_taskDisabled__C; /* A_badPriority */ typedef xdc_runtime_Assert_Id CT__ti_sysbios_knl_Task_A_badPriority; extern far const CT__ti_sysbios_knl_Task_A_badPriority ti_sysbios_knl_Task_A_badPriority__C; /* A_badTimeout */ typedef xdc_runtime_Assert_Id CT__ti_sysbios_knl_Task_A_badTimeout; extern far const CT__ti_sysbios_knl_Task_A_badTimeout ti_sysbios_knl_Task_A_badTimeout__C; /* A_badAffinity */ typedef xdc_runtime_Assert_Id CT__ti_sysbios_knl_Task_A_badAffinity; extern far const CT__ti_sysbios_knl_Task_A_badAffinity ti_sysbios_knl_Task_A_badAffinity__C; /* A_sleepTaskDisabled */ typedef xdc_runtime_Assert_Id CT__ti_sysbios_knl_Task_A_sleepTaskDisabled; extern far const CT__ti_sysbios_knl_Task_A_sleepTaskDisabled ti_sysbios_knl_Task_A_sleepTaskDisabled__C; /* A_invalidCoreId */ typedef xdc_runtime_Assert_Id CT__ti_sysbios_knl_Task_A_invalidCoreId; extern far const CT__ti_sysbios_knl_Task_A_invalidCoreId ti_sysbios_knl_Task_A_invalidCoreId__C; /* numPriorities */ typedef xdc_UInt CT__ti_sysbios_knl_Task_numPriorities; extern far const CT__ti_sysbios_knl_Task_numPriorities ti_sysbios_knl_Task_numPriorities__C; /* defaultStackSize */ typedef xdc_SizeT CT__ti_sysbios_knl_Task_defaultStackSize; extern far const CT__ti_sysbios_knl_Task_defaultStackSize ti_sysbios_knl_Task_defaultStackSize__C; /* defaultStackHeap */ typedef xdc_runtime_IHeap_Handle CT__ti_sysbios_knl_Task_defaultStackHeap; extern far const CT__ti_sysbios_knl_Task_defaultStackHeap ti_sysbios_knl_Task_defaultStackHeap__C; /* allBlockedFunc */ typedef ti_sysbios_knl_Task_AllBlockedFuncPtr CT__ti_sysbios_knl_Task_allBlockedFunc; extern far const CT__ti_sysbios_knl_Task_allBlockedFunc ti_sysbios_knl_Task_allBlockedFunc__C; /* initStackFlag */ typedef xdc_Bool CT__ti_sysbios_knl_Task_initStackFlag; extern far const CT__ti_sysbios_knl_Task_initStackFlag ti_sysbios_knl_Task_initStackFlag__C; /* checkStackFlag */ typedef xdc_Bool CT__ti_sysbios_knl_Task_checkStackFlag; extern far const CT__ti_sysbios_knl_Task_checkStackFlag ti_sysbios_knl_Task_checkStackFlag__C; /* deleteTerminatedTasks */ typedef xdc_Bool CT__ti_sysbios_knl_Task_deleteTerminatedTasks; extern far const CT__ti_sysbios_knl_Task_deleteTerminatedTasks ti_sysbios_knl_Task_deleteTerminatedTasks__C; /* hooks */ 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 struct { int length; ti_sysbios_knl_Task_HookSet const *elem; } CARRAY1_ti_sysbios_knl_Task_hooks; typedef CARRAY1_ti_sysbios_knl_Task_hooks __TA_ti_sysbios_knl_Task_hooks; typedef CARRAY1_ti_sysbios_knl_Task_hooks CT__ti_sysbios_knl_Task_hooks; extern far const CT__ti_sysbios_knl_Task_hooks ti_sysbios_knl_Task_hooks__C; /* moduleStateCheckFxn */ typedef ti_sysbios_knl_Task_ModStateCheckFuncPtr CT__ti_sysbios_knl_Task_moduleStateCheckFxn; extern far const CT__ti_sysbios_knl_Task_moduleStateCheckFxn ti_sysbios_knl_Task_moduleStateCheckFxn__C; /* moduleStateCheckValueFxn */ typedef ti_sysbios_knl_Task_ModStateCheckValueFuncPtr CT__ti_sysbios_knl_Task_moduleStateCheckValueFxn; extern far const CT__ti_sysbios_knl_Task_moduleStateCheckValueFxn ti_sysbios_knl_Task_moduleStateCheckValueFxn__C; /* moduleStateCheckFlag */ typedef xdc_Bool CT__ti_sysbios_knl_Task_moduleStateCheckFlag; extern far const CT__ti_sysbios_knl_Task_moduleStateCheckFlag ti_sysbios_knl_Task_moduleStateCheckFlag__C; /* objectCheckFxn */ typedef ti_sysbios_knl_Task_ObjectCheckFuncPtr CT__ti_sysbios_knl_Task_objectCheckFxn; extern far const CT__ti_sysbios_knl_Task_objectCheckFxn ti_sysbios_knl_Task_objectCheckFxn__C; /* objectCheckValueFxn */ typedef ti_sysbios_knl_Task_ObjectCheckValueFuncPtr CT__ti_sysbios_knl_Task_objectCheckValueFxn; extern far const CT__ti_sysbios_knl_Task_objectCheckValueFxn ti_sysbios_knl_Task_objectCheckValueFxn__C; /* objectCheckFlag */ typedef xdc_Bool CT__ti_sysbios_knl_Task_objectCheckFlag; extern far const CT__ti_sysbios_knl_Task_objectCheckFlag ti_sysbios_knl_Task_objectCheckFlag__C; /* numConstructedTasks */ typedef xdc_UInt CT__ti_sysbios_knl_Task_numConstructedTasks; extern far const CT__ti_sysbios_knl_Task_numConstructedTasks ti_sysbios_knl_Task_numConstructedTasks__C; /* startupHookFunc */ typedef void (*CT__ti_sysbios_knl_Task_startupHookFunc)(void ); extern far const CT__ti_sysbios_knl_Task_startupHookFunc ti_sysbios_knl_Task_startupHookFunc__C; /* * ======== PER-INSTANCE TYPES ======== */ /* Params */ 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_UInt affinity; xdc_Bool privileged; xdc_Ptr domain; xdc_runtime_IInstance_Params __iprms; }; /* Struct */ 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_UInt f16; xdc_UInt f17; xdc_Bool f18; xdc_Ptr f19; xdc_UInt32 f20; xdc_Ptr f21; xdc_runtime_Types_CordAddr __name; }; /* * ======== FUNCTION DECLARATIONS ======== */ /* Module_startup */ extern xdc_Int ti_sysbios_knl_Task_Module_startup__E( xdc_Int state ); extern xdc_Int ti_sysbios_knl_Task_Module_startup__F( xdc_Int state ); /* Instance_init__E */ extern xdc_Int ti_sysbios_knl_Task_Instance_init__E(ti_sysbios_knl_Task_Object *obj, ti_sysbios_knl_Task_FuncPtr fxn, const ti_sysbios_knl_Task_Params *prms, xdc_runtime_Error_Block *eb); /* Instance_finalize__E */ extern void ti_sysbios_knl_Task_Instance_finalize__E(ti_sysbios_knl_Task_Object *obj, int ec); /* create */ extern 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); /* construct */ extern 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); /* delete */ extern void ti_sysbios_knl_Task_delete(ti_sysbios_knl_Task_Handle *instp); /* destruct */ extern void ti_sysbios_knl_Task_destruct(ti_sysbios_knl_Task_Struct *obj); /* Handle__label__S */ extern xdc_runtime_Types_Label *ti_sysbios_knl_Task_Handle__label__S( xdc_Ptr obj, xdc_runtime_Types_Label *lab ); /* Module__startupDone__S */ extern xdc_Bool ti_sysbios_knl_Task_Module__startupDone__S( void ); /* Object__create__S */ extern xdc_Ptr ti_sysbios_knl_Task_Object__create__S( xdc_CPtr aa, const xdc_UChar *pa, xdc_SizeT psz, xdc_runtime_Error_Block *eb ); /* Object__delete__S */ extern void ti_sysbios_knl_Task_Object__delete__S( xdc_Ptr instp ); /* Object__get__S */ extern xdc_Ptr ti_sysbios_knl_Task_Object__get__S( xdc_Ptr oarr, xdc_Int i ); /* Object__first__S */ extern xdc_Ptr ti_sysbios_knl_Task_Object__first__S( void ); /* Object__next__S */ extern xdc_Ptr ti_sysbios_knl_Task_Object__next__S( xdc_Ptr obj ); /* Params__init__S */ extern void ti_sysbios_knl_Task_Params__init__S( xdc_Ptr dst, const void *src, xdc_SizeT psz, xdc_SizeT isz ); /* startup__E */ extern void ti_sysbios_knl_Task_startup__E( void ); /* enabled__E */ extern xdc_Bool ti_sysbios_knl_Task_enabled__E( void ); /* unlockSched__E */ extern void ti_sysbios_knl_Task_unlockSched__E( void ); /* disable__E */ extern xdc_UInt ti_sysbios_knl_Task_disable__E( void ); /* enable__E */ extern void ti_sysbios_knl_Task_enable__E( void ); /* restore__E */ extern void ti_sysbios_knl_Task_restore__E( xdc_UInt key ); /* restoreHwi__E */ extern void ti_sysbios_knl_Task_restoreHwi__E( xdc_UInt key ); /* self__E */ extern ti_sysbios_knl_Task_Handle ti_sysbios_knl_Task_self__E( void ); /* checkStacks__E */ extern void ti_sysbios_knl_Task_checkStacks__E( ti_sysbios_knl_Task_Handle oldTask, ti_sysbios_knl_Task_Handle newTask ); /* exit__E */ extern void ti_sysbios_knl_Task_exit__E( void ); /* sleep__E */ extern void ti_sysbios_knl_Task_sleep__E( xdc_UInt32 nticks ); /* yield__E */ extern void ti_sysbios_knl_Task_yield__E( void ); /* getIdleTask__E */ extern ti_sysbios_knl_Task_Handle ti_sysbios_knl_Task_getIdleTask__E( void ); /* getIdleTaskHandle__E */ extern ti_sysbios_knl_Task_Handle ti_sysbios_knl_Task_getIdleTaskHandle__E( xdc_UInt coreId ); /* startCore__E */ extern void ti_sysbios_knl_Task_startCore__E( xdc_UInt coreId ); /* getArg0__E */ extern xdc_UArg ti_sysbios_knl_Task_getArg0__E( ti_sysbios_knl_Task_Handle __inst ); /* getArg1__E */ extern xdc_UArg ti_sysbios_knl_Task_getArg1__E( ti_sysbios_knl_Task_Handle __inst ); /* getEnv__E */ extern xdc_Ptr ti_sysbios_knl_Task_getEnv__E( ti_sysbios_knl_Task_Handle __inst ); /* getFunc__E */ extern ti_sysbios_knl_Task_FuncPtr ti_sysbios_knl_Task_getFunc__E( ti_sysbios_knl_Task_Handle __inst, xdc_UArg *arg0, xdc_UArg *arg1 ); /* getHookContext__E */ extern xdc_Ptr ti_sysbios_knl_Task_getHookContext__E( ti_sysbios_knl_Task_Handle __inst, xdc_Int id ); /* getPri__E */ extern xdc_Int ti_sysbios_knl_Task_getPri__E( ti_sysbios_knl_Task_Handle __inst ); /* setArg0__E */ extern void ti_sysbios_knl_Task_setArg0__E( ti_sysbios_knl_Task_Handle __inst, xdc_UArg arg ); /* setArg1__E */ extern void ti_sysbios_knl_Task_setArg1__E( ti_sysbios_knl_Task_Handle __inst, xdc_UArg arg ); /* setEnv__E */ extern void ti_sysbios_knl_Task_setEnv__E( ti_sysbios_knl_Task_Handle __inst, xdc_Ptr env ); /* setHookContext__E */ extern void ti_sysbios_knl_Task_setHookContext__E( ti_sysbios_knl_Task_Handle __inst, xdc_Int id, xdc_Ptr hookContext ); /* setPri__E */ extern xdc_UInt ti_sysbios_knl_Task_setPri__E( ti_sysbios_knl_Task_Handle __inst, xdc_Int newpri ); /* stat__E */ extern void ti_sysbios_knl_Task_stat__E( ti_sysbios_knl_Task_Handle __inst, ti_sysbios_knl_Task_Stat *statbuf ); /* getMode__E */ extern ti_sysbios_knl_Task_Mode ti_sysbios_knl_Task_getMode__E( ti_sysbios_knl_Task_Handle __inst ); /* setAffinity__E */ extern xdc_UInt ti_sysbios_knl_Task_setAffinity__E( ti_sysbios_knl_Task_Handle __inst, xdc_UInt coreId ); /* getAffinity__E */ extern xdc_UInt ti_sysbios_knl_Task_getAffinity__E( ti_sysbios_knl_Task_Handle __inst ); /* block__E */ extern void ti_sysbios_knl_Task_block__E( ti_sysbios_knl_Task_Handle __inst ); /* unblock__E */ extern void ti_sysbios_knl_Task_unblock__E( ti_sysbios_knl_Task_Handle __inst ); /* blockI__E */ extern void ti_sysbios_knl_Task_blockI__E( ti_sysbios_knl_Task_Handle __inst ); /* unblockI__E */ extern void ti_sysbios_knl_Task_unblockI__E( ti_sysbios_knl_Task_Handle __inst, xdc_UInt hwiKey ); /* getPrivileged__E */ extern xdc_Bool ti_sysbios_knl_Task_getPrivileged__E( ti_sysbios_knl_Task_Handle __inst ); /* schedule__I */ extern void ti_sysbios_knl_Task_schedule__I( void ); /* enter__I */ extern void ti_sysbios_knl_Task_enter__I( void ); /* enterUnpriv__I */ extern void ti_sysbios_knl_Task_enterUnpriv__I( void ); /* sleepTimeout__I */ extern void ti_sysbios_knl_Task_sleepTimeout__I( xdc_UArg arg ); /* postInit__I */ extern xdc_Int ti_sysbios_knl_Task_postInit__I( ti_sysbios_knl_Task_Object *task, xdc_runtime_Error_Block *eb ); /* allBlockedFunction__I */ extern void ti_sysbios_knl_Task_allBlockedFunction__I( void ); /* deleteTerminatedTasksFunc__I */ extern void ti_sysbios_knl_Task_deleteTerminatedTasksFunc__I( void ); /* processVitalTaskFlag__I */ extern void ti_sysbios_knl_Task_processVitalTaskFlag__I( ti_sysbios_knl_Task_Object *task ); /* moduleStateCheck__I */ extern xdc_Int ti_sysbios_knl_Task_moduleStateCheck__I( ti_sysbios_knl_Task_Module_State *moduleState, xdc_UInt32 checkValue ); /* getModuleStateCheckValue__I */ extern xdc_UInt32 ti_sysbios_knl_Task_getModuleStateCheckValue__I( ti_sysbios_knl_Task_Module_State *moduleState ); /* objectCheck__I */ extern xdc_Int ti_sysbios_knl_Task_objectCheck__I( ti_sysbios_knl_Task_Handle handle, xdc_UInt32 checkValue ); /* getObjectCheckValue__I */ extern xdc_UInt32 ti_sysbios_knl_Task_getObjectCheckValue__I( ti_sysbios_knl_Task_Handle handle ); /* * ======== SYSTEM FUNCTIONS ======== */ /* Module_startupDone */ /* Object_heap */ /* Module_heap */ /* Module_id */ static inline CT__ti_sysbios_knl_Task_Module__id ti_sysbios_knl_Task_Module_id(void); static inline CT__ti_sysbios_knl_Task_Module__id ti_sysbios_knl_Task_Module_id( void ) { return ti_sysbios_knl_Task_Module__id__C; } /* Module_hasMask */ static inline xdc_Bool ti_sysbios_knl_Task_Module_hasMask(void); static inline xdc_Bool ti_sysbios_knl_Task_Module_hasMask(void) { return (xdc_Bool)(ti_sysbios_knl_Task_Module__diagsMask__C != (CT__ti_sysbios_knl_Task_Module__diagsMask)0); } /* Module_getMask */ static inline xdc_Bits16 ti_sysbios_knl_Task_Module_getMask(void); static inline xdc_Bits16 ti_sysbios_knl_Task_Module_getMask(void) { return (ti_sysbios_knl_Task_Module__diagsMask__C != (CT__ti_sysbios_knl_Task_Module__diagsMask)0) ? *ti_sysbios_knl_Task_Module__diagsMask__C : (xdc_Bits16)0; } /* Module_setMask */ static inline void ti_sysbios_knl_Task_Module_setMask(xdc_Bits16 mask); static inline void ti_sysbios_knl_Task_Module_setMask(xdc_Bits16 mask) { if (ti_sysbios_knl_Task_Module__diagsMask__C != (CT__ti_sysbios_knl_Task_Module__diagsMask)0) { *ti_sysbios_knl_Task_Module__diagsMask__C = mask; } } /* Params_init */ static inline void ti_sysbios_knl_Task_Params_init(ti_sysbios_knl_Task_Params *prms); static inline void ti_sysbios_knl_Task_Params_init( ti_sysbios_knl_Task_Params *prms ) { if (prms != 0) { ti_sysbios_knl_Task_Params__init__S(prms, 0, sizeof(ti_sysbios_knl_Task_Params), sizeof(xdc_runtime_IInstance_Params)); } } /* Params_copy */ static inline void ti_sysbios_knl_Task_Params_copy(ti_sysbios_knl_Task_Params *dst, const ti_sysbios_knl_Task_Params *src); static inline void ti_sysbios_knl_Task_Params_copy(ti_sysbios_knl_Task_Params *dst, const ti_sysbios_knl_Task_Params *src) { if (dst != 0) { ti_sysbios_knl_Task_Params__init__S(dst, (const void *)src, sizeof(ti_sysbios_knl_Task_Params), sizeof(xdc_runtime_IInstance_Params)); } } /* Object_count */ /* Object_sizeof */ /* Object_get */ static inline ti_sysbios_knl_Task_Handle ti_sysbios_knl_Task_Object_get(ti_sysbios_knl_Task_Instance_State *oarr, int i); 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); } /* Object_first */ static inline ti_sysbios_knl_Task_Handle ti_sysbios_knl_Task_Object_first(void); 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(); } /* Object_next */ static inline ti_sysbios_knl_Task_Handle ti_sysbios_knl_Task_Object_next(ti_sysbios_knl_Task_Object *obj); 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); } /* Handle_label */ static inline xdc_runtime_Types_Label *ti_sysbios_knl_Task_Handle_label(ti_sysbios_knl_Task_Handle inst, xdc_runtime_Types_Label *lab); 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); } /* Handle_name */ static inline xdc_String ti_sysbios_knl_Task_Handle_name(ti_sysbios_knl_Task_Handle inst); static inline xdc_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; } /* handle */ static inline ti_sysbios_knl_Task_Handle ti_sysbios_knl_Task_handle(ti_sysbios_knl_Task_Struct *str); 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; } /* struct */ static inline ti_sysbios_knl_Task_Struct *ti_sysbios_knl_Task_struct(ti_sysbios_knl_Task_Handle inst); 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; } /* * ======== EPILOGUE ======== */ /* * Copyright (c) 2012-2017, Texas Instruments Incorporated * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * * Neither the name of Texas Instruments Incorporated nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* * ======== Task_selfMacro ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* module prefix */ /* proxies */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E00 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * MODULE-WIDE CONFIGS * VIRTUAL FUNCTIONS * FUNCTION DECLARATIONS * CONVERTORS * SYSTEM FUNCTIONS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* module prefix */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E00 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * CREATE ARGS * INTERNAL DEFINITIONS * MODULE-WIDE CONFIGS * PER-INSTANCE TYPES * FUNCTION DECLARATIONS * SYSTEM FUNCTIONS * * EPILOGUE * STATE STRUCTURES * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== STATE STRUCTURES ======== */ /* * ======== PREFIX ALIASES ======== */ /* module prefix */ /* proxies */ /* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-E00 */ /* * ======== GENERATED SECTIONS ======== * * PROLOGUE * INCLUDES * * CREATE ARGS * MODULE-WIDE CONFIGS * PER-INSTANCE TYPES * VIRTUAL FUNCTIONS * FUNCTION DECLARATIONS * CONVERTORS * SYSTEM FUNCTIONS * * EPILOGUE * PREFIX ALIASES */ /* * ======== PROLOGUE ======== */ /* * ======== PREFIX ALIASES ======== */ /* module prefix */ /* * ======== taskFxn ======== */ static uint32_t add2(uint32_t a, uint32_t b) { return a + b; } static uint32_t add3(uint32_t a, uint32_t b, uint32_t c) { return add2(a, b) + c; } void taskFxn(UArg a0, UArg a1) { xdc_runtime_System_printf__E("enter taskFxn()\n"); uint32_t d; while(1) { ti_sysbios_knl_Task_sleep__E(100); d = add3(11, 22, 33); xdc_runtime_System_printf__E("taskFxn1() %d\n",d); xdc_runtime_System_flush__E(); /* force SysMin output to console */ } } Int main() { ti_sysbios_knl_Task_Handle task; xdc_runtime_Error_Block eb; xdc_runtime_System_printf__E("enter main()\n"); xdc_runtime_Error_init__E(&eb); task = ti_sysbios_knl_Task_create(taskFxn, 0, 0); if (task == 0) { xdc_runtime_System_printf__E("Task_create() failed!\n"); ti_sysbios_BIOS_exit__E(0); } ti_sysbios_BIOS_start__E(); /* does not return */ return(0); }