diff --git a/packages/ti/ipc/family/tci6638/Interrupt.xs b/packages/ti/ipc/family/tci6638/Interrupt.xs
index c8da505cd1c7b16ea3ea92ce942b21b099177248..d2ddc169a2959d4f15a73ea345990d7cd0ff7622 100644 (file)
INTERDSPINT: 105,
DSPINT: 5
},
+ 'TMS320C66AK2H12' : {
+ IPCGR0: 0x02620240,
+ IPCAR0: 0x02620280,
+ IPCGRH: 0x02620260,
+ IPCARH: 0x026202A0,
+ KICK0: 0x02620038,
+ KICK1: 0x0262003C,
+ INTERDSPINT: 105,
+ DSPINT: 5,
+ },
'TMS320C66AK2E05' : {
IPCGR0: 0x02620240,
IPCAR0: 0x02620280,
this.INTERDSPINT = settings.INTERDSPINT;
this.DSPINT = settings.DSPINT;
}
+
/*
* ======== module$use ========
*/
function module$use()
{
- Interrupt = this;
+ Interrupt = this;
+
+ Hwi = xdc.useModule("ti.sysbios.family.c64p.Hwi");
+ MultiProc = xdc.useModule("ti.sdo.utils.MultiProc");
+
+}
- Hwi = xdc.useModule("ti.sysbios.family.c64p.Hwi");
- MultiProc = xdc.useModule("ti.sdo.utils.MultiProc");
+/*
+ * ======== module$validate ========
+ */
+function module$validate()
+{
+ /* verify the host is first in the multiproc name list */
+ if (MultiProc.getIdMeta("HOST") != 0) {
+ this.$logError("Processor HOST is missing from MultiProc name list",
+ MultiProc, null);
+ }
}
/*