.bind("ti.sysbios.gates.GateSpinlock$$module$meta$init", true);
        if (fxn != null) po.addFxn("module$meta$init", $$T_Met, fxn);
        fxn = Global.get(cap, "instance$meta$init");
        if (fxn != null) om.bind("ti.sysbios.gates.GateSpinlock$$instance$meta$init", true);
        if (fxn != null) po.addFxn("instance$meta$init", $$T_Met, fxn);
        fxn = Global.get(cap, "module$static$init");
        if (fxn != null) om.bind("ti.sysbios.gates.GateSpinlock$$module$static$init", true);
        if (fxn != null) po.addFxn("module$static$init", $$T_Met, fxn);
        fxn = Global.get(cap, "module$validate");
        if (fxn != null) om.bind("ti.sysbios.gates.GateSpinlock$$module$validate", true);
        if (fxn != null) po.addFxn("module$validate", $$T_Met, fxn);
        fxn = Global.get(cap, "instance$static$init");
        if (fxn != null) om.bind("ti.sysbios.gates.GateSpinlock$$instance$static$init", true);
        if (fxn != null) po.addFxn("instance$static$init", $$T_Met, fxn);
                fxn = Global.get(cap, "queryMeta");
                if (fxn != null) po.addFxn("queryMeta", (Proto.Fxn)om.findStrict("xdc.runtime.IGateProvider$$queryMeta", "ti.sysbios.gates"), fxn);
        po = (Proto.Obj)om.findStrict("ti.sysbios.gates.GateSpinlock.Instance", "ti.sysbios.gates");
        po.init("ti.sysbios.gates.GateSpinlock.Instance", om.findStrict("xdc.runtime.IGateProvider.Instance", "ti.sysbios.gates"));
                po.addFld("$hostonly", $$T_Num, 0, "r");
                po.addFld("Q_BLOCKING", Proto.Elm.newCNum("(xdc_Int)"), 1L, "rh");
                po.addFld("Q_PREEMPTING", Proto.Elm.newCNum("(xdc_Int)"), 2L, "rh");
        if (isCFG) {
                        po.addFld("instance", (Proto)om.findStrict("xdc.runtime.IInstance.Params", "ti.sysbios.gates"), $$UNDEF, "w");
        }//isCFG
        po = (Proto.Obj)om.findStrict("ti.sysbios.gates.GateSpinlock$$Params", "ti.sysbios.gates");
        po.init("ti.sysbios.gates.GateSpinlock.Params", om.findStrict("xdc.runtime.IGateProvider$$Params", "ti.sysbios.gates"));
                po.addFld("$hostonly", $$T_Num, 0, "r");
                po.addFld("Q_BLOCKING", Proto.Elm.newCNum("(xdc_Int)"), 1L, "rh");
                po.addFld("Q_PREEMPTING", Proto.Elm.newCNum("(xdc_Int)"), 2L, "rh");
        if (isCFG) {
                        po.addFld("instance", (Proto)om.findStrict("xdc.runtime.IInstance.Params", "ti.sysbios.gates"), $$UNDEF, "w");
        }//isCFG
        po = (Proto.Obj)om.findStrict("ti.sysbios.gates.GateSpinlock$$Object", "ti.sysbios.gates");
        po.init("ti.sysbios.gates.GateSpinlock.Object", om.findStrict("ti.sysbios.gates.GateSpinlock.Instance", "ti.sysbios.gates"));
        // struct GateSpinlock.BasicView
        po = (Proto.Obj)om.findStrict("ti.sysbios.gates.GateSpinlock$$BasicView", "ti.sysbios.gates");
        po.init("ti.sysbios.gates.GateSpinlock.BasicView", null);
                po.addFld("$hostonly", $$T_Num, 1, "r");
                po.addFld("status", $$T_Str, $$UNDEF, "w");
                po.addFld("owner", $$T_Str, $$UNDEF, "w");
        // struct GateSpinlock.Instance_State
        po = (Proto.Obj)om.findStrict("ti.sysbios.gates.GateSpinlock$$Instance_State", "ti.sysbios.gates");
        po.init("ti.sysbios.gates.GateSpinlock.Instance_State", null);
                po.addFld("$hostonly", $$T_Num, 0, "r");
                po.addFld("hwiKey", Proto.Elm.newCNum("(xdc_UInt)"), $$UNDEF, "w");
                po.addFld("owner", (Proto)om.findStrict("ti.sysbios.knl.Task.Handle", "ti.sysbios.gates"), $$UNDEF, "w");
    }

    void GateHwi$$ROV()
    {
        Proto.Obj po;
        Value.Obj vo;

        vo = (Value.Obj)om.findStrict("ti.sysbios.gates.GateHwi", "ti.sysbios.gates");
        po = (Proto.Obj)om.findStrict("ti.sysbios.gates.GateHwi$$Instance_State", "ti.sysbios.gates");
        po.addFld("__fxns", new Proto.Adr("xdc_Ptr", "Pv"), $$UNDEF, "w");
        vo.bind("Instance_State$fetchDesc", Global.newObject("type", "ti.sysbios.gates.GateHwi.Instance_State", "isScalar", false));
        po = (Proto.Obj)om.findStrict("ti.sysbios.gates.GateHwi$$Instance_State", "ti.sysbios.gates");
    }

    void GateAll$$ROV()
    {
        Proto.Obj po;
        Value.Obj vo;

        vo = (Value.Obj)om.findStrict("ti.sysbios.gates.GateAll", "ti.sysbios.gates");
        po = (Proto.Obj)om.findStrict("ti.sysbios.gates.GateAll$$Instance_State", "ti.sysbios.gates");
        po.addFld("__fxns", new Proto.Adr("xdc_Ptr", "Pv"), $$UNDEF, "w");
        vo.bind("Instance_State$fetchDesc", Global.newObject("type", "ti.sysbios.gates.GateAll.Instance_State", "isScalar", false));
        po = (Proto.Obj)om.findStrict("ti.sysbios.gates.GateAll$$Instance_State", "ti.sysbios.gates");
    }

    void GateSwi$$ROV()
    {
        Proto.Obj po;
        Value.Obj vo;

        vo = (Value.Obj)om.findStrict("ti.sysbios.gates.GateSwi", "ti.sysbios.gates");
        po = (Proto.Obj)om.findStrict("ti.sysbios.gates.GateSwi$$Instance_State", "ti.sysbios.gates");
        po.addFld("__fxns", new Proto.Adr("xdc_Ptr", "Pv"), $$UNDEF, "w");
        vo.bind("Instance_State$fetchDesc", Global.newObject("type", "ti.sysbios.gates.GateSwi.Instance_State", "isScalar", false));
        po = (Proto.Obj)om.findStrict("ti.sysbios.gates.GateSwi$$Instance_State", "ti.sysbios.gates");
    }

    void GateTask$$ROV()
    {
        Proto.Obj po;
        Value.Obj vo;

        vo = (Value.Obj)om.findStrict("ti.sysbios.gates.GateTask", "ti.sysbios.gates");
        po = (Proto.Obj)om.findStrict("ti.sysbios.gates.GateTask$$Instance_State", "ti.sysbios.gates");
        po.addFld("__fxns", new Proto.Adr("xdc_Ptr", "Pv"), $$UNDEF, "w");
        vo.bind("Instance_State$fetchDesc", Global.newObject("type", "ti.sysbios.gates.GateTask.Instance_State", "isScalar", false));
        po = (Proto.Obj)om.findStrict("ti.sysbios.gates.GateTask$$Instance_State", "ti.sysbios.gates");
    }

    void GateTest$$ROV()
    {
        Proto.Obj po;
        Value.Obj vo;

        vo = (Value.Obj)om.findStrict("ti.sysbios.gates.GateTest", "ti.sysbios.gates");
        po = (Proto.Obj)om.findStrict("ti.sysbios.gates.GateTest$$Instance_State", "ti.sysbios.gates");
        po.addFld("__fxns", new Proto.Adr("xdc_Ptr", "Pv"), $$UNDEF, "w");
        vo.bind("Instance_State$fetchDesc", Global.newObject("type", "ti.sysbios.gates.GateTest.Instance_State", "isScalar", false));
        po = (Proto.Obj)om.findStrict("ti.sysbios.gates.GateTest$$Instance_State", "ti.sysbios.gates");
    }

    void GateMutexPri$$ROV()
    {
        Proto.Obj po;
        Value.Obj vo;

        vo = (Value.Obj)om.findStrict("ti.sysbios.gates.GateMutexPri", "ti.sysbios.gates");
        po = (Proto.Obj)om.findStrict("ti.sysbios.gates.GateMutexPri$$Instance_State", "ti.sysbios.gates");
        po.addFld("__fxns", new Proto.Adr("xdc_Ptr", "Pv"), $$UNDEF, "w");
        vo.bind("Instance_State$fetchDesc", Global.newObject("type", "ti.sysbios.gates.GateMutexPri.Instance_State", "isScalar", false));
        po = (Proto.Obj)om.findStrict("ti.sysbios.gates.GateMutexPri$$Instance_State", "ti.sysbios.gates");
    }

    void GateMutex$$ROV()
    {
        Proto.Obj po;
        Value.Obj vo;

        vo = (Value.Obj)om.findStrict("ti.sysbios.gates.GateMutex", "ti.sysbios.gates");
        po = (Proto.Obj)om.findStrict("ti.sysbios.gates.GateMutex$$Instance_State", "ti.sysbios.gates");
        po.addFld("__fxns", new Proto.Adr("xdc_Ptr", "Pv"), $$UNDEF, "w");
        vo.bind("Instance_State$fetchDesc", Global.newObject("type", "ti.sysbios.gates.GateMutex.Instance_State", "isScalar", false));
        po = (Proto.Obj)om.findStrict("ti.sysbios.gates.GateMutex$$Instance_State", "ti.sysbios.gates");
    }

    void GateSpinlock$$ROV()
    {
        Proto.Obj po;
        Value.Obj vo;

        vo = (Value.Obj)om.findStrict("ti.sysbios.gates.GateSpinlock", "ti.sysbios.gates");
        po = (Proto.Obj)om.findStrict("ti.sysbios.gates.GateSpinlock$$Instance_State", "ti.sysbios.gates");
        po.addFld("__fxns", new Proto.Adr("xdc_Ptr", "Pv"), $$UNDEF, "w");
        vo.bind("Instance_State$fetchDesc", Global.newObject("type", "ti.sysbios.gates.GateSpinlock.Instance_State", "isScalar", false));
        po = (Proto.Obj)om.findStrict("ti.sysbios.gates.GateSpinlock$$Instance_State", "ti.sysbios.gates");
    }

    void $$SINGLETONS()
    {
        pkgP.init("ti.sysbios.gates.Package", (Proto.Obj)om.findStrict("xdc.IPackage.Module", "ti.sysbios.gates"));
        Scriptable cap = (Scriptable)Global.callFxn("loadCapsule", xdcO, "ti/sysbios/gates/package.xs");
        om.bind("xdc.IPackage$$capsule", cap);
        Object fxn;
                fxn = Global.get(cap, "init");
                if (fxn != null) pkgP.addFxn("init", (Proto.Fxn)om.findStrict("xdc.IPackage$$init", "ti.sysbios.gates"), fxn);
                fxn = Global.get(cap, "close");
                if (fxn != null) pkgP.addFxn("close", (Proto.Fxn)om.findStrict("xdc.IPackage$$close", "ti.sysbios.gates"), fxn);
                fxn = Global.get(cap, "validate");
                if (fxn != null) pkgP.addFxn("validate", (Proto.Fxn)om.findStrict("xdc.IPackage$$validate", "ti.sysbios.gates"), fxn);
                fxn = Global.get(cap, "exit");
                if (fxn != null) pkgP.addFxn("exit", (Proto.Fxn)om.findStrict("xdc.IPackage$$exit", "ti.sysbios.gates"), fxn);
                fxn = Global.get(cap, "getLibs");
                if (fxn != null) pkgP.addFxn("getLibs", (Proto.Fxn)om.findStrict("xdc.IPackage$$getLibs", "ti.sysbios.gates"), fxn);
                fxn = Global.get(cap, "getSects");
                if (fxn != null) pkgP.addFxn("getSects", (Proto.Fxn)om.findStrict("xdc.IPackage$$getSects", "ti.sysbios.gates"), fxn);
        pkgP.bind("$capsule", cap);
        pkgV.init2(pkgP, "ti.sysbios.gates", Value.DEFAULT, false);
        pkgV.bind("$name", "ti.sysbios.gates");
        pkgV.bind("$category", "Package");
        pkgV.bind("$$qn", "ti.sysbios.gates.");
        pkgV.bind("$vers", Global.newArray(2, 0, 0, 0));
        Value.Map atmap = (Value.Map)pkgV.getv("$attr");
        atmap.seal("length");
        imports.clear();
        imports.add(Global.newArray("ti.sysbios.interfaces", Global.newArray()));
        imports.add(Global.newArray("ti.sysbios.knl", Global.newArray()));
        pkgV.bind("$imports", imports);
        StringBuilder sb = new StringBuilder();
        sb.append("var pkg = xdc.om['ti.sysbios.gates'];\n");
        sb.append("if (pkg.$vers.length >= 3) {\n");
            sb.append("pkg.$vers.push(Packages.xdc.services.global.Vers.getDate(xdc.csd() + '/..'));\n");
        sb.append("}\n");
        sb.append("if ('ti.sysbios.gates$$stat$base' in xdc.om) {\n");
            sb.append("pkg.packageBase = xdc.om['ti.sysbios.gates$$stat$base'];\n");
            sb.append("pkg.packageRepository = xdc.om['ti.sysbios.gates$$stat$root'];\n");
        sb.append("}\n");
        sb.append("pkg.build.libraries = [\n");
            sb.append("'lib/sysbios/debug/ti.sysbios.gates.aem4f',\n");
            sb.append("'lib/sysbios/debug/ti.sysbios.gates.am4fg',\n");
            sb.append("'lib/sysbios/debug/ti.sysbios.gates.arm4f',\n");
        sb.append("];\n");
        sb.append("pkg.build.libDesc = [\n");
            sb.append("['lib/sysbios/debug/ti.sysbios.gates.aem4f', {target: 'ti.targets.arm.elf.M4F', suffix: 'em4f'}],\n");
            sb.append("['lib/sysbios/debug/ti.sysbios.gates.am4fg', {target: 'gnu.targets.arm.M4F', suffix: 'm4fg'}],\n");
            sb.append("['lib/sysbios/debug/ti.sysbios.gates.arm4f', {target: 'iar.targets.arm.M4F', suffix: 'rm4f'}],\n");
        sb.append("];\n");
        Global.eval(sb.toString());
    }

    void GateHwi$$SINGLETONS()
    {
        Proto.Obj po;
        Value.Obj vo;

        vo = (Value.Obj)om.findStrict("ti.sysbios.gates.GateHwi", "ti.sysbios.gates");
        po = (Proto.Obj)om.findStrict("ti.sysbios.gates.GateHwi.Module", "ti.sysbios.gates");
        vo.init2(po, "ti.sysbios.gates.GateHwi", $$DEFAULT, false);
        vo.bind("Module", po);
        vo.bind("$category", "Module");
        vo.bind("$capsule", om.findStrict("ti.sysbios.gates.GateHwi$$capsule", "ti.sysbios.gates"));
        vo.bind("Instance", om.findStrict("ti.sysbios.gates.GateHwi.Instance", "ti.sysbios.gates"));
        vo.bind("Params", om.findStrict("ti.sysbios.gates.GateHwi.Params", "ti.sysbios.gates"));
        vo.bind("PARAMS", ((Proto.Str)om.findStrict("ti.sysbios.gates.GateHwi.Params", "ti.sysbios.gates")).newInstance());
        vo.bind("Handle", om.findStrict("ti.sysbios.gates.GateHwi.Handle", "ti.sysbios.gates"));
        vo.bind("$package", om.findStrict("ti.sysbios.gates", "ti.sysbios.gates"));
        tdefs.clear();
        proxies.clear();
        mcfgs.clear();
        icfgs.clear();
        inherits.clear();
        mcfgs.add("Module__diagsEnabled");
        icfgs.add("Module__diagsEnabled");
        mcfgs.add("Module__diagsIncluded");
        icfgs.add("Module__diagsIncluded");
        mcfgs.add("Module__diagsMask");
        icfgs.add("Module__diagsMask");
        mcfgs.add("Module__gateObj");
        icfgs.add("Module__gateObj");
        mcfgs.add("Module__gatePrms");
        icfgs.add("Module__gatePrms");
        mcfgs.add("Module__id");
        icfgs.add("Module__id");
        mcfgs.add("Module__loggerDefined");
        icfgs.add("Module__loggerDefined");
        mcfgs.add("Module__loggerObj");
        icfgs.add("Module__loggerObj");
        mcfgs.add("Module__loggerFxn0");
        icfgs.add("Module__loggerFxn0");
        mcfgs.add("Module__loggerFxn1");
        icfgs.add("Module__loggerFxn1");
        mcfgs.add("Module__loggerFxn2");
        icfgs.add("Module__loggerFxn2");
        mcfgs.add("Module__loggerFxn4");
        icfgs.add("Module__loggerFxn4");
        mcfgs.add("Module__loggerFxn8");
        icfgs.add("Module__loggerFxn8");
        mcfgs.add("Module__startupDoneFxn");
        icfgs.add("Module__startupDoneFxn");
        mcfgs.add("Object__count");
        icfgs.add("Object__count");
        mcfgs.add("Object__heap");
        icfgs.add("Object__heap");
        mcfgs.add("Object__sizeof");
        icfgs.add("Object__sizeof");
        mcfgs.add("Object__table");
        icfgs.add("Object__table");
        vo.bind("BasicView", om.findStrict("ti.sysbios.gates.GateHwi.BasicView", "ti.sysbios.gates"));
        tdefs.add(om.findStrict("ti.sysbios.gates.GateHwi.BasicView", "ti.sysbios.gates"));
        vo.bind("Instance_State", om.findStrict("ti.sysbios.gates.GateHwi.Instance_State", "ti.sysbios.gates"));
        tdefs.add(om.findStrict("ti.sysbios.gates.GateHwi.Instance_State", "ti.sysbios.gates"));
        vo.bind("$$tdefs", Global.newArray(tdefs.toArray()));
        vo.bind("$$proxies", Global.newArray(proxies.toArray()));
        vo.bind("$$mcfgs", Global.newArray(mcfgs.toArray()));
        vo.bind("$$icfgs", Global.newArray(icfgs.toArray()));
        inherits.add("xdc.runtime");
        inherits.add("xdc.runtime");
        vo.bind("$$inherits", Global.newArray(inherits.toArray()));
        ((Value.Arr)pkgV.getv("$modules")).add(vo);
        ((Value.Arr)om.findStrict("$modules", "ti.sysbios.gates")).add(vo);
        vo.bind("$$instflag", 1);
        vo.bind("$$iobjflag", 1);
        vo.bind("$$sizeflag", 1);
        vo.bind("$$dlgflag", 0);
        vo.bind("$$iflag", 1);
        vo.bind("$$romcfgs", "|");
        vo.bind("$$nortsflag", 0);
        if (isCFG) {
            Proto.Str ps = (Proto.Str)vo.find("Module_State");
            if (ps != null) vo.bind("$object", ps.newInstance());
            vo.bind("$$meta_iobj", om.has("ti.sysbios.gates.GateHwi$$instance$static$init", null) ? 1 : 0);
            vo.bind("__initObject", Global.get("ti$sysbios$gates$GateHwi$$__initObject"));
        }//isCFG
        vo.bind("query", om.findStrict("ti.sysbios.gates.GateHwi.query", "ti.sysbios.gates"));
        vo.bind("$$fxntab", Global.newArray("ti_sysbios_gates_GateHwi_Handle__label__E", "ti_sysbios_gates_GateHwi_Module__startupDone__E", "ti_sysbios_gates_GateHwi_Object__create__E", "ti_sysbios_gates_GateHwi_Object__delete__E", "ti_sysbios_gates_GateHwi_Object__destruct__E", "ti_sysbios_gates_GateHwi_Object__get__E", "ti_sysbios_gates_GateHwi_Object__first__E", "ti_sysbios_gates_GateHwi_Object__next__E", "ti_sysbios_gates_GateHwi_Params__init__E", "ti_sysbios_gates_GateHwi_query__E", "ti_sysbios_gates_GateHwi_enter__E", "ti_sysbios_gates_GateHwi_leave__E"));
        vo.bind("$$logEvtCfgs", Global.newArray());
        vo.bind("$$errorDescCfgs", Global.newArray());
        vo.bind("$$assertDescCfgs", Global.newArray());
        Value.Map atmap = (Value.Map)vo.getv("$attr");
        atmap.setElem("", true);
        atmap.seal("length");
        vo.bind("Object", om.findStrict("ti.sysbios.gates.GateHwi.Object", "ti.sysbios.gates"));
        vo.bind("MODULE_STARTUP$", 0);
        vo.bind("PROXY$", 0);
        loggables.clear();
        vo.bind("$$loggables", loggables.toArray());
        pkgV.bind("GateHwi", vo);
        ((Value.Arr)pkgV.getv("$unitNames")).add("GateHwi");
    }

    void GateAll$$SINGLETONS()
    {
        Proto.Obj po;
        Value.Obj vo;

        vo = (Value.Obj)om.findStrict("ti.sysbios.gates.GateAll", "ti.sysbios.gates");
        po = (Proto.Obj)om.findStrict("ti.sysbios.gates.GateAll.Module", "ti.sysbios.gates");
        vo.init2(po, "ti.sysbios.gates.GateAll", $$DEFAULT, false);
        vo.bind("Module", po);
        vo.bind("$category", "Module");
        vo.bind("$capsule", om.findStrict("ti.sysbios.gates.GateAll$$capsule", "ti.sysbios.gates"));
        vo.bind("Instance", om.findStrict("ti.sysbios.gates.GateAll.Instance", "ti.sysbios.gates"));
        vo.bind("Params", om.findStrict("ti.sysbios.gates.GateAll.Params", "ti.sysbios.gates"));
        vo.bind("PARAMS", ((Proto.Str)om.findStrict("ti.sysbios.gates.GateAll.Params", "ti.sysbios.gates")).newInstance());
        vo.bind("Handle", om.findStrict("ti.sysbios.gates.GateAll.Handle", "ti.sysbios.gates"));
        vo.bind("$package", om.findStrict("ti.sysbios.gates", "ti.sysbios.gates"));
        tdefs.clear();
        proxies.clear();
        mcfgs.clear();
        icfgs.clear();
        inherits.clear();
        mcfgs.add("Module__diagsEnabled");
        icfgs.add("Module__diagsEnabled");
        mcfgs.add("Module__diagsIncluded");
        icfgs.add("Module__diagsIncluded");
        mcfgs.add("Module__diagsMask");
        icfgs.add("Module__diagsMask");
        mcfgs.add("Module__gateObj");
        icfgs.add("Module__gateObj");
        mcfgs.add("Module__gatePrms");
        icfgs.add("Module__gatePrms");
        mcfgs.add("Module__id");
        icfgs.add("Module__id");
        mcfgs.add("Module__loggerDefined");
        icfgs.add("Module__loggerDefined");
        mcfgs.add("Module__loggerObj");
        icfgs.add("Module__loggerObj");
        mcfgs.add("Module__loggerFxn0");
        icfgs.add("Module__loggerFxn0");
        mcfgs.add("Module__loggerFxn1");
        icfgs.add("Module__loggerFxn1");
        mcfgs.add("Module__loggerFxn2");
        icfgs.add("Module__loggerFxn2");
        mcfgs.add("Module__loggerFxn4");
        icfgs.add("Module__loggerFxn4");
        mcfgs.add("Module__loggerFxn8");
        icfgs.add("Module__loggerFxn8");
        mcfgs.add("Module__startupDoneFxn");
        icfgs.add("Module__startupDoneFxn");
        mcfgs.add("Object__count");
        icfgs.add("Object__count");
        mcfgs.add("Object__heap");
        icfgs.add("Object__heap");
        mcfgs.add("Object__sizeof");
        icfgs.add("Object__sizeof");
        mcfgs.add("Object__table");
        icfgs.add("Object__table");
        vo.bind("BasicView", om.findStrict("ti.sysbios.gates.GateAll.BasicView", "ti.sysbios.gates"));
        tdefs.add(om.findStrict("ti.sysbios.gates.GateAll.BasicView", "ti.sysbios.gates"));
        vo.bind("Instance_State", om.findStrict("ti.sysbios.gates.GateAll.Instance_State", "ti.sysbios.gates"));
        tdefs.add(om.findStrict("ti.sysbios.gates.GateAll.Instance_State", "ti.sysbios.gates"));
        vo.bind("$$tdefs", Global.newArray(tdefs.toArray()));
        vo.bind("$$proxies", Global.newArray(proxies.toArray()));
        vo.bind("$$mcfgs", Global.newArray(mcfgs.toArray()));
        vo.bind("$$icfgs", Global.newArray(icfgs.toArray()));
        inherits.add("xdc.runtime");
        inherits.add("xdc.runtime");
        vo.bind("$$inherits", Global.newArray(inherits.toArray()));
        ((Value.Arr)pkgV.getv("$modules")).add(vo);
        ((Value.Arr)om.findStrict("$modules", "ti.sysbios.gates")).add(vo);
        vo.bind("$$instflag", 1);
        vo.bind("$$iobjflag", 1);
        vo.bind("$$sizeflag", 1);
        vo.bind("$$dlgflag", 0);
        vo.bind("$$iflag", 1);
        vo.bind("$$romcfgs", "|");
        vo.bind("$$nortsflag", 0);
        if (isCFG) {
            Proto.Str ps = (Proto.Str)vo.find("Module_State");
            if (ps != null) vo.bind("$object", ps.newInstance());
            vo.bind("$$meta_iobj", om.has("ti.sysbios.gates.GateAll$$instance$static$init", null) ? 1 : 0);
            vo.bind("__initObject", Global.get("ti$sysbios$gates$GateAll$$__initObject"));
        }//isCFG
        vo.bind("query", om.findStrict("ti.sysbios.gates.GateAll.query", "ti.sysbios.gates"));
        vo.bind("$$fxntab", Global.newArray("ti_sysbios_gates_GateAll_Handle__label__E", "ti_sysbios_gates_GateAll_Module__startupDone__E", "ti_sysbios_gates_GateAll_Object__create__E", "ti_sysbios_gates_GateAll_Object__delete__E", "ti_sysbios_gates_GateAll_Object__destruct__E", "ti_sysbios_gates_GateAll_Object__get__E", "ti_sysbios_gates_GateAll_Object__first__E", "ti_sysbios_gates_GateAll_Object__next__E", "ti_sysbios_gates_GateAll_Params__init__E", "ti_sysbios_gates_GateAll_query__E", "ti_sysbios_gates_GateAll_enter__E", "ti_sysbios_gates_GateAll_leave__E"));
        vo.bind("$$logEvtCfgs", Global.newArray());
        vo.bind("$$errorDescCfgs", Global.newArray());
        vo.bind("$$assertDescCfgs", Global.newArray());
        Value.Map atmap = (Value.Map)vo.getv("$attr");
        atmap.setElem("", true);
        atmap.seal("length");
        vo.bind("Object", om.findStrict("ti.sysbios.gates.GateAll.Object", "ti.sysbios.gates"));
        vo.bind("MODULE_STARTUP$", 0);
        vo.bind("PROXY$", 0);
        loggables.clear();
        vo.bind("$$loggables", loggables.toArray());
        pkgV.bind("GateAll", vo);
        ((Value.Arr)pkgV.getv("$unitNames")).add("GateAll");
    }

    void GateSwi$$SINGLETONS()
    {
        Proto.Obj po;
        Value.Obj vo;

        vo = (Value.Obj)om.findStrict("ti.sysbios.gates.GateSwi", "ti.sysbios.gates");
        po = (Proto.Obj)om.findStrict("ti.sysbios.gates.GateSwi.Module", "ti.sysbios.gates");
        vo.init2(po, "ti.sysbios.gates.GateSwi", $$DEFAULT, false);
        vo.bind("Module", po);
        vo.bind("$category", "Module");
        vo.bind("$capsule", om.findStrict("ti.sysbios.gates.GateSwi$$capsule", "ti.sysbios.gates"));
        vo.bind("Instance", om.findStrict("ti.sysbios.gates.GateSwi.Instance", "ti.sysbios.gates"));
        vo.bind("Params", om.findStrict("ti.sysbios.gates.GateSwi.Params", "ti.sysbios.gates"));
        vo.bind("PARAMS", ((Proto.Str)om.findStrict("ti.sysbios.gates.GateSwi.Params", "ti.sysbios.gates")).newInstance());
        vo.bind("Handle", om.findStrict("ti.sysbios.gates.GateSwi.Handle", "ti.sysbios.gates"));
        vo.bind("$package", om.findStrict("ti.sysbios.gates", "ti.sysbios.gates"));
        tdefs.clear();
        proxies.clear();
        mcfgs.clear();
        icfgs.clear();
        inherits.clear();
        mcfgs.add("Module__diagsEnabled");
        icfgs.add("Module__diagsEnabled");
        mcfgs.add("Module__diagsIncluded");
        icfgs.add("Module__diagsIncluded");
        mcfgs.add("Module__diagsMask");
        icfgs.add("Module__diagsMask");
        mcfgs.add("Module__gateObj");
        icfgs.add("Module__gateObj");
        mcfgs.add("Module__gatePrms");
        icfgs.add("Module__gatePrms");
        mcfgs.add("Module__id");
        icfgs.add("Module__id");
        mcfgs.add("Module__loggerDefined");
        icfgs.add("Module__loggerDefined");
        mcfgs.add("Module__loggerObj");
        icfgs.add("Module__loggerObj");
        mcfgs.add("Module__loggerFxn0");
        icfgs.add("Module__loggerFxn0");
        mcfgs.add("Module__loggerFxn1");
        icfgs.add("Module__loggerFxn1");
        mcfgs.add("Module__loggerFxn2");
        icfgs.add("Module__loggerFxn2");
        mcfgs.add("Module__loggerFxn4");
        icfgs.add("Module__loggerFxn4");
        mcfgs.add("Module__loggerFxn8");
        icfgs.add("Module__loggerFxn8");
        mcfgs.add("Module__startupDoneFxn");
        icfgs.add("Module__startupDoneFxn");
        mcfgs.add("Object__count");
        icfgs.add("Object__count");
        mcfgs.add("Object__heap");
        icfgs.add("Object__heap");
        mcfgs.add("Object__sizeof");
        icfgs.add("Object__sizeof");
        mcfgs.add("Object__table");
        icfgs.add("Object__table");
        vo.bind("BasicView", om.findStrict("ti.sysbios.gates.GateSwi.BasicView", "ti.sysbios.gates"));
        tdefs.add(om.findStrict("ti.sysbios.gates.GateSwi.BasicView", "ti.sysbios.gates"));
        mcfgs.add("A_badContext");
        vo.bind("Instance_State", om.findStrict("ti.sysbios.gates.GateSwi.Instance_State", "ti.sysbios.gates"));
        tdefs.add(om.findStrict("ti.sysbios.gates.GateSwi.Instance_State", "ti.sysbios.gates"));
        vo.bind("$$tdefs", Global.newArray(tdefs.toArray()));
        vo.bind("$$proxies", Global.newArray(proxies.toArray()));
        vo.bind("$$mcfgs", Global.newArray(mcfgs.toArray()));
        vo.bind("$$icfgs", Global.newArray(icfgs.toArray()));
        inherits.add("xdc.runtime");
        inherits.add("xdc.runtime");
        vo.bind("$$inherits", Global.newArray(inherits.toArray()));
        ((Value.Arr)pkgV.getv("$modules")).add(vo);
        ((Value.Arr)om.findStrict("$modules", "ti.sysbios.gates")).add(vo);
        vo.bind("$$instflag", 1);
        vo.bind("$$iobjflag", 1);
        vo.bind("$$sizeflag", 1);
        vo.bind("$$dlgflag", 0);
        vo.bind("$$iflag", 1);
        vo.bind("$$romcfgs", "|");
        vo.bind("$$nortsflag", 0);
        if (isCFG) {
            Proto.Str ps = (Proto.Str)vo.find("Module_State");
            if (ps != null) vo.bind("$object", ps.newInstance());
            vo.bind("$$meta_iobj", om.has("ti.sysbios.gates.GateSwi$$instance$static$init", null) ? 1 : 0);
            vo.bind("__initObject", Global.get("ti$sysbios$gates$GateSwi$$__initObject"));
        }//isCFG
        vo.bind("query", om.findStrict("ti.sysbios.gates.GateSwi.query", "ti.sysbios.gates"));
        vo.bind("$$fxntab", Global.newArray("ti_sysbios_gates_GateSwi_Handle__label__E", "ti_sysbios_gates_GateSwi_Module__startupDone__E", "ti_sysbios_gates_GateSwi_Object__create__E", "ti_sysbios_gates_GateSwi_Object__delete__E", "ti_sysbios_gates_GateSwi_Object__destruct__E", "ti_sysbios_gates_GateSwi_Object__get__E", "ti_sysbios_gates_GateSwi_Object__first__E", "ti_sysbios_gates_GateSwi_Object__next__E", "ti_sysbios_gates_GateSwi_Params__init__E", "ti_sysbios_gates_GateSwi_query__E", "ti_sysbios_gates_GateSwi_enter__E", "ti_sysbios_gates_GateSwi_leave__E"));
        vo.bind("$$logEvtCfgs", Global.newArray());
        vo.bind("$$errorDescCfgs", Global.newArray());
        vo.bind("$$assertDescCfgs", Global.newArray("A_badContext"));
        Value.Map atmap = (Value.Map)vo.getv("$attr");
        atmap.setElem("", true);
        atmap.seal("length");
        vo.bind("Object", om.findStrict("ti.sysbios.gates.GateSwi.Object", "ti.sysbios.gates"));
        vo.bind("MODULE_STARTUP$", 0);
        vo.bind("PROXY$", 0);
        loggables.clear();
        vo.bind("$$loggables", loggables.toArray());
        pkgV.bind("GateSwi", vo);
        ((Value.Arr)pkgV.getv("$unitNames")).add("GateSwi");
    }

    void GateTask$$SINGLETONS()
    {
        Proto.Obj po;
        Value.Obj vo;

        vo = (Value.Obj)om.findStrict("ti.sysbios.gates.GateTask", "ti.sysbios.gates");
        po = (Proto.Obj)om.findStrict("ti.sysbios.gates.GateTask.Module", "ti.sysbios.gates");
        vo.init2(po, "ti.sysbios.gates.GateTask", $$DEFAULT, false);
        vo.bind("Module", po);
        vo.bind("$category", "Module");
        vo.bind("$capsule", om.findStrict("ti.sysbios.gates.GateTask$$capsule", "ti.sysbios.gates"));
        vo.bind("Instance", om.findStrict("ti.sysbios.gates.GateTask.Instance", "ti.sysbios.gates"));
        vo.bind("Params", om.findStrict("ti.sysbios.gates.GateTask.Params", "ti.sysbios.gates"));
        vo.bind("PARAMS", ((Proto.Str)om.findStrict("ti.sysbios.gates.GateTask.Params", "ti.sysbios.gates")).newInstance());
        vo.bind("Handle", om.findStrict("ti.sysbios.gates.GateTask.Handle", "ti.sysbios.gates"));
        vo.bind("$package", om.findStrict("ti.sysbios.gates", "ti.sysbios.gates"));
        tdefs.clear();
        proxies.clear();
        mcfgs.clear();
        icfgs.clear();
        inherits.clear();
        mcfgs.add("Module__diagsEnabled");
        icfgs.add("Module__diagsEnabled");
        mcfgs.add("Module__diagsIncluded");
        icfgs.add("Module__diagsIncluded");
        mcfgs.add("Module__diagsMask");
        icfgs.add("Module__diagsMask");
        mcfgs.add("Module__gateObj");
        icfgs.add("Module__gateObj");
        mcfgs.add("Module__gatePrms");
        icfgs.add("Module__gatePrms");
        mcfgs.add("Module__id");
        icfgs.add("Module__id");
        mcfgs.add("Module__loggerDefined");
        icfgs.add("Module__loggerDefined");
        mcfgs.add("Module__loggerObj");
        icfgs.add("Module__loggerObj");
        mcfgs.add("Module__loggerFxn0");
        icfgs.add("Module__loggerFxn0");
        mcfgs.add("Module__loggerFxn1");
        icfgs.add("Module__loggerFxn1");
        mcfgs.add("Module__loggerFxn2");
        icfgs.add("Module__loggerFxn2");
        mcfgs.add("Module__loggerFxn4");
        icfgs.add("Module__loggerFxn4");
        mcfgs.add("Module__loggerFxn8");
        icfgs.add("Module__loggerFxn8");
        mcfgs.add("Module__startupDoneFxn");
        icfgs.add("Module__startupDoneFxn");
        mcfgs.add("Object__count");
        icfgs.add("Object__count");
        mcfgs.add("Object__heap");
        icfgs.add("Object__heap");
        mcfgs.add("Object__sizeof");
        icfgs.add("Object__sizeof");
        mcfgs.add("Object__table");
        icfgs.add("Object__table");
        vo.bind("BasicView", om.findStrict("ti.sysbios.gates.GateTask.BasicView", "ti.sysbios.gates"));
        tdefs.add(om.findStrict("ti.sysbios.gates.GateTask.BasicView", "ti.sysbios.gates"));
        mcfgs.add("A_badContext");
        vo.bind("Instance_State", om.findStrict("ti.sysbios.gates.GateTask.Instance_State", "ti.sysbios.gates"));
        tdefs.add(om.findStrict("ti.sysbios.gates.GateTask.Instance_State", "ti.sysbios.gates"));
        vo.bind("$$tdefs", Global.newArray(tdefs.toArray()));
        vo.bind("$$proxies", Global.newArray(proxies.toArray()));
        vo.bind("$$mcfgs", Global.newArray(mcfgs.toArray()));
        vo.bind("$$icfgs", Global.newArray(icfgs.toArray()));
        inherits.add("xdc.runtime");
        inherits.add("xdc.runtime");
        vo.bind("$$inherits", Global.newArray(inherits.toArray()));
        ((Value.Arr)pkgV.getv("$modules")).add(vo);
        ((Value.Arr)om.findStrict("$modules", "ti.sysbios.gates")).add(vo);
        vo.bind("$$instflag", 1);
        vo.bind("$$iobjflag", 1);
        vo.bind("$$sizeflag", 1);
        vo.bind("$$dlgflag", 0);
        vo.bind("$$iflag", 1);
        vo.bind("$$romcfgs", "|");
        vo.bind("$$nortsflag", 0);
        if (isCFG) {
            Proto.Str ps = (Proto.Str)vo.find("Module_State");
            if (ps != null) vo.bind("$object", ps.newInstance());
            vo.bind("$$meta_iobj", om.has("ti.sysbios.gates.GateTask$$instance$static$init", null) ? 1 : 0);
            vo.bind("__initObject", Global.get("ti$sysbios$gates$GateTask$$__initObject"));
        }//isCFG
        vo.bind("query", om.findStrict("ti.sysbios.gates.GateTask.query", "ti.sysbios.gates"));
        vo.bind("$$fxntab", Global.newArray("ti_sysbios_gates_GateTask_Handle__label__E", "ti_sysbios_gates_GateTask_Module__startupDone__E", "ti_sysbios_gates_GateTask_Object__create__E", "ti_sysbios_gates_GateTask_Object__delete__E", "ti_sysbios_gates_GateTask_Object__destruct__E", "ti_sysbios_gates_GateTask_Object__get__E", "ti_sysbios_gates_GateTask_Object__first__E", "ti_sysbios_gates_GateTask_Object__next__E", "ti_sysbios_gates_GateTask_Params__init__E", "ti_sysbios_gates_GateTask_query__E", "ti_sysbios_gates_GateTask_enter__E", "ti_sysbios_gates_GateTask_leave__E"));
        vo.bind("$$logEvtCfgs", Global.newArray());
        vo.bind("$$errorDescCfgs", Global.newArray());
        vo.bind("$$assertDescCfgs", Global.newArray("A_badContext"));
        Value.Map atmap = (Value.Map)vo.getv("$attr");
        atmap.setElem("", true);
        atmap.seal("length");
        vo.bind("Object", om.findStrict("ti.sysbios.gates.GateTask.Object", "ti.sysbios.gates"));
        vo.bind("MODULE_STARTUP$", 0);
        vo.bind("PROXY$", 0);
        loggables.clear();
        vo.bind("$$loggables", loggables.toArray());
        pkgV.bind("GateTask", vo);
        ((Value.Arr)pkgV.getv("$unitNames")).add("GateTask");
    }

    void GateTest$$SINGLETONS()
    {
        Proto.Obj po;
        Value.Obj vo;

        vo = (Value.Obj)om.findStrict("ti.sysbios.gates.GateTest", "ti.sysbios.gates");
        po = (Proto.Obj)om.findStrict("ti.sysbios.gates.GateTest.Module", "ti.sysbios.gates");
        vo.init2(po, "ti.sysbios.gates.GateTest", $$DEFAULT, false);
        vo.bind("Module", po);
        vo.bind("$category", "Module");
        vo.bind("$capsule", om.findStrict("ti.sysbios.gates.GateTest$$capsule", "ti.sysbios.gates"));
        vo.bind("Instance", om.findStrict("ti.sysbios.gates.GateTest.Instance", "ti.sysbios.gates"));
        vo.bind("Params", om.findStrict("ti.sysbios.gates.GateTest.Params", "ti.sysbios.gates"));
        vo.bind("PARAMS", ((Proto.Str)om.findStrict("ti.sysbios.gates.GateTest.Params", "ti.sysbios.gates")).newInstance());
        vo.bind("Handle", om.findStrict("ti.sysbios.gates.GateTest.Handle", "ti.sysbios.gates"));
        vo.bind("$package", om.findStrict("ti.sysbios.gates", "ti.sysbios.gates"));
        tdefs.clear();
        proxies.clear();
        mcfgs.clear();
        icfgs.clear();
        inherits.clear();
        mcfgs.add("Module__diagsEnabled");
        icfgs.add("Module__diagsEnabled");
        mcfgs.add("Module__diagsIncluded");
        icfgs.add("Module__diagsIncluded");
        mcfgs.add("Module__diagsMask");
        icfgs.add("Module__diagsMask");
        mcfgs.add("Module__gateObj");
        icfgs.add("Module__gateObj");
        mcfgs.add("Module__gatePrms");
        icfgs.add("Module__gatePrms");
        mcfgs.add("Module__id");
        icfgs.add("Module__id");
        mcfgs.add("Module__loggerDefined");
        icfgs.add("Module__loggerDefined");
        mcfgs.add("Module__loggerObj");
        icfgs.add("Module__loggerObj");
        mcfgs.add("Module__loggerFxn0");
        icfgs.add("Module__loggerFxn0");
        mcfgs.add("Module__loggerFxn1");
        icfgs.add("Module__loggerFxn1");
        mcfgs.add("Module__loggerFxn2");
        icfgs.add("Module__loggerFxn2");
        mcfgs.add("Module__loggerFxn4");
        icfgs.add("Module__loggerFxn4");
        mcfgs.add("Module__loggerFxn8");
        icfgs.add("Module__loggerFxn8");
        mcfgs.add("Module__startupDoneFxn");
        icfgs.add("Module__startupDoneFxn");
        mcfgs.add("Object__count");
        icfgs.add("Object__count");
        mcfgs.add("Object__heap");
        icfgs.add("Object__heap");
        mcfgs.add("Object__sizeof");
        icfgs.add("Object__sizeof");
        mcfgs.add("Object__table");
        icfgs.add("Object__table");
        vo.bind("Instance_State", om.findStrict("ti.sysbios.gates.GateTest.Instance_State", "ti.sysbios.gates"));
        tdefs.add(om.findStrict("ti.sysbios.gates.GateTest.Instance_State", "ti.sysbios.gates"));
        vo.bind("$$tdefs", Global.newArray(tdefs.toArray()));
        vo.bind("$$proxies", Global.newArray(proxies.toArray()));
        vo.bind("$$mcfgs", Global.newArray(mcfgs.toArray()));
        vo.bind("$$icfgs", Global.newArray(icfgs.toArray()));
        inherits.add("xdc.runtime");
        inherits.add("xdc.runtime");
        vo.bind("$$inherits", Global.newArray(inherits.toArray()));
        ((Value.Arr)pkgV.getv("$modules")).add(vo);
        ((Value.Arr)om.findStrict("$modules", "ti.sysbios.gates")).add(vo);
        vo.bind("$$instflag", 1);
        vo.bind("$$iobjflag", 1);
        vo.bind("$$sizeflag", 1);
        vo.bind("$$dlgflag", 0);
        vo.bind("$$iflag", 1);
        vo.bind("$$romcfgs", "|");
        vo.bind("$$nortsflag", 0);
        if (isCFG) {
            Proto.Str ps = (Proto.Str)vo.find("Module_State");
            if (ps != null) vo.bind("$object", ps.newInstance());
            vo.bind("$$meta_iobj", om.has("ti.sysbios.gates.GateTest$$instance$static$init", null) ? 1 : 0);
            vo.bind("__initObject", Global.get("ti$sysbios$gates$GateTest$$__initObject"));
        }//isCFG
        vo.bind("query", om.findStrict("ti.sysbios.gates.GateTest.query", "ti.sysbios.gates"));
        vo.bind("$$fxntab", Global.newArray("ti_sysbios_gates_GateTest_Handle__label__E", "ti_sysbios_gates_GateTest_Module__startupDone__E", "ti_sysbios_gates_GateTest_Object__create__E", "ti_sysbios_gates_GateTest_Object__delete__E", "ti_sysbios_gates_GateTest_Object__destruct__E", "ti_sysbios_gates_GateTest_Object__get__E", "ti_sysbios_gates_GateTest_Object__first__E", "ti_sysbios_gates_GateTest_Object__next__E", "ti_sysbios_gates_GateTest_Params__init__E", "ti_sysbios_gates_GateTest_query__E", "ti_sysbios_gates_GateTest_enter__E", "ti_sysbios_gates_GateTest_leave__E", "ti_sysbios_gates_GateTest_getEnterCount__E", "ti_sysbios_gates_GateTest_getLeaveCount__E", "ti_sysbios_gates_GateTest_getCreateCount__E"));
        vo.bind("$$logEvtCfgs", Global.newArray());
        vo.bind("$$errorDescCfgs", Global.newArray());
        vo.bind("$$assertDescCfgs", Global.newArray());
        Value.Map atmap = (Value.Map)vo.getv("$attr");
        atmap.setElem("", true);
        atmap.seal("length");
        vo.bind("Object", om.findStrict("ti.sysbios.gates.GateTest.Object", "ti.sysbios.gates"));
        vo.bind("MODULE_STARTUP$", 0);
        vo.bind("PROXY$", 0);
        loggables.clear();
        vo.bind("$$loggables", loggables.toArray());
        pkgV.bind("GateTest", vo);
        ((Value.Arr)pkgV.getv("$unitNames")).add("GateTest");
    }

    void GateMutexPri$$SINGLETONS()
    {
        Proto.Obj po;
        Value.Obj vo;

        vo = (Value.Obj)om.findStrict("ti.sysbios.gates.GateMutexPri", "ti.sysbios.gates");
        po = (Proto.Obj)om.findStrict("ti.sysbios.gates.GateMutexPri.Module", "ti.sysbios.gates");
        vo.init2(po, "ti.sysbios.gates.GateMutexPri", $$DEFAULT, false);
        vo.bind("Module", po);
        vo.bind("$category", "Module");
        vo.bind("$capsule", om.findStrict("ti.sysbios.gates.GateMutexPri$$capsule", "ti.sysbios.gates"));
        vo.bind("Instance", om.findStrict("ti.sysbios.gates.GateMutexPri.Instance", "ti.sysbios.gates"));
        vo.bind("Params", om.findStrict("ti.sysbios.gates.GateMutexPri.Params", "ti.sysbios.gates"));
        vo.bind("PARAMS", ((Proto.Str)om.findStrict("ti.sysbios.gates.GateMutexPri.Params", "ti.sysbios.gates")).newInstance());
        vo.bind("Handle", om.findStrict("ti.sysbios.gates.GateMutexPri.Handle", "ti.sysbios.gates"));
        vo.bind("$package", om.findStrict("ti.sysbios.gates", "ti.sysbios.gates"));
        tdefs.clear();
        proxies.clear();
        mcfgs.clear();
        icfgs.clear();
        inherits.clear();
        mcfgs.add("Module__diagsEnabled");
        icfgs.add("Module__diagsEnabled");
        mcfgs.add("Module__diagsIncluded");
        icfgs.add("Module__diagsIncluded");
        mcfgs.add("Module__diagsMask");
        icfgs.add("Module__diagsMask");
        mcfgs.add("Module__gateObj");
        icfgs.add("Module__gateObj");
        mcfgs.add("Module__gatePrms");
        icfgs.add("Module__gatePrms");
        mcfgs.add("Module__id");
        icfgs.add("Module__id");
        mcfgs.add("Module__loggerDefined");
        icfgs.add("Module__loggerDefined");
        mcfgs.add("Module__loggerObj");
        icfgs.add("Module__loggerObj");
        mcfgs.add("Module__loggerFxn0");
        icfgs.add("Module__loggerFxn0");
        mcfgs.add("Module__loggerFxn1");
        icfgs.add("Module__loggerFxn1");
        mcfgs.add("Module__loggerFxn2");
        icfgs.add("Module__loggerFxn2");
        mcfgs.add("Module__loggerFxn4");
        icfgs.add("Module__loggerFxn4");
        mcfgs.add("Module__loggerFxn8");
        icfgs.add("Module__loggerFxn8");
        mcfgs.add("Module__startupDoneFxn");
        icfgs.add("Module__startupDoneFxn");
        mcfgs.add("Object__count");
        icfgs.add("Object__count");
        mcfgs.add("Object__heap");
        icfgs.add("Object__heap");
        mcfgs.add("Object__sizeof");
        icfgs.add("Object__sizeof");
        mcfgs.add("Object__table");
        icfgs.add("Object__table");
        vo.bind("BasicView", om.findStrict("ti.sysbios.gates.GateMutexPri.BasicView", "ti.sysbios.gates"));
        tdefs.add(om.findStrict("ti.sysbios.gates.GateMutexPri.BasicView", "ti.sysbios.gates"));
        vo.bind("DetailedView", om.findStrict("ti.sysbios.gates.GateMutexPri.DetailedView", "ti.sysbios.gates"));
        tdefs.add(om.findStrict("ti.sysbios.gates.GateMutexPri.DetailedView", "ti.sysbios.gates"));
        mcfgs.add("A_badContext");
        mcfgs.add("A_enterTaskDisabled");
        vo.bind("Instance_State", om.findStrict("ti.sysbios.gates.GateMutexPri.Instance_State", "ti.sysbios.gates"));
        tdefs.add(om.findStrict("ti.sysbios.gates.GateMutexPri.Instance_State", "ti.sysbios.gates"));
        vo.bind("$$tdefs", Global.newArray(tdefs.toArray()));
        vo.bind("$$proxies", Global.newArray(proxies.toArray()));
        vo.bind("$$mcfgs", Global.newArray(mcfgs.toArray()));
        vo.bind("$$icfgs", Global.newArray(icfgs.toArray()));
        inherits.add("xdc.runtime");
        inherits.add("xdc.runtime");
        vo.bind("$$inherits", Global.newArray(inherits.toArray()));
        ((Value.Arr)pkgV.getv("$modules")).add(vo);
        ((Value.Arr)om.findStrict("$modules", "ti.sysbios.gates")).add(vo);
        vo.bind("$$instflag", 1);
        vo.bind("$$iobjflag", 1);
        vo.bind("$$sizeflag", 1);
        vo.bind("$$dlgflag", 0);
        vo.bind("$$iflag", 1);
        vo.bind("$$romcfgs", "|");
        vo.bind("$$nortsflag", 0);
        if (isCFG) {
            Proto.Str ps = (Proto.Str)vo.find("Module_State");
            if (ps != null) vo.bind("$object", ps.newInstance());
            vo.bind("$$meta_iobj", om.has("ti.sysbios.gates.GateMutexPri$$instance$static$init", null) ? 1 : 0);
            vo.bind("__initObject", Global.get("ti$sysbios$gates$GateMutexPri$$__initObject"));
        }//isCFG
        vo.bind("query", om.findStrict("ti.sysbios.gates.GateMutexPri.query", "ti.sysbios.gates"));
        vo.bind("insertPri", om.findStrict("ti.sysbios.gates.GateMutexPri.insertPri", "ti.sysbios.gates"));
        vo.bind("$$fxntab", Global.newArray("ti_sysbios_gates_GateMutexPri_Handle__label__E", "ti_sysbios_gates_GateMutexPri_Module__startupDone__E", "ti_sysbios_gates_GateMutexPri_Object__create__E", "ti_sysbios_gates_GateMutexPri_Object__delete__E", "ti_sysbios_gates_GateMutexPri_Object__destruct__E", "ti_sysbios_gates_GateMutexPri_Object__get__E", "ti_sysbios_gates_GateMutexPri_Object__first__E", "ti_sysbios_gates_GateMutexPri_Object__next__E", "ti_sysbios_gates_GateMutexPri_Params__init__E", "ti_sysbios_gates_GateMutexPri_query__E", "ti_sysbios_gates_GateMutexPri_enter__E", "ti_sysbios_gates_GateMutexPri_leave__E"));
        vo.bind("$$logEvtCfgs", Global.newArray());
        vo.bind("$$errorDescCfgs", Global.newArray());
        vo.bind("$$assertDescCfgs", Global.newArray("A_badContext", "A_enterTaskDisabled"));
        Value.Map atmap = (Value.Map)vo.getv("$attr");
        atmap.setElem("", true);
        atmap.setElem("", true);
        atmap.seal("length");
        vo.bind("Object", om.findStrict("ti.sysbios.gates.GateMutexPri.Object", "ti.sysbios.gates"));
        vo.bind("MODULE_STARTUP$", 0);
        vo.bind("PROXY$", 0);
        loggables.clear();
        vo.bind("$$loggables", loggables.toArray());
        pkgV.bind("GateMutexPri", vo);
        ((Value.Arr)pkgV.getv("$unitNames")).add("GateMutexPri");
    }

    void GateMutex$$SINGLETONS()
    {
        Proto.Obj po;
        Value.Obj vo;

        vo = (Value.Obj)om.findStrict("ti.sysbios.gates.GateMutex", "ti.sysbios.gates");
        po = (Proto.Obj)om.findStrict("ti.sysbios.gates.GateMutex.Module", "ti.sysbios.gates");
        vo.init2(po, "ti.sysbios.gates.GateMutex", $$DEFAULT, false);
        vo.bind("Module", po);
        vo.bind("$category", "Module");
        vo.bind("$capsule", om.findStrict("ti.sysbios.gates.GateMutex$$capsule", "ti.sysbios.gates"));
        vo.bind("Instance", om.findStrict("ti.sysbios.gates.GateMutex.Instance", "ti.sysbios.gates"));
        vo.bind("Params", om.findStrict("ti.sysbios.gates.GateMutex.Params", "ti.sysbios.gates"));
        vo.bind("PARAMS", ((Proto.Str)om.findStrict("ti.sysbios.gates.GateMutex.Params", "ti.sysbios.gates")).newInstance());
        vo.bind("Handle", om.findStrict("ti.sysbios.gates.GateMutex.Handle", "ti.sysbios.gates"));
        vo.bind("$package", om.findStrict("ti.sysbios.gates", "ti.sysbios.gates"));
        tdefs.clear();
        proxies.clear();
        mcfgs.clear();
        icfgs.clear();
        inherits.clear();
        mcfgs.add("Module__diagsEnabled");
        icfgs.add("Module__diagsEnabled");
        mcfgs.add("Module__diagsIncluded");
        icfgs.add("Module__diagsIncluded");
        mcfgs.add("Module__diagsMask");
        icfgs.add("Module__diagsMask");
        mcfgs.add("Module__gateObj");
        icfgs.add("Module__gateObj");
        mcfgs.add("Module__gatePrms");
        icfgs.add("Module__gatePrms");
        mcfgs.add("Module__id");
        icfgs.add("Module__id");
        mcfgs.add("Module__loggerDefined");
        icfgs.add("Module__loggerDefined");
        mcfgs.add("Module__loggerObj");
        icfgs.add("Module__loggerObj");
        mcfgs.add("Module__loggerFxn0");
        icfgs.add("Module__loggerFxn0");
        mcfgs.add("Module__loggerFxn1");
        icfgs.add("Module__loggerFxn1");
        mcfgs.add("Module__loggerFxn2");
        icfgs.add("Module__loggerFxn2");
        mcfgs.add("Module__loggerFxn4");
        icfgs.add("Module__loggerFxn4");
        mcfgs.add("Module__loggerFxn8");
        icfgs.add("Module__loggerFxn8");
        mcfgs.add("Module__startupDoneFxn");
        icfgs.add("Module__startupDoneFxn");
        mcfgs.add("Object__count");
        icfgs.add("Object__count");
        mcfgs.add("Object__heap");
        icfgs.add("Object__heap");
        mcfgs.add("Object__sizeof");
        icfgs.add("Object__sizeof");
        mcfgs.add("Object__table");
        icfgs.add("Object__table");
        vo.bind("BasicView", om.findStrict("ti.sysbios.gates.GateMutex.BasicView", "ti.sysbios.gates"));
        tdefs.add(om.findStrict("ti.sysbios.gates.GateMutex.BasicView", "ti.sysbios.gates"));
        mcfgs.add("A_badContext");
        vo.bind("Instance_State", om.findStrict("ti.sysbios.gates.GateMutex.Instance_State", "ti.sysbios.gates"));
        tdefs.add(om.findStrict("ti.sysbios.gates.GateMutex.Instance_State", "ti.sysbios.gates"));
        vo.bind("$$tdefs", Global.newArray(tdefs.toArray()));
        vo.bind("$$proxies", Global.newArray(proxies.toArray()));
        vo.bind("$$mcfgs", Global.newArray(mcfgs.toArray()));
        vo.bind("$$icfgs", Global.newArray(icfgs.toArray()));
        inherits.add("xdc.runtime");
        inherits.add("xdc.runtime");
        vo.bind("$$inherits", Global.newArray(inherits.toArray()));
        ((Value.Arr)pkgV.getv("$modules")).add(vo);
        ((Value.Arr)om.findStrict("$modules", "ti.sysbios.gates")).add(vo);
        vo.bind("$$instflag", 1);
        vo.bind("$$iobjflag", 1);
        vo.bind("$$sizeflag", 1);
        vo.bind("$$dlgflag", 0);
        vo.bind("$$iflag", 1);
        vo.bind("$$romcfgs", "|");
        vo.bind("$$nortsflag", 0);
        if (isCFG) {
            Proto.Str ps = (Proto.Str)vo.find("Module_State");
            if (ps != null) vo.bind("$object", ps.newInstance());
            vo.bind("$$meta_iobj", om.has("ti.sysbios.gates.GateMutex$$instance$static$init", null) ? 1 : 0);
            vo.bind("__initObject", Global.get("ti$sysbios$gates$GateMutex$$__initObject"));
        }//isCFG
        vo.bind("query", om.findStrict("ti.sysbios.gates.GateMutex.query", "ti.sysbios.gates"));
        vo.bind("$$fxntab", Global.newArray("ti_sysbios_gates_GateMutex_Handle__label__E", "ti_sysbios_gates_GateMutex_Module__startupDone__E", "ti_sysbios_gates_GateMutex_Object__create__E", "ti_sysbios_gates_GateMutex_Object__delete__E", "ti_sysbios_gates_GateMutex_Object__destruct__E", "ti_sysbios_gates_GateMutex_Object__get__E", "ti_sysbios_gates_GateMutex_Object__first__E", "ti_sysbios_gates_GateMutex_Object__next__E", "ti_sysbios_gates_GateMutex_Params__init__E", "ti_sysbios_gates_GateMutex_query__E", "ti_sysbios_gates_GateMutex_enter__E", "ti_sysbios_gates_GateMutex_leave__E"));
        vo.bind("$$logEvtCfgs", Global.newArray());
        vo.bind("$$errorDescCfgs", Global.newArray());
        vo.bind("$$assertDescCfgs", Global.newArray("A_badContext"));
        Value.Map atmap = (Value.Map)vo.getv("$attr");
        atmap.setElem("", true);
        atmap.setElem("", true);
        atmap.seal("length");
        vo.bind("Object", om.findStrict("ti.sysbios.gates.GateMutex.Object", "ti.sysbios.gates"));
        vo.bind("MODULE_STARTUP$", 0);
        vo.bind("PROXY$", 0);
        loggables.clear();
        vo.bind("$$loggables", loggables.toArray());
        pkgV.bind("GateMutex", vo);
        ((Value.Arr)pkgV.getv("$unitNames")).add("GateMutex");
    }

    void GateSpinlock$$SINGLETONS()
    {
        Proto.Obj po;
        Value.Obj vo;

        vo = (Value.Obj)om.findStrict("ti.sysbios.gates.GateSpinlock", "ti.sysbios.gates");
        po = (Proto.Obj)om.findStrict("ti.sysbios.gates.GateSpinlock.Module", "ti.sysbios.gates");
        vo.init2(po, "ti.sysbios.gates.GateSpinlock", $$DEFAULT, false);
        vo.bind("Module", po);
        vo.bind("$category", "Module");
        vo.bind("$capsule", om.findStrict("ti.sysbios.gates.GateSpinlock$$capsule", "ti.sysbios.gates"));
        vo.bind("Instance", om.findStrict("ti.sysbios.gates.GateSpinlock.Instance", "ti.sysbios.gates"));
        vo.bind("Params", om.findStrict("ti.sysbios.gates.GateSpinlock.Params", "ti.sysbios.gates"));
        vo.bind("PARAMS", ((Proto.Str)om.findStrict("ti.sysbios.gates.GateSpinlock.Params", "ti.sysbios.gates")).newInstance());
        vo.bind("Handle", om.findStrict("ti.sysbios.gates.GateSpinlock.Handle", "ti.sysbios.gates"));
        vo.bind("$package", om.findStrict("ti.sysbios.gates", "ti.sysbios.gates"));
        tdefs.clear();
        proxies.clear();
        mcfgs.clear();
        icfgs.clear();
        inherits.clear();
        mcfgs.add("Module__diagsEnabled");
        icfgs.add("Module__diagsEnabled");
        mcfgs.add("Module__diagsIncluded");
        icfgs.add("Module__diagsIncluded");
        mcfgs.add("Module__diagsMask");
        icfgs.add("Module__diagsMask");
        mcfgs.add("Module__gateObj");
        icfgs.add("Module__gateObj");
        mcfgs.add("Module__gatePrms");
        icfgs.add("Module__gatePrms");
        mcfgs.add("Module__id");
        icfgs.add("Module__id");
        mcfgs.add("Module__loggerDefined");
        icfgs.add("Module__loggerDefined");
        mcfgs.add("Module__loggerObj");
        icfgs.add("Module__loggerObj");
        mcfgs.add("Module__loggerFxn0");
        icfgs.add("Module__loggerFxn0");
        mcfgs.add("Module__loggerFxn1");
        icfgs.add("Module__loggerFxn1");
        mcfgs.add("Module__loggerFxn2");
        icfgs.add("Module__loggerFxn2");
        mcfgs.add("Module__loggerFxn4");
        icfgs.add("Module__loggerFxn4");
        mcfgs.add("Module__loggerFxn8");
        icfgs.add("Module__loggerFxn8");
        mcfgs.add("Module__startupDoneFxn");
        icfgs.add("Module__startupDoneFxn");
        mcfgs.add("Object__count");
        icfgs.add("Object__count");
        mcfgs.add("Object__heap");
        icfgs.add("Object__heap");
        mcfgs.add("Object__sizeof");
        icfgs.add("Object__sizeof");
        mcfgs.add("Object__table");
        icfgs.add("Object__table");
        vo.bind("BasicView", om.findStrict("ti.sysbios.gates.GateSpinlock.BasicView", "ti.sysbios.gates"));
        tdefs.add(om.findStrict("ti.sysbios.gates.GateSpinlock.BasicView", "ti.sysbios.gates"));
        mcfgs.add("A_badContext");
        mcfgs.add("A_invalidQuality");
        vo.bind("Instance_State", om.findStrict("ti.sysbios.gates.GateSpinlock.Instance_State", "ti.sysbios.gates"));
        tdefs.add(om.findStrict("ti.sysbios.gates.GateSpinlock.Instance_State", "ti.sysbios.gates"));
        vo.bind("$$tdefs", Global.newArray(tdefs.toArray()));
        vo.bind("$$proxies", Global.newArray(proxies.toArray()));
        vo.bind("$$mcfgs", Global.newArray(mcfgs.toArray()));
        vo.bind("$$icfgs", Global.newArray(icfgs.toArray()));
        inherits.add("xdc.runtime");
        inherits.add("xdc.runtime");
        vo.bind("$$inherits", Global.newArray(inherits.toArray()));
        ((Value.Arr)pkgV.getv("$modules")).add(vo);
        ((Value.Arr)om.findStrict("$modules", "ti.sysbios.gates")).add(vo);
        vo.bind("$$instflag", 1);
        vo.bind("$$iobjflag", 1);
        vo.bind("$$sizeflag", 1);
        vo.bind("$$dlgflag", 0);
        vo.bind("$$iflag", 1);
        vo.bind("$$romcfgs", "|");
        vo.bind("$$nortsflag", 0);
        if (isCFG) {
            Proto.Str ps = (Proto.Str)vo.find("Module_State");
            if (ps != null) vo.bind("$object", ps.newInstance());
            vo.bind("$$meta_iobj", om.has("ti.sysbios.gates.GateSpinlock$$instance$static$init", null) ? 1 : 0);
            vo.bind("__initObject", Global.get("ti$sysbios$gates$GateSpinlock$$__initObject"));
        }//isCFG
        vo.bind("query", om.findStrict("ti.sysbios.gates.GateSpinlock.query", "ti.sysbios.gates"));
        vo.bind("$$fxntab", Global.newArray("ti_sysbios_gates_GateSpinlock_Handle__label__E", "ti_sysbios_gates_GateSpinlock_Module__startupDone__E", "ti_sysbios_gates_GateSpinlock_Object__create__E", "ti_sysbios_gates_GateSpinlock_Object__delete__E", "ti_sysbios_gates_GateSpinlock_Object__destruct__E", "ti_sysbios_gates_GateSpinlock_Object__get__E", "ti_sysbios_gates_GateSpinlock_Object__first__E", "ti_sysbios_gates_GateSpinlock_Object__next__E", "ti_sysbios_gates_GateSpinlock_Params__init__E", "ti_sysbios_gates_GateSpinlock_query__E", "ti_sysbios_gates_GateSpinlock_enter__E", "ti_sysbios_gates_GateSpinlock_enterHwi__E", "ti_sysbios_gates_GateSpinlock_leave__E", "ti_sysbios_gates_GateSpinlock_leaveHwi__E"));
        vo.bind("$$logEvtCfgs", Global.newArray());
        vo.bind("$$errorDescCfgs", Global.newArray());
        vo.bind("$$assertDescCfgs", Global.newArray("A_badContext", "A_invalidQuality"));
        Value.Map atmap = (Value.Map)vo.getv("$attr");
        atmap.setElem("", true);
        atmap.seal("length");
        vo.bind("Object", om.findStrict("ti.sysbios.gates.GateSpinlock.Object", "ti.sysbios.gates"));
        vo.bind("MODULE_STARTUP$", 0);
        vo.bind("PROXY$", 0);
        loggables.clear();
        vo.bind("$$loggables", loggables.toArray());
        pkgV.bind("GateSpinlock", vo);
        ((Value.Arr)pkgV.getv("$unitNames")).add("GateSpinlock");
    }

    void $$INITIALIZATION()
    {
        Value.Obj vo;

        if (isCFG) {
            Object srcP = ((XScriptO)om.findStrict("xdc.runtime.IInstance", "ti.sysbios.gates")).findStrict("PARAMS", "ti.sysbios.gates");
            Scriptable dstP;

            dstP = (Scriptable)((XScriptO)om.findStrict("ti.sysbios.gates.GateHwi", "ti.sysbios.gates")).findStrict("PARAMS", "ti.sysbios.gates");
            Global.put(dstP, "instance", srcP);
            dstP = (Scriptable)((XScriptO)om.findStrict("ti.sysbios.gates.GateAll", "ti.sysbios.gates")).findStrict("PARAMS", "ti.sysbios.gates");
            Global.put(dstP, "instance", srcP);
            dstP = (Scriptable)((XScriptO)om.findStrict("ti.sysbios.gates.GateSwi", "ti.sysbios.gates")).findStrict("PARAMS", "ti.sysbios.gates");
            Global.put(dstP, "instance", srcP);
            dstP = (Scriptable)((XScriptO)om.findStrict("ti.sysbios.gates.GateTask", "ti.sysbios.gates")).findStrict("PARAMS", "ti.sysbios.gates");
            Global.put(dstP, "instance", srcP);
            dstP = (Scriptable)((XScriptO)om.findStrict("ti.sysbios.gates.GateTest", "ti.sysbios.gates")).findStrict("PARAMS", "ti.sysbios.gates");
            Global.put(dstP, "instance", srcP);
            dstP = (Scriptable)((XScriptO)om.findStrict("ti.sysbios.gates.GateMutexPri", "ti.sysbios.gates")).findStrict("PARAMS", "ti.sysbios.gates");
            Global.put(dstP, "instance", srcP);
            dstP = (Scriptable)((XScriptO)om.findStrict("ti.sysbios.gates.GateMutex", "ti.sysbios.gates")).findStrict("PARAMS", "ti.sysbios.gates");
            Global.put(dstP, "instance", srcP);
            dstP = (Scriptable)((XScriptO)om.findStrict("ti.sysbios.gates.GateSpinlock", "ti.sysbios.gates")).findStrict("PARAMS", "ti.sysbios.gates");
            Global.put(dstP, "instance", srcP);
        }//isCFG
        Global.callFxn("module$meta$init", (Scriptable)om.findStrict("ti.sysbios.gates.GateHwi", "ti.sysbios.gates"));
        Global.callFxn("module$meta$init", (Scriptable)om.findStrict("ti.sysbios.gates.GateAll", "ti.sysbios.gates"));
        Global.callFxn("module$meta$init", (Scriptable)om.findStrict("ti.sysbios.gates.GateSwi", "ti.sysbios.gates"));
        Global.callFxn("module$meta$init", (Scriptable)om.findStrict("ti.sysbios.gates.GateTask", "ti.sysbios.gates"));
        Global.callFxn("module$meta$init", (Scriptable)om.findStrict("ti.sysbios.gates.GateTest", "ti.sysbios.gates"));
        Global.callFxn("module$meta$init", (Scriptable)om.findStrict("ti.sysbios.gates.GateMutexPri", "ti.sysbios.gates"));
        Global.callFxn("module$meta$init", (Scriptable)om.findStrict("ti.sysbios.gates.GateMutex", "ti.sysbios.gates"));
        Global.callFxn("module$meta$init", (Scriptable)om.findStrict("ti.sysbios.gates.GateSpinlock", "ti.sysbios.gates"));
        if (isCFG) {
            vo = (Value.Obj)om.findStrict("ti.sysbios.gates.GateHwi", "ti.sysbios.gates");
            Global.put(vo, "rovViewInfo", Global.callFxn("create", (Scriptable)om.find("xdc.rov.ViewInfo"), Global.newObject("viewMap", Global.newArray(new Object[]{Global.newArray(new Object[]{"Basic", Global.newObject("type", om.find("xdc.rov.ViewInfo.INSTANCE"), "viewInitFxn", "viewInitBasic", "structName", "BasicView")})}))));
        }//isCFG
        if (isCFG) {
            vo = (Value.Obj)om.findStrict("ti.sysbios.gates.GateAll", "ti.sysbios.gates");
            Global.put(vo, "rovViewInfo", Global.callFxn("create", (Scriptable)om.find("xdc.rov.ViewInfo"), Global.newObject("viewMap", Global.newArray(new Object[]{Global.newArray(new Object[]{"Basic", Global.newObject("type", om.find("xdc.rov.ViewInfo.INSTANCE"), "viewInitFxn", "viewInitBasic", "structName", "BasicView")})}))));
        }//isCFG
        if (isCFG) {
            vo = (Value.Obj)om.findStrict("ti.sysbios.gates.GateSwi", "ti.sysbios.gates");
            Global.put(vo, "rovViewInfo", Global.callFxn("create", (Scriptable)om.find("xdc.rov.ViewInfo"), Global.newObject("viewMap", Global.newArray(new Object[]{Global.newArray(new Object[]{"Basic", Global.newObject("type", om.find("xdc.rov.ViewInfo.INSTANCE"), "viewInitFxn", "viewInitBasic", "structName", "BasicView")})}))));
        }//isCFG
        if (isCFG) {
            vo = (Value.Obj)om.findStrict("ti.sysbios.gates.GateTask", "ti.sysbios.gates");
            Global.put(vo, "rovViewInfo", Global.callFxn("create", (Scriptable)om.find("xdc.rov.ViewInfo"), Global.newObject("viewMap", Global.newArray(new Object[]{Global.newArray(new Object[]{"Basic", Global.newObject("type", om.find("xdc.rov.ViewInfo.INSTANCE"), "viewInitFxn", "viewInitBasic", "structName", "BasicView")})}))));
        }//isCFG
        if (isCFG) {
            vo = (Value.Obj)om.findStrict("ti.sysbios.gates.GateMutexPri", "ti.sysbios.gates");
            Global.put(vo, "rovViewInfo", Global.callFxn("create", (Scriptable)om.find("xdc.rov.ViewInfo"), Global.newObject("viewMap", Global.newArray(new Object[]{Global.newArray(new Object[]{"Basic", Global.newObject("type", om.find("xdc.rov.ViewInfo.INSTANCE"), "viewInitFxn", "viewInitBasic", "structName", "BasicView")}), Global.newArray(new Object[]{"Detailed", Global.newObject("type", om.find("xdc.rov.ViewInfo.INSTANCE"), "viewInitFxn", "viewInitDetailed", "structName", "DetailedView")})}))));
        }//isCFG
        if (isCFG) {
            vo = (Value.Obj)om.findStrict("ti.sysbios.gates.GateMutex", "ti.sysbios.gates");
            Global.put(vo, "rovViewInfo", Global.callFxn("create", (Scriptable)om.find("xdc.rov.ViewInfo"), Global.newObject("viewMap", Global.newArray(new Object[]{Global.newArray(new Object[]{"Basic", Global.newObject("type", om.find("xdc.rov.ViewInfo.INSTANCE"), "viewInitFxn", "viewInitBasic", "structName", "BasicView")})}))));
        }//isCFG
        if (isCFG) {
            vo = (Value.Obj)om.findStrict("ti.sysbios.gates.GateSpinlock", "ti.sysbios.gates");
            Global.put(vo, "rovViewInfo", Global.callFxn("create", (Scriptable)om.find("xdc.rov.ViewInfo"), Global.newObject("viewMap", Global.newArray(new Object[]{Global.newArray(new Object[]{"Basic", Global.newObject("type", om.find("xdc.rov.ViewInfo.INSTANCE"), "viewInitFxn", "viewInitBasic", "structName", "BasicView")})}))));
        }//isCFG
        Global.callFxn("init", pkgV);
        ((Value.Obj)om.getv("ti.sysbios.gates.GateHwi")).bless();
        ((Value.Obj)om.getv("ti.sysbios.gates.GateAll")).bless();
        ((Value.Obj)om.getv("ti.sysbios.gates.GateSwi")).bless();
        ((Value.Obj)om.getv("ti.sysbios.gates.GateTask")).bless();
        ((Value.Obj)om.getv("ti.sysbios.gates.GateTest")).bless();
        ((Value.Obj)om.getv("ti.sysbios.gates.GateMutexPri")).bless();
        ((Value.Obj)om.getv("ti.sysbios.gates.GateMutex")).bless();
        ((Value.Obj)om.getv("ti.sysbios.gates.GateSpinlock")).bless();
        ((Value.Arr)om.findStrict("$packages", "ti.sysbios.gates")).add(pkgV);
    }

    public void exec( Scriptable xdcO, Session ses )
    {
        this.xdcO = xdcO;
        this.ses = ses;
        om = (Value.Obj)xdcO.get("om", null);

        Object o = om.geto("$name");
        String s = o instanceof String ? (String)o : null;
        isCFG = s != null && s.equals("cfg");
        isROV = s != null && s.equals("rov");

        $$IMPORTS();
        $$OBJECTS();
        GateHwi$$OBJECTS();
        GateAll$$OBJECTS();
        GateSwi$$OBJECTS();
        GateTask$$OBJECTS();
        GateTest$$OBJECTS();
        GateMutexPri$$OBJECTS();
        GateMutex$$OBJECTS();
        GateSpinlock$$OBJECTS();
        GateHwi$$CONSTS();
        GateAll$$CONSTS();
        GateSwi$$CONSTS();
        GateTask$$CONSTS();
        GateTest$$CONSTS();
        GateMutexPri$$CONSTS();
        GateMutex$$CONSTS();
        GateSpinlock$$CONSTS();
        GateHwi$$CREATES();
        GateAll$$CREATES();
        GateSwi$$CREATES();
        GateTask$$CREATES();
        GateTest$$CREATES();
        GateMutexPri$$CREATES();
        GateMutex$$CREATES();
        GateSpinlock$$CREATES();
        GateHwi$$FUNCTIONS();
        GateAll$$FUNCTIONS();
        GateSwi$$FUNCTIONS();
        GateTask$$FUNCTIONS();
        GateTest$$FUNCTIONS();
        GateMutexPri$$FUNCTIONS();
        GateMutex$$FUNCTIONS();
        GateSpinlock$$FUNCTIONS();
        GateHwi$$SIZES();
        GateAll$$SIZES();
        GateSwi$$SIZES();
        GateTask$$SIZES();
        GateTest$$SIZES();
        GateMutexPri$$SIZES();
        GateMutex$$SIZES();
        GateSpinlock$$SIZES();
        GateHwi$$TYPES();
        GateAll$$TYPES();
        GateSwi$$TYPES();
        GateTask$$TYPES();
        GateTest$$TYPES();
        GateMutexPri$$TYPES();
        GateMutex$$TYPES();
        GateSpinlock$$TYPES();
        if (isROV) {
            GateHwi$$ROV();
            GateAll$$ROV();
            GateSwi$$ROV();
            GateTask$$ROV();
            GateTest$$ROV();
            GateMutexPri$$ROV();
            GateMutex$$ROV();
            GateSpinlock$$ROV();
        }//isROV
        $$SINGLETONS();
        GateHwi$$SINGLETONS();
        GateAll$$SINGLETONS();
        GateSwi$$SINGLETONS();
        GateTask$$SINGLETONS();
        GateTest$$SINGLETONS();
        GateMutexPri$$SINGLETONS();
        GateMutex$$SINGLETONS();
        GateSpinlock$$SINGLETONS();
        $$INITIALIZATION();
    }
}
