locked interrupts during reset-time IRQ-vector setting

This commit is contained in:
John Winans
1992-04-17 11:55:56 +00:00
parent 59fd3a7177
commit 08837c1e6e
+3
View File
@@ -267,6 +267,7 @@ int link;
{
char trash;
int j;
int lockKey;
if (bbDebug)
@@ -304,8 +305,10 @@ int link;
}
/* set the interrupt vector */
lockKey = intLock();
xvmeRegs->stat_ctl = 0; /* disable all interupts */
xvmeRegs->int_vec = BB_IVEC_BASE + (link*4);/* set the int vector */
intUnlock(lockKey);
semGive(pXvmeLink[link]->rxInt); /* Tell xvmeRxTask to Re-enable interrupts */