This commit is contained in:
Carl-Benedikt Krüger 2011-06-29 23:11:51 +02:00
parent 57e3e2da6f
commit cb3a829aea
2 changed files with 3 additions and 1 deletions

View file

@ -165,7 +165,7 @@ int icc_init(void)
SetConfigReg(CRB_OWN + (z==0 ? GLCFG0 : GLCFG1), tmp);
// set interrupt handler (INTR/LINT0)
//irq_install_handler(124, intr_handler);
irq_install_handler(124, intr_handler);
kputs("Now, the SCC is initialized!\n");

View file

@ -462,6 +462,8 @@ __inline int mmnif_trigger_irq(dest_ip)
tmp |= 2;
SetConfigReg(addr, tmp);
DEBUGPRINTF("tried to trigger interrupt");
return 0;
#endif
};