diff --git a/packages/ti/ipc/family/tci6638/Interrupt.xs b/packages/ti/ipc/family/tci6638/Interrupt.xs
index 908bd33b3dd611c91886a0955015bc667c13b3ec..d2ddc169a2959d4f15a73ea345990d7cd0ff7622 100644 (file)
this.INTERDSPINT = settings.INTERDSPINT;
this.DSPINT = settings.DSPINT;
}
this.INTERDSPINT = settings.INTERDSPINT;
this.DSPINT = settings.DSPINT;
}
+
/*
* ======== module$use ========
*/
function module$use()
{
/*
* ======== 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);
+ }
}
/*
}
/*