[processor-sdk/performance-audio-sr.git] / ipc_3_43_00_00_eng / packages / ti / ipc / family / tci6638 / package / ti_ipc_family_tci6638.java
1 /*
2 * Do not modify this file; it is automatically
3 * generated and any modifications will be overwritten.
4 *
5 * @(#) xdc-B06
6 */
7 import java.util.*;
8 import org.mozilla.javascript.*;
9 import xdc.services.intern.xsr.*;
10 import xdc.services.spec.Session;
12 public class ti_ipc_family_tci6638
13 {
14 static final String VERS = "@(#) xdc-B06\n";
16 static final Proto.Elm $$T_Bool = Proto.Elm.newBool();
17 static final Proto.Elm $$T_Num = Proto.Elm.newNum();
18 static final Proto.Elm $$T_Str = Proto.Elm.newStr();
19 static final Proto.Elm $$T_Obj = Proto.Elm.newObj();
21 static final Proto.Fxn $$T_Met = new Proto.Fxn(null, null, 0, -1, false);
22 static final Proto.Map $$T_Map = new Proto.Map($$T_Obj);
23 static final Proto.Arr $$T_Vec = new Proto.Arr($$T_Obj);
25 static final XScriptO $$DEFAULT = Value.DEFAULT;
26 static final Object $$UNDEF = Undefined.instance;
28 static final Proto.Obj $$Package = (Proto.Obj)Global.get("$$Package");
29 static final Proto.Obj $$Module = (Proto.Obj)Global.get("$$Module");
30 static final Proto.Obj $$Instance = (Proto.Obj)Global.get("$$Instance");
31 static final Proto.Obj $$Params = (Proto.Obj)Global.get("$$Params");
33 static final Object $$objFldGet = Global.get("$$objFldGet");
34 static final Object $$objFldSet = Global.get("$$objFldSet");
35 static final Object $$proxyGet = Global.get("$$proxyGet");
36 static final Object $$proxySet = Global.get("$$proxySet");
37 static final Object $$delegGet = Global.get("$$delegGet");
38 static final Object $$delegSet = Global.get("$$delegSet");
40 Scriptable xdcO;
41 Session ses;
42 Value.Obj om;
44 boolean isROV;
45 boolean isCFG;
47 Proto.Obj pkgP;
48 Value.Obj pkgV;
50 ArrayList<Object> imports = new ArrayList<Object>();
51 ArrayList<Object> loggables = new ArrayList<Object>();
52 ArrayList<Object> mcfgs = new ArrayList<Object>();
53 ArrayList<Object> icfgs = new ArrayList<Object>();
54 ArrayList<String> inherits = new ArrayList<String>();
55 ArrayList<Object> proxies = new ArrayList<Object>();
56 ArrayList<Object> sizes = new ArrayList<Object>();
57 ArrayList<Object> tdefs = new ArrayList<Object>();
59 void $$IMPORTS()
60 {
61 Global.callFxn("loadPackage", xdcO, "xdc");
62 Global.callFxn("loadPackage", xdcO, "xdc.corevers");
63 Global.callFxn("loadPackage", xdcO, "xdc.runtime");
64 Global.callFxn("loadPackage", xdcO, "ti.sdo.ipc.notifyDrivers");
65 Global.callFxn("loadPackage", xdcO, "ti.sdo.utils");
66 Global.callFxn("loadPackage", xdcO, "ti.sysbios.gates");
67 Global.callFxn("loadPackage", xdcO, "ti.sysbios.knl");
68 Global.callFxn("loadPackage", xdcO, "ti.sdo.ipc.interfaces");
69 }
71 void $$OBJECTS()
72 {
73 pkgP = (Proto.Obj)om.bind("ti.ipc.family.tci6638.Package", new Proto.Obj());
74 pkgV = (Value.Obj)om.bind("ti.ipc.family.tci6638", new Value.Obj("ti.ipc.family.tci6638", pkgP));
75 }
77 void Interrupt$$OBJECTS()
78 {
79 Proto.Obj po, spo;
80 Value.Obj vo;
82 po = (Proto.Obj)om.bind("ti.ipc.family.tci6638.Interrupt.Module", new Proto.Obj());
83 vo = (Value.Obj)om.bind("ti.ipc.family.tci6638.Interrupt", new Value.Obj("ti.ipc.family.tci6638.Interrupt", po));
84 pkgV.bind("Interrupt", vo);
85 // decls
86 om.bind("ti.ipc.family.tci6638.Interrupt.IntInfo", om.findStrict("ti.sdo.ipc.notifyDrivers.IInterrupt.IntInfo", "ti.ipc.family.tci6638"));
87 }
89 void VirtQueue$$OBJECTS()
90 {
91 Proto.Obj po, spo;
92 Value.Obj vo;
94 po = (Proto.Obj)om.bind("ti.ipc.family.tci6638.VirtQueue.Module", new Proto.Obj());
95 vo = (Value.Obj)om.bind("ti.ipc.family.tci6638.VirtQueue", new Value.Obj("ti.ipc.family.tci6638.VirtQueue", po));
96 pkgV.bind("VirtQueue", vo);
97 // decls
98 spo = (Proto.Obj)om.bind("ti.ipc.family.tci6638.VirtQueue$$BasicView", new Proto.Obj());
99 om.bind("ti.ipc.family.tci6638.VirtQueue.BasicView", new Proto.Str(spo, false));
100 spo = (Proto.Obj)om.bind("ti.ipc.family.tci6638.VirtQueue$$ModuleView", new Proto.Obj());
101 om.bind("ti.ipc.family.tci6638.VirtQueue.ModuleView", new Proto.Str(spo, false));
102 spo = (Proto.Obj)om.bind("ti.ipc.family.tci6638.VirtQueue$$Module_State", new Proto.Obj());
103 om.bind("ti.ipc.family.tci6638.VirtQueue.Module_State", new Proto.Str(spo, false));
104 spo = (Proto.Obj)om.bind("ti.ipc.family.tci6638.VirtQueue$$Instance_State", new Proto.Obj());
105 om.bind("ti.ipc.family.tci6638.VirtQueue.Instance_State", new Proto.Str(spo, false));
106 // insts
107 Object insP = om.bind("ti.ipc.family.tci6638.VirtQueue.Instance", new Proto.Obj());
108 po = (Proto.Obj)om.bind("ti.ipc.family.tci6638.VirtQueue$$Object", new Proto.Obj());
109 om.bind("ti.ipc.family.tci6638.VirtQueue.Object", new Proto.Str(po, false));
110 po = (Proto.Obj)om.bind("ti.ipc.family.tci6638.VirtQueue$$Params", new Proto.Obj());
111 om.bind("ti.ipc.family.tci6638.VirtQueue.Params", new Proto.Str(po, false));
112 om.bind("ti.ipc.family.tci6638.VirtQueue.Handle", insP);
113 if (isROV) {
114 om.bind("ti.ipc.family.tci6638.VirtQueue.Object", om.findStrict("ti.ipc.family.tci6638.VirtQueue.Instance_State", "ti.ipc.family.tci6638"));
115 }//isROV
116 }
118 void NotifyCircSetup$$OBJECTS()
119 {
120 Proto.Obj po, spo;
121 Value.Obj vo;
123 po = (Proto.Obj)om.bind("ti.ipc.family.tci6638.NotifyCircSetup.Module", new Proto.Obj());
124 vo = (Value.Obj)om.bind("ti.ipc.family.tci6638.NotifyCircSetup", new Value.Obj("ti.ipc.family.tci6638.NotifyCircSetup", po));
125 pkgV.bind("NotifyCircSetup", vo);
126 // decls
127 }
129 void VirtQueue_InterruptProxy$$OBJECTS()
130 {
131 Proto.Obj po, spo;
132 Value.Obj vo;
134 po = (Proto.Obj)om.bind("ti.ipc.family.tci6638.VirtQueue_InterruptProxy.Module", new Proto.Obj());
135 vo = (Value.Obj)om.bind("ti.ipc.family.tci6638.VirtQueue_InterruptProxy", new Value.Obj("ti.ipc.family.tci6638.VirtQueue_InterruptProxy", po));
136 pkgV.bind("VirtQueue_InterruptProxy", vo);
137 // decls
138 om.bind("ti.ipc.family.tci6638.VirtQueue_InterruptProxy.IntInfo", om.findStrict("ti.sdo.ipc.notifyDrivers.IInterrupt.IntInfo", "ti.ipc.family.tci6638"));
139 }
141 void Interrupt$$CONSTS()
142 {
143 // module Interrupt
144 om.bind("ti.ipc.family.tci6638.Interrupt.INVALIDPAYLOAD", 0xFFFFFFFFL);
145 om.bind("ti.ipc.family.tci6638.Interrupt.SRCS_BITPOS_CORE0", 4L);
146 om.bind("ti.ipc.family.tci6638.Interrupt.SRCS_BITPOS_HOST", 31L);
147 om.bind("ti.ipc.family.tci6638.Interrupt.intEnable", new Extern("ti_ipc_family_tci6638_Interrupt_intEnable__E", "xdc_Void(*)(xdc_UInt16,ti_sdo_ipc_notifyDrivers_IInterrupt_IntInfo*)", true, false));
148 om.bind("ti.ipc.family.tci6638.Interrupt.intDisable", new Extern("ti_ipc_family_tci6638_Interrupt_intDisable__E", "xdc_Void(*)(xdc_UInt16,ti_sdo_ipc_notifyDrivers_IInterrupt_IntInfo*)", true, false));
149 om.bind("ti.ipc.family.tci6638.Interrupt.intRegister", new Extern("ti_ipc_family_tci6638_Interrupt_intRegister__E", "xdc_Void(*)(xdc_UInt16,ti_sdo_ipc_notifyDrivers_IInterrupt_IntInfo*,xdc_Fxn,xdc_UArg)", true, false));
150 om.bind("ti.ipc.family.tci6638.Interrupt.intUnregister", new Extern("ti_ipc_family_tci6638_Interrupt_intUnregister__E", "xdc_Void(*)(xdc_UInt16,ti_sdo_ipc_notifyDrivers_IInterrupt_IntInfo*)", true, false));
151 om.bind("ti.ipc.family.tci6638.Interrupt.intSend", new Extern("ti_ipc_family_tci6638_Interrupt_intSend__E", "xdc_Void(*)(xdc_UInt16,ti_sdo_ipc_notifyDrivers_IInterrupt_IntInfo*,xdc_UArg)", true, false));
152 om.bind("ti.ipc.family.tci6638.Interrupt.intPost", new Extern("ti_ipc_family_tci6638_Interrupt_intPost__E", "xdc_Void(*)(xdc_UInt16,ti_sdo_ipc_notifyDrivers_IInterrupt_IntInfo*,xdc_UArg)", true, false));
153 om.bind("ti.ipc.family.tci6638.Interrupt.intClear", new Extern("ti_ipc_family_tci6638_Interrupt_intClear__E", "xdc_UInt(*)(xdc_UInt16,ti_sdo_ipc_notifyDrivers_IInterrupt_IntInfo*)", true, false));
154 om.bind("ti.ipc.family.tci6638.Interrupt.intClearAll", new Extern("ti_ipc_family_tci6638_Interrupt_intClearAll__E", "xdc_Void(*)(xdc_Void)", true, false));
155 om.bind("ti.ipc.family.tci6638.Interrupt.checkAndClear", new Extern("ti_ipc_family_tci6638_Interrupt_checkAndClear__E", "xdc_UInt(*)(xdc_UInt16,ti_ipc_family_tci6638_Interrupt_IntInfo*)", true, false));
156 }
158 void VirtQueue$$CONSTS()
159 {
160 // module VirtQueue
161 om.bind("ti.ipc.family.tci6638.VirtQueue.startup", new Extern("ti_ipc_family_tci6638_VirtQueue_startup__E", "xdc_Void(*)(xdc_UInt16,xdc_Bool)", true, false));
162 om.bind("ti.ipc.family.tci6638.VirtQueue.cacheWb", new Extern("ti_ipc_family_tci6638_VirtQueue_cacheWb__E", "xdc_Void(*)(xdc_Void)", true, false));
163 om.bind("ti.ipc.family.tci6638.VirtQueue.init", new Extern("ti_ipc_family_tci6638_VirtQueue_init__I", "xdc_Void(*)(xdc_Void)", true, false));
164 om.bind("ti.ipc.family.tci6638.VirtQueue.hostIsr", new Extern("ti_ipc_family_tci6638_VirtQueue_hostIsr__I", "xdc_Void(*)(xdc_UArg)", true, false));
165 om.bind("ti.ipc.family.tci6638.VirtQueue.slaveIsr", new Extern("ti_ipc_family_tci6638_VirtQueue_slaveIsr__I", "xdc_Void(*)(xdc_UArg)", true, false));
166 }
168 void NotifyCircSetup$$CONSTS()
169 {
170 // module NotifyCircSetup
171 om.bind("ti.ipc.family.tci6638.NotifyCircSetup.SRCS_BITPOS_CORE0", 4L);
172 om.bind("ti.ipc.family.tci6638.NotifyCircSetup.SRCS_BITPOS_HOST", 31L);
173 om.bind("ti.ipc.family.tci6638.NotifyCircSetup.attach", new Extern("ti_ipc_family_tci6638_NotifyCircSetup_attach__E", "xdc_Int(*)(xdc_UInt16,xdc_Ptr)", true, false));
174 om.bind("ti.ipc.family.tci6638.NotifyCircSetup.sharedMemReq", new Extern("ti_ipc_family_tci6638_NotifyCircSetup_sharedMemReq__E", "xdc_SizeT(*)(xdc_UInt16,xdc_Ptr)", true, false));
175 om.bind("ti.ipc.family.tci6638.NotifyCircSetup.numIntLines", new Extern("ti_ipc_family_tci6638_NotifyCircSetup_numIntLines__E", "xdc_UInt16(*)(xdc_UInt16)", true, false));
176 }
178 void VirtQueue_InterruptProxy$$CONSTS()
179 {
180 // module VirtQueue_InterruptProxy
181 om.bind("ti.ipc.family.tci6638.VirtQueue_InterruptProxy.intEnable", new Extern("ti_ipc_family_tci6638_VirtQueue_InterruptProxy_intEnable__E", "xdc_Void(*)(xdc_UInt16,ti_sdo_ipc_notifyDrivers_IInterrupt_IntInfo*)", true, false));
182 om.bind("ti.ipc.family.tci6638.VirtQueue_InterruptProxy.intDisable", new Extern("ti_ipc_family_tci6638_VirtQueue_InterruptProxy_intDisable__E", "xdc_Void(*)(xdc_UInt16,ti_sdo_ipc_notifyDrivers_IInterrupt_IntInfo*)", true, false));
183 om.bind("ti.ipc.family.tci6638.VirtQueue_InterruptProxy.intRegister", new Extern("ti_ipc_family_tci6638_VirtQueue_InterruptProxy_intRegister__E", "xdc_Void(*)(xdc_UInt16,ti_sdo_ipc_notifyDrivers_IInterrupt_IntInfo*,xdc_Fxn,xdc_UArg)", true, false));
184 om.bind("ti.ipc.family.tci6638.VirtQueue_InterruptProxy.intUnregister", new Extern("ti_ipc_family_tci6638_VirtQueue_InterruptProxy_intUnregister__E", "xdc_Void(*)(xdc_UInt16,ti_sdo_ipc_notifyDrivers_IInterrupt_IntInfo*)", true, false));
185 om.bind("ti.ipc.family.tci6638.VirtQueue_InterruptProxy.intSend", new Extern("ti_ipc_family_tci6638_VirtQueue_InterruptProxy_intSend__E", "xdc_Void(*)(xdc_UInt16,ti_sdo_ipc_notifyDrivers_IInterrupt_IntInfo*,xdc_UArg)", true, false));
186 om.bind("ti.ipc.family.tci6638.VirtQueue_InterruptProxy.intPost", new Extern("ti_ipc_family_tci6638_VirtQueue_InterruptProxy_intPost__E", "xdc_Void(*)(xdc_UInt16,ti_sdo_ipc_notifyDrivers_IInterrupt_IntInfo*,xdc_UArg)", true, false));
187 om.bind("ti.ipc.family.tci6638.VirtQueue_InterruptProxy.intClear", new Extern("ti_ipc_family_tci6638_VirtQueue_InterruptProxy_intClear__E", "xdc_UInt(*)(xdc_UInt16,ti_sdo_ipc_notifyDrivers_IInterrupt_IntInfo*)", true, false));
188 }
190 void Interrupt$$CREATES()
191 {
192 Proto.Fxn fxn;
193 StringBuilder sb;
195 }
197 void VirtQueue$$CREATES()
198 {
199 Proto.Fxn fxn;
200 StringBuilder sb;
202 if (isCFG) {
203 sb = new StringBuilder();
204 sb.append("ti$ipc$family$tci6638$VirtQueue$$__initObject = function( inst ) {\n");
205 sb.append("if (!this.$used) {\n");
206 sb.append("throw new Error(\"Function ti.ipc.family.tci6638.VirtQueue.create() called before xdc.useModule('ti.ipc.family.tci6638.VirtQueue')\");\n");
207 sb.append("}\n");
208 sb.append("var name = xdc.module('xdc.runtime.Text').defineRopeCord(inst.instance.name);\n");
209 sb.append("inst.$object.$$bind('__name', name);\n");
210 sb.append("this.instance$static$init.$fxn.apply(inst, [inst.$object, inst.$args.remoteProcId, inst, inst.$module]);\n");
211 sb.append("inst.$seal();\n");
212 sb.append("};\n");
213 Global.eval(sb.toString());
214 fxn = (Proto.Fxn)om.bind("ti.ipc.family.tci6638.VirtQueue$$create", new Proto.Fxn(om.findStrict("ti.ipc.family.tci6638.VirtQueue.Module", "ti.ipc.family.tci6638"), om.findStrict("ti.ipc.family.tci6638.VirtQueue.Instance", "ti.ipc.family.tci6638"), 2, 1, false));
215 fxn.addArg(0, "remoteProcId", Proto.Elm.newCNum("(xdc_UInt16)"), $$UNDEF);
216 fxn.addArg(1, "__params", (Proto)om.findStrict("ti.ipc.family.tci6638.VirtQueue.Params", "ti.ipc.family.tci6638"), Global.newObject());
217 sb = new StringBuilder();
218 sb.append("ti$ipc$family$tci6638$VirtQueue$$create = function( remoteProcId, __params ) {\n");
219 sb.append("var __mod = xdc.om['ti.ipc.family.tci6638.VirtQueue'];\n");
220 sb.append("var __inst = xdc.om['ti.ipc.family.tci6638.VirtQueue.Instance'].$$make();\n");
221 sb.append("__inst.$$bind('$package', xdc.om['ti.ipc.family.tci6638']);\n");
222 sb.append("__inst.$$bind('$index', __mod.$instances.length);\n");
223 sb.append("__inst.$$bind('$category', 'Instance');\n");
224 sb.append("__inst.$$bind('$args', {remoteProcId:remoteProcId});\n");
225 sb.append("__inst.$$bind('$module', __mod);\n");
226 sb.append("__mod.$instances.$add(__inst);\n");
227 sb.append("__inst.$$bind('$object', new xdc.om['ti.ipc.family.tci6638.VirtQueue'].Instance_State);\n");
228 sb.append("for (var __p in __params) __inst[__p] = __params[__p];\n");
229 sb.append("var save = xdc.om.$curpkg;\n");
230 sb.append("xdc.om.$$bind('$curpkg', __mod.$package.$name);\n");
231 sb.append("__mod.instance$meta$init.$fxn.apply(__inst, [remoteProcId]);\n");
232 sb.append("xdc.om.$$bind('$curpkg', save);\n");
233 sb.append("__inst.$$bless();\n");
234 sb.append("if (xdc.om.$$phase >= 5) xdc.om['ti.ipc.family.tci6638.VirtQueue'].__initObject(__inst);\n");
235 sb.append("__inst.$$bind('$$phase', xdc.om.$$phase);\n");
236 sb.append("return __inst;\n");
237 sb.append("}\n");
238 Global.eval(sb.toString());
239 }//isCFG
240 if (isCFG) {
241 fxn = (Proto.Fxn)om.bind("ti.ipc.family.tci6638.VirtQueue$$construct", new Proto.Fxn(om.findStrict("ti.ipc.family.tci6638.VirtQueue.Module", "ti.ipc.family.tci6638"), null, 3, 1, false));
242 fxn.addArg(0, "__obj", (Proto)om.findStrict("ti.ipc.family.tci6638.VirtQueue$$Object", "ti.ipc.family.tci6638"), null);
243 fxn.addArg(1, "remoteProcId", Proto.Elm.newCNum("(xdc_UInt16)"), $$UNDEF);
244 fxn.addArg(2, "__params", (Proto)om.findStrict("ti.ipc.family.tci6638.VirtQueue.Params", "ti.ipc.family.tci6638"), Global.newObject());
245 sb = new StringBuilder();
246 sb.append("ti$ipc$family$tci6638$VirtQueue$$construct = function( __obj, remoteProcId, __params ) {\n");
247 sb.append("var __mod = xdc.om['ti.ipc.family.tci6638.VirtQueue'];\n");
248 sb.append("var __inst = __obj;\n");
249 sb.append("__inst.$$bind('$args', {remoteProcId:remoteProcId});\n");
250 sb.append("__inst.$$bind('$module', __mod);\n");
251 sb.append("__mod.$objects.$add(__inst);\n");
252 sb.append("__inst.$$bind('$object', xdc.om['ti.ipc.family.tci6638.VirtQueue'].Instance_State.$$make(__inst.$$parent, __inst.$name));\n");
253 sb.append("for (var __p in __params) __inst[__p] = __params[__p];\n");
254 sb.append("__inst.$$bless();\n");
255 sb.append("if (xdc.om.$$phase >= 5) xdc.om['ti.ipc.family.tci6638.VirtQueue'].__initObject(__inst);\n");
256 sb.append("__inst.$$bind('$$phase', xdc.om.$$phase);\n");
257 sb.append("return null;\n");
258 sb.append("}\n");
259 Global.eval(sb.toString());
260 }//isCFG
261 }
263 void NotifyCircSetup$$CREATES()
264 {
265 Proto.Fxn fxn;
266 StringBuilder sb;
268 }
270 void VirtQueue_InterruptProxy$$CREATES()
271 {
272 Proto.Fxn fxn;
273 StringBuilder sb;
275 }
277 void Interrupt$$FUNCTIONS()
278 {
279 Proto.Fxn fxn;
281 }
283 void VirtQueue$$FUNCTIONS()
284 {
285 Proto.Fxn fxn;
287 }
289 void NotifyCircSetup$$FUNCTIONS()
290 {
291 Proto.Fxn fxn;
293 }
295 void VirtQueue_InterruptProxy$$FUNCTIONS()
296 {
297 Proto.Fxn fxn;
299 }
301 void Interrupt$$SIZES()
302 {
303 Proto.Str so;
304 Object fxn;
306 }
308 void VirtQueue$$SIZES()
309 {
310 Proto.Str so;
311 Object fxn;
313 so = (Proto.Str)om.findStrict("ti.ipc.family.tci6638.VirtQueue.Module_State", "ti.ipc.family.tci6638");
314 sizes.clear();
315 sizes.add(Global.newArray("hostSlaveSynced", "UInt16"));
316 sizes.add(Global.newArray("virtQueueInitialized", "UInt16"));
317 sizes.add(Global.newArray("queueRegistry", "UPtr"));
318 sizes.add(Global.newArray("traceBufPtr", "UPtr"));
319 so.bind("$$sizes", Global.newArray(sizes.toArray()));
320 fxn = Global.eval("function() { return $$sizeof(xdc.om['ti.ipc.family.tci6638.VirtQueue.Module_State']); }");
321 so.bind("$sizeof", fxn);
322 fxn = Global.eval("function() { return $$alignof(xdc.om['ti.ipc.family.tci6638.VirtQueue.Module_State']); }");
323 so.bind("$alignof", fxn);
324 fxn = Global.eval("function(fld) { return $$offsetof(xdc.om['ti.ipc.family.tci6638.VirtQueue.Module_State'], fld); }");
325 so.bind("$offsetof", fxn);
326 so = (Proto.Str)om.findStrict("ti.ipc.family.tci6638.VirtQueue.Instance_State", "ti.ipc.family.tci6638");
327 sizes.clear();
328 sizes.add(Global.newArray("hostSlaveSynced", "UShort"));
329 sizes.add(Global.newArray("id", "UInt16"));
330 sizes.add(Global.newArray("callback", "UFxn"));
331 sizes.add(Global.newArray("swiHandle", "UPtr"));
332 sizes.add(Global.newArray("vringPtr", "UPtr"));
333 sizes.add(Global.newArray("num_free", "UInt16"));
334 sizes.add(Global.newArray("last_avail_idx", "UInt16"));
335 sizes.add(Global.newArray("last_used_idx", "UInt16"));
336 sizes.add(Global.newArray("procId", "UInt16"));
337 sizes.add(Global.newArray("gateH", "UPtr"));
338 so.bind("$$sizes", Global.newArray(sizes.toArray()));
339 fxn = Global.eval("function() { return $$sizeof(xdc.om['ti.ipc.family.tci6638.VirtQueue.Instance_State']); }");
340 so.bind("$sizeof", fxn);
341 fxn = Global.eval("function() { return $$alignof(xdc.om['ti.ipc.family.tci6638.VirtQueue.Instance_State']); }");
342 so.bind("$alignof", fxn);
343 fxn = Global.eval("function(fld) { return $$offsetof(xdc.om['ti.ipc.family.tci6638.VirtQueue.Instance_State'], fld); }");
344 so.bind("$offsetof", fxn);
345 }
347 void NotifyCircSetup$$SIZES()
348 {
349 Proto.Str so;
350 Object fxn;
352 }
354 void VirtQueue_InterruptProxy$$SIZES()
355 {
356 Proto.Str so;
357 Object fxn;
359 }
361 void Interrupt$$TYPES()
362 {
363 Scriptable cap;
364 Proto.Obj po;
365 Proto.Str ps;
366 Proto.Typedef pt;
367 Object fxn;
369 cap = (Scriptable)Global.callFxn("loadCapsule", xdcO, "ti/ipc/family/tci6638/Interrupt.xs");
370 om.bind("ti.ipc.family.tci6638.Interrupt$$capsule", cap);
371 po = (Proto.Obj)om.findStrict("ti.ipc.family.tci6638.Interrupt.Module", "ti.ipc.family.tci6638");
372 po.init("ti.ipc.family.tci6638.Interrupt.Module", om.findStrict("ti.sdo.ipc.notifyDrivers.IInterrupt.Module", "ti.ipc.family.tci6638"));
373 po.addFld("$hostonly", $$T_Num, 0, "r");
374 po.addFld("INVALIDPAYLOAD", Proto.Elm.newCNum("(xdc_UInt)"), 0xFFFFFFFFL, "rh");
375 po.addFld("SRCS_BITPOS_CORE0", Proto.Elm.newCNum("(xdc_UInt)"), 4L, "rh");
376 po.addFld("SRCS_BITPOS_HOST", Proto.Elm.newCNum("(xdc_UInt)"), 31L, "rh");
377 if (isCFG) {
378 po.addFld("enableKick", $$T_Bool, true, "w");
379 po.addFld("A_notImplemented", (Proto)om.findStrict("xdc.runtime.Assert$$Id", "ti.ipc.family.tci6638"), Global.newObject("msg", "A_notImplemented: this function is not implemented"), "w");
380 po.addFld("IPCGR0", new Proto.Adr("xdc_Ptr", "Pv"), null, "w");
381 po.addFld("IPCAR0", new Proto.Adr("xdc_Ptr", "Pv"), null, "w");
382 po.addFld("IPCGRH", new Proto.Adr("xdc_Ptr", "Pv"), null, "w");
383 po.addFld("IPCARH", new Proto.Adr("xdc_Ptr", "Pv"), null, "w");
384 po.addFld("KICK0", new Proto.Adr("xdc_Ptr", "Pv"), null, "w");
385 po.addFld("KICK1", new Proto.Adr("xdc_Ptr", "Pv"), null, "w");
386 po.addFld("INTERDSPINT", Proto.Elm.newCNum("(xdc_UInt)"), Global.eval("-1"), "w");
387 po.addFld("DSPINT", Proto.Elm.newCNum("(xdc_UInt)"), Global.eval("-1"), "w");
388 }//isCFG
389 fxn = Global.get(cap, "module$use");
390 if (fxn != null) om.bind("ti.ipc.family.tci6638.Interrupt$$module$use", true);
391 if (fxn != null) po.addFxn("module$use", $$T_Met, fxn);
392 fxn = Global.get(cap, "module$meta$init");
393 if (fxn != null) om.bind("ti.ipc.family.tci6638.Interrupt$$module$meta$init", true);
394 if (fxn != null) po.addFxn("module$meta$init", $$T_Met, fxn);
395 fxn = Global.get(cap, "module$static$init");
396 if (fxn != null) om.bind("ti.ipc.family.tci6638.Interrupt$$module$static$init", true);
397 if (fxn != null) po.addFxn("module$static$init", $$T_Met, fxn);
398 fxn = Global.get(cap, "module$validate");
399 if (fxn != null) om.bind("ti.ipc.family.tci6638.Interrupt$$module$validate", true);
400 if (fxn != null) po.addFxn("module$validate", $$T_Met, fxn);
401 }
403 void VirtQueue$$TYPES()
404 {
405 Scriptable cap;
406 Proto.Obj po;
407 Proto.Str ps;
408 Proto.Typedef pt;
409 Object fxn;
411 cap = (Scriptable)Global.callFxn("loadCapsule", xdcO, "ti/ipc/family/tci6638/VirtQueue.xs");
412 om.bind("ti.ipc.family.tci6638.VirtQueue$$capsule", cap);
413 po = (Proto.Obj)om.findStrict("ti.ipc.family.tci6638.VirtQueue.Module", "ti.ipc.family.tci6638");
414 po.init("ti.ipc.family.tci6638.VirtQueue.Module", om.findStrict("xdc.runtime.IModule.Module", "ti.ipc.family.tci6638"));
415 po.addFld("$hostonly", $$T_Num, 0, "r");
416 if (isCFG) {
417 po.addFldV("InterruptProxy", (Proto)om.findStrict("ti.sdo.ipc.notifyDrivers.IInterrupt.Module", "ti.ipc.family.tci6638"), null, "wh", $$delegGet, $$delegSet);
418 po.addFld("VRING_OFFSET", Proto.Elm.newCNum("(xdc_UInt32)"), 0x00080000L, "w");
419 po.addFld("VQ0_SIZE", Proto.Elm.newCNum("(xdc_UInt)"), 256L, "w");
420 po.addFld("VQ1_SIZE", Proto.Elm.newCNum("(xdc_UInt)"), 256L, "w");
421 po.addFld("RP_MSG_NUM_BUFS", Proto.Elm.newCNum("(xdc_UInt)"), 256L, "w");
422 po.addFld("PAGE_SIZE", Proto.Elm.newCNum("(xdc_UInt)"), 4096L, "w");
423 po.addFld("RP_MSG_VRING_ALIGN", Proto.Elm.newCNum("(xdc_UInt)"), 4096L, "w");
424 }//isCFG
425 if (isCFG) {
426 po.addFxn("create", (Proto.Fxn)om.findStrict("ti.ipc.family.tci6638.VirtQueue$$create", "ti.ipc.family.tci6638"), Global.get("ti$ipc$family$tci6638$VirtQueue$$create"));
427 po.addFxn("construct", (Proto.Fxn)om.findStrict("ti.ipc.family.tci6638.VirtQueue$$construct", "ti.ipc.family.tci6638"), Global.get("ti$ipc$family$tci6638$VirtQueue$$construct"));
428 }//isCFG
429 fxn = Global.get(cap, "module$use");
430 if (fxn != null) om.bind("ti.ipc.family.tci6638.VirtQueue$$module$use", true);
431 if (fxn != null) po.addFxn("module$use", $$T_Met, fxn);
432 fxn = Global.get(cap, "module$meta$init");
433 if (fxn != null) om.bind("ti.ipc.family.tci6638.VirtQueue$$module$meta$init", true);
434 if (fxn != null) po.addFxn("module$meta$init", $$T_Met, fxn);
435 fxn = Global.get(cap, "instance$meta$init");
436 if (fxn != null) om.bind("ti.ipc.family.tci6638.VirtQueue$$instance$meta$init", true);
437 if (fxn != null) po.addFxn("instance$meta$init", $$T_Met, fxn);
438 fxn = Global.get(cap, "module$static$init");
439 if (fxn != null) om.bind("ti.ipc.family.tci6638.VirtQueue$$module$static$init", true);
440 if (fxn != null) po.addFxn("module$static$init", $$T_Met, fxn);
441 fxn = Global.get(cap, "module$validate");
442 if (fxn != null) om.bind("ti.ipc.family.tci6638.VirtQueue$$module$validate", true);
443 if (fxn != null) po.addFxn("module$validate", $$T_Met, fxn);
444 fxn = Global.get(cap, "instance$static$init");
445 if (fxn != null) om.bind("ti.ipc.family.tci6638.VirtQueue$$instance$static$init", true);
446 if (fxn != null) po.addFxn("instance$static$init", $$T_Met, fxn);
447 po = (Proto.Obj)om.findStrict("ti.ipc.family.tci6638.VirtQueue.Instance", "ti.ipc.family.tci6638");
448 po.init("ti.ipc.family.tci6638.VirtQueue.Instance", $$Instance);
449 po.addFld("$hostonly", $$T_Num, 0, "r");
450 if (isCFG) {
451 po.addFld("host", $$T_Bool, false, "w");
452 po.addFld("callback", new Proto.Adr("xdc_Fxn", "Pf"), null, "w");
453 po.addFld("swiHandle", (Proto)om.findStrict("ti.sysbios.knl.Swi.Handle", "ti.ipc.family.tci6638"), null, "w");
454 po.addFld("intVectorId", Proto.Elm.newCNum("(xdc_UInt)"), Global.eval("~1"), "w");
455 po.addFld("vqId", Proto.Elm.newCNum("(xdc_Int)"), 0L, "w");
456 po.addFld("instance", (Proto)om.findStrict("xdc.runtime.IInstance.Params", "ti.ipc.family.tci6638"), $$UNDEF, "w");
457 }//isCFG
458 po = (Proto.Obj)om.findStrict("ti.ipc.family.tci6638.VirtQueue$$Params", "ti.ipc.family.tci6638");
459 po.init("ti.ipc.family.tci6638.VirtQueue.Params", $$Params);
460 po.addFld("$hostonly", $$T_Num, 0, "r");
461 if (isCFG) {
462 po.addFld("host", $$T_Bool, false, "w");
463 po.addFld("callback", new Proto.Adr("xdc_Fxn", "Pf"), null, "w");
464 po.addFld("swiHandle", (Proto)om.findStrict("ti.sysbios.knl.Swi.Handle", "ti.ipc.family.tci6638"), null, "w");
465 po.addFld("intVectorId", Proto.Elm.newCNum("(xdc_UInt)"), Global.eval("~1"), "w");
466 po.addFld("vqId", Proto.Elm.newCNum("(xdc_Int)"), 0L, "w");
467 po.addFld("instance", (Proto)om.findStrict("xdc.runtime.IInstance.Params", "ti.ipc.family.tci6638"), $$UNDEF, "w");
468 }//isCFG
469 po = (Proto.Obj)om.findStrict("ti.ipc.family.tci6638.VirtQueue$$Object", "ti.ipc.family.tci6638");
470 po.init("ti.ipc.family.tci6638.VirtQueue.Object", om.findStrict("ti.ipc.family.tci6638.VirtQueue.Instance", "ti.ipc.family.tci6638"));
471 // struct VirtQueue.BasicView
472 po = (Proto.Obj)om.findStrict("ti.ipc.family.tci6638.VirtQueue$$BasicView", "ti.ipc.family.tci6638");
473 po.init("ti.ipc.family.tci6638.VirtQueue.BasicView", null);
474 po.addFld("$hostonly", $$T_Num, 1, "r");
475 // struct VirtQueue.ModuleView
476 po = (Proto.Obj)om.findStrict("ti.ipc.family.tci6638.VirtQueue$$ModuleView", "ti.ipc.family.tci6638");
477 po.init("ti.ipc.family.tci6638.VirtQueue.ModuleView", null);
478 po.addFld("$hostonly", $$T_Num, 1, "r");
479 // struct VirtQueue.Module_State
480 po = (Proto.Obj)om.findStrict("ti.ipc.family.tci6638.VirtQueue$$Module_State", "ti.ipc.family.tci6638");
481 po.init("ti.ipc.family.tci6638.VirtQueue.Module_State", null);
482 po.addFld("$hostonly", $$T_Num, 0, "r");
483 po.addFld("hostSlaveSynced", Proto.Elm.newCNum("(xdc_UInt16)"), $$UNDEF, "w");
484 po.addFld("virtQueueInitialized", Proto.Elm.newCNum("(xdc_UInt16)"), $$UNDEF, "w");
485 po.addFld("queueRegistry", new Proto.Adr("xdc_UInt32*", "Pn"), $$UNDEF, "w");
486 po.addFld("traceBufPtr", new Proto.Adr("xdc_Ptr", "Pv"), $$UNDEF, "w");
487 // struct VirtQueue.Instance_State
488 po = (Proto.Obj)om.findStrict("ti.ipc.family.tci6638.VirtQueue$$Instance_State", "ti.ipc.family.tci6638");
489 po.init("ti.ipc.family.tci6638.VirtQueue.Instance_State", null);
490 po.addFld("$hostonly", $$T_Num, 0, "r");
491 po.addFld("hostSlaveSynced", $$T_Bool, $$UNDEF, "w");
492 po.addFld("id", Proto.Elm.newCNum("(xdc_UInt16)"), $$UNDEF, "w");
493 po.addFld("callback", new Proto.Adr("xdc_Fxn", "Pf"), $$UNDEF, "w");
494 po.addFld("swiHandle", (Proto)om.findStrict("ti.sysbios.knl.Swi.Handle", "ti.ipc.family.tci6638"), $$UNDEF, "w");
495 po.addFld("vringPtr", new Proto.Adr("xdc_Void*", "Pv"), $$UNDEF, "w");
496 po.addFld("num_free", Proto.Elm.newCNum("(xdc_UInt16)"), $$UNDEF, "w");
497 po.addFld("last_avail_idx", Proto.Elm.newCNum("(xdc_UInt16)"), $$UNDEF, "w");
498 po.addFld("last_used_idx", Proto.Elm.newCNum("(xdc_UInt16)"), $$UNDEF, "w");
499 po.addFld("procId", Proto.Elm.newCNum("(xdc_UInt16)"), $$UNDEF, "w");
500 po.addFld("gateH", (Proto)om.findStrict("ti.sysbios.gates.GateAll.Handle", "ti.ipc.family.tci6638"), $$UNDEF, "w");
501 }
503 void NotifyCircSetup$$TYPES()
504 {
505 Scriptable cap;
506 Proto.Obj po;
507 Proto.Str ps;
508 Proto.Typedef pt;
509 Object fxn;
511 cap = (Scriptable)Global.callFxn("loadCapsule", xdcO, "ti/ipc/family/tci6638/NotifyCircSetup.xs");
512 om.bind("ti.ipc.family.tci6638.NotifyCircSetup$$capsule", cap);
513 po = (Proto.Obj)om.findStrict("ti.ipc.family.tci6638.NotifyCircSetup.Module", "ti.ipc.family.tci6638");
514 po.init("ti.ipc.family.tci6638.NotifyCircSetup.Module", om.findStrict("ti.sdo.ipc.interfaces.INotifySetup.Module", "ti.ipc.family.tci6638"));
515 po.addFld("$hostonly", $$T_Num, 0, "r");
516 po.addFld("SRCS_BITPOS_CORE0", Proto.Elm.newCNum("(xdc_UInt)"), 4L, "rh");
517 po.addFld("SRCS_BITPOS_HOST", Proto.Elm.newCNum("(xdc_UInt)"), 31L, "rh");
518 if (isCFG) {
519 po.addFld("dspIntVectId", Proto.Elm.newCNum("(xdc_UInt)"), 5L, "w");
520 po.addFld("A_notImplemented", (Proto)om.findStrict("xdc.runtime.Assert$$Id", "ti.ipc.family.tci6638"), Global.newObject("msg", "A_notImplemented: this function is not implemented"), "w");
521 }//isCFG
522 fxn = Global.get(cap, "module$use");
523 if (fxn != null) om.bind("ti.ipc.family.tci6638.NotifyCircSetup$$module$use", true);
524 if (fxn != null) po.addFxn("module$use", $$T_Met, fxn);
525 fxn = Global.get(cap, "module$meta$init");
526 if (fxn != null) om.bind("ti.ipc.family.tci6638.NotifyCircSetup$$module$meta$init", true);
527 if (fxn != null) po.addFxn("module$meta$init", $$T_Met, fxn);
528 fxn = Global.get(cap, "module$static$init");
529 if (fxn != null) om.bind("ti.ipc.family.tci6638.NotifyCircSetup$$module$static$init", true);
530 if (fxn != null) po.addFxn("module$static$init", $$T_Met, fxn);
531 fxn = Global.get(cap, "module$validate");
532 if (fxn != null) om.bind("ti.ipc.family.tci6638.NotifyCircSetup$$module$validate", true);
533 if (fxn != null) po.addFxn("module$validate", $$T_Met, fxn);
534 }
536 void VirtQueue_InterruptProxy$$TYPES()
537 {
538 Scriptable cap;
539 Proto.Obj po;
540 Proto.Str ps;
541 Proto.Typedef pt;
542 Object fxn;
544 po = (Proto.Obj)om.findStrict("ti.ipc.family.tci6638.VirtQueue_InterruptProxy.Module", "ti.ipc.family.tci6638");
545 po.init("ti.ipc.family.tci6638.VirtQueue_InterruptProxy.Module", om.findStrict("ti.sdo.ipc.notifyDrivers.IInterrupt.Module", "ti.ipc.family.tci6638"));
546 po.addFld("delegate$", (Proto)om.findStrict("ti.sdo.ipc.notifyDrivers.IInterrupt.Module", "ti.ipc.family.tci6638"), null, "wh");
547 po.addFld("$hostonly", $$T_Num, 0, "r");
548 if (isCFG) {
549 }//isCFG
550 }
552 void Interrupt$$ROV()
553 {
554 Proto.Obj po;
555 Value.Obj vo;
557 vo = (Value.Obj)om.findStrict("ti.ipc.family.tci6638.Interrupt", "ti.ipc.family.tci6638");
558 }
560 void VirtQueue$$ROV()
561 {
562 Proto.Obj po;
563 Value.Obj vo;
565 vo = (Value.Obj)om.findStrict("ti.ipc.family.tci6638.VirtQueue", "ti.ipc.family.tci6638");
566 vo.bind("Module_State$fetchDesc", Global.newObject("type", "ti.ipc.family.tci6638.VirtQueue.Module_State", "isScalar", false));
567 po = (Proto.Obj)om.findStrict("ti.ipc.family.tci6638.VirtQueue$$Module_State", "ti.ipc.family.tci6638");
568 vo.bind("Instance_State$fetchDesc", Global.newObject("type", "ti.ipc.family.tci6638.VirtQueue.Instance_State", "isScalar", false));
569 po = (Proto.Obj)om.findStrict("ti.ipc.family.tci6638.VirtQueue$$Instance_State", "ti.ipc.family.tci6638");
570 }
572 void NotifyCircSetup$$ROV()
573 {
574 Proto.Obj po;
575 Value.Obj vo;
577 vo = (Value.Obj)om.findStrict("ti.ipc.family.tci6638.NotifyCircSetup", "ti.ipc.family.tci6638");
578 }
580 void VirtQueue_InterruptProxy$$ROV()
581 {
582 Proto.Obj po;
583 Value.Obj vo;
585 vo = (Value.Obj)om.findStrict("ti.ipc.family.tci6638.VirtQueue_InterruptProxy", "ti.ipc.family.tci6638");
586 }
588 void $$SINGLETONS()
589 {
590 pkgP.init("ti.ipc.family.tci6638.Package", (Proto.Obj)om.findStrict("xdc.IPackage.Module", "ti.ipc.family.tci6638"));
591 Scriptable cap = (Scriptable)Global.callFxn("loadCapsule", xdcO, "ti/ipc/family/tci6638/package.xs");
592 om.bind("xdc.IPackage$$capsule", cap);
593 Object fxn;
594 fxn = Global.get(cap, "init");
595 if (fxn != null) pkgP.addFxn("init", (Proto.Fxn)om.findStrict("xdc.IPackage$$init", "ti.ipc.family.tci6638"), fxn);
596 fxn = Global.get(cap, "close");
597 if (fxn != null) pkgP.addFxn("close", (Proto.Fxn)om.findStrict("xdc.IPackage$$close", "ti.ipc.family.tci6638"), fxn);
598 fxn = Global.get(cap, "validate");
599 if (fxn != null) pkgP.addFxn("validate", (Proto.Fxn)om.findStrict("xdc.IPackage$$validate", "ti.ipc.family.tci6638"), fxn);
600 fxn = Global.get(cap, "exit");
601 if (fxn != null) pkgP.addFxn("exit", (Proto.Fxn)om.findStrict("xdc.IPackage$$exit", "ti.ipc.family.tci6638"), fxn);
602 fxn = Global.get(cap, "getLibs");
603 if (fxn != null) pkgP.addFxn("getLibs", (Proto.Fxn)om.findStrict("xdc.IPackage$$getLibs", "ti.ipc.family.tci6638"), fxn);
604 fxn = Global.get(cap, "getSects");
605 if (fxn != null) pkgP.addFxn("getSects", (Proto.Fxn)om.findStrict("xdc.IPackage$$getSects", "ti.ipc.family.tci6638"), fxn);
606 pkgP.bind("$capsule", cap);
607 pkgV.init2(pkgP, "ti.ipc.family.tci6638", Value.DEFAULT, false);
608 pkgV.bind("$name", "ti.ipc.family.tci6638");
609 pkgV.bind("$category", "Package");
610 pkgV.bind("$$qn", "ti.ipc.family.tci6638.");
611 pkgV.bind("$vers", Global.newArray(1, 0, 0, 0));
612 Value.Map atmap = (Value.Map)pkgV.getv("$attr");
613 atmap.seal("length");
614 imports.clear();
615 pkgV.bind("$imports", imports);
616 StringBuilder sb = new StringBuilder();
617 sb.append("var pkg = xdc.om['ti.ipc.family.tci6638'];\n");
618 sb.append("if (pkg.$vers.length >= 3) {\n");
619 sb.append("pkg.$vers.push(Packages.xdc.services.global.Vers.getDate(xdc.csd() + '/..'));\n");
620 sb.append("}\n");
621 sb.append("if ('ti.ipc.family.tci6638$$stat$base' in xdc.om) {\n");
622 sb.append("pkg.packageBase = xdc.om['ti.ipc.family.tci6638$$stat$base'];\n");
623 sb.append("pkg.packageRepository = xdc.om['ti.ipc.family.tci6638$$stat$root'];\n");
624 sb.append("}\n");
625 sb.append("pkg.build.libraries = [\n");
626 sb.append("];\n");
627 sb.append("pkg.build.libDesc = [\n");
628 sb.append("];\n");
629 Global.eval(sb.toString());
630 }
632 void Interrupt$$SINGLETONS()
633 {
634 Proto.Obj po;
635 Value.Obj vo;
637 vo = (Value.Obj)om.findStrict("ti.ipc.family.tci6638.Interrupt", "ti.ipc.family.tci6638");
638 po = (Proto.Obj)om.findStrict("ti.ipc.family.tci6638.Interrupt.Module", "ti.ipc.family.tci6638");
639 vo.init2(po, "ti.ipc.family.tci6638.Interrupt", $$DEFAULT, false);
640 vo.bind("Module", po);
641 vo.bind("$category", "Module");
642 vo.bind("$capsule", om.findStrict("ti.ipc.family.tci6638.Interrupt$$capsule", "ti.ipc.family.tci6638"));
643 vo.bind("$package", om.findStrict("ti.ipc.family.tci6638", "ti.ipc.family.tci6638"));
644 tdefs.clear();
645 proxies.clear();
646 mcfgs.clear();
647 icfgs.clear();
648 inherits.clear();
649 mcfgs.add("Module__diagsEnabled");
650 icfgs.add("Module__diagsEnabled");
651 mcfgs.add("Module__diagsIncluded");
652 icfgs.add("Module__diagsIncluded");
653 mcfgs.add("Module__diagsMask");
654 icfgs.add("Module__diagsMask");
655 mcfgs.add("Module__gateObj");
656 icfgs.add("Module__gateObj");
657 mcfgs.add("Module__gatePrms");
658 icfgs.add("Module__gatePrms");
659 mcfgs.add("Module__id");
660 icfgs.add("Module__id");
661 mcfgs.add("Module__loggerDefined");
662 icfgs.add("Module__loggerDefined");
663 mcfgs.add("Module__loggerObj");
664 icfgs.add("Module__loggerObj");
665 mcfgs.add("Module__loggerFxn0");
666 icfgs.add("Module__loggerFxn0");
667 mcfgs.add("Module__loggerFxn1");
668 icfgs.add("Module__loggerFxn1");
669 mcfgs.add("Module__loggerFxn2");
670 icfgs.add("Module__loggerFxn2");
671 mcfgs.add("Module__loggerFxn4");
672 icfgs.add("Module__loggerFxn4");
673 mcfgs.add("Module__loggerFxn8");
674 icfgs.add("Module__loggerFxn8");
675 mcfgs.add("Module__startupDoneFxn");
676 icfgs.add("Module__startupDoneFxn");
677 mcfgs.add("Object__count");
678 icfgs.add("Object__count");
679 mcfgs.add("Object__heap");
680 icfgs.add("Object__heap");
681 mcfgs.add("Object__sizeof");
682 icfgs.add("Object__sizeof");
683 mcfgs.add("Object__table");
684 icfgs.add("Object__table");
685 vo.bind("IntInfo", om.findStrict("ti.sdo.ipc.notifyDrivers.IInterrupt.IntInfo", "ti.ipc.family.tci6638"));
686 tdefs.add(om.findStrict("ti.sdo.ipc.notifyDrivers.IInterrupt.IntInfo", "ti.ipc.family.tci6638"));
687 mcfgs.add("enableKick");
688 mcfgs.add("A_notImplemented");
689 mcfgs.add("IPCGR0");
690 icfgs.add("IPCGR0");
691 mcfgs.add("IPCAR0");
692 icfgs.add("IPCAR0");
693 mcfgs.add("IPCGRH");
694 icfgs.add("IPCGRH");
695 mcfgs.add("IPCARH");
696 icfgs.add("IPCARH");
697 mcfgs.add("KICK0");
698 icfgs.add("KICK0");
699 mcfgs.add("KICK1");
700 icfgs.add("KICK1");
701 mcfgs.add("INTERDSPINT");
702 icfgs.add("INTERDSPINT");
703 mcfgs.add("DSPINT");
704 icfgs.add("DSPINT");
705 vo.bind("$$tdefs", Global.newArray(tdefs.toArray()));
706 vo.bind("$$proxies", Global.newArray(proxies.toArray()));
707 vo.bind("$$mcfgs", Global.newArray(mcfgs.toArray()));
708 vo.bind("$$icfgs", Global.newArray(icfgs.toArray()));
709 inherits.add("ti.sdo.ipc.notifyDrivers");
710 inherits.add("xdc.runtime");
711 vo.bind("$$inherits", Global.newArray(inherits.toArray()));
712 ((Value.Arr)pkgV.getv("$modules")).add(vo);
713 ((Value.Arr)om.findStrict("$modules", "ti.ipc.family.tci6638")).add(vo);
714 vo.bind("$$instflag", 0);
715 vo.bind("$$iobjflag", 0);
716 vo.bind("$$sizeflag", 1);
717 vo.bind("$$dlgflag", 0);
718 vo.bind("$$iflag", 1);
719 vo.bind("$$romcfgs", "|");
720 vo.bind("$$nortsflag", 0);
721 if (isCFG) {
722 Proto.Str ps = (Proto.Str)vo.find("Module_State");
723 if (ps != null) vo.bind("$object", ps.newInstance());
724 vo.bind("$$meta_iobj", 1);
725 }//isCFG
726 vo.bind("intEnable", om.findStrict("ti.ipc.family.tci6638.Interrupt.intEnable", "ti.ipc.family.tci6638"));
727 vo.bind("intDisable", om.findStrict("ti.ipc.family.tci6638.Interrupt.intDisable", "ti.ipc.family.tci6638"));
728 vo.bind("intRegister", om.findStrict("ti.ipc.family.tci6638.Interrupt.intRegister", "ti.ipc.family.tci6638"));
729 vo.bind("intUnregister", om.findStrict("ti.ipc.family.tci6638.Interrupt.intUnregister", "ti.ipc.family.tci6638"));
730 vo.bind("intSend", om.findStrict("ti.ipc.family.tci6638.Interrupt.intSend", "ti.ipc.family.tci6638"));
731 vo.bind("intPost", om.findStrict("ti.ipc.family.tci6638.Interrupt.intPost", "ti.ipc.family.tci6638"));
732 vo.bind("intClear", om.findStrict("ti.ipc.family.tci6638.Interrupt.intClear", "ti.ipc.family.tci6638"));
733 vo.bind("intClearAll", om.findStrict("ti.ipc.family.tci6638.Interrupt.intClearAll", "ti.ipc.family.tci6638"));
734 vo.bind("checkAndClear", om.findStrict("ti.ipc.family.tci6638.Interrupt.checkAndClear", "ti.ipc.family.tci6638"));
735 vo.bind("$$fxntab", Global.newArray("ti_ipc_family_tci6638_Interrupt_Module__startupDone__E", "ti_ipc_family_tci6638_Interrupt_intEnable__E", "ti_ipc_family_tci6638_Interrupt_intDisable__E", "ti_ipc_family_tci6638_Interrupt_intRegister__E", "ti_ipc_family_tci6638_Interrupt_intUnregister__E", "ti_ipc_family_tci6638_Interrupt_intSend__E", "ti_ipc_family_tci6638_Interrupt_intPost__E", "ti_ipc_family_tci6638_Interrupt_intClear__E", "ti_ipc_family_tci6638_Interrupt_intClearAll__E", "ti_ipc_family_tci6638_Interrupt_checkAndClear__E"));
736 vo.bind("$$logEvtCfgs", Global.newArray());
737 vo.bind("$$errorDescCfgs", Global.newArray());
738 vo.bind("$$assertDescCfgs", Global.newArray("A_notImplemented"));
739 Value.Map atmap = (Value.Map)vo.getv("$attr");
740 atmap.seal("length");
741 vo.bind("MODULE_STARTUP$", 0);
742 vo.bind("PROXY$", 0);
743 loggables.clear();
744 loggables.add(Global.newObject("name", "intClearAll", "entry", "", "exit", ""));
745 loggables.add(Global.newObject("name", "checkAndClear", "entry", "0x%x, %p", "exit", "0x%x"));
746 vo.bind("$$loggables", loggables.toArray());
747 pkgV.bind("Interrupt", vo);
748 ((Value.Arr)pkgV.getv("$unitNames")).add("Interrupt");
749 }
751 void VirtQueue$$SINGLETONS()
752 {
753 Proto.Obj po;
754 Value.Obj vo;
756 vo = (Value.Obj)om.findStrict("ti.ipc.family.tci6638.VirtQueue", "ti.ipc.family.tci6638");
757 po = (Proto.Obj)om.findStrict("ti.ipc.family.tci6638.VirtQueue.Module", "ti.ipc.family.tci6638");
758 vo.init2(po, "ti.ipc.family.tci6638.VirtQueue", $$DEFAULT, false);
759 vo.bind("Module", po);
760 vo.bind("$category", "Module");
761 vo.bind("$capsule", om.findStrict("ti.ipc.family.tci6638.VirtQueue$$capsule", "ti.ipc.family.tci6638"));
762 vo.bind("Instance", om.findStrict("ti.ipc.family.tci6638.VirtQueue.Instance", "ti.ipc.family.tci6638"));
763 vo.bind("Params", om.findStrict("ti.ipc.family.tci6638.VirtQueue.Params", "ti.ipc.family.tci6638"));
764 vo.bind("PARAMS", ((Proto.Str)om.findStrict("ti.ipc.family.tci6638.VirtQueue.Params", "ti.ipc.family.tci6638")).newInstance());
765 vo.bind("Handle", om.findStrict("ti.ipc.family.tci6638.VirtQueue.Handle", "ti.ipc.family.tci6638"));
766 vo.bind("$package", om.findStrict("ti.ipc.family.tci6638", "ti.ipc.family.tci6638"));
767 tdefs.clear();
768 proxies.clear();
769 mcfgs.clear();
770 icfgs.clear();
771 inherits.clear();
772 mcfgs.add("Module__diagsEnabled");
773 icfgs.add("Module__diagsEnabled");
774 mcfgs.add("Module__diagsIncluded");
775 icfgs.add("Module__diagsIncluded");
776 mcfgs.add("Module__diagsMask");
777 icfgs.add("Module__diagsMask");
778 mcfgs.add("Module__gateObj");
779 icfgs.add("Module__gateObj");
780 mcfgs.add("Module__gatePrms");
781 icfgs.add("Module__gatePrms");
782 mcfgs.add("Module__id");
783 icfgs.add("Module__id");
784 mcfgs.add("Module__loggerDefined");
785 icfgs.add("Module__loggerDefined");
786 mcfgs.add("Module__loggerObj");
787 icfgs.add("Module__loggerObj");
788 mcfgs.add("Module__loggerFxn0");
789 icfgs.add("Module__loggerFxn0");
790 mcfgs.add("Module__loggerFxn1");
791 icfgs.add("Module__loggerFxn1");
792 mcfgs.add("Module__loggerFxn2");
793 icfgs.add("Module__loggerFxn2");
794 mcfgs.add("Module__loggerFxn4");
795 icfgs.add("Module__loggerFxn4");
796 mcfgs.add("Module__loggerFxn8");
797 icfgs.add("Module__loggerFxn8");
798 mcfgs.add("Module__startupDoneFxn");
799 icfgs.add("Module__startupDoneFxn");
800 mcfgs.add("Object__count");
801 icfgs.add("Object__count");
802 mcfgs.add("Object__heap");
803 icfgs.add("Object__heap");
804 mcfgs.add("Object__sizeof");
805 icfgs.add("Object__sizeof");
806 mcfgs.add("Object__table");
807 icfgs.add("Object__table");
808 vo.bind("BasicView", om.findStrict("ti.ipc.family.tci6638.VirtQueue.BasicView", "ti.ipc.family.tci6638"));
809 tdefs.add(om.findStrict("ti.ipc.family.tci6638.VirtQueue.BasicView", "ti.ipc.family.tci6638"));
810 vo.bind("ModuleView", om.findStrict("ti.ipc.family.tci6638.VirtQueue.ModuleView", "ti.ipc.family.tci6638"));
811 tdefs.add(om.findStrict("ti.ipc.family.tci6638.VirtQueue.ModuleView", "ti.ipc.family.tci6638"));
812 vo.bind("InterruptProxy$proxy", om.findStrict("ti.ipc.family.tci6638.VirtQueue_InterruptProxy", "ti.ipc.family.tci6638"));
813 proxies.add("InterruptProxy");
814 mcfgs.add("VRING_OFFSET");
815 mcfgs.add("VQ0_SIZE");
816 mcfgs.add("VQ1_SIZE");
817 mcfgs.add("RP_MSG_NUM_BUFS");
818 mcfgs.add("PAGE_SIZE");
819 mcfgs.add("RP_MSG_VRING_ALIGN");
820 vo.bind("Module_State", om.findStrict("ti.ipc.family.tci6638.VirtQueue.Module_State", "ti.ipc.family.tci6638"));
821 tdefs.add(om.findStrict("ti.ipc.family.tci6638.VirtQueue.Module_State", "ti.ipc.family.tci6638"));
822 vo.bind("Instance_State", om.findStrict("ti.ipc.family.tci6638.VirtQueue.Instance_State", "ti.ipc.family.tci6638"));
823 tdefs.add(om.findStrict("ti.ipc.family.tci6638.VirtQueue.Instance_State", "ti.ipc.family.tci6638"));
824 vo.bind("$$tdefs", Global.newArray(tdefs.toArray()));
825 vo.bind("$$proxies", Global.newArray(proxies.toArray()));
826 vo.bind("$$mcfgs", Global.newArray(mcfgs.toArray()));
827 vo.bind("$$icfgs", Global.newArray(icfgs.toArray()));
828 inherits.add("xdc.runtime");
829 vo.bind("$$inherits", Global.newArray(inherits.toArray()));
830 ((Value.Arr)pkgV.getv("$modules")).add(vo);
831 ((Value.Arr)om.findStrict("$modules", "ti.ipc.family.tci6638")).add(vo);
832 vo.bind("$$instflag", 1);
833 vo.bind("$$iobjflag", 1);
834 vo.bind("$$sizeflag", 1);
835 vo.bind("$$dlgflag", 0);
836 vo.bind("$$iflag", 0);
837 vo.bind("$$romcfgs", "|");
838 vo.bind("$$nortsflag", 0);
839 if (isCFG) {
840 Proto.Str ps = (Proto.Str)vo.find("Module_State");
841 if (ps != null) vo.bind("$object", ps.newInstance());
842 vo.bind("$$meta_iobj", om.has("ti.ipc.family.tci6638.VirtQueue$$instance$static$init", null) ? 1 : 0);
843 vo.bind("__initObject", Global.get("ti$ipc$family$tci6638$VirtQueue$$__initObject"));
844 }//isCFG
845 vo.bind("startup", om.findStrict("ti.ipc.family.tci6638.VirtQueue.startup", "ti.ipc.family.tci6638"));
846 vo.bind("cacheWb", om.findStrict("ti.ipc.family.tci6638.VirtQueue.cacheWb", "ti.ipc.family.tci6638"));
847 vo.bind("init", om.findStrict("ti.ipc.family.tci6638.VirtQueue.init", "ti.ipc.family.tci6638"));
848 vo.bind("hostIsr", om.findStrict("ti.ipc.family.tci6638.VirtQueue.hostIsr", "ti.ipc.family.tci6638"));
849 vo.bind("slaveIsr", om.findStrict("ti.ipc.family.tci6638.VirtQueue.slaveIsr", "ti.ipc.family.tci6638"));
850 vo.bind("$$fxntab", Global.newArray("ti_ipc_family_tci6638_VirtQueue_Handle__label__E", "ti_ipc_family_tci6638_VirtQueue_Module__startupDone__E", "ti_ipc_family_tci6638_VirtQueue_Object__create__E", "ti_ipc_family_tci6638_VirtQueue_Object__delete__E", "ti_ipc_family_tci6638_VirtQueue_Object__destruct__E", "ti_ipc_family_tci6638_VirtQueue_Object__get__E", "ti_ipc_family_tci6638_VirtQueue_Object__first__E", "ti_ipc_family_tci6638_VirtQueue_Object__next__E", "ti_ipc_family_tci6638_VirtQueue_Params__init__E", "ti_ipc_family_tci6638_VirtQueue_startup__E", "ti_ipc_family_tci6638_VirtQueue_cacheWb__E", "ti_ipc_family_tci6638_VirtQueue_kick__E", "ti_ipc_family_tci6638_VirtQueue_isSlave__E", "ti_ipc_family_tci6638_VirtQueue_isHost__E", "ti_ipc_family_tci6638_VirtQueue_getId__E", "ti_ipc_family_tci6638_VirtQueue_getSwiHandle__E", "ti_ipc_family_tci6638_VirtQueue_addAvailBuf__E", "ti_ipc_family_tci6638_VirtQueue_getUsedBuf__E", "ti_ipc_family_tci6638_VirtQueue_getAvailBuf__E", "ti_ipc_family_tci6638_VirtQueue_addUsedBuf__E"));
851 vo.bind("$$logEvtCfgs", Global.newArray());
852 vo.bind("$$errorDescCfgs", Global.newArray());
853 vo.bind("$$assertDescCfgs", Global.newArray());
854 Value.Map atmap = (Value.Map)vo.getv("$attr");
855 atmap.setElem("", "./VirtQueue.xdt");
856 atmap.setElem("", true);
857 atmap.seal("length");
858 vo.bind("Object", om.findStrict("ti.ipc.family.tci6638.VirtQueue.Object", "ti.ipc.family.tci6638"));
859 vo.bind("MODULE_STARTUP$", 0);
860 vo.bind("PROXY$", 0);
861 loggables.clear();
862 loggables.add(Global.newObject("name", "startup", "entry", "0x%x, %d", "exit", ""));
863 loggables.add(Global.newObject("name", "cacheWb", "entry", "", "exit", ""));
864 vo.bind("$$loggables", loggables.toArray());
865 vo.bind("TEMPLATE$", "./VirtQueue.xdt");
866 pkgV.bind("VirtQueue", vo);
867 ((Value.Arr)pkgV.getv("$unitNames")).add("VirtQueue");
868 }
870 void NotifyCircSetup$$SINGLETONS()
871 {
872 Proto.Obj po;
873 Value.Obj vo;
875 vo = (Value.Obj)om.findStrict("ti.ipc.family.tci6638.NotifyCircSetup", "ti.ipc.family.tci6638");
876 po = (Proto.Obj)om.findStrict("ti.ipc.family.tci6638.NotifyCircSetup.Module", "ti.ipc.family.tci6638");
877 vo.init2(po, "ti.ipc.family.tci6638.NotifyCircSetup", $$DEFAULT, false);
878 vo.bind("Module", po);
879 vo.bind("$category", "Module");
880 vo.bind("$capsule", om.findStrict("ti.ipc.family.tci6638.NotifyCircSetup$$capsule", "ti.ipc.family.tci6638"));
881 vo.bind("$package", om.findStrict("ti.ipc.family.tci6638", "ti.ipc.family.tci6638"));
882 tdefs.clear();
883 proxies.clear();
884 mcfgs.clear();
885 icfgs.clear();
886 inherits.clear();
887 mcfgs.add("Module__diagsEnabled");
888 icfgs.add("Module__diagsEnabled");
889 mcfgs.add("Module__diagsIncluded");
890 icfgs.add("Module__diagsIncluded");
891 mcfgs.add("Module__diagsMask");
892 icfgs.add("Module__diagsMask");
893 mcfgs.add("Module__gateObj");
894 icfgs.add("Module__gateObj");
895 mcfgs.add("Module__gatePrms");
896 icfgs.add("Module__gatePrms");
897 mcfgs.add("Module__id");
898 icfgs.add("Module__id");
899 mcfgs.add("Module__loggerDefined");
900 icfgs.add("Module__loggerDefined");
901 mcfgs.add("Module__loggerObj");
902 icfgs.add("Module__loggerObj");
903 mcfgs.add("Module__loggerFxn0");
904 icfgs.add("Module__loggerFxn0");
905 mcfgs.add("Module__loggerFxn1");
906 icfgs.add("Module__loggerFxn1");
907 mcfgs.add("Module__loggerFxn2");
908 icfgs.add("Module__loggerFxn2");
909 mcfgs.add("Module__loggerFxn4");
910 icfgs.add("Module__loggerFxn4");
911 mcfgs.add("Module__loggerFxn8");
912 icfgs.add("Module__loggerFxn8");
913 mcfgs.add("Module__startupDoneFxn");
914 icfgs.add("Module__startupDoneFxn");
915 mcfgs.add("Object__count");
916 icfgs.add("Object__count");
917 mcfgs.add("Object__heap");
918 icfgs.add("Object__heap");
919 mcfgs.add("Object__sizeof");
920 icfgs.add("Object__sizeof");
921 mcfgs.add("Object__table");
922 icfgs.add("Object__table");
923 mcfgs.add("dspIntVectId");
924 mcfgs.add("A_notImplemented");
925 vo.bind("$$tdefs", Global.newArray(tdefs.toArray()));
926 vo.bind("$$proxies", Global.newArray(proxies.toArray()));
927 vo.bind("$$mcfgs", Global.newArray(mcfgs.toArray()));
928 vo.bind("$$icfgs", Global.newArray(icfgs.toArray()));
929 inherits.add("ti.sdo.ipc.interfaces");
930 inherits.add("xdc.runtime");
931 vo.bind("$$inherits", Global.newArray(inherits.toArray()));
932 ((Value.Arr)pkgV.getv("$modules")).add(vo);
933 ((Value.Arr)om.findStrict("$modules", "ti.ipc.family.tci6638")).add(vo);
934 vo.bind("$$instflag", 0);
935 vo.bind("$$iobjflag", 0);
936 vo.bind("$$sizeflag", 1);
937 vo.bind("$$dlgflag", 0);
938 vo.bind("$$iflag", 1);
939 vo.bind("$$romcfgs", "|");
940 vo.bind("$$nortsflag", 0);
941 if (isCFG) {
942 Proto.Str ps = (Proto.Str)vo.find("Module_State");
943 if (ps != null) vo.bind("$object", ps.newInstance());
944 vo.bind("$$meta_iobj", 1);
945 }//isCFG
946 vo.bind("attach", om.findStrict("ti.ipc.family.tci6638.NotifyCircSetup.attach", "ti.ipc.family.tci6638"));
947 vo.bind("sharedMemReq", om.findStrict("ti.ipc.family.tci6638.NotifyCircSetup.sharedMemReq", "ti.ipc.family.tci6638"));
948 vo.bind("numIntLines", om.findStrict("ti.ipc.family.tci6638.NotifyCircSetup.numIntLines", "ti.ipc.family.tci6638"));
949 vo.bind("$$fxntab", Global.newArray("ti_ipc_family_tci6638_NotifyCircSetup_Module__startupDone__E", "ti_ipc_family_tci6638_NotifyCircSetup_attach__E", "ti_ipc_family_tci6638_NotifyCircSetup_sharedMemReq__E", "ti_ipc_family_tci6638_NotifyCircSetup_numIntLines__E"));
950 vo.bind("$$logEvtCfgs", Global.newArray());
951 vo.bind("$$errorDescCfgs", Global.newArray());
952 vo.bind("$$assertDescCfgs", Global.newArray("A_notImplemented"));
953 Value.Map atmap = (Value.Map)vo.getv("$attr");
954 atmap.seal("length");
955 vo.bind("MODULE_STARTUP$", 0);
956 vo.bind("PROXY$", 0);
957 loggables.clear();
958 vo.bind("$$loggables", loggables.toArray());
959 pkgV.bind("NotifyCircSetup", vo);
960 ((Value.Arr)pkgV.getv("$unitNames")).add("NotifyCircSetup");
961 }
963 void VirtQueue_InterruptProxy$$SINGLETONS()
964 {
965 Proto.Obj po;
966 Value.Obj vo;
968 vo = (Value.Obj)om.findStrict("ti.ipc.family.tci6638.VirtQueue_InterruptProxy", "ti.ipc.family.tci6638");
969 po = (Proto.Obj)om.findStrict("ti.ipc.family.tci6638.VirtQueue_InterruptProxy.Module", "ti.ipc.family.tci6638");
970 vo.init2(po, "ti.ipc.family.tci6638.VirtQueue_InterruptProxy", $$DEFAULT, false);
971 vo.bind("Module", po);
972 vo.bind("$category", "Module");
973 vo.bind("$capsule", $$UNDEF);
974 vo.bind("$package", om.findStrict("ti.ipc.family.tci6638", "ti.ipc.family.tci6638"));
975 tdefs.clear();
976 proxies.clear();
977 proxies.add("delegate$");
978 inherits.clear();
979 vo.bind("IntInfo", om.findStrict("ti.sdo.ipc.notifyDrivers.IInterrupt.IntInfo", "ti.ipc.family.tci6638"));
980 tdefs.add(om.findStrict("ti.sdo.ipc.notifyDrivers.IInterrupt.IntInfo", "ti.ipc.family.tci6638"));
981 vo.bind("$$tdefs", Global.newArray(tdefs.toArray()));
982 vo.bind("$$proxies", Global.newArray(proxies.toArray()));
983 inherits.add("ti.sdo.ipc.notifyDrivers");
984 inherits.add("xdc.runtime");
985 vo.bind("$$inherits", Global.newArray(inherits.toArray()));
986 ((Value.Arr)pkgV.getv("$modules")).add(vo);
987 ((Value.Arr)om.findStrict("$modules", "ti.ipc.family.tci6638")).add(vo);
988 vo.bind("$$instflag", 0);
989 vo.bind("$$iobjflag", 0);
990 vo.bind("$$sizeflag", 0);
991 vo.bind("$$dlgflag", 0);
992 vo.bind("$$iflag", 1);
993 vo.bind("$$romcfgs", "|");
994 vo.bind("$$nortsflag", 0);
995 if (isCFG) {
996 Proto.Str ps = (Proto.Str)vo.find("Module_State");
997 if (ps != null) vo.bind("$object", ps.newInstance());
998 vo.bind("$$meta_iobj", 1);
999 }//isCFG
1000 vo.bind("intEnable", om.findStrict("ti.ipc.family.tci6638.VirtQueue_InterruptProxy.intEnable", "ti.ipc.family.tci6638"));
1001 vo.bind("intDisable", om.findStrict("ti.ipc.family.tci6638.VirtQueue_InterruptProxy.intDisable", "ti.ipc.family.tci6638"));
1002 vo.bind("intRegister", om.findStrict("ti.ipc.family.tci6638.VirtQueue_InterruptProxy.intRegister", "ti.ipc.family.tci6638"));
1003 vo.bind("intUnregister", om.findStrict("ti.ipc.family.tci6638.VirtQueue_InterruptProxy.intUnregister", "ti.ipc.family.tci6638"));
1004 vo.bind("intSend", om.findStrict("ti.ipc.family.tci6638.VirtQueue_InterruptProxy.intSend", "ti.ipc.family.tci6638"));
1005 vo.bind("intPost", om.findStrict("ti.ipc.family.tci6638.VirtQueue_InterruptProxy.intPost", "ti.ipc.family.tci6638"));
1006 vo.bind("intClear", om.findStrict("ti.ipc.family.tci6638.VirtQueue_InterruptProxy.intClear", "ti.ipc.family.tci6638"));
1007 vo.bind("$$fxntab", Global.newArray("ti_ipc_family_tci6638_VirtQueue_InterruptProxy_DELEGATE__Handle__label", "ti_ipc_family_tci6638_VirtQueue_InterruptProxy_DELEGATE__Module__startupDone", "ti_ipc_family_tci6638_VirtQueue_InterruptProxy_DELEGATE__Object__create", "ti_ipc_family_tci6638_VirtQueue_InterruptProxy_DELEGATE__Object__delete", "ti_ipc_family_tci6638_VirtQueue_InterruptProxy_DELEGATE__Object__destruct", "ti_ipc_family_tci6638_VirtQueue_InterruptProxy_DELEGATE__Object__get", "ti_ipc_family_tci6638_VirtQueue_InterruptProxy_DELEGATE__Object__first", "ti_ipc_family_tci6638_VirtQueue_InterruptProxy_DELEGATE__Object__next", "ti_ipc_family_tci6638_VirtQueue_InterruptProxy_DELEGATE__Params__init", "ti_ipc_family_tci6638_VirtQueue_InterruptProxy_DELEGATE__Proxy__abstract", "ti_ipc_family_tci6638_VirtQueue_InterruptProxy_DELEGATE__Proxy__delegate", "ti_ipc_family_tci6638_VirtQueue_InterruptProxy_DELEGATE__intEnable", "ti_ipc_family_tci6638_VirtQueue_InterruptProxy_DELEGATE__intDisable", "ti_ipc_family_tci6638_VirtQueue_InterruptProxy_DELEGATE__intRegister", "ti_ipc_family_tci6638_VirtQueue_InterruptProxy_DELEGATE__intUnregister", "ti_ipc_family_tci6638_VirtQueue_InterruptProxy_DELEGATE__intSend", "ti_ipc_family_tci6638_VirtQueue_InterruptProxy_DELEGATE__intPost", "ti_ipc_family_tci6638_VirtQueue_InterruptProxy_DELEGATE__intClear"));
1008 vo.bind("$$logEvtCfgs", Global.newArray());
1009 vo.bind("$$errorDescCfgs", Global.newArray());
1010 vo.bind("$$assertDescCfgs", Global.newArray());
1011 Value.Map atmap = (Value.Map)vo.getv("$attr");
1012 atmap.seal("length");
1013 vo.bind("MODULE_STARTUP$", 0);
1014 vo.bind("PROXY$", 1);
1015 loggables.clear();
1016 vo.bind("$$loggables", loggables.toArray());
1017 pkgV.bind("VirtQueue_InterruptProxy", vo);
1018 ((Value.Arr)pkgV.getv("$unitNames")).add("VirtQueue_InterruptProxy");
1019 }
1021 void $$INITIALIZATION()
1022 {
1023 Value.Obj vo;
1025 if (isCFG) {
1026 Object srcP = ((XScriptO)om.findStrict("xdc.runtime.IInstance", "ti.ipc.family.tci6638")).findStrict("PARAMS", "ti.ipc.family.tci6638");
1027 Scriptable dstP;
1029 dstP = (Scriptable)((XScriptO)om.findStrict("ti.ipc.family.tci6638.VirtQueue", "ti.ipc.family.tci6638")).findStrict("PARAMS", "ti.ipc.family.tci6638");
1030 Global.put(dstP, "instance", srcP);
1031 }//isCFG
1032 Global.callFxn("module$meta$init", (Scriptable)om.findStrict("ti.ipc.family.tci6638.Interrupt", "ti.ipc.family.tci6638"));
1033 Global.callFxn("module$meta$init", (Scriptable)om.findStrict("ti.ipc.family.tci6638.VirtQueue", "ti.ipc.family.tci6638"));
1034 Global.callFxn("module$meta$init", (Scriptable)om.findStrict("ti.ipc.family.tci6638.NotifyCircSetup", "ti.ipc.family.tci6638"));
1035 Global.callFxn("module$meta$init", (Scriptable)om.findStrict("ti.ipc.family.tci6638.VirtQueue_InterruptProxy", "ti.ipc.family.tci6638"));
1036 Global.callFxn("init", pkgV);
1037 ((Value.Obj)om.getv("ti.ipc.family.tci6638.Interrupt")).bless();
1038 ((Value.Obj)om.getv("ti.ipc.family.tci6638.VirtQueue")).bless();
1039 ((Value.Obj)om.getv("ti.ipc.family.tci6638.NotifyCircSetup")).bless();
1040 ((Value.Obj)om.getv("ti.ipc.family.tci6638.VirtQueue_InterruptProxy")).bless();
1041 ((Value.Arr)om.findStrict("$packages", "ti.ipc.family.tci6638")).add(pkgV);
1042 }
1044 public void exec( Scriptable xdcO, Session ses )
1045 {
1046 this.xdcO = xdcO;
1047 this.ses = ses;
1048 om = (Value.Obj)xdcO.get("om", null);
1050 Object o = om.geto("$name");
1051 String s = o instanceof String ? (String)o : null;
1052 isCFG = s != null && s.equals("cfg");
1053 isROV = s != null && s.equals("rov");
1055 $$IMPORTS();
1056 $$OBJECTS();
1057 Interrupt$$OBJECTS();
1058 VirtQueue$$OBJECTS();
1059 NotifyCircSetup$$OBJECTS();
1060 VirtQueue_InterruptProxy$$OBJECTS();
1061 Interrupt$$CONSTS();
1062 VirtQueue$$CONSTS();
1063 NotifyCircSetup$$CONSTS();
1064 VirtQueue_InterruptProxy$$CONSTS();
1065 Interrupt$$CREATES();
1066 VirtQueue$$CREATES();
1067 NotifyCircSetup$$CREATES();
1068 VirtQueue_InterruptProxy$$CREATES();
1069 Interrupt$$FUNCTIONS();
1070 VirtQueue$$FUNCTIONS();
1071 NotifyCircSetup$$FUNCTIONS();
1072 VirtQueue_InterruptProxy$$FUNCTIONS();
1073 Interrupt$$SIZES();
1074 VirtQueue$$SIZES();
1075 NotifyCircSetup$$SIZES();
1076 VirtQueue_InterruptProxy$$SIZES();
1077 Interrupt$$TYPES();
1078 VirtQueue$$TYPES();
1079 NotifyCircSetup$$TYPES();
1080 VirtQueue_InterruptProxy$$TYPES();
1081 if (isROV) {
1082 Interrupt$$ROV();
1083 VirtQueue$$ROV();
1084 NotifyCircSetup$$ROV();
1085 VirtQueue_InterruptProxy$$ROV();
1086 }//isROV
1087 $$SINGLETONS();
1088 Interrupt$$SINGLETONS();
1089 VirtQueue$$SINGLETONS();
1090 NotifyCircSetup$$SINGLETONS();
1091 VirtQueue_InterruptProxy$$SINGLETONS();
1092 $$INITIALIZATION();
1093 }
1094 }