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

    vo = (Value.Obj) om.findStrict("xdc.tools.ICmd", "xdc.tools");
    po = (Proto.Obj) om.findStrict("xdc.tools.ICmd.Module", "xdc.tools");
    vo.init2(po, "xdc.tools.ICmd", $$DEFAULT, false);
    vo.bind("Module", po);
    vo.bind("$category", "Interface");
    vo.bind("$capsule", om.findStrict("xdc.tools.ICmd$$capsule", "xdc.tools"));
    vo.bind("Instance", om.findStrict("xdc.tools.ICmd.Instance", "xdc.tools"));
    vo.bind("Params", om.findStrict("xdc.tools.ICmd.Params", "xdc.tools"));
    vo.bind(
        "PARAMS", ((Proto.Str) om.findStrict("xdc.tools.ICmd.Params", "xdc.tools")).newInstance());
    vo.bind("$package", om.findStrict("xdc.tools", "xdc.tools"));
    tdefs.clear();
    proxies.clear();
    inherits.clear();
    vo.bind("$$tdefs", Global.newArray(tdefs.toArray()));
    vo.bind("$$proxies", Global.newArray(proxies.toArray()));
    vo.bind("$$inherits", Global.newArray(inherits.toArray()));
    ((Value.Arr) pkgV.getv("$interfaces")).add(vo);
    pkgV.bind("ICmd", vo);
    ((Value.Arr) pkgV.getv("$unitNames")).add("ICmd");
    vo.seal(null);
  }
  void IRtscProductTemplate$$SINGLETONS() {
    Proto.Obj po;
    Value.Obj vo;

    vo = (Value.Obj) om.findStrict("xdc.tools.IRtscProductTemplate", "xdc.tools");
    po = (Proto.Obj) om.findStrict("xdc.tools.IRtscProductTemplate.Module", "xdc.tools");
    vo.init2(po, "xdc.tools.IRtscProductTemplate", $$DEFAULT, false);
    vo.bind("Module", po);
    vo.bind("$category", "Interface");
    vo.bind("$capsule", $$UNDEF);
    vo.bind("$package", om.findStrict("xdc.tools", "xdc.tools"));
    tdefs.clear();
    proxies.clear();
    inherits.clear();
    vo.bind(
        "TemplateInfo", om.findStrict("xdc.tools.IRtscProductTemplate.TemplateInfo", "xdc.tools"));
    tdefs.add(om.findStrict("xdc.tools.IRtscProductTemplate.TemplateInfo", "xdc.tools"));
    vo.bind("$$tdefs", Global.newArray(tdefs.toArray()));
    vo.bind("$$proxies", Global.newArray(proxies.toArray()));
    vo.bind("$$inherits", Global.newArray(inherits.toArray()));
    ((Value.Arr) pkgV.getv("$interfaces")).add(vo);
    pkgV.bind("IRtscProductTemplate", vo);
    ((Value.Arr) pkgV.getv("$unitNames")).add("IRtscProductTemplate");
    vo.seal(null);
  }
Exemple #3
0
  void Platform$$SINGLETONS() {
    Proto.Obj po;
    Value.Obj vo;

    vo = (Value.Obj) om.findStrict("ti.platforms.evm6424.Platform", "ti.platforms.evm6424");
    po = (Proto.Obj) om.findStrict("ti.platforms.evm6424.Platform.Module", "ti.platforms.evm6424");
    vo.init2(po, "ti.platforms.evm6424.Platform", $$DEFAULT, false);
    vo.bind("Module", po);
    vo.bind("$category", "Module");
    vo.bind(
        "$capsule",
        om.findStrict("ti.platforms.evm6424.Platform$$capsule", "ti.platforms.evm6424"));
    vo.bind(
        "Instance",
        om.findStrict("ti.platforms.evm6424.Platform.Instance", "ti.platforms.evm6424"));
    vo.bind(
        "Params", om.findStrict("ti.platforms.evm6424.Platform.Params", "ti.platforms.evm6424"));
    vo.bind(
        "PARAMS",
        ((Proto.Str) om.findStrict("ti.platforms.evm6424.Platform.Params", "ti.platforms.evm6424"))
            .newInstance());
    vo.bind("$package", om.findStrict("ti.platforms.evm6424", "ti.platforms.evm6424"));
    tdefs.clear();
    proxies.clear();
    mcfgs.clear();
    vo.bind("Board", om.findStrict("xdc.platform.IPlatform.Board", "ti.platforms.evm6424"));
    tdefs.add(om.findStrict("xdc.platform.IPlatform.Board", "ti.platforms.evm6424"));
    vo.bind("Memory", om.findStrict("xdc.platform.IPlatform.Memory", "ti.platforms.evm6424"));
    tdefs.add(om.findStrict("xdc.platform.IPlatform.Memory", "ti.platforms.evm6424"));
    vo.bind("MemoryMap", om.findStrict("xdc.platform.IPlatform.MemoryMap", "ti.platforms.evm6424"));
    vo.bind("$$tdefs", Global.newArray(tdefs.toArray()));
    vo.bind("$$proxies", Global.newArray(proxies.toArray()));
    vo.bind("$$mcfgs", Global.newArray(mcfgs.toArray()));
    ((Value.Arr) pkgV.getv("$modules")).add(vo);
    ((Value.Arr) om.findStrict("$modules", "ti.platforms.evm6424")).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", "|");
    Proto.Str ps = (Proto.Str) vo.find("Module_State");
    if (ps != null) vo.bind("$object", ps.newInstance());
    vo.bind(
        "$$meta_iobj", om.has("ti.platforms.evm6424.Platform$$instance$static$init", null) ? 1 : 0);
    vo.bind("$$fxntab", Global.newArray());
    vo.bind("$$logEvtCfgs", Global.newArray());
    vo.bind("$$errorDescCfgs", Global.newArray());
    vo.bind("$$assertDescCfgs", Global.newArray());
    Value.Map atmap = (Value.Map) vo.getv("$attr");
    atmap.seal("length");
    vo.bind(
        "Object", om.findStrict("ti.platforms.evm6424.Platform.Object", "ti.platforms.evm6424"));
    pkgV.bind("Platform", vo);
    ((Value.Arr) pkgV.getv("$unitNames")).add("Platform");
  }
  void $$INITIALIZATION() {
    Value.Obj vo;

    if (isCFG) {} // isCFG
    Global.callFxn(
        "module$meta$init",
        (Scriptable) om.findStrict("ti.sdo.ce.universal.UNIVERSALConfig", "ti.sdo.ce.universal"));
    Global.callFxn("init", pkgV);
    ((Value.Obj) om.getv("ti.sdo.ce.universal.UNIVERSALConfig")).bless();
    ((Value.Obj) om.getv("ti.sdo.ce.universal.IUNIVERSAL")).bless();
    ((Value.Arr) om.findStrict("$packages", "ti.sdo.ce.universal")).add(pkgV);
  }
  void Cmdr$$SINGLETONS() {
    Proto.Obj po;
    Value.Obj vo;

    vo = (Value.Obj) om.findStrict("xdc.tools.Cmdr", "xdc.tools");
    po = (Proto.Obj) om.findStrict("xdc.tools.Cmdr.Module", "xdc.tools");
    vo.init2(po, "xdc.tools.Cmdr", $$DEFAULT, false);
    vo.bind("Module", po);
    vo.bind("$category", "Module");
    vo.bind("$capsule", om.findStrict("xdc.tools.Cmdr$$capsule", "xdc.tools"));
    vo.bind("Instance", om.findStrict("xdc.tools.Cmdr.Instance", "xdc.tools"));
    vo.bind("Params", om.findStrict("xdc.tools.Cmdr.Params", "xdc.tools"));
    vo.bind(
        "PARAMS", ((Proto.Str) om.findStrict("xdc.tools.Cmdr.Params", "xdc.tools")).newInstance());
    vo.bind("$package", om.findStrict("xdc.tools", "xdc.tools"));
    tdefs.clear();
    proxies.clear();
    mcfgs.clear();
    icfgs.clear();
    inherits.clear();
    vo.bind("Context", om.findStrict("xdc.tools.Cmdr.Context", "xdc.tools"));
    vo.bind("SHELL", om.findStrict("xdc.tools.Cmdr.SHELL", "xdc.tools"));
    vo.bind("SCRIPT", om.findStrict("xdc.tools.Cmdr.SCRIPT", "xdc.tools"));
    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()));
    vo.bind("$$inherits", Global.newArray(inherits.toArray()));
    ((Value.Arr) pkgV.getv("$modules")).add(vo);
    ((Value.Arr) om.findStrict("$modules", "xdc.tools")).add(vo);
    vo.bind("$$instflag", 1);
    vo.bind("$$iobjflag", 1);
    vo.bind("$$sizeflag", 1);
    vo.bind("$$dlgflag", 0);
    vo.bind("$$iflag", 0);
    vo.bind("$$romcfgs", "|");
    vo.bind("$$nortsflag", 0);
    Proto.Str ps = (Proto.Str) vo.find("Module_State");
    if (ps != null) vo.bind("$object", ps.newInstance());
    vo.bind("$$meta_iobj", om.has("xdc.tools.Cmdr$$instance$static$init", null) ? 1 : 0);
    vo.bind("$$fxntab", Global.newArray());
    vo.bind("$$logEvtCfgs", Global.newArray());
    vo.bind("$$errorDescCfgs", Global.newArray());
    vo.bind("$$assertDescCfgs", Global.newArray());
    Value.Map atmap = (Value.Map) vo.getv("$attr");
    atmap.seal("length");
    vo.bind("Object", om.findStrict("xdc.tools.Cmdr.Object", "xdc.tools"));
    pkgV.bind("Cmdr", vo);
    ((Value.Arr) pkgV.getv("$unitNames")).add("Cmdr");
  }
Exemple #6
0
  void $$INITIALIZATION() {
    Value.Obj vo;

    if (isCFG) {} // isCFG
    Global.callFxn(
        "module$meta$init", (Scriptable) om.findStrict("ti.sysbios.rta.Agent", "ti.sysbios.rta"));
    Global.callFxn(
        "module$meta$init",
        (Scriptable) om.findStrict("ti.sysbios.rta.SupportLogger", "ti.sysbios.rta"));
    Global.callFxn("init", pkgV);
    ((Value.Obj) om.getv("ti.sysbios.rta.Agent")).bless();
    ((Value.Obj) om.getv("ti.sysbios.rta.SupportLogger")).bless();
    ((Value.Arr) om.findStrict("$packages", "ti.sysbios.rta")).add(pkgV);
  }
Exemple #7
0
  void Agent$$SINGLETONS() {
    Proto.Obj po;
    Value.Obj vo;

    vo = (Value.Obj) om.findStrict("ti.sysbios.rta.Agent", "ti.sysbios.rta");
    po = (Proto.Obj) om.findStrict("ti.sysbios.rta.Agent.Module", "ti.sysbios.rta");
    vo.init2(po, "ti.sysbios.rta.Agent", $$DEFAULT, false);
    vo.bind("Module", po);
    vo.bind("$category", "Module");
    vo.bind("$capsule", om.findStrict("ti.sysbios.rta.Agent$$capsule", "ti.sysbios.rta"));
    vo.bind("$package", om.findStrict("ti.sysbios.rta", "ti.sysbios.rta"));
    tdefs.clear();
    proxies.clear();
    mcfgs.clear();
    icfgs.clear();
    inherits.clear();
    vo.bind("Transport", om.findStrict("ti.sysbios.rta.Agent.Transport", "ti.sysbios.rta"));
    vo.bind(
        "Transport_RTDX", om.findStrict("ti.sysbios.rta.Agent.Transport_RTDX", "ti.sysbios.rta"));
    vo.bind(
        "Transport_STOP_MODE_ONLY",
        om.findStrict("ti.sysbios.rta.Agent.Transport_STOP_MODE_ONLY", "ti.sysbios.rta"));
    vo.bind(
        "Transport_USER", om.findStrict("ti.sysbios.rta.Agent.Transport_USER", "ti.sysbios.rta"));
    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()));
    vo.bind("$$inherits", Global.newArray(inherits.toArray()));
    ((Value.Arr) pkgV.getv("$modules")).add(vo);
    ((Value.Arr) om.findStrict("$modules", "ti.sysbios.rta")).add(vo);
    vo.bind("$$instflag", 0);
    vo.bind("$$iobjflag", 1);
    vo.bind("$$sizeflag", 1);
    vo.bind("$$dlgflag", 0);
    vo.bind("$$iflag", 0);
    vo.bind("$$romcfgs", "|");
    vo.bind("$$nortsflag", 0);
    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.rta.Agent$$instance$static$init", null) ? 1 : 0);
    vo.bind("$$fxntab", Global.newArray());
    vo.bind("$$logEvtCfgs", Global.newArray());
    vo.bind("$$errorDescCfgs", Global.newArray());
    vo.bind("$$assertDescCfgs", Global.newArray());
    Value.Map atmap = (Value.Map) vo.getv("$attr");
    atmap.seal("length");
    pkgV.bind("Agent", vo);
    ((Value.Arr) pkgV.getv("$unitNames")).add("Agent");
  }
  void G711DEC$$SINGLETONS() {
    Proto.Obj po;
    Value.Obj vo;

    vo =
        (Value.Obj)
            om.findStrict(
                "ti.sdo.ce.examples.codecs.g711.G711DEC", "ti.sdo.ce.examples.codecs.g711");
    po =
        (Proto.Obj)
            om.findStrict(
                "ti.sdo.ce.examples.codecs.g711.G711DEC.Module", "ti.sdo.ce.examples.codecs.g711");
    vo.init2(po, "ti.sdo.ce.examples.codecs.g711.G711DEC", $$DEFAULT, false);
    vo.bind("Module", po);
    vo.bind("$category", "Module");
    vo.bind(
        "$capsule",
        om.findStrict(
            "ti.sdo.ce.examples.codecs.g711.G711DEC$$capsule", "ti.sdo.ce.examples.codecs.g711"));
    vo.bind(
        "$package",
        om.findStrict("ti.sdo.ce.examples.codecs.g711", "ti.sdo.ce.examples.codecs.g711"));
    tdefs.clear();
    proxies.clear();
    mcfgs.clear();
    vo.bind("$$tdefs", Global.newArray(tdefs.toArray()));
    vo.bind("$$proxies", Global.newArray(proxies.toArray()));
    vo.bind("$$mcfgs", Global.newArray(mcfgs.toArray()));
    ((Value.Arr) pkgV.getv("$modules")).add(vo);
    ((Value.Arr) om.findStrict("$modules", "ti.sdo.ce.examples.codecs.g711")).add(vo);
    vo.bind("$$instflag", 0);
    vo.bind("$$iobjflag", 1);
    vo.bind("$$sizeflag", 1);
    vo.bind("$$dlgflag", 0);
    vo.bind("$$iflag", 1);
    vo.bind("$$romcfgs", "|");
    Proto.Str ps = (Proto.Str) vo.find("Module_State");
    if (ps != null) vo.bind("$object", ps.newInstance());
    vo.bind(
        "$$meta_iobj",
        om.has("ti.sdo.ce.examples.codecs.g711.G711DEC$$instance$static$init", null) ? 1 : 0);
    vo.bind("$$fxntab", Global.newArray());
    vo.bind("$$logEvtCfgs", Global.newArray());
    vo.bind("$$errorDescCfgs", Global.newArray());
    vo.bind("$$assertDescCfgs", Global.newArray());
    Value.Map atmap = (Value.Map) vo.getv("$attr");
    atmap.seal("length");
    pkgV.bind("G711DEC", vo);
    ((Value.Arr) pkgV.getv("$unitNames")).add("G711DEC");
  }
Exemple #9
0
  void $$INITIALIZATION() {
    Value.Obj vo;

    if (isCFG) {} // isCFG
    Global.callFxn(
        "module$meta$init",
        (Scriptable) om.findStrict("host.platforms.SUN.Platform", "host.platforms.SUN"));
    Global.callFxn(
        "module$meta$init",
        (Scriptable) om.findStrict("host.platforms.SUN.SunSparc7", "host.platforms.SUN"));
    Global.callFxn("init", pkgV);
    ((Value.Obj) om.getv("host.platforms.SUN.Platform")).bless();
    ((Value.Obj) om.getv("host.platforms.SUN.SunSparc7")).bless();
    ((Value.Arr) om.findStrict("$packages", "host.platforms.SUN")).add(pkgV);
  }
  void $$INITIALIZATION() {
    Value.Obj vo;

    if (isCFG) {} // isCFG
    Global.callFxn("module$meta$init", (Scriptable) om.findStrict("xdc.tools.Cmdr", "xdc.tools"));
    Global.callFxn(
        "module$meta$init", (Scriptable) om.findStrict("xdc.tools.ResourceBundle", "xdc.tools"));
    Global.callFxn("init", pkgV);
    ((Value.Obj) om.getv("xdc.tools.Cmdr")).bless();
    ((Value.Obj) om.getv("xdc.tools.ResourceBundle")).bless();
    ((Value.Obj) om.getv("xdc.tools.ICmd")).bless();
    ((Value.Obj) om.getv("xdc.tools.IProductView")).bless();
    ((Value.Obj) om.getv("xdc.tools.IRtscProductTemplate")).bless();
    ((Value.Arr) om.findStrict("$packages", "xdc.tools")).add(pkgV);
  }
  void UNIVERSALConfig$$SINGLETONS() {
    Proto.Obj po;
    Value.Obj vo;

    vo = (Value.Obj) om.findStrict("ti.sdo.ce.universal.UNIVERSALConfig", "ti.sdo.ce.universal");
    po =
        (Proto.Obj)
            om.findStrict("ti.sdo.ce.universal.UNIVERSALConfig.Module", "ti.sdo.ce.universal");
    vo.init2(po, "ti.sdo.ce.universal.UNIVERSALConfig", $$DEFAULT, false);
    vo.bind("Module", po);
    vo.bind("$category", "Module");
    vo.bind("$capsule", $$UNDEF);
    vo.bind("$package", om.findStrict("ti.sdo.ce.universal", "ti.sdo.ce.universal"));
    tdefs.clear();
    proxies.clear();
    mcfgs.clear();
    icfgs.clear();
    inherits.clear();
    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()));
    vo.bind("$$inherits", Global.newArray(inherits.toArray()));
    ((Value.Arr) pkgV.getv("$modules")).add(vo);
    ((Value.Arr) om.findStrict("$modules", "ti.sdo.ce.universal")).add(vo);
    vo.bind("$$instflag", 0);
    vo.bind("$$iobjflag", 1);
    vo.bind("$$sizeflag", 1);
    vo.bind("$$dlgflag", 0);
    vo.bind("$$iflag", 0);
    vo.bind("$$romcfgs", "|");
    vo.bind("$$nortsflag", 0);
    Proto.Str ps = (Proto.Str) vo.find("Module_State");
    if (ps != null) vo.bind("$object", ps.newInstance());
    vo.bind(
        "$$meta_iobj",
        om.has("ti.sdo.ce.universal.UNIVERSALConfig$$instance$static$init", null) ? 1 : 0);
    vo.bind("$$fxntab", Global.newArray());
    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("", "./UNIVERSALConfig.xdt");
    atmap.seal("length");
    vo.bind("TEMPLATE$", "./UNIVERSALConfig.xdt");
    pkgV.bind("UNIVERSALConfig", vo);
    ((Value.Arr) pkgV.getv("$unitNames")).add("UNIVERSALConfig");
  }
Exemple #12
0
 void $$SINGLETONS() {
   pkgP.init(
       "host.platforms.SUN.Package",
       (Proto.Obj) om.findStrict("xdc.IPackage.Module", "host.platforms.SUN"));
   Scriptable cap =
       (Scriptable) Global.callFxn("loadCapsule", xdcO, "host/platforms/SUN/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", "host.platforms.SUN"), fxn);
   fxn = Global.get(cap, "close");
   if (fxn != null)
     pkgP.addFxn(
         "close", (Proto.Fxn) om.findStrict("xdc.IPackage$$close", "host.platforms.SUN"), fxn);
   fxn = Global.get(cap, "validate");
   if (fxn != null)
     pkgP.addFxn(
         "validate",
         (Proto.Fxn) om.findStrict("xdc.IPackage$$validate", "host.platforms.SUN"),
         fxn);
   fxn = Global.get(cap, "exit");
   if (fxn != null)
     pkgP.addFxn(
         "exit", (Proto.Fxn) om.findStrict("xdc.IPackage$$exit", "host.platforms.SUN"), fxn);
   fxn = Global.get(cap, "getLibs");
   if (fxn != null)
     pkgP.addFxn(
         "getLibs", (Proto.Fxn) om.findStrict("xdc.IPackage$$getLibs", "host.platforms.SUN"), fxn);
   fxn = Global.get(cap, "getSects");
   if (fxn != null)
     pkgP.addFxn(
         "getSects",
         (Proto.Fxn) om.findStrict("xdc.IPackage$$getSects", "host.platforms.SUN"),
         fxn);
   pkgP.bind("$capsule", cap);
   pkgV.init2(pkgP, "host.platforms.SUN", Value.DEFAULT, false);
   pkgV.bind("$name", "host.platforms.SUN");
   pkgV.bind("$category", "Package");
   pkgV.bind("$$qn", "host.platforms.SUN.");
   pkgV.bind("$vers", Global.newArray("1, 0, 0, 1"));
   Value.Map atmap = (Value.Map) pkgV.getv("$attr");
   atmap.seal("length");
   imports.clear();
   imports.add(Global.newArray("xdc.platform", Global.newArray()));
   pkgV.bind("$imports", imports);
   StringBuilder sb = new StringBuilder();
   sb.append("var pkg = xdc.om['host.platforms.SUN'];\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("pkg.build.libraries = [\n");
   sb.append("];\n");
   sb.append("pkg.build.libDesc = [\n");
   sb.append("];\n");
   sb.append("if('suffix' in xdc.om['xdc.IPackage$$LibDesc']) {\n");
   sb.append("}\n");
   Global.eval(sb.toString());
 }
Exemple #13
0
 void $$SINGLETONS() {
   pkgP.init(
       "ti.platforms.evm6424.Package",
       (Proto.Obj) om.findStrict("xdc.IPackage.Module", "ti.platforms.evm6424"));
   pkgP.bind("$capsule", $$UNDEF);
   pkgV.init2(pkgP, "ti.platforms.evm6424", Value.DEFAULT, false);
   pkgV.bind("$name", "ti.platforms.evm6424");
   pkgV.bind("$category", "Package");
   pkgV.bind("$$qn", "ti.platforms.evm6424.");
   pkgV.bind("$vers", Global.newArray("1, 0, 0, 0"));
   Value.Map atmap = (Value.Map) pkgV.getv("$attr");
   atmap.seal("length");
   imports.clear();
   imports.add(Global.newArray("ti.catalog.c6000", Global.newArray()));
   imports.add(Global.newArray("xdc.platform", Global.newArray(1, 0, 1)));
   pkgV.bind("$imports", imports);
   StringBuilder sb = new StringBuilder();
   sb.append("var pkg = xdc.om['ti.platforms.evm6424'];\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("pkg.build.libraries = [\n");
   sb.append("];\n");
   sb.append("pkg.build.libDesc = [\n");
   sb.append("];\n");
   sb.append("if('suffix' in xdc.om['xdc.IPackage$$LibDesc']) {\n");
   sb.append("}\n");
   Global.eval(sb.toString());
 }
 void $$SINGLETONS() {
   pkgP.init(
       "xdc.services.mapping.Package",
       (Proto.Obj) om.findStrict("xdc.IPackage.Module", "xdc.services.mapping"));
   pkgP.bind("$capsule", $$UNDEF);
   pkgV.init2(pkgP, "xdc.services.mapping", Value.DEFAULT, false);
   pkgV.bind("$name", "xdc.services.mapping");
   pkgV.bind("$category", "Package");
   pkgV.bind("$$qn", "xdc.services.mapping.");
   pkgV.bind("$vers", Global.newArray(1, 0, 0));
   Value.Map atmap = (Value.Map) pkgV.getv("$attr");
   atmap.seal("length");
   imports.clear();
   pkgV.bind("$imports", imports);
   StringBuilder sb = new StringBuilder();
   sb.append("var pkg = xdc.om['xdc.services.mapping'];\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 ('xdc.services.mapping$$stat$base' in xdc.om) {\n");
   sb.append("pkg.packageBase = xdc.om['xdc.services.mapping$$stat$base'];\n");
   sb.append("pkg.packageRepository = xdc.om['xdc.services.mapping$$stat$root'];\n");
   sb.append("}\n");
   sb.append("pkg.build.libraries = [\n");
   sb.append("];\n");
   sb.append("pkg.build.libDesc = [\n");
   sb.append("];\n");
   Global.eval(sb.toString());
 }
 void $$SINGLETONS() {
   pkgP.init(
       "ti.sdo.ce.utils.rtcfg.osal.Package",
       (Proto.Obj) om.findStrict("xdc.IPackage.Module", "ti.sdo.ce.utils.rtcfg.osal"));
   pkgP.bind("$capsule", $$UNDEF);
   pkgV.init2(pkgP, "ti.sdo.ce.utils.rtcfg.osal", Value.DEFAULT, false);
   pkgV.bind("$name", "ti.sdo.ce.utils.rtcfg.osal");
   pkgV.bind("$category", "Package");
   pkgV.bind("$$qn", "ti.sdo.ce.utils.rtcfg.osal.");
   pkgV.bind("$vers", Global.newArray("1, 0, 0"));
   Value.Map atmap = (Value.Map) pkgV.getv("$attr");
   atmap.seal("length");
   imports.clear();
   pkgV.bind("$imports", imports);
   StringBuilder sb = new StringBuilder();
   sb.append("var pkg = xdc.om['ti.sdo.ce.utils.rtcfg.osal'];\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("pkg.build.libraries = [\n");
   sb.append("];\n");
   sb.append("pkg.build.libDesc = [\n");
   sb.append("];\n");
   Global.eval(sb.toString());
 }
  void $$INITIALIZATION() {
    Value.Obj vo;

    if (isCFG) {} // isCFG
    Global.callFxn(
        "module$meta$init",
        (Scriptable) om.findStrict("google.targets.arm.Bionic", "google.targets.arm"));
    Global.callFxn("init", pkgV);
    ((Value.Obj) om.getv("google.targets.arm.Bionic")).bless();
    ((Value.Arr) om.findStrict("$packages", "google.targets.arm")).add(pkgV);
  }
  void $$INITIALIZATION() {
    Value.Obj vo;

    if (isCFG) {} // isCFG
    Global.callFxn(
        "module$meta$init",
        (Scriptable) om.findStrict("xdc.tools.cdoc.sg.Main", "xdc.tools.cdoc.sg"));
    Global.callFxn("init", pkgV);
    ((Value.Obj) om.getv("xdc.tools.cdoc.sg.Main")).bless();
    ((Value.Arr) om.findStrict("$packages", "xdc.tools.cdoc.sg")).add(pkgV);
  }
Exemple #18
0
  void $$INITIALIZATION() {
    Value.Obj vo;

    if (isCFG) {} // isCFG
    Global.callFxn(
        "module$meta$init",
        (Scriptable) om.findStrict("ti.sdo.ipc.examples.Examples", "ti.sdo.ipc.examples"));
    Global.callFxn("init", pkgV);
    ((Value.Obj) om.getv("ti.sdo.ipc.examples.Examples")).bless();
    ((Value.Arr) om.findStrict("$packages", "ti.sdo.ipc.examples")).add(pkgV);
  }
  void $$INITIALIZATION() {
    Value.Obj vo;

    if (isCFG) {} // isCFG
    Global.callFxn(
        "module$meta$init",
        (Scriptable)
            om.findStrict("ti.sdo.codecs.mpeg4vdec.ce.MPEG4VDEC", "ti.sdo.codecs.mpeg4vdec.ce"));
    Global.callFxn("init", pkgV);
    ((Value.Obj) om.getv("ti.sdo.codecs.mpeg4vdec.ce.MPEG4VDEC")).bless();
    ((Value.Arr) om.findStrict("$packages", "ti.sdo.codecs.mpeg4vdec.ce")).add(pkgV);
  }
  void IUNIVERSAL$$SINGLETONS() {
    Proto.Obj po;
    Value.Obj vo;

    vo = (Value.Obj) om.findStrict("ti.sdo.ce.universal.IUNIVERSAL", "ti.sdo.ce.universal");
    po = (Proto.Obj) om.findStrict("ti.sdo.ce.universal.IUNIVERSAL.Module", "ti.sdo.ce.universal");
    vo.init2(po, "ti.sdo.ce.universal.IUNIVERSAL", $$DEFAULT, false);
    vo.bind("Module", po);
    vo.bind("$category", "Interface");
    vo.bind("$capsule", $$UNDEF);
    vo.bind("$package", om.findStrict("ti.sdo.ce.universal", "ti.sdo.ce.universal"));
    tdefs.clear();
    proxies.clear();
    inherits.clear();
    vo.bind("$$tdefs", Global.newArray(tdefs.toArray()));
    vo.bind("$$proxies", Global.newArray(proxies.toArray()));
    inherits.add("ti.sdo.ce");
    vo.bind("$$inherits", Global.newArray(inherits.toArray()));
    ((Value.Arr) pkgV.getv("$interfaces")).add(vo);
    pkgV.bind("IUNIVERSAL", vo);
    ((Value.Arr) pkgV.getv("$unitNames")).add("IUNIVERSAL");
    vo.seal(null);
  }
Exemple #21
0
  void SupportLogger$$SINGLETONS() {
    Proto.Obj po;
    Value.Obj vo;

    vo = (Value.Obj) om.findStrict("ti.sysbios.rta.SupportLogger", "ti.sysbios.rta");
    po = (Proto.Obj) om.findStrict("ti.sysbios.rta.SupportLogger.Module", "ti.sysbios.rta");
    vo.init2(po, "ti.sysbios.rta.SupportLogger", $$DEFAULT, false);
    vo.bind("Module", po);
    vo.bind("$category", "Module");
    vo.bind("$capsule", om.findStrict("ti.sysbios.rta.SupportLogger$$capsule", "ti.sysbios.rta"));
    vo.bind("$package", om.findStrict("ti.sysbios.rta", "ti.sysbios.rta"));
    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");
    mcfgs.add("LM_timestampFreq");
    mcfgs.add("createLogSize");
    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");
    vo.bind("$$inherits", Global.newArray(inherits.toArray()));
    ((Value.Arr) pkgV.getv("$modules")).add(vo);
    ((Value.Arr) om.findStrict("$modules", "ti.sysbios.rta")).add(vo);
    vo.bind("$$instflag", 0);
    vo.bind("$$iobjflag", 0);
    vo.bind("$$sizeflag", 1);
    vo.bind("$$dlgflag", 0);
    vo.bind("$$iflag", 0);
    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", 1);
    } // isCFG
    vo.bind("$$fxntab", Global.newArray("ti_sysbios_rta_SupportLogger_Module__startupDone__E"));
    vo.bind("$$logEvtCfgs", Global.newArray("LM_timestampFreq"));
    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("MODULE_STARTUP$", 1);
    vo.bind("PROXY$", 0);
    loggables.clear();
    vo.bind("$$loggables", loggables.toArray());
    pkgV.bind("SupportLogger", vo);
    ((Value.Arr) pkgV.getv("$unitNames")).add("SupportLogger");
  }
 void $$SINGLETONS() {
   pkgP.init(
       "ti.sdo.ce.universal.Package",
       (Proto.Obj) om.findStrict("xdc.IPackage.Module", "ti.sdo.ce.universal"));
   Scriptable cap =
       (Scriptable) Global.callFxn("loadCapsule", xdcO, "ti/sdo/ce/universal/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.sdo.ce.universal"), fxn);
   fxn = Global.get(cap, "close");
   if (fxn != null)
     pkgP.addFxn(
         "close", (Proto.Fxn) om.findStrict("xdc.IPackage$$close", "ti.sdo.ce.universal"), fxn);
   fxn = Global.get(cap, "validate");
   if (fxn != null)
     pkgP.addFxn(
         "validate",
         (Proto.Fxn) om.findStrict("xdc.IPackage$$validate", "ti.sdo.ce.universal"),
         fxn);
   fxn = Global.get(cap, "exit");
   if (fxn != null)
     pkgP.addFxn(
         "exit", (Proto.Fxn) om.findStrict("xdc.IPackage$$exit", "ti.sdo.ce.universal"), fxn);
   fxn = Global.get(cap, "getLibs");
   if (fxn != null)
     pkgP.addFxn(
         "getLibs",
         (Proto.Fxn) om.findStrict("xdc.IPackage$$getLibs", "ti.sdo.ce.universal"),
         fxn);
   fxn = Global.get(cap, "getSects");
   if (fxn != null)
     pkgP.addFxn(
         "getSects",
         (Proto.Fxn) om.findStrict("xdc.IPackage$$getSects", "ti.sdo.ce.universal"),
         fxn);
   pkgP.bind("$capsule", cap);
   pkgV.init2(pkgP, "ti.sdo.ce.universal", Value.DEFAULT, false);
   pkgV.bind("$name", "ti.sdo.ce.universal");
   pkgV.bind("$category", "Package");
   pkgV.bind("$$qn", "ti.sdo.ce.universal.");
   pkgV.bind("$vers", Global.newArray("1, 0, 0"));
   Value.Map atmap = (Value.Map) pkgV.getv("$attr");
   atmap.seal("length");
   imports.clear();
   pkgV.bind("$imports", imports);
   StringBuilder sb = new StringBuilder();
   sb.append("var pkg = xdc.om['ti.sdo.ce.universal'];\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("pkg.build.libraries = [\n");
   sb.append("'lib/debug/universal.aem3',\n");
   sb.append("'lib/release/universal.aem3',\n");
   sb.append("'lib/debug/universal.ae674',\n");
   sb.append("'lib/release/universal.ae674',\n");
   sb.append("'lib/debug/universal.av5T',\n");
   sb.append("'lib/release/universal.av5T',\n");
   sb.append("];\n");
   sb.append("pkg.build.libDesc = [\n");
   sb.append("['lib/debug/universal.aem3', {target: 'ti.targets.arm.elf.M3', suffix: 'em3'}],\n");
   sb.append(
       "['lib/release/universal.aem3', {target: 'ti.targets.arm.elf.M3', suffix: 'em3'}],\n");
   sb.append("['lib/debug/universal.ae674', {target: 'ti.targets.elf.C674', suffix: 'e674'}],\n");
   sb.append(
       "['lib/release/universal.ae674', {target: 'ti.targets.elf.C674', suffix: 'e674'}],\n");
   sb.append(
       "['lib/debug/universal.av5T', {target: 'gnu.targets.arm.GCArmv5T', suffix: 'v5T'}],\n");
   sb.append(
       "['lib/release/universal.av5T', {target: 'gnu.targets.arm.GCArmv5T', suffix: 'v5T'}],\n");
   sb.append("];\n");
   Global.eval(sb.toString());
 }
  void Bionic$$SINGLETONS() {
    Proto.Obj po;
    Value.Obj vo;

    vo = (Value.Obj) om.findStrict("google.targets.arm.Bionic", "google.targets.arm");
    po = (Proto.Obj) om.findStrict("google.targets.arm.Bionic.Module", "google.targets.arm");
    vo.init2(po, "google.targets.arm.Bionic", $$DEFAULT, false);
    vo.bind("Module", po);
    vo.bind("$category", "Module");
    vo.bind("$capsule", om.findStrict("google.targets.arm.Bionic$$capsule", "google.targets.arm"));
    vo.bind("$package", om.findStrict("google.targets.arm", "google.targets.arm"));
    tdefs.clear();
    proxies.clear();
    mcfgs.clear();
    icfgs.clear();
    inherits.clear();
    vo.bind("Model", om.findStrict("xdc.bld.ITarget.Model", "google.targets.arm"));
    tdefs.add(om.findStrict("xdc.bld.ITarget.Model", "google.targets.arm"));
    vo.bind("DebugGen", om.findStrict("xdc.bld.ITarget.DebugGen", "google.targets.arm"));
    tdefs.add(om.findStrict("xdc.bld.ITarget.DebugGen", "google.targets.arm"));
    vo.bind("Extension", om.findStrict("xdc.bld.ITarget.Extension", "google.targets.arm"));
    tdefs.add(om.findStrict("xdc.bld.ITarget.Extension", "google.targets.arm"));
    vo.bind(
        "CompileOptions", om.findStrict("xdc.bld.ITarget.CompileOptions", "google.targets.arm"));
    tdefs.add(om.findStrict("xdc.bld.ITarget.CompileOptions", "google.targets.arm"));
    vo.bind("OptionSet", om.findStrict("xdc.bld.ITarget.OptionSet", "google.targets.arm"));
    tdefs.add(om.findStrict("xdc.bld.ITarget.OptionSet", "google.targets.arm"));
    vo.bind("CompileGoal", om.findStrict("xdc.bld.ITarget.CompileGoal", "google.targets.arm"));
    tdefs.add(om.findStrict("xdc.bld.ITarget.CompileGoal", "google.targets.arm"));
    vo.bind("LinkGoal", om.findStrict("xdc.bld.ITarget.LinkGoal", "google.targets.arm"));
    tdefs.add(om.findStrict("xdc.bld.ITarget.LinkGoal", "google.targets.arm"));
    vo.bind("ArchiveGoal", om.findStrict("xdc.bld.ITarget.ArchiveGoal", "google.targets.arm"));
    tdefs.add(om.findStrict("xdc.bld.ITarget.ArchiveGoal", "google.targets.arm"));
    vo.bind("CommandSet", om.findStrict("xdc.bld.ITarget.CommandSet", "google.targets.arm"));
    tdefs.add(om.findStrict("xdc.bld.ITarget.CommandSet", "google.targets.arm"));
    vo.bind("StringArray", om.findStrict("xdc.bld.ITarget.StringArray", "google.targets.arm"));
    vo.bind("TypeInfo", om.findStrict("xdc.bld.ITarget.TypeInfo", "google.targets.arm"));
    tdefs.add(om.findStrict("xdc.bld.ITarget.TypeInfo", "google.targets.arm"));
    vo.bind("StdTypes", om.findStrict("xdc.bld.ITarget.StdTypes", "google.targets.arm"));
    tdefs.add(om.findStrict("xdc.bld.ITarget.StdTypes", "google.targets.arm"));
    vo.bind("Command", om.findStrict("xdc.bld.ITarget2.Command", "google.targets.arm"));
    tdefs.add(om.findStrict("xdc.bld.ITarget2.Command", "google.targets.arm"));
    vo.bind("Options", om.findStrict("xdc.bld.ITarget2.Options", "google.targets.arm"));
    tdefs.add(om.findStrict("xdc.bld.ITarget2.Options", "google.targets.arm"));
    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("google.targets");
    inherits.add("xdc.bld");
    inherits.add("xdc.bld");
    vo.bind("$$inherits", Global.newArray(inherits.toArray()));
    ((Value.Arr) pkgV.getv("$modules")).add(vo);
    ((Value.Arr) om.findStrict("$modules", "google.targets.arm")).add(vo);
    vo.bind("$$instflag", 0);
    vo.bind("$$iobjflag", 1);
    vo.bind("$$sizeflag", 1);
    vo.bind("$$dlgflag", 0);
    vo.bind("$$iflag", 1);
    vo.bind("$$romcfgs", "|");
    vo.bind("$$nortsflag", 0);
    Proto.Str ps = (Proto.Str) vo.find("Module_State");
    if (ps != null) vo.bind("$object", ps.newInstance());
    vo.bind("$$meta_iobj", om.has("google.targets.arm.Bionic$$instance$static$init", null) ? 1 : 0);
    vo.bind("$$fxntab", Global.newArray());
    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("", "xdc/bld/stddefs.xdt");
    atmap.seal("length");
    pkgV.bind("Bionic", vo);
    ((Value.Arr) pkgV.getv("$unitNames")).add("Bionic");
  }
Exemple #24
0
 void $$SINGLETONS() {
   pkgP.init(
       "ti.sysbios.rta.Package",
       (Proto.Obj) om.findStrict("xdc.IPackage.Module", "ti.sysbios.rta"));
   Scriptable cap = (Scriptable) Global.callFxn("loadCapsule", xdcO, "ti/sysbios/rta/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.rta"), fxn);
   fxn = Global.get(cap, "close");
   if (fxn != null)
     pkgP.addFxn("close", (Proto.Fxn) om.findStrict("xdc.IPackage$$close", "ti.sysbios.rta"), fxn);
   fxn = Global.get(cap, "validate");
   if (fxn != null)
     pkgP.addFxn(
         "validate", (Proto.Fxn) om.findStrict("xdc.IPackage$$validate", "ti.sysbios.rta"), fxn);
   fxn = Global.get(cap, "exit");
   if (fxn != null)
     pkgP.addFxn("exit", (Proto.Fxn) om.findStrict("xdc.IPackage$$exit", "ti.sysbios.rta"), fxn);
   fxn = Global.get(cap, "getLibs");
   if (fxn != null)
     pkgP.addFxn(
         "getLibs", (Proto.Fxn) om.findStrict("xdc.IPackage$$getLibs", "ti.sysbios.rta"), fxn);
   fxn = Global.get(cap, "getSects");
   if (fxn != null)
     pkgP.addFxn(
         "getSects", (Proto.Fxn) om.findStrict("xdc.IPackage$$getSects", "ti.sysbios.rta"), fxn);
   pkgP.bind("$capsule", cap);
   pkgV.init2(pkgP, "ti.sysbios.rta", Value.DEFAULT, false);
   pkgV.bind("$name", "ti.sysbios.rta");
   pkgV.bind("$category", "Package");
   pkgV.bind("$$qn", "ti.sysbios.rta.");
   pkgV.bind("$vers", Global.newArray("2, 0, 0, 0"));
   Value.Map atmap = (Value.Map) pkgV.getv("$attr");
   atmap.seal("length");
   imports.clear();
   pkgV.bind("$imports", imports);
   StringBuilder sb = new StringBuilder();
   sb.append("var pkg = xdc.om['ti.sysbios.rta'];\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("pkg.build.libraries = [\n");
   sb.append("'lib/sysbios/debug/ti.sysbios.rta.a28L',\n");
   sb.append("'lib/sysbios/debug/ti.sysbios.rta.a28FP',\n");
   sb.append("'lib/sysbios/debug/ti.sysbios.rta.a64',\n");
   sb.append("'lib/sysbios/debug/ti.sysbios.rta.a64P',\n");
   sb.append("'lib/sysbios/debug/ti.sysbios.rta.a64Pe',\n");
   sb.append("'lib/sysbios/debug/ti.sysbios.rta.a674',\n");
   sb.append("'lib/sysbios/debug/ti.sysbios.rta.a430',\n");
   sb.append("'lib/sysbios/debug/ti.sysbios.rta.a430X',\n");
   sb.append("'lib/sysbios/debug/ti.sysbios.rta.a430XS',\n");
   sb.append("'lib/sysbios/debug/ti.sysbios.rta.ae430X',\n");
   sb.append("'lib/sysbios/debug/ti.sysbios.rta.ae430XS',\n");
   sb.append("'lib/sysbios/debug/ti.sysbios.rta.ar430XS',\n");
   sb.append("'lib/sysbios/debug/ti.sysbios.rta.ae64P',\n");
   sb.append("'lib/sysbios/debug/ti.sysbios.rta.ae64Pe',\n");
   sb.append("'lib/sysbios/debug/ti.sysbios.rta.ae674',\n");
   sb.append("'lib/sysbios/debug/ti.sysbios.rta.ae64T',\n");
   sb.append("'lib/sysbios/debug/ti.sysbios.rta.ae66',\n");
   sb.append("'lib/sysbios/debug/ti.sysbios.rta.ae66e',\n");
   sb.append("'lib/sysbios/debug/ti.sysbios.rta.aearp32',\n");
   sb.append("'lib/sysbios/debug/ti.sysbios.rta.aearp32F',\n");
   sb.append("'lib/sysbios/debug/ti.sysbios.rta.ae9',\n");
   sb.append("'lib/sysbios/debug/ti.sysbios.rta.aea8f',\n");
   sb.append("'lib/sysbios/debug/ti.sysbios.rta.aea8fnv',\n");
   sb.append("'lib/sysbios/debug/ti.sysbios.rta.aem3',\n");
   sb.append("'lib/sysbios/debug/ti.sysbios.rta.aem4',\n");
   sb.append("'lib/sysbios/debug/ti.sysbios.rta.aem4f',\n");
   sb.append("'lib/sysbios/debug/ti.sysbios.rta.aer4te',\n");
   sb.append("'lib/sysbios/debug/ti.sysbios.rta.aer4fte',\n");
   sb.append("'lib/sysbios/debug/ti.sysbios.rta.am3g',\n");
   sb.append("'lib/sysbios/debug/ti.sysbios.rta.am4g',\n");
   sb.append("'lib/sysbios/debug/ti.sysbios.rta.am4fg',\n");
   sb.append("'lib/sysbios/debug/ti.sysbios.rta.aa15g',\n");
   sb.append("'lib/smpbios/debug/ti.sysbios.rta.aem3',\n");
   sb.append("'lib/smpbios/debug/ti.sysbios.rta.aem4',\n");
   sb.append("];\n");
   sb.append("pkg.build.libDesc = [\n");
   sb.append(
       "['lib/sysbios/debug/ti.sysbios.rta.a28L', {target: 'ti.targets.C28_large', suffix: '28L'}],\n");
   sb.append(
       "['lib/sysbios/debug/ti.sysbios.rta.a28FP', {target: 'ti.targets.C28_float', suffix: '28FP'}],\n");
   sb.append(
       "['lib/sysbios/debug/ti.sysbios.rta.a64', {target: 'ti.targets.C64', suffix: '64'}],\n");
   sb.append(
       "['lib/sysbios/debug/ti.sysbios.rta.a64P', {target: 'ti.targets.C64P', suffix: '64P'}],\n");
   sb.append(
       "['lib/sysbios/debug/ti.sysbios.rta.a64Pe', {target: 'ti.targets.C64P_big_endian', suffix: '64Pe'}],\n");
   sb.append(
       "['lib/sysbios/debug/ti.sysbios.rta.a674', {target: 'ti.targets.C674', suffix: '674'}],\n");
   sb.append(
       "['lib/sysbios/debug/ti.sysbios.rta.a430', {target: 'ti.targets.msp430.MSP430', suffix: '430'}],\n");
   sb.append(
       "['lib/sysbios/debug/ti.sysbios.rta.a430X', {target: 'ti.targets.msp430.MSP430X', suffix: '430X'}],\n");
   sb.append(
       "['lib/sysbios/debug/ti.sysbios.rta.a430XS', {target: 'ti.targets.msp430.MSP430X_small', suffix: '430XS'}],\n");
   sb.append(
       "['lib/sysbios/debug/ti.sysbios.rta.ae430X', {target: 'ti.targets.msp430.elf.MSP430X', suffix: 'e430X'}],\n");
   sb.append(
       "['lib/sysbios/debug/ti.sysbios.rta.ae430XS', {target: 'ti.targets.msp430.elf.MSP430X_small', suffix: 'e430XS'}],\n");
   sb.append(
       "['lib/sysbios/debug/ti.sysbios.rta.ar430XS', {target: 'iar.targets.msp430.MSP430X_small', suffix: 'r430XS'}],\n");
   sb.append(
       "['lib/sysbios/debug/ti.sysbios.rta.ae64P', {target: 'ti.targets.elf.C64P', suffix: 'e64P'}],\n");
   sb.append(
       "['lib/sysbios/debug/ti.sysbios.rta.ae64Pe', {target: 'ti.targets.elf.C64P_big_endian', suffix: 'e64Pe'}],\n");
   sb.append(
       "['lib/sysbios/debug/ti.sysbios.rta.ae674', {target: 'ti.targets.elf.C674', suffix: 'e674'}],\n");
   sb.append(
       "['lib/sysbios/debug/ti.sysbios.rta.ae64T', {target: 'ti.targets.elf.C64T', suffix: 'e64T'}],\n");
   sb.append(
       "['lib/sysbios/debug/ti.sysbios.rta.ae66', {target: 'ti.targets.elf.C66', suffix: 'e66'}],\n");
   sb.append(
       "['lib/sysbios/debug/ti.sysbios.rta.ae66e', {target: 'ti.targets.elf.C66_big_endian', suffix: 'e66e'}],\n");
   sb.append(
       "['lib/sysbios/debug/ti.sysbios.rta.aearp32', {target: 'ti.targets.arp32.elf.ARP32', suffix: 'earp32'}],\n");
   sb.append(
       "['lib/sysbios/debug/ti.sysbios.rta.aearp32F', {target: 'ti.targets.arp32.elf.ARP32_far', suffix: 'earp32F'}],\n");
   sb.append(
       "['lib/sysbios/debug/ti.sysbios.rta.ae9', {target: 'ti.targets.arm.elf.Arm9', suffix: 'e9'}],\n");
   sb.append(
       "['lib/sysbios/debug/ti.sysbios.rta.aea8f', {target: 'ti.targets.arm.elf.A8F', suffix: 'ea8f'}],\n");
   sb.append(
       "['lib/sysbios/debug/ti.sysbios.rta.aea8fnv', {target: 'ti.targets.arm.elf.A8Fnv', suffix: 'ea8fnv'}],\n");
   sb.append(
       "['lib/sysbios/debug/ti.sysbios.rta.aem3', {target: 'ti.targets.arm.elf.M3', suffix: 'em3'}],\n");
   sb.append(
       "['lib/sysbios/debug/ti.sysbios.rta.aem4', {target: 'ti.targets.arm.elf.M4', suffix: 'em4'}],\n");
   sb.append(
       "['lib/sysbios/debug/ti.sysbios.rta.aem4f', {target: 'ti.targets.arm.elf.M4F', suffix: 'em4f'}],\n");
   sb.append(
       "['lib/sysbios/debug/ti.sysbios.rta.aer4te', {target: 'ti.targets.arm.elf.R4t_big_endian', suffix: 'er4te'}],\n");
   sb.append(
       "['lib/sysbios/debug/ti.sysbios.rta.aer4fte', {target: 'ti.targets.arm.elf.R4Ft_big_endian', suffix: 'er4fte'}],\n");
   sb.append(
       "['lib/sysbios/debug/ti.sysbios.rta.am3g', {target: 'gnu.targets.arm.M3', suffix: 'm3g'}],\n");
   sb.append(
       "['lib/sysbios/debug/ti.sysbios.rta.am4g', {target: 'gnu.targets.arm.M4', suffix: 'm4g'}],\n");
   sb.append(
       "['lib/sysbios/debug/ti.sysbios.rta.am4fg', {target: 'gnu.targets.arm.M4F', suffix: 'm4fg'}],\n");
   sb.append(
       "['lib/sysbios/debug/ti.sysbios.rta.aa15g', {target: 'gnu.targets.arm.A15', suffix: 'a15g'}],\n");
   sb.append(
       "['lib/smpbios/debug/ti.sysbios.rta.aem3', {target: 'ti.targets.arm.elf.M3', suffix: 'em3'}],\n");
   sb.append(
       "['lib/smpbios/debug/ti.sysbios.rta.aem4', {target: 'ti.targets.arm.elf.M4', suffix: 'em4'}],\n");
   sb.append("];\n");
   Global.eval(sb.toString());
 }
Exemple #25
0
  void Examples$$SINGLETONS() {
    Proto.Obj po;
    Value.Obj vo;

    vo = (Value.Obj) om.findStrict("ti.sdo.ipc.examples.Examples", "ti.sdo.ipc.examples");
    po = (Proto.Obj) om.findStrict("ti.sdo.ipc.examples.Examples.Module", "ti.sdo.ipc.examples");
    vo.init2(po, "ti.sdo.ipc.examples.Examples", $$DEFAULT, false);
    vo.bind("Module", po);
    vo.bind("$category", "Module");
    vo.bind(
        "$capsule", om.findStrict("ti.sdo.ipc.examples.Examples$$capsule", "ti.sdo.ipc.examples"));
    vo.bind("$package", om.findStrict("ti.sdo.ipc.examples", "ti.sdo.ipc.examples"));
    tdefs.clear();
    proxies.clear();
    mcfgs.clear();
    icfgs.clear();
    inherits.clear();
    vo.bind(
        "FileDesc",
        om.findStrict("xdc.tools.product.IProductTemplate.FileDesc", "ti.sdo.ipc.examples"));
    tdefs.add(om.findStrict("xdc.tools.product.IProductTemplate.FileDesc", "ti.sdo.ipc.examples"));
    vo.bind(
        "Filter",
        om.findStrict("xdc.tools.product.IProductTemplate.Filter", "ti.sdo.ipc.examples"));
    tdefs.add(om.findStrict("xdc.tools.product.IProductTemplate.Filter", "ti.sdo.ipc.examples"));
    vo.bind(
        "TemplateInfo",
        om.findStrict("xdc.tools.product.IProductTemplate.TemplateInfo", "ti.sdo.ipc.examples"));
    tdefs.add(
        om.findStrict("xdc.tools.product.IProductTemplate.TemplateInfo", "ti.sdo.ipc.examples"));
    vo.bind(
        "TemplateGroup",
        om.findStrict("xdc.tools.product.IProductTemplate.TemplateGroup", "ti.sdo.ipc.examples"));
    tdefs.add(
        om.findStrict("xdc.tools.product.IProductTemplate.TemplateGroup", "ti.sdo.ipc.examples"));
    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.tools.product");
    vo.bind("$$inherits", Global.newArray(inherits.toArray()));
    ((Value.Arr) pkgV.getv("$modules")).add(vo);
    ((Value.Arr) om.findStrict("$modules", "ti.sdo.ipc.examples")).add(vo);
    vo.bind("$$instflag", 0);
    vo.bind("$$iobjflag", 1);
    vo.bind("$$sizeflag", 1);
    vo.bind("$$dlgflag", 0);
    vo.bind("$$iflag", 1);
    vo.bind("$$romcfgs", "|");
    vo.bind("$$nortsflag", 0);
    Proto.Str ps = (Proto.Str) vo.find("Module_State");
    if (ps != null) vo.bind("$object", ps.newInstance());
    vo.bind(
        "$$meta_iobj", om.has("ti.sdo.ipc.examples.Examples$$instance$static$init", null) ? 1 : 0);
    vo.bind("$$fxntab", Global.newArray());
    vo.bind("$$logEvtCfgs", Global.newArray());
    vo.bind("$$errorDescCfgs", Global.newArray());
    vo.bind("$$assertDescCfgs", Global.newArray());
    Value.Map atmap = (Value.Map) vo.getv("$attr");
    atmap.seal("length");
    pkgV.bind("Examples", vo);
    ((Value.Arr) pkgV.getv("$unitNames")).add("Examples");
  }